joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40fcbd
Capabilities:
Enumerate gui resources

Disassembly:
push 0x2c
mov eax, 0x43d218
call fcn.004230f5
mov eax, dword [ebp + 8]
mov esi, ecx
mov ecx, dword [esi + 4]
mov edi, dword [esi]
mov dword [ebp - 0x38], eax
cmp edi, ecx
je 0x40fcf4
mov ebx, ecx
sub ebx, ecx
sar ebx, 2
shl ebx, 2
push ebx
push ecx
push edi
call fcn.0041d410
add esp, 0xc
add ebx, edi
mov dword [esi + 4], ebx
mov eax, dword [ebp - 0x38]
and dword [ebp - 0x20], 0
mov dword [ebp - 0x34], eax
xor eax, eax
mov dword [ebp - 0x1c], 7
mov word [ebp - 0x30], ax
and dword [ebp - 4], eax
push str.XLMAIN
lea eax, [ebp - 0x30]
push eax
mov dword [ebp - 0x14], esi
call fcn.00402030
lea eax, [ebp - 0x34]
push eax
push 0x40fc10
call dword [sym.imp.USER32.dll_EnumWindows]
mov ebx, dword [esi + 4]
sub ebx, dword [esi]
push 1
xor edi, edi
lea esi, [ebp - 0x30]
sar ebx, 2
call fcn.00402144
mov eax, ebx
call fcn.00423178
ret

Function at 0x412db0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x254
mov eax, dword [0x44f214]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push 0x206
xor ebx, ebx
lea ecx, [ebp - 0x20a]
xor eax, eax
push ebx
push ecx
mov word [ebp - 0x20c], ax
call fcn.0041f1f0
mov edx, dword [edi + 0x18]
add esp, 0xc
xor eax, eax
mov dword [ebp - 0x218], edx
mov dword [ebp - 0x214], eax
mov dword [ebp - 0x210], eax
mov eax, dword [edi + 0x1c]
lea edx, [ebp - 0x218]
push edx
push ebx
mov dword [ebp - 0x214], eax
mov eax, dword [edi]
push 0x44b
lea ecx, [ebp - 0x20c]
push eax
mov dword [ebp - 0x210], ecx
call dword [sym.imp.USER32.dll_SendMessageW]
xor eax, eax
lea edx, [ebp - 0x254]
lea ecx, [ebp - 0x20c]
push edx
mov dword [ebp - 0x254], 0x3c
mov dword [ebp - 0x250], ebx
mov dword [ebp - 0x24c], ebx
mov dword [ebp - 0x248], ebx
mov dword [ebp - 0x244], ecx
mov dword [ebp - 0x240], ebx
mov dword [ebp - 0x23c], ebx
mov dword [ebp - 0x238], 5
mov dword [ebp - 0x234], eax
mov dword [ebp - 0x230], eax
mov dword [ebp - 0x22c], eax
mov dword [ebp - 0x228], eax
mov dword [ebp - 0x224], eax
mov dword [ebp - 0x220], eax
mov dword [ebp - 0x21c], eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov eax, dword [esi + 0x38]
push eax
call dword [sym.imp.USER32.dll_HideCaret]
mov ecx, dword [esi + 0xb4]
pop ebx
cmp ecx, dword [esi + 0xb8]
je 0x412ec1
mov eax, dword [ecx]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.USER32.dll_SetFocus]
mov ecx, dword [ebp - 4]
xor ecx, ebp
xor eax, eax
call fcn.0041d19b
mov esp, ebp
pop ebp
ret

Function at 0x4152e0
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
test ecx, ecx
jne 0x4152eb
xor eax, eax
pop ebp
ret
mov eax, dword [ebp + 8]
pop ebp
jmp fcn.00415300
Function at 0x418c90
Capabilities:
Connect socket
Resolve dns
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x44f214]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov dword [ebp - 0x1c], eax
test edi, edi
jne 0x418cb0
xor esi, esi
jmp 0x418cf1
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
cmp eax, 0x3fffffff
jg 0x418ced
lea ebx, [eax + eax]
mov eax, ebx
call fcn.00422740
mov esi, esp
test esi, esi
je 0x418ced
push 0
push 0
push ebx
push esi
push 0xffffffffffffffff
push edi
push 0
push 3
mov byte [esi], 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
neg eax
sbb eax, eax
and eax, esi
jmp 0x418cef
xor eax, eax
mov esi, eax
xor eax, eax
mov ecx, 2
mov dword [ebp - 0x18], eax
push 0x7b
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov word [ebp - 0x18], cx
call dword [sym.imp.WSOCK32.dll_htons]
push esi
mov word [ebp - 0x16], ax
call dword [sym.imp.WSOCK32.dll_inet_addr]
mov dword [ebp - 0x14], eax
cmp eax, 0xffffffff
jne 0x418d38
push esi
call dword [sym.imp.WSOCK32.dll_gethostbyname]
test eax, eax
je 0x418d64
mov edx, dword [eax + 0xc]
mov eax, dword [edx]
mov ecx, dword [eax]
mov dword [ebp - 0x14], ecx
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax]
push 0x10
lea edx, [ebp - 0x18]
push edx
push ecx
call dword [sym.imp.WSOCK32.dll_connect]
neg eax
sbb eax, eax
inc eax
lea esp, [ebp - 0x24]
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0041d19b
mov esp, ebp
pop ebp
ret 4
xor eax, eax
jmp 0x418d4f

Function at 0x418d70
Capabilities:
Get socket status

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x11c
mov eax, dword [0x44f214]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, 0x10624dd3
mul ecx
mov eax, dword [ebp + 8]
shr edx, 6
mov dword [ebp - 0x11c], edx
imul edx, edx, 0x3e8
sub ecx, edx
lea edx, [ebp - 0x11c]
push edx
push 0
mov dword [ebp - 0x118], ecx
mov ecx, dword [eax]
push 0
lea eax, [ebp - 0x114]
push eax
push 0
mov dword [ebp - 0x110], ecx
mov dword [ebp - 0x114], 1
call dword [sym.imp.WSOCK32.dll_select]
cmp eax, 0xffffffff
jne 0x418de7
xor eax, eax
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0041d19b
mov esp, ebp
pop ebp
ret 4
xor ecx, ecx
test eax, eax
setne cl
mov eax, 1
mov dword [esi], ecx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0041d19b
mov esp, ebp
pop ebp
ret 4
Function at 0x419320
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push edi
mov edi, dword [esi + 0x2c]
mov dword [ebp - 0xc], edi
jmp 0x419333
mov edi, dword [ebp - 0xc]
mov ebx, dword [esi + 0x3c]
sub ebx, dword [esi + 0x74]
mov eax, dword [esi + 0x6c]
mov ecx, dword [esi + 0x2c]
sub ebx, eax
lea edx, [edi + ecx - 0x106]
mov dword [ebp - 4], ebx
cmp eax, edx
jb 0x4193ad
mov eax, dword [esi + 0x38]
push edi
lea ecx, [eax + edi]
push ecx
push eax
call fcn.0041f270
mov edx, dword [esi + 0x4c]
mov eax, dword [esi + 0x44]
sub dword [esi + 0x70], edi
sub dword [esi + 0x6c], edi
add esp, 0xc
sub dword [esi + 0x5c], edi
lea ecx, [eax + edx*2]
movzx eax, word [ecx - 2]
sub ecx, 2
cmp eax, edi
jb 0x419381
sub eax, edi
jmp 0x419383
xor eax, eax
dec edx
mov word [ecx], ax
jne 0x419372
mov ecx, dword [esi + 0x40]
mov edx, edi
lea ecx, [ecx + edi*2]
movzx eax, word [ecx - 2]
sub ecx, 2
cmp eax, edi
jb 0x4193a0
sub eax, edi
jmp 0x4193a2
xor eax, eax
dec edx
mov word [ecx], ax
jne 0x419391
add ebx, edi
mov dword [ebp - 4], ebx
mov edi, dword [esi]
cmp dword [edi + 4], 0
je 0x419462
mov edx, dword [esi + 0x74]
add edx, dword [esi + 0x6c]
mov eax, dword [edi + 4]
add edx, dword [esi + 0x38]
mov ecx, dword [ebp - 4]
mov ebx, eax
mov dword [ebp - 8], edx
cmp ebx, ecx
jbe 0x4193d3
mov ebx, ecx
test ebx, ebx
je 0x419426
sub eax, ebx
mov dword [edi + 4], eax
mov eax, dword [edi + 0x1c]
mov eax, dword [eax + 0x18]
cmp eax, 1
jne 0x4193f5
mov edx, dword [edi]
mov ecx, dword [edi + 0x30]
mov eax, ebx
call fcn.00416c40
jmp 0x41940e
cmp eax, 2
jne 0x419414
mov ecx, dword [edi]
mov eax, dword [edi + 0x30]
test ecx, ecx
jne 0x419407
xor eax, eax
jmp 0x419411
mov edx, ebx
call fcn.00415300
mov edx, dword [ebp - 8]
mov dword [edi + 0x30], eax
mov ecx, dword [edi]
push ebx
push ecx
push edx
call fcn.0041f270
add dword [edi], ebx
add esp, 0xc
add dword [edi + 8], ebx
add dword [esi + 0x74], ebx
mov edi, dword [esi + 0x74]
cmp edi, 3
jb 0x41944e
mov edx, dword [esi + 0x6c]
add edx, dword [esi + 0x38]
mov ecx, dword [esi + 0x58]
movzx eax, byte [edx]
mov dword [esi + 0x48], eax
shl eax, cl
movzx ecx, byte [edx + 1]
xor eax, ecx
and eax, dword [esi + 0x54]
mov dword [esi + 0x48], eax
cmp edi, 0x106
jae 0x419462
mov edx, dword [esi]
cmp dword [edx + 4], 0
jne 0x419330
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x41b7a8
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
cmp dword [0x455740], 0
push esi
push edi
jne 0x41b71e
call fcn.0041b68a
test eax, eax
je 0x41b763
mov eax, dword [0x455740]
cmp eax, 1
jne 0x41b73f
push 0xd
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
test eax, eax
je 0x41b763
jmp 0x41b7a5
mov edi, dword [sym.imp.KERNEL32.dll_InterlockedPopEntrySList]
push eax
call edi
test eax, eax
jne 0x41b7a5
push 0x40
mov eax, 0x1000
push eax
push eax
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov esi, eax
test esi, esi
jne 0x41b767
xor eax, eax
jmp 0x41b7a5
mov eax, dword [esi]
push dword [0x455740]
call edi
mov edi, eax
test edi, edi
je 0x41b789
push 0x8000
push 0
push esi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
mov eax, edi
jmp 0x41b7a5
lea edi, [esi + 0xff0]
push esi
push dword [0x455740]
call dword [sym.imp.KERNEL32.dll_InterlockedPushEntrySList]
add esi, 0x10
cmp esi, edi
jb 0x41b78f
mov eax, esi
pop edi
pop esi
ret
jmp 0x41b70a

Function at 0x41d19b
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x44f214]
jne 0x41d1a5
repz ret
jmp fcn.00424639

Function at 0x41ebec
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
xor esi, esi
cmp dword [ebp + 8], esi
jne 0x41ec13
call fcn.00422c1e
mov dword [eax], esi
call fcn.00422c0b
push 0x16
pop esi
mov dword [eax], esi
call fcn.00425b34
mov eax, esi
jmp 0x41ec68
test dword [ebp + 0xc], 0xfffffff9
jne 0x41ebf9
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x41ec40
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.00422c31
pop ecx
call fcn.00422c0b
mov eax, dword [eax]
jmp 0x41ec68
test al, 0x10
jne 0x41ec66
test al, 1
je 0x41ec66
test byte [ebp + 0xc], 2
je 0x41ec66
call fcn.00422c1e
mov dword [eax], 5
call fcn.00422c0b
mov dword [eax], 0xd
jmp 0x41ec37
xor eax, eax
pop esi
pop ebp
ret
Function at 0x431257
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x44f214]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.00425496
and dword [ebp - 0x14], 0
cmp dword [0x45686c], 0
mov dword [ebp - 0x18], eax
jne 0x43130a
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x4313b2
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x443154
push ebx
call edi
test eax, eax
je 0x4313b2
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x443144
push ebx
mov dword [0x45686c], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x456870], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x456874], eax
call edi
push eax
call esi
mov dword [0x45687c], eax
test eax, eax
je 0x43130a
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x456878], eax
mov eax, dword [0x456878]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x431363
cmp dword [0x45687c], ecx
je 0x431363
push eax
call esi
push dword [0x45687c]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x431363
test ebx, ebx
je 0x431363
call edi
test eax, eax
je 0x43135a
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x43135a
test byte [ebp - 8], 1
jne 0x431363
or dword [ebp + 0x10], 0x200000
jmp 0x431396
mov eax, dword [0x456870]
cmp eax, dword [ebp - 0x18]
je 0x431396
push eax
call esi
test eax, eax
je 0x431396
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x431396
mov eax, dword [0x456874]
cmp eax, dword [ebp - 0x18]
je 0x431396
push eax
call esi
test eax, eax
je 0x431396
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x45686c]
call esi
test eax, eax
je 0x4313b2
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x4313b4
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041d19b
leave
ret
Function at 0x436e47
Capabilities:
Get common file path

Disassembly:
push 0xc44
mov eax, 0x43b55c
call fcn.004230f5
mov eax, dword [ebp + 8]
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
mov esi, ecx
xor edi, edi
mov dword [ebp - 0xc50], eax
cmp esi, edi
je 0x436eb2
cmp word [esi], di
je 0x436eb2
push edi
push esi
call fcn.0041ec6b
pop ecx
pop ecx
test eax, eax
jne 0x436eb2
mov dword [ebp - 0xc4c], edi
call fcn.0040e105
test al, al
je 0x436eb2
push esi
call fcn.0041f028
pop ecx
test eax, eax
je 0x436eb2
push 0xc8
call ebx
inc dword [ebp - 0xc4c]
cmp dword [ebp - 0xc4c], 0x3e8
jl 0x436e85
mov eax, dword [ebp - 0xc50]
cmp eax, edi
je 0x436f07
cmp word [eax], di
je 0x436f07
push edi
push eax
call fcn.0041ec6b
pop ecx
pop ecx
test eax, eax
jne 0x436f07
mov dword [ebp - 0xc4c], edi
mov esi, dword [ebp - 0xc50]
call fcn.0040e105
test al, al
je 0x436f07
push esi
call fcn.0041f028
pop ecx
test eax, eax
je 0x436f07
push 0xc8
call ebx
inc dword [ebp - 0xc4c]
cmp dword [ebp - 0xc4c], 0x3e8
jl 0x436ed4
push 7
pop eax
xor ecx, ecx
mov dword [ebp - 0xc18], eax
mov dword [ebp - 0xc1c], edi
mov word [ebp - 0xc2c], cx
mov dword [ebp - 4], edi
mov dword [ebp - 0xc34], eax
xor eax, eax
mov dword [ebp - 0xc38], edi
mov word [ebp - 0xc48], ax
lea eax, [ebp - 0xc48]
push eax
push dword [ebp - 0xc50]
lea ecx, [ebp - 0xc2c]
mov byte [ebp - 4], 1
call fcn.0040c125
xor eax, eax
push 0x3fe
mov word [ebp - 0x410], ax
lea eax, [ebp - 0x40e]
push edi
push eax
call fcn.0041f1f0
add esp, 0x14
lea eax, [ebp - 0x410]
push eax
push 0x200
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
xor eax, eax
push 0x7fe
mov word [ebp - 0xc10], ax
lea eax, [ebp - 0xc0e]
push edi
push eax
call fcn.0041f1f0
add esp, 0xc
push 0x400
lea eax, [ebp - 0xc10]
push eax
lea eax, [ebp - 0x410]
push eax
call dword [sym.imp.KERNEL32.dll_GetLongPathNameW]
cmp dword [ebp - 0xc1c], edi
je 0x437028
cmp dword [ebp - 0xc18], 8
mov eax, dword [ebp - 0xc2c]
jae 0x436fd7
lea eax, [ebp - 0xc2c]
lea ecx, [ebp - 0xc10]
push ecx
push eax
call fcn.0041da40
pop ecx
pop ecx
test eax, eax
je 0x437028
cmp dword [ebp - 0xc18], 8
mov eax, dword [ebp - 0xc2c]
jae 0x436fff
lea eax, [ebp - 0xc2c]
push edi
push eax
call fcn.0041ec6b
pop ecx
pop ecx
test eax, eax
jne 0x437028
cmp dword [ebp - 0xc18], 8
mov eax, dword [ebp - 0xc2c]
jae 0x437021
lea eax, [ebp - 0xc2c]
push eax
call fcn.0041eff8
pop ecx
push 1
xor edi, edi
lea esi, [ebp - 0xc48]
call fcn.00402144
push 1
lea esi, [ebp - 0xc2c]
call fcn.00402144
call fcn.00423178
ret 4
Function at 0x437244
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x804
mov eax, dword [0x44f214]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
xor edi, edi
mov esi, 0x457c20
cmp dword [0x457c30], edi
jne 0x437373
lea eax, [ebp - 0x804]
push eax
push 0x400
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea eax, [ebp - 0x804]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x437287
sub eax, edx
sar eax, 1
lea ecx, [ebp - 0x804]
call fcn.00401fb5
cmp dword [0x457c34], 8
mov eax, dword [0x457c20]
jae 0x4372b1
mov eax, esi
push edi
push eax
call fcn.0041ec6b
pop ecx
pop ecx
test eax, eax
je 0x4372d1
xor eax, eax
mov ecx, 0x443268
call fcn.00401fb5
mov ecx, esi
call fcn.0040e20e
cmp dword [0x457c30], edi
je 0x4372f6
cmp dword [0x457c34], 8
mov eax, dword [0x457c20]
jae 0x4372e9
mov eax, esi
push edi
push eax
call fcn.0041ec6b
pop ecx
pop ecx
test eax, eax
je 0x437308
push str.TEMP
call fcn.0041ef7e
pop ecx
push eax
push esi
call fcn.00402030
cmp dword [0x457c30], edi
je 0x43732d
cmp dword [0x457c34], 8
mov eax, dword [0x457c20]
jae 0x437320
mov eax, esi
push edi
push eax
call fcn.0041ec6b
pop ecx
pop ecx
test eax, eax
je 0x43733f
push 0x4475a4
call fcn.0041ef7e
pop ecx
push eax
push esi
call fcn.00402030
cmp dword [0x457c30], edi
je 0x437364
cmp dword [0x457c34], 8
mov eax, dword [0x457c20]
jae 0x437357
mov eax, esi
push edi
push eax
call fcn.0041ec6b
pop ecx
pop ecx
test eax, eax
je 0x437373
push 0xffffffffffffffff
push edi
mov eax, 0x457be8
mov ecx, esi
call fcn.00401d38
mov ecx, dword [ebp - 4]
pop edi
mov eax, esi
xor ecx, ebp
pop esi
call fcn.0041d19b
leave
ret
Function at 0x437986
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x43b758
mov eax, dword fs:[0]
push eax
sub esp, 0x448
mov eax, dword [0x44f214]
xor eax, esp
mov dword [esp + 0x440], eax
push ebx
push esi
push edi
mov eax, dword [0x44f214]
xor eax, esp
push eax
lea eax, [esp + 0x458]
mov dword fs:[0], eax
mov esi, ecx
call fcn.0040a6ba
mov dword [esp + 0x14], eax
lea eax, [esp + 0x2c]
call fcn.0040a5f2
xor ebx, ebx
mov dword [esp + 0x460], ebx
mov eax, dword [eax]
cmp eax, ebx
je 0x4379ed
mov eax, dword [eax]
jmp 0x4379ef
xor eax, eax
push eax
lea esi, [esp + 0x34]
call fcn.00406a97
lea edi, [esp + 0x2c]
call fcn.00401a09
lea eax, [esp + 0x28]
push eax
push dword [esp + 0x18]
mov dword [esp + 0x30], ebx
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov byte [esp + 0x460], 3
push dword [esp + 0x28]
lea ecx, [esp + 0x1c]
call fcn.0040fcbd
pop ecx
cmp eax, 1
jle 0x437ac3
xor eax, eax
push 0x3fe
mov word [esp + 0x50], ax
lea eax, [esp + 0x52]
push ebx
push eax
call fcn.0041f1f0
mov esi, dword [esp + 0x24]
add esp, 0xc
jmp 0x437ab7
push 0x200
lea eax, [esp + 0x50]
push eax
push dword [esi]
call dword [sym.imp.USER32.dll_GetWindowTextW]
cmp dword [esp + 0x44], 8
mov ecx, dword [esp + 0x30]
jae 0x437a81
lea ecx, [esp + 0x30]
lea eax, [esp + 0x4c]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x437aab
cmp dx, bx
je 0x437aa7
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x437aab
add eax, 4
add ecx, 4
cmp dx, bx
jne 0x437a85
xor eax, eax
jmp 0x437ab0
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
je 0x437abf
add esi, 4
cmp esi, dword [esp + 0x1c]
jne 0x437a60
jmp 0x437ada
mov eax, dword [esi]
jmp 0x437ad6
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
sub ecx, eax
sar ecx, 2
test ecx, ecx
je 0x437ada
mov eax, dword [eax]
mov dword [esp + 0x14], eax
cmp dword [esp + 0x18], ebx
je 0x437aea
push dword [esp + 0x18]
call fcn.0041d190
pop ecx
push 1
xor edi, edi
lea esi, [esp + 0x34]
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
call fcn.00402144
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x458]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x440]
xor ecx, esp
call fcn.0041d19b
mov esp, ebp
pop ebp
ret

Function at 0x437bf1
Capabilities:
Create thread

Disassembly:
push ebx
push edi
call fcn.0041e1fc
xor ebx, ebx
mov edi, eax
cmp dword [0x457e3c], ebx
jne 0x437c3f
cmp word [0x457eba], 3
push esi
mov esi, 0x457eb0
jne 0x437c25
call fcn.004082de
test al, 1
je 0x437c25
cmp byte [0x457cf9], bl
je 0x437c3e
push 0x457e44
push ebx
push esi
push 0x406d6e
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [0x457e48], eax
pop esi
mov eax, edi
pop edi
pop ebx
ret
Function at 0x437c44
Capabilities:
Write file on windows

Disassembly:
push 0x20
mov eax, 0x43b7cb
call fcn.004230f5
xor ebx, ebx
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
lea eax, [ebp - 0x2c]
push eax
push 0x401
push 0x457be8
mov dword [ebp - 4], ebx
call fcn.00437bcc
call fcn.00437383
mov esi, eax
cmp esi, ebx
je 0x437caa
cmp dword [ebp - 0x18], 0x10
mov eax, dword [ebp - 0x2c]
jae 0x437c8c
lea eax, [ebp - 0x2c]
push esi
push 1
push dword [ebp - 0x1c]
push eax
call fcn.0041ea91
lea ebx, [eax - 1]
neg ebx
sbb bl, bl
push esi
inc bl
call fcn.0041eb78
add esp, 0x14
push 1
xor edi, edi
lea esi, [ebp - 0x2c]
call fcn.00406a50
mov al, bl
call fcn.00423178
ret

Function at 0x437cbe
Capabilities:
Write file on windows

Disassembly:
push 0x20
mov eax, 0x43b7f8
call fcn.004230f5
and dword [ebp - 0x1c], 0
mov bl, 1
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
and dword [ebp - 4], 0
lea eax, [ebp - 0x2c]
push eax
push 0x3fc
push 0x457be8
call fcn.00437bcc
call fcn.0043740f
mov esi, eax
test esi, esi
je 0x437d47
cmp dword [ebp - 0x18], 0x10
mov eax, dword [ebp - 0x2c]
jae 0x437d09
lea eax, [ebp - 0x2c]
mov eax, dword [eax]
cmp eax, dword [0x446a63]
jne 0x437d3e
cmp dword [ebp - 0x18], 0x10
mov eax, dword [ebp - 0x2c]
jae 0x437d1f
lea eax, [ebp - 0x2c]
mov ecx, dword [ebp - 0x1c]
push esi
push 1
add ecx, 0xfffffffc
push ecx
add eax, 4
push eax
call fcn.0041ea91
add esp, 0x10
lea ebx, [eax - 1]
neg ebx
sbb bl, bl
inc bl
push esi
call fcn.0041eb78
pop ecx
jmp 0x437d49
xor bl, bl
push 1
xor edi, edi
lea esi, [ebp - 0x2c]
call fcn.00406a50
mov al, bl
call fcn.00423178
ret
Function at 0x438418
Capabilities:
Create thread

Disassembly:
push 0x64
mov eax, 0x43ba15
call fcn.0042312b
xor ebx, ebx
lea eax, [ebp - 0x50]
push eax
push ebx
push 0x457be8
push 0x402938
push ebx
push ebx
mov dword [0x457e40], ebx
mov dword [ebp - 0x50], ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebp - 4], ebx
call fcn.00439dd0
or dword [ebp - 4], 0xffffffff
mov dword [0x457e40], eax
jmp 0x438465
cmp dword [ebp - 0x50], ebx
je 0x438482
push ebx
push ebx
push 0x502
push dword [ebp - 0x50]
call dword [sym.imp.USER32.dll_PostThreadMessageW]
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [0x457e40], ebx
jne 0x438541
mov dword [ebp - 0x1c], 0xf
mov dword [ebp - 0x20], ebx
mov byte [ebp - 0x30], bl
mov dword [ebp - 4], 2
cmp byte [0x457cfb], bl
push str.KRglXTx2gH3c24R6o3JfvDqdFO9DgW9GgOnUdF
lea ebx, [ebp - 0x4c]
je 0x4384e3
mov ecx, str.FY_izZbA2i5Uge3Hw_PzSVtCqR01pMBk_FJsF6ZxyR3ZTkoZSgTNqAREIIqufCgs8Wbr468wrhj3h5LHfzZoEvizA5WBjWXvxrmfNQiwlmgQMTkwuhOLsRtGday_pkqXYHuV3
call fcn.0040dee9
pop ecx
mov esi, eax
lea edi, [ebp - 0x30]
mov byte [ebp - 4], 3
call fcn.00407ead
push 0
push 1
mov ecx, ebx
mov byte [ebp - 4], 2
call fcn.004020f6
mov esi, edi
call fcn.00414ea0
jmp 0x43850c
mov ecx, str.gbbqE3svfLcyUk3bNyrX4_MkGzsMd1MUZ5vNukEb9Mxb5HkegYFmsZRQtJI5gUSsrElb2D
call fcn.0040dee9
pop ecx
mov esi, eax
lea edi, [ebp - 0x30]
mov byte [ebp - 4], 4
call fcn.00407ead
push 0
push 1
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 2
call fcn.004020f6
lea eax, [ebp - 0x30]
lea esi, [ebp - 0x70]
call fcn.0040913d
mov eax, esi
push eax
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 5
call fcn.0041d2ef
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x54], eax
push 0x449dc4
lea eax, [ebp - 0x60]
push eax
mov dword [ebp - 0x60], 0x446e2c
call fcn.00422559
call fcn.00423187
ret