joyce8/EMBER2024-capa huggingface dataset:
Function at 0x417ad0
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
movzx eax, byte [0x5fbc70]
test eax, eax
je 0x417c9f
movzx ecx, byte [0x5f30c8]
test ecx, ecx
je 0x417c9f
mov edx, dword [ebp + 0xc]
cmp edx, dword [0x5fbc74]
jg 0x417c9f
mov eax, dword [ebp + 8]
push eax
call fcn.00409800
movzx ecx, al
test ecx, ecx
je 0x417c9f
mov dword [ebp - 0x10], 0xffffffff
push 0
push 0x80
push 3
push 0
push 1
push SysReAllocStringLen
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0xffffffff
je 0x417c9f
mov dword [ebp - 0x1c], 0
mov dword [ebp - 4], 0
lea eax, [ebp - 0x1c]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x417c95
mov edx, dword [ebp - 4]
add edx, 1
push edx
call fcn.00428226
add esp, 4
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x417c95
mov ecx, dword [ebp - 4]
add ecx, 1
push ecx
push 0
mov edx, dword [ebp - 8]
push edx
call fcn.00550230
add esp, 0xc
mov eax, dword [ebp - 4]
mov dword [ebp - 0x18], eax
push 0
lea ecx, [ebp - 0x18]
push ecx
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x417c83
mov edx, dword [ebp - 0x18]
cmp edx, dword [ebp - 4]
jne 0x417c83
push 0
push 0
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [ebp - 8]
push ecx
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jle 0x417c83
mov edx, dword [ebp - 0x14]
lea eax, [edx + edx + 2]
xor ecx, ecx
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00428226
add esp, 4
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0x14]
lea edx, [ecx + ecx + 2]
push edx
push 0
mov eax, dword [ebp - 0xc]
push eax
call fcn.00550230
add esp, 0xc
cmp dword [ebp - 0xc], 0
je 0x417c83
mov ecx, dword [ebp - 0x14]
push ecx
mov edx, dword [ebp - 0xc]
push edx
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [ebp - 8]
push ecx
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp - 0xc]
push eax
call fcn.00417e20
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword [ebp - 0x28], ecx
mov edx, dword [ebp - 0x28]
push edx
call fcn.0042822f
add esp, 4
mov eax, dword [ebp - 8]
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.0042822f
add esp, 4
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esp, ebp
pop ebp
ret
Function at 0x417cd0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57467a
mov eax, dword fs:[0]
push eax
sub esp, 0x220
mov eax, dword [0x5f4900]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor eax, eax
mov word [ebp - 0x218], ax
push 0x206
push 0
lea ecx, [ebp - 0x216]
push ecx
call fcn.00550230
add esp, 0xc
push 0x104
lea edx, [ebp - 0x218]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x417d3f
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
mov ecx, dword [str.pculog.configure]
push ecx
lea edx, [ebp - 0x218]
push edx
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x218]
push eax
call fcn.00409800
movzx ecx, al
test ecx, ecx
je 0x417e02
push str.logging_setting
lea ecx, [ebp - 0x22c]
call fcn.0040b9e0
mov dword [ebp - 4], 0
lea edx, [ebp - 0x218]
push edx
push 1
push str.PerformanceLog
lea ecx, [ebp - 0x22c]
call fcn.0040be00
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [ebp - 0x220], eax
cmp dword [ebp - 0x220], 0
jne 0x417db9
mov byte [ebp - 0x219], 0
jmp 0x417dc0
mov byte [ebp - 0x219], 1
mov al, byte [ebp - 0x219]
mov byte [0x5f30c9], al
lea ecx, [ebp - 0x218]
push ecx
push 0
push str.LoggingLevel
lea ecx, [ebp - 0x22c]
call fcn.0040be00
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [0x5fbc74], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x22c]
call fcn.0040b960
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005502f8
mov esp, ebp
pop ebp
ret
Function at 0x417e20
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5746ad
mov eax, dword fs:[0]
push eax
sub esp, 0x130
mov eax, dword [0x5f4900]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
movzx eax, byte [0x5f30c8]
test eax, eax
je 0x417ff9
mov ecx, dword [ebp + 0xc]
cmp ecx, dword [0x5fbc74]
jg 0x417ff9
push 0x80
lea edx, [ebp - 0x110]
push edx
call fcn.00418020
add esp, 8
lea ecx, [ebp - 0x13c]
call fcn.0040b930
mov dword [ebp - 4], 0
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x110]
push ecx
push 0x58e8b8
lea edx, [ebp - 0x13c]
push edx
call fcn.0040c1b0
add esp, 0x10
push 0
push 0x80
push 4
push 0
push 0
push 0x40000000
push 0x5fba68
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x114], eax
cmp dword [ebp - 0x114], 0xffffffff
je 0x417fe7
call fcn.00405330
mov dword [ebp - 0x130], eax
push 2
push 0
push 0
mov eax, dword [ebp - 0x114]
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov dword [ebp - 0x128], 0
lea ecx, [ebp - 0x13c]
call fcn.0040be00
mov dword [ebp - 0x11c], eax
cmp dword [ebp - 0x11c], 0
jne 0x417f2c
mov dword [ebp - 0x120], 0
jmp 0x417fa4
mov ecx, dword [ebp - 0x11c]
push ecx
call fcn.0055091a
add esp, 4
add eax, 1
mov dword [ebp - 0x118], eax
cmp dword [ebp - 0x118], 0x3fffffff
jle 0x417f5c
mov dword [ebp - 0x124], 0
jmp 0x417f98
mov eax, dword [ebp - 0x118]
shl eax, 1
call fcn.00553680
mov dword [ebp - 0x12c], esp
mov edx, dword [ebp - 0x130]
push edx
mov eax, dword [ebp - 0x118]
shl eax, 1
push eax
mov ecx, dword [ebp - 0x11c]
push ecx
mov edx, dword [ebp - 0x12c]
push edx
call fcn.0040b3a0
mov dword [ebp - 0x124], eax
mov eax, dword [ebp - 0x124]
mov dword [ebp - 0x120], eax
push 0
lea ecx, [ebp - 0x128]
push ecx
lea ecx, [ebp - 0x13c]
call fcn.0040be20
push eax
mov edx, dword [ebp - 0x120]
push edx
mov eax, dword [ebp - 0x114]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov ecx, dword [ebp - 0x114]
push ecx
call dword [sym.imp.KERNEL32.dll_FlushFileBuffers]
mov edx, dword [ebp - 0x114]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x13c]
call fcn.0040b960
lea esp, [ebp - 0x140]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005502f8
mov esp, ebp
pop ebp
ret

Function at 0x418310
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
mov eax, 4
shl eax, 0
mov ecx, dword [ebp + 8]
mov dword [ecx + eax + 0x10], 0
mov edx, 4
imul eax, edx, 0
mov ecx, dword [ebp + 8]
mov dword [ecx + eax + 0x10], 0
mov edx, 4
imul eax, edx, 0
mov ecx, dword [ebp + 8]
mov dword [ecx + eax], 0x67452301
mov edx, 4
shl edx, 0
mov eax, dword [ebp + 8]
mov dword [eax + edx], 0xefcdab89
mov ecx, 4
shl ecx, 1
mov edx, dword [ebp + 8]
mov dword [edx + ecx], 0x98badcfe
mov eax, 4
imul ecx, eax, 3
mov edx, dword [ebp + 8]
mov dword [edx + ecx], 0x10325476
pop ebp
ret
Function at 0x419830
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57479b
mov eax, dword fs:[0]
push eax
sub esp, 0x234
mov eax, dword [0x5f4900]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
call fcn.00419a80
mov dword [ebp - 0x228], eax
cmp dword [ebp - 0x228], 0
jne 0x419874
jmp 0x419a21
movzx eax, byte [0x5fbe90]
test eax, eax
jne 0x419891
mov ecx, dword [ebp - 0x228]
call fcn.00419b10
mov byte [0x5fbe90], 1
push 0x100
lea ecx, [ebp - 0x210]
push ecx
call fcn.00419b40
add esp, 8
lea ecx, [ebp - 0x240]
call fcn.0040b930
mov dword [ebp - 4], 0
mov edx, dword [ebp + 8]
push edx
lea eax, [ebp - 0x210]
push eax
push str._s____s_r_n
lea ecx, [ebp - 0x240]
push ecx
call fcn.0040c1b0
add esp, 0x10
push 0
push 0x80
push 4
push 0
push 0
push 0x40000000
push 0x5fbc88
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x214], eax
cmp dword [ebp - 0x214], 0xffffffff
je 0x419a0f
call fcn.00405330
mov dword [ebp - 0x230], eax
push 2
push 0
push 0
mov edx, dword [ebp - 0x214]
push edx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov dword [ebp - 0x234], 0
lea ecx, [ebp - 0x240]
call fcn.0040be00
mov dword [ebp - 0x21c], eax
cmp dword [ebp - 0x21c], 0
jne 0x419954
mov dword [ebp - 0x220], 0
jmp 0x4199cc
mov eax, dword [ebp - 0x21c]
push eax
call fcn.0055091a
add esp, 4
add eax, 1
mov dword [ebp - 0x218], eax
cmp dword [ebp - 0x218], 0x3fffffff
jle 0x419984
mov dword [ebp - 0x224], 0
jmp 0x4199c0
mov eax, dword [ebp - 0x218]
shl eax, 1
call fcn.00553680
mov dword [ebp - 0x22c], esp
mov ecx, dword [ebp - 0x230]
push ecx
mov edx, dword [ebp - 0x218]
shl edx, 1
push edx
mov eax, dword [ebp - 0x21c]
push eax
mov ecx, dword [ebp - 0x22c]
push ecx
call fcn.0040b3a0
mov dword [ebp - 0x224], eax
mov edx, dword [ebp - 0x224]
mov dword [ebp - 0x220], edx
push 0
lea eax, [ebp - 0x234]
push eax
lea ecx, [ebp - 0x240]
call fcn.0040be20
push eax
mov ecx, dword [ebp - 0x220]
push ecx
mov edx, dword [ebp - 0x214]
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [ebp - 0x214]
push eax
call dword [sym.imp.KERNEL32.dll_FlushFileBuffers]
mov ecx, dword [ebp - 0x214]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x240]
call fcn.0040b960
lea esp, [ebp - 0x244]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005502f8
mov esp, ebp
pop ebp
ret
Function at 0x41e570
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x575324
mov eax, dword fs:[0]
push eax
push ecx
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x5f4900]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x14], ecx
push 8
push 0
lea eax, [ebp - 0x2c]
push eax
call fcn.00550230
add esp, 0xc
push 8
push 0
lea ecx, [ebp - 0x24]
push ecx
call fcn.00550230
add esp, 0xc
push 8
push 0
lea edx, [ebp - 0x1c]
push edx
call fcn.00550230
add esp, 0xc
mov dword [ebp - 4], 0
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x24]
push ecx
lea edx, [ebp - 0x2c]
push edx
mov ecx, dword [ebp - 0x14]
add ecx, 0x50
call fcn.00403e60
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
jmp 0x41e61c
mov dword [ebp - 4], 0xffffffff
jmp 0x41e62c
mov eax, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x18]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x420380
Capabilities:
Parse url

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x575683
mov eax, dword fs:[0]
push eax
mov eax, 0x6814
call fcn.005536b0
mov eax, dword [0x5f4900]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x681c], ecx
mov dword [ebp - 0x6820], 0
lea ecx, [ebp - 0x6818]
call fcn.00403a90
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x6814]
call fcn.00421b80
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x681c]
add ecx, 4
call fcn.004074d0
movzx eax, al
test eax, eax
jne 0x42044b
xor ecx, ecx
mov word [ebp - 0x420], cx
push 0x206
push 0
lea edx, [ebp - 0x41e]
push edx
call fcn.00550230
add esp, 0xc
mov ecx, dword [ebp - 0x681c]
add ecx, 4
call fcn.00403e60
push eax
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0x420]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea edx, [ebp - 0x420]
push edx
lea ecx, [ebp - 0x6818]
call fcn.00403d90
jmp 0x42051c
lea eax, [ebp - 0x6814]
push eax
push 0
push 0
mov ecx, dword [ebp - 0x681c]
call fcn.00403e60
push eax
call dword [sym.imp.WININET.dll_InternetCrackUrlW]
test eax, eax
je 0x4204be
xor ecx, ecx
mov word [ebp - 0x628], cx
push 0x206
push 0
lea edx, [ebp - 0x626]
push edx
call fcn.00550230
add esp, 0xc
lea eax, [ebp - 0x26b8]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
lea edx, [ebp - 0x628]
push edx
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [ebp - 0x628]
push eax
lea ecx, [ebp - 0x6818]
call fcn.00403d90
jmp 0x42051c
xor ecx, ecx
mov word [ebp - 0x218], cx
push 0x206
push 0
lea edx, [ebp - 0x216]
push edx
call fcn.00550230
add esp, 0xc
mov ecx, dword [ebp - 0x681c]
call fcn.00403e60
push eax
push 0x104
lea eax, [ebp - 0x218]
push eax
call fcn.005508be
add esp, 0xc
lea ecx, [ebp - 0x218]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathStripPathW]
lea edx, [ebp - 0x218]
push edx
lea ecx, [ebp - 0x6818]
call fcn.00403d90
lea eax, [ebp - 0x6818]
push eax
mov ecx, dword [ebp + 8]
call fcn.00403950
mov ecx, dword [ebp - 0x6820]
or ecx, 1
mov dword [ebp - 0x6820], ecx
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x6814]
call fcn.00421cb0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x6818]
call fcn.00403b70
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005502f8
mov esp, ebp
pop ebp
ret 8
Function at 0x420f30
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x575917
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x5f4900]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x18], ecx
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0x18]
call fcn.00420d60
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.00403e60
push eax
push SysReAllocStringLen
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
cmp dword [ebp + 8], 0xffffffff
je 0x421004
push 0
push 0
push 0
mov ecx, dword [ebp + 8]
push ecx
lea ecx, [ebp - 0x30]
call fcn.00421450
sub esp, 0xc
mov edx, esp
mov ecx, dword [eax]
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov eax, dword [eax + 8]
mov dword [edx + 8], eax
lea ecx, [ebp - 0x24]
push ecx
lea edx, [ebp - 0x3c]
push edx
call fcn.00404d20
mov ecx, eax
call fcn.00421570
push 0x400
push 0
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x24]
call fcn.004047b0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x14]
call fcn.00403e60
push eax
push 0x591064
lea ecx, [ebp - 0x10]
call fcn.00403e60
push eax
push SysReAllocStringLen
call fcn.0040dee0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.00403b70
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00403b70
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 4

Function at 0x423d40
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
mov byte [ebp - 1], 0
push 0x17
call dword [sym.imp.USER32.dll_GetSystemMetrics]
test eax, eax
je 0x423d6f
push 2
call dword [sym.imp.USER32.dll_GetKeyState]
cwde
and eax, 0x80
je 0x423d6d
mov byte [ebp - 1], 1
jmp 0x423d86
push 1
call dword [sym.imp.USER32.dll_GetKeyState]
movsx ecx, ax
and ecx, 0x80
je 0x423d86
mov byte [ebp - 1], 1
movzx edx, byte [ebp - 1]
test edx, edx
je 0x423dac
push 0
push 0xf012
push 0x112
mov ecx, dword [ebp - 8]
call fcn.00425600
push 0
mov ecx, dword [ebp - 8]
call fcn.00424d40
mov esp, ebp
pop ebp
ret
Function at 0x426ae0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x576148
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x5f4900]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x18], ecx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x18]
call fcn.00431930
test eax, eax
je 0x426b22
mov eax, 1
jmp 0x426c3c
mov dword [ebp - 0x14], 0
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
mov word [ebp - 0x10], ax
mov ecx, dword [ebp + 8]
cmp dword [ecx + 4], 0x100
jne 0x426b56
mov edx, dword [ebp + 8]
cmp dword [edx + 8], 0x74
jne 0x426b56
mov dword [ebp - 0x14], 1
jmp 0x426c2c
mov eax, dword [ebp + 8]
cmp dword [eax + 4], 0x100
jne 0x426ba5
mov ecx, dword [ebp + 8]
cmp dword [ecx + 8], 0x4f
je 0x426b86
mov edx, dword [ebp + 8]
cmp dword [edx + 8], 0x50
je 0x426b86
mov eax, dword [ebp + 8]
cmp dword [eax + 8], 0x4e
je 0x426b86
mov ecx, dword [ebp + 8]
cmp dword [ecx + 8], 0x4c
jne 0x426ba5
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
movsx edx, ax
and edx, 0x8000
je 0x426ba5
mov dword [ebp - 0x14], 1
jmp 0x426c2c
push 0
mov ecx, dword [ebp - 0x18]
add ecx, 0x134
call fcn.00426e30
movzx eax, al
test eax, eax
je 0x426c2c
mov ecx, dword [ebp - 0x18]
add ecx, 0x134
call fcn.00403e60
push eax
lea ecx, [ebp - 0x1c]
call fcn.00426ce0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x1c]
call fcn.00403e60
test eax, eax
je 0x426c1d
lea ecx, [ebp - 0x1c]
call fcn.00403e60
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0x20]
push edx
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x14]
call edx
test eax, eax
jne 0x426c10
mov dword [ebp - 0x24], 1
jmp 0x426c17
mov dword [ebp - 0x24], 0
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.00426db0
cmp dword [ebp - 0x14], 0
je 0x426c39
mov eax, 1
jmp 0x426c3c
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 4

Function at 0x42f558
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor edi, edi
mov dword [ebp - 4], ecx
mov esi, edi
cmp dword [ebp + 8], esi
je 0x42f59d
call fcn.0043695c
push 0xf0
push dword [ebp + 8]
mov ebx, dword [eax + 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x42f59d
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
je 0x42f5b9
push esi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.0044c7a1
mov ebx, eax
test edi, edi
je 0x42f5b7
test esi, esi
je 0x42f5b7
push esi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x436c7e
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
xor esi, esi
call fcn.0043695c
push 5
push dword [ebp + 8]
mov ebx, dword [eax + 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x436cb5
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
mov ecx, dword [ebp - 4]
push ebx
push dword [ebp + 0xc]
push esi
call fcn.00436cd6
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x45357f
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 4]
push eax
push dword [ebp + 0xc]
mov ecx, dword [esi + 4]
call fcn.00434521
push 0xfffffffffffffff0
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowLongW]
push dword [ebp + 0xc]
and eax, 3
mov ecx, esi
cmp al, 3
je 0x4535bb
call fcn.0045379e
mov dword [esi + 0xc], 1
jmp 0x4535c0
call fcn.0045379e
cmp dword [esi], 0
je 0x453609
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov esi, dword [ebp + 0x10]
test eax, eax
jle 0x4535e3
lea ecx, [eax + 1]
push ecx
push eax
mov ecx, esi
call fcn.00428d6a
jmp 0x4535f4
push 0xff
mov ecx, esi
call fcn.00404f10
push 0x100
push eax
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowTextW]
push 0xffffffffffffffff
mov ecx, esi
call fcn.00405020
jmp 0x45362d
mov esi, dword [ebp + 0x10]
push dword [esi]
push 0xffffffffffffffff
push 0x14d
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_SendMessageW]
cmp eax, 0xffffffff
jne 0x45362d
push dword [esi]
push dword [ebp - 4]
call fcn.00444982
pop esi
mov esp, ebp
pop ebp
ret 0xc

Function at 0x4536f3
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
mov ecx, esi
push edi
push dword [ebp + 0xc]
call fcn.0045379e
cmp dword [esi], 0
mov edi, eax
mov dword [esi + 0xc], 1
je 0x45373b
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [ebp + 0x10]
push eax
call fcn.00428d6a
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [ebp + 0x10]
push 0xffffffffffffffff
call fcn.00405020
jmp 0x453746
mov eax, dword [ebp + 0x10]
push dword [eax]
push edi
call fcn.00444982
pop edi
pop esi
pop ebp
ret 0xc

Function at 0x49cd79
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [esp + 8]
push esi
push edi
xor edi, edi
movzx eax, word [ecx + 0x14]
movzx esi, word [ecx + 6]
test esi, esi
lea eax, [eax + ecx + 0x18]
jbe 0x49cdb4
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x49cd9b
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0xc]
cmp dword [esp + 0xc], edx
jb 0x49cdac
add edx, ecx
cmp dword [esp + 0xc], edx
jb 0x49cdb6
inc edi
add eax, 0x28
cmp edi, esi
jb 0x49cd91
xor eax, eax
pop edi
pop esi
ret
Function at 0x49d5d6
Capabilities:
Contain obfuscated stackstrings

Disassembly:
call dword [eax - 0x18]
insb byte es:[edi], dx
idiv edi
call [ecx + 0x50]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.0049ccfe
add esp, 0xc
mov dword [ebp - 0x68c], eax
call dword [ebp - 0x68c]
mov dword [ebp - 0x674], eax
mov dword [ebp - 0x384], 4
and byte [ebp - 0x334], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x333]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov dword [ebp - 0x670], 4
and byte [ebp - 0x3c4], 0
and byte [ebp - 0x3c3], 0
mov byte [ebp - 0x3c2], 0x99
cld
invalid
call [ecx - 0x3c05a80]
invalid
inc dword [eax]
mov byte [ebp - 0x3c0], 0x21
mov byte [ebp - 0x3bf], 3
mov byte [ebp - 0x3be], 0x12
mov byte [ebp - 0x3bd], 0x2b
mov byte [ebp - 0x3bc], 9
mov byte [ebp - 0x3bb], 2
mov byte [ebp - 0x3ba], 0x13
mov byte [ebp - 0x3b9], 0xa
mov byte [ebp - 0x3b8], 3
mov byte [ebp - 0x3b7], 0x20
mov byte [ebp - 0x3b6], 0xf
mov byte [ebp - 0x3b5], 0xa
mov byte [ebp - 0x3b4], 3
mov byte [ebp - 0x3b3], 0x28
mov byte [ebp - 0x3b2], 7
mov byte [ebp - 0x3b1], 0xb
mov byte [ebp - 0x3b0], 3
mov byte [ebp - 0x3af], 0x27
mov byte [ebp - 0x3ae], 0x66
lea eax, [ebp - 0x3c4]
push eax
call fcn.0049cd49
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.0049ccfe
add esp, 0xc
mov dword [ebp - 0x538], eax
and byte [ebp - 0x3ec], 0
and byte [ebp - 0x3eb], 0
mov byte [ebp - 0x3ea], 0x11
and byte [ebp - 0x3e9], 0
mov byte [ebp - 0x3e8], 0xa9
mov byte [ebp - 0x3e7], 0x8b
mov byte [ebp - 0x3e6], 0x9a
mov byte [ebp - 0x3e5], 0xa3
mov byte [ebp - 0x3e4], 0x81
mov byte [ebp - 0x3e3], 0x8a
mov byte [ebp - 0x3e2], 0x9b
mov byte [ebp - 0x3e1], 0x82
mov byte [ebp - 0x3e0], 0x8b
mov byte [ebp - 0x3df], 0xa6
mov byte [ebp - 0x3de], 0x8f
mov byte [ebp - 0x3dd], 0x80
mov byte [ebp - 0x3dc], 0x8a
mov byte [ebp - 0x3db], 0x82
mov byte [ebp - 0x3da], 0x8b
mov byte [ebp - 0x3d9], 0xaf
mov byte [ebp - 0x3d8], 0xee
lea eax, [ebp - 0x3ec]
push eax