joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41d7d0
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
push edi
lea eax, [ebp - 0xc]
mov dword [ebp - 0x10], ecx
push eax
mov dword [ebp - 0xc], 0
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov esi, eax
mov dword [0x5d211c], 0
xor ebx, ebx
mov dword [ebp - 8], esi
mov byte [ebp - 1], 0
xor edi, edi
nop dword [eax + eax]
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x14], eax
test edi, edi
je 0x41d826
test ebx, ebx
je 0x41d82b
cmp word [ebx], 0
jne 0x41d880
jmp 0x41d82b
mov edi, 1
cmp edi, eax
jge 0x41d8bd
mov eax, dword [esi + edi*4]
cmp word [eax], 0x2d
jne 0x41d8bd
cmp word [eax + 2], 0
lea ebx, [eax + 2]
je 0x41d8bd
mov ecx, 0x597b44
nop
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x41d876
test dx, dx
je 0x41d872
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x41d876
add eax, 4
add ecx, 4
test dx, dx
jne 0x41d850
xor eax, eax
jmp 0x41d87b
sbb eax, eax
or eax, 1
test eax, eax
je 0x41d8bd
inc edi
movzx esi, word [ebx]
add ebx, 2
push esi
push str.wrfmdksln
call fcn.004d9454
add esp, 8
test eax, eax
je 0x41d8f2
cmp esi, 0x3a
je 0x41d8f2
cmp word [eax + 2], 0x3a
jne 0x41d8b4
cmp word [ebx], 0
je 0x41d8ae
xor ebx, ebx
jmp 0x41d8b4
cmp edi, dword [ebp - 0x14]
jge 0x41d8f2
inc edi
xor cl, cl
mov eax, esi
je 0x41d8f7
mov esi, dword [ebp - 8]
push esi
call dword [sym.imp.KERNEL32.dll_LocalFree]
cmp byte [ebp - 1], 0
je 0x41da08
mov ecx, dword [ebp - 0x10]
call fcn.00450c80
push 0x594630
push 0x5971f4
push eax
call fcn.00450580
add esp, 0xc
xor al, al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, 0x3f
cmp byte [ebp - 1], 0
mov esi, dword [ebp - 8]
jne 0x41d8bd
add eax, 0xffffffc1
cmp eax, 0x38
ja case.0x41d913.64
movzx eax, byte [eax + 0x41da40]
jmp dword [eax*4 + 0x41da14]
mov eax, dword [ebp + 8]
or dword [0x5d211c], 0x1000
or dword [eax], 0x1000
jmp case.0x41d913.64
mov eax, dword [ebp + 8]
or dword [0x5d211c], 1
or dword [eax], 1
jmp case.0x41d913.64
mov eax, dword [ebp + 8]
or dword [0x5d211c], 2
or dword [eax], 2
jmp case.0x41d913.64
mov eax, dword [ebp + 8]
or dword [0x5d211c], 4
or dword [eax], 4
jmp case.0x41d913.64
mov eax, dword [ebp + 8]
or dword [0x5d211c], 0x10
or dword [eax], 0x10
jmp case.0x41d913.64
mov eax, dword [ebp + 8]
or dword [0x5d211c], 0x100
or dword [eax], 0x100
jmp case.0x41d913.64
mov eax, dword [ebp + 8]
or dword [eax], 0x80
jmp case.0x41d913.64
mov eax, dword [ebp + 8]
or dword [0x5d211c], 0x200
or dword [eax], 0x200
jmp case.0x41d913.64
mov ecx, dword [ebp - 0x10]
call fcn.00450c80
push 0x594624
mov esi, eax
push 0x5971f4
push esi
call fcn.00450580
mov eax, dword [ebp - 8]
add esp, 0xc
push dword [eax + edi*4 - 4]
push 0x5971f4
push esi
call fcn.00450580
mov esi, dword [ebp - 8]
add esp, 0xc
mov byte [ebp - 1], 1
jmp case.0x41d913.64
mov eax, dword [ebp + 8]
mov dword [eax], 0x201
mov eax, esi
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x423ae0
Capabilities:
Suspend thread

Disassembly:
push esi
mov esi, ecx
push 1
lea eax, [esi + 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
mov ecx, dword [esi + 0x44]
test ecx, ecx
je 0x423b04
call fcn.004182f0
push eax
call dword [sym.imp.KERNEL32.dll_SuspendThread]
pop esi
ret
mov eax, dword [esi + 0x3c]
push eax
call dword [sym.imp.KERNEL32.dll_SuspendThread]
pop esi
ret
Function at 0x42cc60
Capabilities:
Hash data with md5
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x52d79b
mov eax, dword fs:[0]
push eax
sub esp, 0x490
mov eax, dword [0x5c6150]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, edx
mov dword [ebp - 0x49c], eax
mov edi, ecx
test eax, eax
jne 0x42cca2
xor al, al
jmp 0x42ce3a
push 0x400
lea eax, [ebp - 0x430]
push 0
push eax
call fcn.004d9fe0
mov esi, dword [0x5c6ad0]
xorps xmm0, xmm0
add esp, 0xc
mov dword [ebp - 0x494], 0
movups xmmword [ebp - 0x30], xmm0
mov dword [ebp - 0x498], esi
movups xmmword [ebp - 0x20], xmm0
mov dword [ebp - 4], 0
mov dword [ebp - 0x48c], 0x67452301
mov dword [ebp - 0x488], 0xefcdab89
mov dword [ebp - 0x484], 0x98badcfe
mov dword [ebp - 0x480], 0x10325476
mov dword [ebp - 0x47c], 0
mov dword [ebp - 0x478], 0
mov dword [ebp - 0x434], 0
push 0
lea eax, [ebp - 0x494]
push eax
push 0x400
lea eax, [ebp - 0x430]
push eax
push dword [edi]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x42cd54
call fcn.004193d0
test eax, eax
jne 0x42ce0c
mov eax, dword [ebp - 0x494]
test eax, eax
je 0x42cd7c
push eax
lea edx, [ebp - 0x430]
lea ecx, [ebp - 0x48c]
call fcn.0046d430
add esp, 4
cmp dword [ebp - 0x494], 0
ja 0x42cd26
lea edx, [ebp - 0x48c]
lea ecx, [ebp - 0x30]
call fcn.0046d6f0
movzx eax, byte [ebp - 0x21]
push eax
movzx eax, byte [ebp - 0x22]
push eax
movzx eax, byte [ebp - 0x23]
push eax
movzx eax, byte [ebp - 0x24]
push eax
movzx eax, byte [ebp - 0x25]
push eax
movzx eax, byte [ebp - 0x26]
push eax
movzx eax, byte [ebp - 0x27]
push eax
movzx eax, byte [ebp - 0x28]
push eax
movzx eax, byte [ebp - 0x29]
mov ecx, dword [ebp - 0x30]
push eax
movzx eax, byte [ebp - 0x2a]
push eax
movzx eax, byte [ebp - 0x2b]
push eax
movzx eax, byte [ebp - 0x2c]
push eax
movzx eax, byte [ebp - 0x2d]
push eax
movzx eax, byte [ebp - 0x2e]
push eax
movzx eax, ch
push eax
movzx eax, cl
push eax
lea eax, [ebp - 0x498]
push str._02x_02x_02x_02x_02x_02x_02x_02x_02x_02x_02x_02x_02x_02x_02x_02x
push eax
call fcn.00415720
push dword [ebp - 0x49c]
mov esi, dword [ebp - 0x498]
push esi
call fcn.004e0bff
add esp, 0x50
mov byte [ebp - 0x48d], 1
test eax, eax
je 0x42ce13
mov byte [ebp - 0x48d], 0
lea eax, [esi - 0xc]
cmp eax, 0x5c6ad4
je 0x42ce34
add esi, 0xfffffff4
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x42ce34
push esi
call fcn.004d71b8
add esp, 4
mov al, byte [ebp - 0x48d]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004d6cfd
mov esp, ebp
pop ebp
ret
Function at 0x435880
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
lea eax, [ebp - 8]
mov dword [ebp - 0x10], 0
push eax
push str.SoftwareSogouInput
push reloc.WS2_32.dll_accept
mov esi, ecx
mov dword [ebp - 0xc], 0
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x4358f9
mov eax, dword [ebp - 8]
test eax, eax
je 0x4358f9
lea ecx, [ebp - 0xc]
mov dword [ebp - 0x10], 4
push ecx
lea ecx, [ebp - 4]
mov dword [ebp - 0xc], 4
push ecx
lea ecx, [ebp - 0x10]
push ecx
push 0
push esi
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ecx, dword [ebp - 4]
xor edx, edx
test eax, eax
pop esi
cmovne ecx, edx
mov eax, ecx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 4]
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x435910
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
lea eax, [ebp - 8]
mov dword [ebp - 0x10], 0
push eax
push str.SoftwareSogouInput
push reloc.WS2_32.dll_accept
mov esi, ecx
mov dword [ebp - 0xc], 0
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x435993
mov eax, dword [ebp - 8]
test eax, eax
je 0x435993
lea ecx, [ebp - 0xc]
mov dword [ebp - 0x10], 4
push ecx
lea ecx, [ebp - 4]
mov dword [ebp - 0xc], 4
push ecx
lea ecx, [ebp - 0x10]
push ecx
push 0
push esi
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push 4
lea eax, [ebp - 4]
mov dword [ebp - 4], 0
push eax
push 4
push 0
push esi
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x436b00
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x52df2b
mov eax, dword fs:[0]
push eax
sub esp, 0x218
mov eax, dword [0x5c6150]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x224], 0
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 0
push 0x20019
push str.SOFTWARESogouInput
push reloc.WS2_32.dll_bind
lea ecx, [ebp - 0x224]
mov dword [ebp - 4], 0
call fcn.00419440
mov edi, dword [ebp - 0x224]
test eax, eax
jne 0x436c42
push 0x200
lea eax, [ebp - 0x210]
push 0
push eax
call fcn.004d9fe0
add esp, 0xc
mov dword [ebp - 0x218], 0x200
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x214]
push eax
push 0
push str.Version
push edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x436c42
mov eax, dword [ebp - 0x214]
cmp eax, 1
je 0x436bd4
cmp eax, 2
jne 0x436c42
mov eax, dword [ebp - 0x218]
test eax, eax
je 0x436bf1
test al, 1
jne 0x436c42
shr eax, 1
cmp word [ebp + eax*2 - 0x212], 0
je 0x436bfa
jmp 0x436c42
xor eax, eax
mov word [ebp - 0x210], ax
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov esi, eax
mov ecx, ebx
push esi
mov dword [ebp - 0x214], esi
call fcn.00413c20
test eax, eax
je 0x436c42
add esi, esi
lea eax, [ebp - 0x210]
push esi
push eax
push dword [ebx]
call fcn.004d9a60
mov eax, dword [ebx]
add esp, 0xc
mov ecx, dword [ebp - 0x214]
mov dword [eax - 8], ecx
xor ecx, ecx
mov eax, dword [ebx]
mov word [esi + eax], cx
test edi, edi
je 0x436c4d
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004d6cfd
mov esp, ebp
pop ebp
ret
Function at 0x436c70
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x52df6b
mov eax, dword fs:[0]
push eax
sub esp, 0x338
mov eax, dword [0x5c6150]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x340], esi
mov dword [ebp - 0x344], esi
call fcn.004515b0
push 0x208
lea eax, [ebp - 0x218]
mov dword [ebp - 4], 0
push 0
push eax
call fcn.004d9fe0
add esp, 0xc
lea eax, [ebp - 0x218]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
je 0x436d8e
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x436cf0
sub ecx, edx
sar ecx, 1
cmp word [ebp + ecx*2 - 0x21a], 0x5c
jne 0x436d27
lea ecx, [ecx*2 - 2]
cmp ecx, 0x208
jae 0x436daa
xor eax, eax
mov word [ebp + ecx - 0x218], ax
push 0
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x33c]
call fcn.00451610
cmp byte [ebp - 0x220], 0
lea eax, [ebp - 0x330]
mov ecx, esi
cmove eax, dword [ebp - 0x334]
add eax, 4
push eax
call fcn.0044ff70
cmp byte [ebp - 0x220], 0
mov dword [ebp - method.t_str.virtual_0], vtable.t_str.0
jne 0x436d8e
mov ecx, dword [ebp - 0x334]
lea eax, [ebp - 0x330]
cmp ecx, eax
je 0x436d8e
push ecx
call fcn.004e1b56
add esp, 4
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004d6cfd
mov esp, ebp
pop ebp
ret
call fcn.004d6e31
int3
Function at 0x436f30
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x260
mov eax, dword [0x5c6150]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
push esi
mov esi, ecx
mov dword [ebp - 0x258], edx
push edi
cmp byte [esi + 0x11c], 0
lea eax, [esi + 0xc]
jne 0x436f5d
mov eax, dword [esi + 8]
lea ecx, [ebp - 0x25c]
add eax, 4
push ecx
push eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov ebx, eax
test ebx, ebx
je 0x4370b6
push ebx
call fcn.004d72c0
add esp, 4
mov edi, eax
cmp byte [esi + 0x11c], 0
lea eax, [esi + 0xc]
jne 0x436f92
mov eax, dword [esi + 8]
push edi
push ebx
push 0
add eax, 4
push eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
je 0x4370ad
mov esi, dword [sym.imp.VERSION.dll_VerQueryValueW]
lea eax, [ebp - 0x254]
push eax
lea eax, [ebp - 0x24c]
push eax
push 0x597154
push edi
call esi
test eax, eax
je 0x4370ad
push 0x34
lea eax, [ebp - 0x248]
push 0
push eax
call fcn.004d9fe0
add esp, 0xc
lea ecx, [ebp - 0x248]
mov edx, 0x34
push 0x34
push dword [ebp - 0x24c]
call fcn.00436750
add esp, 8
lea eax, [ebp - 0x254]
push eax
lea eax, [ebp - 0x24c]
push eax
push str.VarFileInfoTranslation
push edi
call esi
test eax, eax
je 0x4370ad
push 4
push dword [ebp - 0x24c]
mov edx, 4
mov dword [ebp - 0x250], 0
lea ecx, [ebp - 0x250]
call fcn.00436750
push 0x208
lea eax, [ebp - 0x214]
push 0
push eax
call fcn.004d9fe0
movzx eax, word [ebp - 0x24e]
add esp, 0x14
push eax
movzx eax, word [ebp - 0x250]
push eax
push str.StringFileInfo_04x_04xFileVersion
lea eax, [ebp - 0x214]
push 0x104
push eax
call fcn.00412070
add esp, 0x14
lea eax, [ebp - 0x254]
push eax
lea eax, [ebp - 0x24c]
push eax
lea eax, [ebp - 0x214]
push eax
push edi
call esi
push dword [ebp - 0x24c]
push 0x5971f4
push dword [ebp + 8]
push dword [ebp - 0x258]
call fcn.00412070
add esp, 0x10
push edi
call fcn.004d71b8
add esp, 4
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004d6cfd
mov esp, ebp
pop ebp
ret
Function at 0x43bea0
Capabilities:
Suspend thread

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x43bee2
cmp dword [ecx + 4], 0
je 0x43bee2
call fcn.004177c0
push 1
lea eax, [esi + 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
mov ecx, dword [esi + 0x44]
test ecx, ecx
je 0x43bed8
call fcn.004182f0
push eax
call dword [sym.imp.KERNEL32.dll_SuspendThread]
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x3c]
push eax
call dword [sym.imp.KERNEL32.dll_SuspendThread]
xor eax, eax
pop esi
ret
Function at 0x43d770
Capabilities:
Resume thread

Disassembly:
push esi
mov esi, ecx
push 1
lea eax, [esi + 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
cmp dword [esi + 0x28], 1
lea eax, [esi + 0x28]
jne 0x43d7b0
push 0
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
mov ecx, dword [esi + 0x44]
test ecx, ecx
je 0x43d7a6
call fcn.004182f0
push eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
pop esi
ret
mov eax, dword [esi + 0x3c]
push eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
pop esi
ret

Function at 0x43da10
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, ecx
push edi
cmp dword [esi + 8], 0
je 0x43da2b
mov eax, 0x8000ffff
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0
lea edi, [esi + 0x24]
push edi
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSectionAndSpinCount]
test eax, eax
jne 0x43da55
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x43da4f
movzx eax, ax
or eax, 0x80070000
test eax, eax
js 0x43db60
mov ebx, dword [sym.imp.KERNEL32.dll_CreateEventW]
push 0
push 0
push 0
push 0
mov byte [edi + 0x18], 1
call ebx
mov dword [esi + 0x40], eax
test eax, eax
jne 0x43da8b
cmp byte [edi + 0x18], al
je 0x43da7f
push edi
mov byte [edi + 0x18], al
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
call fcn.004193d0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0
push 0
push 0
push 0
call ebx
mov edi, eax
test edi, edi
jne 0x43dac0
call fcn.004193d0
push ecx
mov ecx, esi
mov edi, eax
call fcn.0043d7c0
test eax, eax
jns 0x43db5e
test edi, edi
cmovns edi, eax
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0
push 0
push edi
mov ecx, esi
call fcn.0043d890
mov dword [ebp - 4], eax
test eax, eax
jns 0x43daec
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push ecx
mov ecx, esi
call fcn.0043d7c0
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0
push 0
push 0
push 0
call ebx
mov ebx, eax
test ebx, ebx
je 0x43da9b
push 0
push 0
push ebx
mov ecx, esi
call fcn.0043d890
mov edi, eax
test edi, edi
jns 0x43db26
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push ecx
mov ecx, esi
call fcn.0043d7c0
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea eax, [esi + 4]
push eax
push 0
push esi
push 0x43dbe0
push 0
push 0
call fcn.004e380e
add esp, 0x18
mov dword [esi], eax
test eax, eax
je 0x43da9b
push 0xffffffffffffffff
push dword [esi + 0x40]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x43db5e
call fcn.004193d0
mov edi, eax
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x43e4b0
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x228
mov eax, dword [0x5c6150]
xor eax, esp
mov dword [esp + 0x224], eax
mov eax, dword [ecx + 4]
mov edx, dword [ebp + 8]
or eax, 0x2001f
push esi
push edi
push eax
push edx
push dword [ecx]
mov dword [esp + 0x28], ecx
lea ecx, [esp + 0x18]
mov dword [esp + 0x24], edx
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0
call fcn.00419440
mov esi, eax
test esi, esi
jne 0x43e5a7
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
lea eax, [esp + 0x20]
push eax
push esi
push esi
push esi
lea eax, [esp + 0x18]
mov dword [esp + 0x18], 0x100
push eax
lea eax, [esp + 0x3c]
push eax
push esi
push dword [esp + 0x28]
call edi
test eax, eax
jne 0x43e579
nop dword [eax]
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x10]
call fcn.0043e4b0
mov esi, eax
test esi, esi
jne 0x43e5a7
lea eax, [esp + 0x20]
mov dword [esp + 8], 0x100
push eax
push esi
push esi
push esi
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x3c]
push eax
push esi
push dword [esp + 0x28]
call edi
test eax, eax
je 0x43e540
mov eax, dword [esp + 0xc]
test eax, eax
je 0x43e590
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0xc], 0
push dword [esp + 0x18]
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x14], 0
call fcn.0043e430
mov esi, eax
mov eax, dword [esp + 0xc]
test eax, eax
je 0x43e5b6
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x22c]
mov eax, esi
pop edi
pop esi
xor ecx, esp
call fcn.004d6cfd
mov esp, ebp
pop ebp
ret 4
Function at 0x43eaf0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x52e9a6
mov eax, dword fs:[0]
push eax
sub esp, 0x424
mov eax, dword [0x5c6150]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov dword [ebp - 0x420], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x41c], eax
mov dword [ebp - 0x430], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x428], ecx
mov dword [ebp - 0x42c], 0
mov dword [ebp - 0x418], 0
push 0x60
push 0
mov byte [ebp - 4], 1
mov ebx, dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
push edi
call ebx
mov esi, eax
mov dword [ebp - 0x424], esi
test esi, esi
jne 0x43eb9c
push 2
push eax
push edi
call ebx
mov esi, eax
mov dword [ebp - 0x424], eax
test esi, esi
jne 0x43eb9c
call fcn.004193d0
mov edi, eax
jmp 0x43ecbb
push dword [ebp - 0x41c]
push dword [ebp - 0x420]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x43ebbf
call fcn.004193d0
jmp 0x43ecae
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
mov dword [ebp - 0x420], ebx
test ebx, ebx
jne 0x43ebdd
call fcn.004193d0
jmp 0x43ecae
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
mov dword [ebp - 0x41c], edi
lea eax, [edi + 1]
cmp eax, edi
jae 0x43ebfe
mov edi, 0x8007000e
jmp 0x43ecb0
mov ecx, 2
mov byte [ebp - 4], 2
mul ecx
test edx, edx
jne 0x43ec35
cmp eax, 0xffffffff
ja 0x43ec35
cmp eax, 0x400
jbe 0x43ec27
push eax
lea ecx, [ebp - 0x418]
call fcn.00442ea0
jmp 0x43ec57
lea eax, [ebp - 0x414]
mov dword [ebp - 0x418], eax
jmp 0x43ec57
push 0x80070216
call fcn.004138f0
mov eax, 0x43ec45
ret
mov dword [ebp - 4], 1
cmp dword [ebp - 0x418], 0
jne 0x43ec6e
mov edi, 0x8007000e
jmp 0x43ecb0
push edi
push dword [ebp - 0x418]
push edi
push ebx
push 0
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov ecx, eax
test ecx, ecx
jne 0x43ec8e
call fcn.004193d0
jmp 0x43ecae
mov eax, dword [ebp - 0x418]
xor edx, edx
push dword [ebp + 0x14]
mov word [eax + ecx*2], dx
lea ecx, [ebp - 0x42c]
push dword [ebp - 0x418]
call fcn.0043f8e0
mov edi, eax
test esi, esi
je 0x43ecbb
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [ebp - 0x414]
cmp dword [ebp - 0x418], eax
je 0x43ecd4
lea ecx, [ebp - 0x418]
call fcn.00442e90
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004d6cfd
mov esp, ebp
pop ebp
ret 0x10
Function at 0x442d20
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xa4
mov eax, dword [0x5c6150]
xor eax, esp
mov dword [esp + 0xa0], eax
mov eax, dword [ebp + 0x14]
push ebx
mov ebx, ecx
mov dword [esp + 0xc], eax
push esi
push edi
mov edi, dword [ebp + 0x10]
lea eax, [ebx - 0x24]
neg ebx
push 0x80
sbb ebx, ebx
and ebx, eax
lea eax, [esp + 0x2c]
push 0
push eax
mov dword [esp + 0x1c], ebx
mov dword [ebx + 0x24], 1
mov esi, dword [edi + 0x18]
call fcn.004d9fe0
add esp, 0xc
lea eax, [esp + 0x28]
push 0x40
push eax
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetWindowTextW]
push 0xff0000
push esi
call dword [sym.imp.GDI32.dll_SetTextColor]
push 1
push esi
call dword [sym.imp.GDI32.dll_SetBkMode]
lea eax, [edi + 0x1c]
push eax
mov dword [esp + 0x10], eax
lea eax, [esp + 0x1c]
push eax
call dword [sym.imp.USER32.dll_CopyRect]
lea eax, [esp + 0x28]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x442db3
push 0x8e25
sub eax, edx
lea ecx, [esp + 0x1c]
push ecx
sar eax, 1
push eax
lea eax, [esp + 0x34]
push eax
push esi
call dword [sym.imp.USER32.dll_DrawTextW]
lea ecx, [esp + 0x28]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x442de0
push 0x8a25
sub ecx, edx
lea eax, [edi + 0x1c]
push eax
sar ecx, 1
lea eax, [esp + 0x30]
push ecx
push eax
push esi
call dword [sym.imp.USER32.dll_DrawTextW]
mov eax, dword [esp + 0xc]
push dword [ebx + 0x28]
mov edi, dword [edi + 0x24]
push esi
sub edi, dword [eax]
call dword [sym.imp.GDI32.dll_SelectObject]
mov ecx, dword [esp + 0x24]
mov ebx, eax
mov eax, dword [esp + 0x18]
dec ecx
sub eax, dword [esp + 0x20]
add eax, edi
cdq
push 0
sub eax, edx
push ecx
sar eax, 1
push eax
push esi
call dword [sym.imp.GDI32.dll_MoveToEx]
mov eax, dword [esp + 0x24]
dec eax
push eax
mov eax, dword [esp + 0x24]
sub eax, dword [esp + 0x1c]
add eax, edi
cdq
sub eax, edx
sar eax, 1
push eax
push esi
call dword [sym.imp.GDI32.dll_LineTo]
push ebx
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
mov ecx, dword [esp + 0x10]
pop edi
pop esi
pop ebx
mov eax, dword [ecx + 0x24]
mov ecx, dword [esp + 8]
mov dword [ecx], eax
mov eax, 1
mov ecx, dword [esp + 0xa0]
xor ecx, esp
call fcn.004d6cfd
mov esp, ebp
pop ebp
ret 0x10