joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40e8ae
Capabilities:
Log keystrokes

Disassembly:
mov eax, 0x5257f5
call fcn.0051f0b4
push ecx
push ecx
push ebx
push esi
push ecx
mov ecx, esp
mov dword [ebp - 0x14], esp
push str.ipa_install_path
call fcn.00401f01
and dword [ebp - 4], 0
call fcn.0040753c
or dword [ebp - 4], 0xffffffff
lea ebx, [ebp - 0x10]
call fcn.00456a4e
mov ebx, 0x576740
push eax
mov ecx, ebx
mov dword [ebp - 4], 1
call fcn.00404918
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.0040297c
call fcn.004066c1
push eax
call fcn.0040753c
mov esi, eax
call fcn.00455895
push ebx
push 0x2710
push 0x807
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push 0
push esi
mov ebx, eax
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov esi, dword [sym.imp.USER32.dll_AttachThreadInput]
push 1
push eax
push ebx
mov dword [ebp - 0x10], eax
call esi
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SetForegroundWindow]
push 0
push dword [ebp - 0x10]
push ebx
call esi
push dword [edi + 4]
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
je 0x40e979
push 9
push dword [edi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [ebp - 0xc]
pop esi
xor eax, eax
mov dword fs:[0], ecx
pop ebx
leave
ret

Function at 0x4115ec
Capabilities:
Check if file exists
Create directory
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x208
cmp word [0x577468], 0
push esi
mov esi, 0x577468
jne 0x41165c
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x208], ax
lea eax, [ebp - 0x206]
push eax
call fcn.004ee670
add esp, 0xc
push 1
push 0x1a
lea eax, [ebp - 0x208]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push str.iApple
lea eax, [ebp - 0x208]
push eax
push esi
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x41165c
push eax
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov eax, esi
pop esi
leave
ret

Function at 0x417dfb
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x114
push 0x114
lea eax, [ebp - 0x9c]
push 0
push eax
call fcn.004ee670
add esp, 0xc
lea eax, [ebp - 0x9c]
push eax
mov dword [ebp - 0x9c], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
mov eax, dword [ebp - 0x98]
cmp eax, 5
jne 0x417e66
cmp dword [ebp - 0x94], 0
jne 0x417e4c
xor eax, eax
inc eax
jmp 0x417e97
cmp dword [ebp - 0x94], 1
jne 0x417e59
push 2
jmp 0x417e96
cmp dword [ebp - 0x94], 2
jne 0x417e94
push 3
jmp 0x417e96
cmp eax, 6
jne 0x417e85
cmp dword [ebp - 0x94], 0
jne 0x417e78
push 4
jmp 0x417e96
cmp dword [ebp - 0x94], 1
jne 0x417e87
push 5
jmp 0x417e96
jb 0x417e8b
push 6
jmp 0x417e96
cmp eax, 5
jae 0x417e94
xor eax, eax
jmp 0x417e97
push 7
pop eax
add ebp, 0x78
leave
ret
Function at 0x41a97a
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0x10], 0
jne 0x41a988
push 0xd
pop eax
jmp 0x41a9bb
push esi
mov esi, dword [ebp + 0x10]
push edi
xor edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
lea ecx, [eax + eax]
add esi, ecx
add edi, ecx
cmp eax, 1
jne 0x41a98f
mov eax, dword [ebp + 8]
push edi
push dword [ebp + 0x10]
push 7
push 0
push dword [ebp + 0xc]
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
pop esi
pop ebp
ret 0xc
Function at 0x41adde
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x220
push ebx
push esi
push edi
mov edi, ecx
mov eax, dword [edi + 4]
or eax, 0x2001f
push eax
push dword [ebp + 8]
xor esi, esi
push dword [edi]
lea eax, [ebp - 0xc]
mov dword [ebp - 0xc], esi
mov dword [ebp - 8], esi
call fcn.0041adab
mov ebx, eax
cmp ebx, esi
je 0x41ae22
cmp dword [ebp - 0xc], esi
je 0x41ae1e
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
jmp 0x41ae92
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
jmp 0x41ae40
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0xc]
call fcn.0041adde
mov dword [ebp - 0x14], eax
cmp eax, esi
jne 0x41ae99
lea eax, [ebp - 0x1c]
push eax
push esi
push esi
push esi
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x21c]
push eax
push esi
push dword [ebp - 0xc]
mov dword [ebp - 0x10], 0x100
call ebx
test eax, eax
je 0x41ae2a
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0xc], esi
je 0x41ae76
push dword [ebp - 0xc]
call ebx
mov dword [ebp - 0xc], esi
push dword [ebp + 8]
mov dword [ebp - 8], esi
push dword [edi]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov edi, eax
cmp dword [ebp - 0xc], esi
je 0x41ae90
push dword [ebp - 0xc]
call ebx
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret 4
cmp dword [ebp - 0xc], esi
je 0x41aea7
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x14]
jmp 0x41ae92
Function at 0x41b6c8
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, 0x522654
call fcn.0051f0b4
sub esp, 0x418
push ebx
push esi
push edi
xor esi, esi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x20], esi
mov eax, dword [ebp + 8]
mov dword [ebp - 4], esi
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x424], esi
push 2
push esi
push dword [ebp + 0xc]
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov ebx, eax
mov dword [ebp - 0x14], ebx
cmp ebx, esi
jne 0x41b71a
call fcn.0041a47f
mov esi, eax
jmp 0x41b81a
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
cmp edi, esi
jne 0x41b737
call fcn.0041a47f
jmp 0x41b80f
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp + 0xc], eax
cmp eax, esi
je 0x41b72d
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
lea eax, [edi + 1]
mov dword [ebp + 8], edi
cmp eax, edi
jae 0x41b77d
lea eax, [ebp - 0x420]
cmp dword [ebp - 0x424], eax
je 0x41b773
lea eax, [ebp - 0x424]
call fcn.0041a476
mov eax, 0x8007000e
jmp 0x41b835
push 2
push eax
mov byte [ebp - 4], 2
call fcn.0041a9d4
pop ecx
pop ecx
cmp eax, 0x400
jbe 0x41b7a1
push eax
lea eax, [ebp - 0x424]
push eax
call fcn.00445eaf
jmp 0x41b7ad
lea eax, [ebp - 0x420]
mov dword [ebp - 0x424], eax
mov dword [ebp - 4], 1
jmp 0x41b7c8
cmp dword [ebp - 0x424], esi
jne 0x41b7d7
mov esi, 0x8007000e
jmp 0x41b811
push edi
push dword [ebp - 0x424]
push edi
push dword [ebp + 0xc]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
cmp eax, esi
je 0x41b72d
mov edx, dword [ebp - 0x424]
push dword [ebp + 0x18]
xor ecx, ecx
mov word [edx + eax*2], cx
mov ecx, dword [ebp - 0x424]
lea edx, [ebp - 0x1c]
call fcn.0041b59b
mov esi, eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [ebp - 0x420]
cmp dword [ebp - 0x424], eax
je 0x41b833
lea eax, [ebp - 0x424]
call fcn.0041a476
mov eax, esi
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 0x14
Function at 0x41c356
Capabilities:
Check http status code

Disassembly:
mov eax, 0x5249d9
call fcn.0051f0b4
sub esp, 0x34
push ebx
push esi
mov ebx, ecx
push ebx
call fcn.0041c4a0
test eax, eax
jne 0x41c378
xor eax, eax
jmp 0x41c46d
and dword [ebp - 0x14], 0
and dword [ebp - 4], 0
call fcn.0044f361
lea ecx, [ebp - 0x2c]
call fcn.00435802
mov esi, dword [eax]
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x41c3a0
and dword [ebp - 0x14], 0
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
and dword [ebp - 0x14], 0
mov eax, dword [esi]
lea ecx, [ebp - 0x14]
push ecx
push dword [ebx]
push esi
call dword [eax + 0x44]
test eax, eax
je 0x41c459
lea ecx, [ebp - 0x2c]
lea eax, [ebp - 0x14]
call fcn.00435802
mov eax, dword [eax]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x78]
push eax
lea ecx, [ebp - 0x18]
call fcn.00401f01
lea eax, [ebp - 0x1c]
push eax
push 4
pop eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 1
call fcn.00411661
push str..apk
push eax
mov byte [ebp - 4], 2
call fcn.004048f2
mov ebx, eax
neg ebx
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x1c]
sbb bl, bl
add ecx, 0xfffffff0
inc bl
call fcn.0040297c
test bl, bl
jne 0x41c44e
lea ecx, [ebp - 0x3c]
lea eax, [ebp - 0x14]
call fcn.00435802
mov eax, dword [eax]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x40]
cmp eax, 0xa
je 0x41c47b
cmp eax, 0x13
je 0x41c47b
cmp eax, 0xb
je 0x41c47b
cmp eax, 0xd
je 0x41c47b
cmp eax, 0xc
je 0x41c47b
cmp eax, 0x19
je 0x41c47b
cmp eax, 0x193
je 0x41c47b
cmp eax, 0x25
je 0x41c47b
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.0040297c
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x41c46a
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
xor eax, eax
inc eax
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.0040297c
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x41c371
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x41c371

Function at 0x41eec5
Capabilities:
Hide graphical window

Disassembly:
cmp dword [esi], 0
je 0x41eef1
push 0
push esi
push dword [0x57078c]
mov dword [esi + 4], eax
push dword [0x570788]
call dword [sym.imp.USER32.dll_PostMessageW]
push 0
push dword [esi - 0x9c]
call dword [sym.imp.USER32.dll_ShowWindow]
ret
push eax
push dword [esi - 0x9c]
call dword [sym.imp.USER32.dll_EndDialog]
ret

Function at 0x41f8d3
Capabilities:
Hide graphical window

Disassembly:
push 5
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
cmp dword [esi + 0x9c], 0
je 0x41f8f9
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetParent]
push 0
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
ret
Function at 0x4234e6
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
push edi
lea edi, [ebx + 0x74]
lea esi, [ebp + 8]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
xor eax, eax
lea edi, [ebx + 0x84]
lea esi, [ebp + 0x18]
movsd dword es:[edi], dword [esi]
lea ecx, [ebp - 4]
push ecx
push eax
movsd dword es:[edi], dword [esi]
push ebx
movsd dword es:[edi], dword [esi]
push 0x4233fc
push eax
push eax
movsd dword es:[edi], dword [esi]
mov byte [ebx + 0x94], 0xff
mov byte [ebx + 0x95], al
mov dword [ebx + 0x98], 0x320
mov dword [ebx + 0xa4], 2
mov dword [ebx + 0x9c], eax
mov dword [ebx + 0xa0], eax
mov dword [ebx + 0xb0], 1
mov dword [ebp - 4], eax
call fcn.004eb600
add esp, 0x18
call dword [sym.imp.KERNEL32.dll_GetTickCount]
lea edi, [ebx + 0x60]
lea esi, [ebp + 8]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebx + 0x9c], eax
lea ecx, [ebx + 8]
or al, 0xff
movsd dword es:[edi], dword [esi]
call fcn.0042317c
mov eax, ecx
call fcn.00422e91
pop edi
pop esi
leave
ret 0x20

Function at 0x42ef94
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [ebp + 0x1c], 0
push ebx
push esi
push edi
mov esi, ecx
jne 0x42f000
mov ebx, dword [ebp + 0x18]
mov ecx, dword [ebp + 0x14]
mov eax, dword [ebp + 8]
push ebx
push dword [ebp + 0x10]
lea edi, [esi + 0x30]
push dword [ebp + 0xc]
mov edx, edi
call fcn.00414c01
test eax, eax
je 0x42efc6
xor eax, eax
inc eax
jmp 0x42f002
mov eax, dword [ebp + 0xc]
cmp eax, 0x201
jne 0x42f00a
push 0
push 0xf012
push 0x112
push dword [esi + 4]
mov dword [ebp + 0x10], 1
call dword [sym.imp.USER32.dll_SendMessageW]
lea eax, [ebp + 0x10]
push eax
mov eax, dword [ebp + 0x14]
call fcn.004147a3
cmp dword [ebp + 0x10], 0
mov dword [ebx], eax
jne 0x42efc1
xor eax, eax
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret 0x18
cmp eax, 5
jne 0x42f037
xor edi, edi
inc edi
cmp dword [ebp + 0x10], edi
je 0x42f033
movzx edx, word [ebp + 0x14]
lea eax, [esi + 0xa0]
mov ecx, dword [eax + 0xc]
sub ecx, dword [eax + 0x14]
push 0xa
lea ecx, [ecx + edx - 0xa]
push ecx
call fcn.00405809
mov dword [ebx], edi
jmp 0x42f000
cmp eax, 0x110
jne 0x42f059
xor edi, edi
inc edi
push esi
lea ecx, [ebp + 0x10]
mov dword [ebp + 0x10], edi
call fcn.0042eed2
cmp dword [ebp + 0x10], 0
mov dword [ebx], eax
je 0x42f000
mov eax, edi
jmp 0x42f002
cmp eax, 0x111
jne 0x42f000
mov eax, dword [ebp + 0x10]
mov ecx, 0x403
cmp cx, ax
jne 0x42f080
push 2
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
and dword [ebx], 0
jmp 0x42efc1
mov ecx, 0x404
cmp cx, ax
jne 0x42f0a2
push dword [esi + 4]
call dword [sym.imp.USER32.dll_IsZoomed]
test eax, eax
je 0x42f09b
push 9
jmp 0x42f09d
push 3
push dword [esi + 4]
jmp 0x42f072
mov ecx, eax
shr ecx, 0x10
xor edx, edx
cmp dx, cx
jne 0x42f000
lea ecx, [eax - 1]
cmp cx, 0xa
ja 0x42f000
movzx eax, ax
push eax
push dword [esi + 0x88]
xor edi, edi
inc edi
call dword [sym.imp.USER32.dll_EndDialog]
cmp dword [esi + 0x1ac], 0
je 0x42f0dd
xor edi, edi
and dword [ebx], 0
test edi, edi
jmp 0x42effe
Function at 0x431d85
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x208
push edi
xor edi, edi
push edi
cmp dword [esi + 0x38], edi
je 0x431d9b
push 0x28
jmp 0x431d9e
push dword [esi + 0x30]
push 0xc5
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
push 0x104
lea eax, [ebp - 0x208]
push eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowTextW]
lea eax, [ebp - 0x208]
push eax
lea ecx, [esi + 0x24]
call fcn.00411f24
test eax, eax
jne 0x431de5
push 0x537290
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov dword [esi + 0x28], edi
mov eax, dword [ebp + 8]
mov dword [eax], edi
xor eax, eax
pop edi
leave
ret 4

Function at 0x4327ee
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x571234]
sub esp, 0x208
cmp dword [ebp + 8], 0xffffffff
jne 0x432822
push 2
pop ecx
cmp eax, ecx
jne 0x432815
mov dword [esi + 0x18c], 1
jmp 0x43286a
cmp eax, 3
jne 0x43286a
mov dword [esi + 0x18c], ecx
jmp 0x43286a
cmp dword [ebp + 0xc], 0
je 0x43284a
cmp eax, 2
jne 0x432839
mov dword [esi + 0x18c], 3
jmp 0x43286a
cmp eax, 3
jne 0x43286a
mov dword [esi + 0x18c], 4
jmp 0x43286a
cmp eax, 2
jne 0x43285b
mov dword [esi + 0x18c], 5
jmp 0x43286a
cmp eax, 3
jne 0x43286a
mov dword [esi + 0x18c], 6
push 0x104
lea eax, [ebp - 0x208]
push eax
push dword [esi + 0x30]
call dword [sym.imp.USER32.dll_GetWindowTextW]
push dword [esi + 0x30]
call dword [sym.imp.USER32.dll_GetParent]
push dword [ebp + 8]
movzx ecx, word [esi + 0x58]
push ecx
push 0x111
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
call fcn.00435b21
leave
ret 8

Function at 0x432dc4
Capabilities:
Access peb ldr_data
Get kernel32 base address
Get process heap flags

Disassembly:
mov eax, 0x52149a
call fcn.0051f0b4
mov eax, dword [edi]
push esi
mov esi, dword [ebp + 8]
mov dword [esi], eax
lea eax, [edi + 4]
lea ecx, [esi + 4]
push eax
call fcn.004015d6
and dword [ebp - 4], 0
lea eax, [edi + 8]
lea ecx, [esi + 8]
push eax
call fcn.004015d6
lea eax, [edi + 0xc]
lea ecx, [esi + 0xc]
push eax
mov byte [ebp - 4], 1
call fcn.004015d6
mov byte [ebp - 4], 2
mov eax, dword [edi + 0x10]
mov dword [esi + 0x10], eax
mov eax, dword [edi + 0x14]
mov dword [esi + 0x14], eax
lea eax, [edi + 0x18]
lea ecx, [esi + 0x18]
push eax
call fcn.004015d6
lea eax, [edi + 0x1c]
lea ecx, [esi + 0x1c]
push eax
mov byte [ebp - 4], 3
call fcn.004015d6
lea eax, [edi + 0x20]
lea ecx, [esi + 0x20]
push eax
mov byte [ebp - 4], 4
call fcn.004015d6
lea eax, [edi + 0x24]
lea ecx, [esi + 0x24]
push eax
mov byte [ebp - 4], 5
call fcn.004015d6
lea eax, [edi + 0x28]
lea ecx, [esi + 0x28]
push eax
mov byte [ebp - 4], 6
call fcn.004015d6
mov byte [ebp - 4], 7
mov eax, dword [edi + 0x2c]
mov dword [esi + 0x2c], eax
lea eax, [edi + 0x30]
push eax
lea ecx, [esi + 0x30]
call fcn.004015d6
mov eax, dword [edi + 0x34]
mov ecx, dword [ebp - 0xc]
mov dword [esi + 0x34], eax
mov eax, dword [edi + 0x38]
mov dword [esi + 0x38], eax
mov eax, dword [edi + 0x3c]
mov dword [esi + 0x3c], eax
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret 4
Function at 0x4331c4
Capabilities:
Access peb ldr_data
Get ntdll base address
Get process heap flags

Disassembly:
mov eax, 0x523874
call fcn.0051f0b4
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, 0x56f16c
lea ecx, [esi + 4]
push edi
call fcn.00402946
xor ebx, ebx
lea ecx, [esi + 8]
push edi
mov dword [ebp - 4], ebx
call fcn.00402946
lea ecx, [esi + 0xc]
push edi
mov byte [ebp - 4], 1
call fcn.00402946
lea ecx, [esi + 0x18]
push edi
mov byte [ebp - 4], 2
call fcn.00402946
lea ecx, [esi + 0x1c]
push edi
mov byte [ebp - 4], 3
call fcn.00402946
lea ecx, [esi + 0x20]
push edi
mov byte [ebp - 4], 4
call fcn.00402946
lea ecx, [esi + 0x24]
push edi
mov byte [ebp - 4], 5
call fcn.00402946
lea ecx, [esi + 0x28]
push edi
mov byte [ebp - 4], 6
call fcn.00402946
lea ecx, [esi + 0x30]
push edi
mov byte [ebp - 4], 7
call fcn.00402946
mov edi, 0x537290
mov byte [ebp - 4], 8
push edi
lea ecx, [esi + 4]
mov dword [esi], ebx
call fcn.00401ed2
push edi
lea ecx, [esi + 0xc]
call fcn.00401ed2
push edi
lea ecx, [esi + 8]
call fcn.00401ed2
push edi
lea ecx, [esi + 0x28]
mov dword [esi + 0x14], ebx
call fcn.00401ed2
push edi
lea ecx, [esi + 0x18]
mov dword [esi + 0x10], ebx
call fcn.00401ed2
push edi
lea ecx, [esi + 0x1c]
call fcn.00401ed2
push edi
lea ecx, [esi + 0x20]
call fcn.00401ed2
push edi
lea ecx, [esi + 0x24]
call fcn.00401ed2
push edi
lea ecx, [esi + 0x28]
call fcn.00401ed2
push edi
lea ecx, [esi + 0x30]
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x38], ebx
mov dword [esi + 0x34], ebx
call fcn.00401ed2
mov ecx, dword [ebp - 0xc]
mov dword [esi + 0x3c], ebx
pop edi
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4

Function at 0x4332d5
Capabilities:
Access peb ldr_data
Get ntdll base address
Get process heap flags

Disassembly:
mov eax, 0x522fa4
call fcn.0051f0b4
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
and dword [ebp - 4], 0
lea ebx, [edi + 4]
mov esi, 0x56f16c
push esi
mov ecx, ebx
call fcn.00402946
lea ecx, [edi + 8]
push esi
mov byte [ebp - 4], 1
call fcn.00402946
lea ecx, [edi + 0xc]
push esi
mov byte [ebp - 4], 2
call fcn.00402946
lea ecx, [edi + 0x18]
push esi
mov byte [ebp - 4], 3
call fcn.00402946
lea ecx, [edi + 0x1c]
push esi
mov byte [ebp - 4], 4
call fcn.00402946
lea ecx, [edi + 0x20]
push esi
mov byte [ebp - 4], 5
call fcn.00402946
lea ecx, [edi + 0x24]
push esi
mov byte [ebp - 4], 6
call fcn.00402946
lea ecx, [edi + 0x28]
push esi
mov byte [ebp - 4], 7
call fcn.00402946
lea ecx, [edi + 0x30]
push esi
mov byte [ebp - 4], 8
call fcn.00402946
mov eax, dword [ebp + 0xc]
mov byte [ebp - 4], 9
mov dword [edi], eax
lea eax, [ebp + 0x10]
push eax
mov ecx, ebx
call fcn.00404918
mov ecx, dword [ebp + 0x10]
add ecx, 0xfffffff0
call fcn.0040297c
mov ecx, dword [ebp - 0xc]
mov eax, edi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0xc
Function at 0x433394
Capabilities:
Get graphical window text

Disassembly:
push esi
push edi
mov esi, eax
push dword [esi]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov ecx, dword [esp + 0xc]
lea edi, [eax + 1]
push edi
call fcn.00401db6
push edi
push eax
push dword [esi]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov esi, dword [esp + 0xc]
mov edi, eax
call fcn.004048ba
mov eax, edi
pop edi
pop esi
ret 4

Function at 0x438022
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
push esi
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [esi + 0x19c]
cmp eax, 0x1f4
jb 0x4380a9
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push eax
call fcn.004ee670
add esp, 0xc
push 0x104
lea eax, [ebp - 0x20c]
push eax
push dword [esi + 0x30]
call dword [sym.imp.USER32.dll_GetWindowTextW]
lea eax, [ebp - 0x20c]
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
test cx, cx
jne 0x43807d
sub eax, edx
sar eax, 1
je 0x4380a9
lea eax, [ebp - 0x20c]
push eax
lea eax, [esi + 0x1ac]
push eax
call fcn.004048f2
test eax, eax
je 0x4380a9
call fcn.004325a9
pop esi
leave
ret
Function at 0x438449
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5269a8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x50
push ebx
xor ebx, ebx
push esi
push edi
mov edi, ecx
mov dword [esp + 0x18], ebx
cmp dword [ebp + 8], ebx
je 0x438647
push dword [edi + 4]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x438647
lea esi, [edi + 0x28]
cmp dword [esi], ebx
jne 0x4384a3
push esi
push 0x18
call fcn.00460cd7
test eax, eax
jl 0x438647
push dword [ebp + 8]
lea ecx, [esp + 0x14]
call fcn.00401f01
push ebx
push 0x5421d8
lea ecx, [esp + 0x18]
mov dword [esp + 0x6c], ebx
call fcn.00401542
cmp eax, ebx
jl 0x4384f5
lea ebx, [esp + 0x14]
lea ecx, [esp + 0x10]
call fcn.00404af0
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x68], 1
call fcn.00404918
mov byte [esp + 0x64], 0
mov ecx, dword [esp + 0x14]
add ecx, 0xfffffff0
call fcn.0040297c
xor ebx, ebx
push dword [esp + 0x10]
lea eax, [esp + 0x1c]
push eax
call fcn.004965d4
pop ecx
pop ecx
mov dword [esp + 0xc], ebx
lea ecx, [esp + 0x20]
mov eax, esi
mov byte [esp + 0x64], 3
call fcn.00435802
mov esi, dword [eax]
mov eax, dword [esp + 0xc]
cmp eax, ebx
je 0x43852d
mov dword [esp + 0xc], ebx
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [esp + 0xc]
push ecx
push dword [esp + 0x1c]
mov dword [esp + 0x14], ebx
mov eax, dword [esi]
push esi
call dword [eax + 0x14]
test eax, eax
mov eax, dword [esp + 0xc]
je 0x43854c
cmp eax, ebx
jne 0x438556
mov byte [esp + 0x64], 2
jmp 0x438625
push 0x56f16c
lea ecx, [esp + 0x18]
call fcn.00402946
lea ecx, [esp + 0x20]
lea eax, [esp + 0xc]
mov byte [esp + 0x64], 4
call fcn.00435802
mov eax, dword [eax]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x14]
push eax
lea eax, [esp + 0x18]
push 0x5420f0
push eax
call fcn.004142e8
add esp, 0xc
xor ecx, ecx
push ecx
mov eax, 0x438683
push eax
movzx eax, byte [0x5707e8]
push eax
push ecx
lea eax, [esp + 0x24]
mov dword [esp + 0x2c], esp
mov ecx, esp
push eax
call fcn.004015d6
push ecx
mov byte [esp + 0x78], 5
lea eax, [esp + 0x24]
mov dword [esp + 0x34], esp
mov ecx, esp
push eax
call fcn.004015d6
lea eax, [esp + 0x44]
push edi
push eax
mov byte [esp + 0x80], 4
call fcn.004390e8
mov dword [esp + 0x40], eax
lea eax, [esp + 0x3c]
add esp, 0x1c
push eax
xor edi, edi
mov dword [esp + 0x24], 0x439213
call fcn.004014dd
pop ecx
mov ecx, dword [esp + 0x48]
add ecx, 0xfffffff0
call fcn.0040297c
mov ecx, dword [esp + 0x40]
add ecx, 0xfffffff0
call fcn.0040297c
mov ecx, dword [esp + 0x14]
add ecx, 0xfffffff0
call fcn.0040297c
mov byte [esp + 0x64], 2
mov eax, dword [esp + 0xc]
cmp eax, ebx
je 0x43862f
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [esp + 0x18]
add ecx, 0xfffffff0
call fcn.0040297c
mov ecx, dword [esp + 0x10]
add ecx, 0xfffffff0
call fcn.0040297c
mov ecx, dword [esp + 0x5c]
pop edi
pop esi
xor eax, eax
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x439882
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x114
push 0x114
lea eax, [ebp - 0x114]
push 0
push eax
call fcn.004ee670
add esp, 0xc
lea eax, [ebp - 0x114]
push eax
mov dword [ebp - 0x114], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x110], 6
jne 0x4398cf
cmp dword [ebp - 0x10c], 0
jne 0x4398cf
xor eax, eax
inc eax
leave
ret
xor eax, eax
leave
ret