joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4b2280
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 0xc]
push ebx
push esi
mov ebx, ecx
mov esi, eax
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
push edi
mov dword [ebp - 8], ecx
jb 0x4b229e
mov esi, dword [eax]
lea edi, [ecx + ecx]
mov edx, 0x811c9dc5
xor ecx, ecx
test edi, edi
je 0x4b22c1
nop dword [eax]
movzx eax, byte [ecx + esi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, edi
jb 0x4b22b0
mov ecx, dword [ebx + 0x18]
mov esi, dword [ebx + 0xc]
and ecx, edx
mov edx, dword [ebx + 4]
mov dword [ebp - 0x10], esi
lea eax, [ecx*8]
add ecx, ecx
mov dword [ebp - 0x14], eax
mov eax, dword [eax + esi]
mov edi, dword [esi + ecx*4]
inc ecx
mov dword [ebp - 4], edi
lea ecx, [esi + ecx*4]
mov dword [ebp - 0xc], ecx
nop dword [eax + eax]
cmp edi, edx
jne 0x4b22f8
mov ecx, edx
jmp 0x4b22fc
mov ecx, dword [ecx]
mov ecx, dword [ecx]
cmp eax, ecx
je 0x4b23d2
mov ecx, dword [ebp + 0xc]
mov esi, ecx
cmp dword [ecx + 0x14], 8
jb 0x4b2311
mov esi, dword [ecx]
cmp dword [eax + 0x1c], 8
lea ebx, [eax + 8]
jb 0x4b231d
mov ebx, dword [eax + 8]
mov edi, dword [eax + 0x18]
cmp edi, dword [ebp - 8]
jne 0x4b2359
test edi, edi
je 0x4b2341
sub ebx, esi
nop dword [eax + eax]
mov cx, word [ebx + esi]
cmp cx, word [esi]
jne 0x4b2359
add esi, 2
sub edi, 1
jne 0x4b2330
mov esi, eax
mov dword [ebp - 0x18], esi
mov esi, dword [ebp + 0xc]
nop dword [eax]
cmp dword [ebp - 4], edx
jne 0x4b2363
mov ecx, edx
jmp 0x4b236f
mov eax, dword [eax]
mov ecx, dword [ebp - 0xc]
mov edi, dword [ebp - 4]
jmp 0x4b22f0
mov ecx, dword [ebp - 0x10]
mov ebx, dword [ebp - 0x14]
mov ecx, dword [ebx + ecx + 4]
mov ecx, dword [ecx]
cmp eax, ecx
je 0x4b23b8
cmp dword [eax + 0x1c], 8
lea ecx, [eax + 8]
jb 0x4b237f
mov ecx, dword [eax + 8]
cmp dword [esi + 0x14], 8
mov edi, esi
jb 0x4b2389
mov edi, dword [esi]
mov esi, dword [ebp - 8]
cmp esi, dword [eax + 0x18]
mov esi, dword [ebp + 0xc]
jne 0x4b23b8
mov ebx, dword [esi + 0x10]
test ebx, ebx
jbe 0x4b23b4
sub edi, ecx
mov dword [ebp - 0xc], edi
mov di, word [edi + ecx]
cmp di, word [ecx]
jne 0x4b23b8
mov edi, dword [ebp - 0xc]
add ecx, 2
sub ebx, 1
jne 0x4b23a0
mov eax, dword [eax]
jmp 0x4b2350
mov esi, dword [ebp - 0x18]
cmp esi, eax
je 0x4b23d2
mov ecx, dword [ebp + 8]
pop edi
mov dword [ecx], esi
pop esi
mov dword [ecx + 4], eax
mov eax, ecx
pop ebx
mov esp, ebp
pop ebp
ret 8
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
mov dword [eax], edx
mov dword [eax + 4], edx
mov esp, ebp
pop ebp
ret 8
Function at 0x4b23f0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
cmp dword [edi + 0x1c], 8
lea edx, [edi + 8]
mov ebx, dword [edx + 0x10]
mov dword [ebp - 4], ecx
jb 0x4b240b
mov edx, dword [edx]
xor ecx, ecx
mov esi, 0x811c9dc5
add ebx, ebx
je 0x4b2427
movzx eax, byte [ecx + edx]
inc ecx
xor eax, esi
imul esi, eax, 0x1000193
cmp ecx, ebx
jb 0x4b2416
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x18]
mov ecx, dword [edx + 0xc]
and eax, esi
lea esi, [eax*8]
mov eax, dword [ecx + esi]
add ecx, esi
cmp dword [ecx + 4], edi
jne 0x4b2460
cmp eax, edi
jne 0x4b2458
mov eax, dword [edx + 4]
mov dword [ecx], eax
mov ecx, dword [edx + 0xc]
mov eax, dword [edx + 4]
mov dword [esi + ecx + 4], eax
jmp 0x4b2468
mov eax, dword [edi + 4]
mov dword [ecx + 4], eax
jmp 0x4b2468
cmp eax, edi
jne 0x4b246b
mov eax, dword [edi]
mov dword [ecx], eax
mov edi, dword [ebp + 0xc]
mov eax, dword [edi + 4]
add edx, 4
mov esi, dword [edi]
mov dword [eax], esi
mov ecx, dword [edi]
mov eax, dword [edi + 4]
mov dword [ecx + 4], eax
lea eax, [edi + 8]
dec dword [edx + 4]
push eax
push edx
call fcn.004b00d0
push 0x20
push edi
call fcn.004d65a7
mov eax, dword [ebp + 8]
add esp, 0x10
pop edi
mov dword [eax], esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x4bd310
Capabilities:
Check for time delay via gettickcount

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 0x24], 1
jne 0x4bd350
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
push edi
call ebx
mov ecx, dword [esi + 0x1c]
mov edi, eax
call fcn.00468f30
call ebx
sub eax, edi
xor ecx, ecx
mov edi, dword [esi + 0x28]
sub edi, eax
cmp eax, dword [esi + 0x28]
cmovl ecx, edi
push ecx
push dword [esi + 0x34]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp dword [esi + 0x24], 1
je 0x4bd321
pop edi
pop ebx
pop esi
ret
Function at 0x4c2700
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55c75b
mov eax, dword fs:[0]
push eax
sub esp, 0xa4
mov eax, dword [0x5ad6f0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
lea eax, [ebp - 0xb0]
mov dword [ebp - 0xb0], 8
push eax
mov dword [ebp - 0xac], 0x40
call dword [sym.imp.COMCTL32.dll_InitCommonControlsEx]
mov eax, dword [ebp + 8]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
mov dword [edi + 0x14], eax
mov dword [eax + 0x5a8], 0
cmp dword [edi + 4], 0
jne 0x4c27db
mov ecx, dword [edi + 0x14]
mov eax, dword [ecx]
mov eax, dword [eax + 0x34]
call eax
push eax
lea ecx, [ebp - 0x20]
call fcn.0045dcf0
mov ecx, dword [edi + 0x14]
movups xmm0, xmmword [ebp - 0x20]
push 0
sub esp, 0x10
mov eax, esp
push 0
movups xmmword [eax], xmm0
mov eax, dword [ecx]
push 0x40000000
push 0
mov eax, dword [eax + 0x20]
call eax
mov ecx, eax
call fcn.0041b4b0
push eax
mov ecx, edi
call fcn.00466cc0
mov esi, dword [edi + 0x14]
mov ecx, esi
call fcn.0049bf80
push eax
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0x20]
call eax
mov ecx, eax
call fcn.00461780
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push 1
push dword [eax]
push 0x30
push dword [edi + 4]
call esi
mov ecx, dword [edi + 0x14]
lea edx, [ebp - 0xa4]
push edx
mov eax, dword [ecx]
mov eax, dword [eax + 0x2c]
call eax
mov ecx, eax
mov dword [ebp - 4], 0
call fcn.0045ed50
lea ecx, [ebp - 0xa4]
mov byte [ebp - 0xa5], al
call fcn.0041c4c0
cmp byte [ebp - 0xa5], 0
je 0x4c2823
mov eax, dword [edi + 0x14]
add eax, 0x598
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
mov eax, dword [edi + 0x14]
add eax, 0x598
push eax
push 0
push 0x1002
push dword [edi + 4]
call esi
push 4
push dword [edi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SetFocus]
mov byte [edi + 0x1c], 1
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.004d684f
mov esp, ebp
pop ebp
ret 4
Function at 0x4c7550
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x78
mov eax, dword [0x5ad6f0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov eax, 0x5baac8
mov dword [ebp - 0x78], 0x6f0053
lea esi, [ebp - 0x78]
mov dword [ebp - 0x74], 0x740066
push edi
mov dword [ebp - 0x70], 0x610077
mov edx, 0x3a
mov dword [ebp - 0x6c], 0x650072
sub esi, eax
mov dword [ebp - 0x68], 0x4d005c
mov dword [ebp - 0x64], 0x630069
mov dword [ebp - 0x60], 0x6f0072
mov dword [ebp - 0x5c], 0x6f0073
mov dword [ebp - 0x58], 0x740066
mov dword [ebp - 0x54], 0x49005c
mov dword [ebp - 0x50], 0x74006e
mov dword [ebp - 0x4c], 0x720065
mov dword [ebp - 0x48], 0x65006e
mov dword [ebp - 0x44], 0x200074
mov dword [ebp - 0x40], 0x780045
mov dword [ebp - 0x3c], 0x6c0070
mov dword [ebp - 0x38], 0x72006f
mov dword [ebp - 0x34], 0x720065
mov dword [ebp - 0x30], 0x4d005c
mov dword [ebp - 0x2c], 0x690061
mov dword [ebp - 0x28], 0x5c006e
mov dword [ebp - 0x24], 0x650046
mov dword [ebp - 0x20], 0x740061
mov dword [ebp - 0x1c], 0x720075
mov dword [ebp - 0x18], 0x430065
mov dword [ebp - 0x14], 0x6e006f
mov dword [ebp - 0x10], 0x720074
mov dword [ebp - 0xc], 0x6c006f
mov dword [ebp - 8], 0x5c
nop dword [eax]
lea ecx, [edx + 0x7fffffc4]
test ecx, ecx
je 0x4c765e
movzx ecx, word [esi + eax]
test cx, cx
je 0x4c765e
mov word [eax], cx
add eax, 2
sub edx, 1
jne 0x4c7640
test edx, edx
lea ecx, [eax - 2]
pop edi
cmovne ecx, eax
xor eax, eax
pop esi
pop ebx
mov word [ecx], ax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004d684f
mov esp, ebp
pop ebp
ret
Function at 0x4ca260
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55cbeb
mov eax, dword fs:[0]
push eax
sub esp, 0x22c
mov eax, dword [0x5ad6f0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
lea ecx, [ebp - 0x231]
xor esi, esi
mov dword [ebp - 0x238], esi
call fcn.004c6e50
push eax
lea ecx, [ebp - 0x230]
call fcn.00407b80
cmp dword [edi + 0x14], 8
mov eax, edi
mov dword [ebp - 4], esi
jb 0x4ca2bc
mov eax, dword [edi]
push dword [edi + 0x10]
lea ecx, [ebp - 0x230]
push eax
call fcn.00432bf0
cmp dword [ebp - 0x21c], 8
lea ecx, [ebp - 0x238]
lea eax, [ebp - 0x230]
cmovae eax, dword [ebp - 0x230]
push ecx
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
jne 0x4ca351
push 0x208
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.00513d10
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
test eax, eax
je 0x4ca351
push 4
lea ecx, [ebp + 0xc]
push ecx
push 4
push 0
push eax
push dword [ebp - 0x238]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
mov ecx, 1
cmove esi, ecx
mov eax, dword [ebp - 0x238]
test eax, eax
je 0x4ca362
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [ebp - 0x21c]
cmp edx, 8
jb 0x4ca39e
mov ecx, dword [ebp - 0x230]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4ca394
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4ca3bd
push edx
push ecx
call fcn.004d65a7
add esp, 8
mov eax, esi
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.004d684f
mov esp, ebp
pop ebp
ret 8
call fcn.005172e0
int3
Function at 0x4cac70
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55cc90
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x5ad6f0]
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 edi, ecx
cmp byte [edi + 0x1c], 0
je 0x4cadb7
cmp dword [edi + 0x14], 0
je 0x4cadb7
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea ebx, [eax + 1]
lea eax, [ebx + ebx]
call fcn.004d6d10
mov esi, esp
test esi, esi
je 0x4cadb7
push ebx
push esi
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov eax, dword [edi + 0x14]
mov ecx, esi
mov eax, dword [eax + 0x7c8]
lea edx, [ecx + 2]
mov dword [ebp - 0x44], eax
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4cad00
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x28]
call fcn.0044b8d3
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x28]
mov eax, dword [ebp - 0x18]
cmovae ecx, dword [ebp - 0x28]
mov dword [ebp - 4], 0
test eax, eax
je 0x4cad46
mov esi, ecx
cmp word [esi], 0xa
je 0x4cadda
add esi, 2
sub eax, 1
jne 0x4cad34
mov ecx, dword [edi + 0x14]
lea edx, [ebp - 0x28]
cmp dword [ebp - 0x14], 8
cmovae edx, dword [ebp - 0x28]
mov eax, dword [ecx]
push edx
call dword [eax + 0x19c]
mov esi, dword [edi + 4]
call dword [sym.imp.USER32.dll_GetFocus]
cmp eax, esi
jne 0x4cad92
push 0
push 0
push 0xb0
push esi
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
call esi
and eax, 0xf
lea ecx, [ebx - 1]
cmp eax, ecx
je 0x4cad92
push ebx
push ebx
push 0xb1
push dword [edi + 4]
call esi
mov ecx, dword [edi + 0x14]
push 0
push 0
push 0
mov eax, dword [ecx]
push str.textchanged
push dword [ebp - 0x44]
call dword [eax + 0x20]
mov ecx, eax
call fcn.00465470
lea ecx, [ebp - 0x28]
call fcn.004087e0
xor eax, eax
lea esp, [ebp - 0x54]
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.004d684f
mov esp, ebp
pop ebp
ret 0x10
test esi, esi
je 0x4cad46
sub esi, ecx
sar esi, 1
cmp esi, 0xffffffff
je 0x4cad46
push esi
push 0
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x28]
call fcn.004a3020
mov edx, eax
cmp dword [edx + 0x14], 8
mov byte [ebp - 4], 1
jb 0x4cae0c
mov edx, dword [edx]
mov ecx, dword [edi + 0x14]
push edx
mov eax, dword [ecx]
call dword [eax + 0x19c]
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0
call fcn.004087e0
push esi
push 0
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x28]
call fcn.004a3020
cmp dword [eax + 0x14], 8
jb 0x4cae3b
mov eax, dword [eax]
push eax
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SetWindowTextW]
lea ecx, [ebp - 0x40]
call fcn.004087e0
jmp 0x4cad92
Function at 0x4cb7f0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
mov eax, dword [edi]
cmp eax, 0x17
jne 0x4cb81d
movzx eax, word [esi + 0x55c]
push eax
push 0
call dword [sym.imp.USER32.dll_LoadCursorW]
pop edi
pop esi
mov dword [ebp + 8], eax
pop ebp
jmp dword [sym.imp.USER32.dll_SetCursor]
cmp eax, 0xd
jne 0x4cb86c
mov eax, dword [esi]
call dword [eax + 0x34]
push dword [edi + 0x10]
push dword [edi + 0xc]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x4cb8cd
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x34]
movups xmm0, xmmword [eax]
movups xmmword [esi + 0x568], xmm0
mov eax, dword [edi + 0xc]
mov dword [esi + 0x560], eax
mov eax, dword [edi + 0x10]
pop edi
mov dword [esi + 0x564], eax
mov byte [esi + 0x578], 1
pop esi
pop ebp
ret 4
cmp eax, 0xe
jne 0x4cb88d
mov ecx, dword [esi + 0x558]
mov byte [esi + 0x578], 0
test ecx, ecx
je 0x4cb8cd
mov eax, dword [ecx]
call dword [eax + 8]
pop edi
pop esi
pop ebp
ret 4
cmp eax, 9
jne 0x4cb8c7
cmp dword [esi + 0x558], 0
je 0x4cb8cd
cmp byte [esi + 0x578], 0
je 0x4cb8cd
push 1
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x4cb8cd
mov ecx, dword [esi + 0x558]
lea eax, [edi + 0xc]
push eax
push esi
mov edx, dword [ecx]
call dword [edx + 4]
pop edi
pop esi
pop ebp
ret 4
push edi
call fcn.004683e0
pop edi
pop esi
pop ebp
ret 4

Function at 0x4cb8e0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
mov eax, dword [edi]
cmp eax, 0xd
jne 0x4cb92f
mov eax, dword [esi]
push ebx
call dword [eax + 0x34]
push dword [edi + 0x10]
mov ebx, eax
push dword [edi + 0xc]
push ebx
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x4cb928
mov eax, dword [edi + 0xc]
sub eax, dword [ebx]
mov dword [esi + 0x55c], eax
mov eax, dword [edi + 0x10]
sub eax, dword [ebx + 4]
mov dword [esi + 0x560], eax
mov byte [esi + 0x564], 1
pop ebx
pop edi
pop esi
pop ebp
ret 4
cmp eax, 0xe
jne 0x4cb950
mov ecx, dword [esi + 0x558]
mov byte [esi + 0x564], 0
test ecx, ecx
je 0x4cb929
mov eax, dword [ecx]
call dword [eax + 8]
pop edi
pop esi
pop ebp
ret 4
cmp eax, 9
jne 0x4cb982
push 1
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x4cb982
mov ecx, dword [esi + 0x558]
test ecx, ecx
je 0x4cb929
cmp byte [esi + 0x564], 0
je 0x4cb929
mov edx, dword [ecx]
lea eax, [edi + 0xc]
pop edi
pop esi
mov dword [ebp + 8], eax
pop ebp
jmp dword [edx]
push edi
mov ecx, esi
call fcn.004683e0
pop edi
pop esi
pop ebp
ret 4
Function at 0x4d5e30
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55d158
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x5ad6f0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x14], esi
cmp byte [esi + 0x20], 0
jne 0x4d5e77
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp dword [esi + 0x18], 1
jbe 0x4d5eb3
lea eax, [ebp - 0x14]
push eax
push 0
push esi
push 0x4d6580
push 0
push 0
call fcn.0051ddef
xor ecx, ecx
mov dword [esi + 0x10], eax
add esp, 0x18
test eax, eax
setne cl
mov eax, ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea ebx, [esi + 0x60]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 0
push eax
push dword [esi + 0x44]
call sub.gdiplus.dll_GdipCreateFromHDC
mov edi, dword [ebp - 0x10]
mov esi, eax
mov dword [ebp - 0x1c], edi
push 0xffffffffffffffff
push edi
mov dword [ebp - 4], 0
call sub.gdiplus.dll_GdipGraphicsClear
test eax, eax
cmovne esi, eax
mov eax, dword [ebp - 0x14]
push dword [eax + 0x2c]
push dword [eax + 0x28]
push 0
push 0
push dword [eax + 4]
push edi
call sub.gdiplus.dll_GdipDrawImageRectI
test eax, eax
push ebx
cmovne esi, eax
mov dword [ebp - 0x18], esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov esi, dword [ebp - 0x14]
mov ecx, dword [esi + 0x4c]
call fcn.00468f30
mov ecx, esi
call fcn.004d6240
push edi
call sub.gdiplus.dll_GdipDeleteGraphics
mov eax, 1
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 0x4da330
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55d368
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push esi
push edi
mov eax, dword [0x5ad6f0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push 8
mov dword [esi + 0x30], 0
mov dword [esi + 8], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0x201
mov dword [esi + 0x18], 6
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0xc], 0
call fcn.004d6883
mov edi, eax
add esp, 4
test edi, edi
je 0x4da3d4
xorps xmm0, xmm0
movq qword [edi], xmm0
push 1
mov dword [ebp - 4], 0
call fcn.00446846
add esp, 4
mov dword [edi + 4], eax
jmp 0x4da3d6
xor edi, edi
mov eax, dword [ebp + 8]
mov dword [esi + 0x30], edi
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], 0
mov ecx, dword [edi + 4]
mov dword [ebp - 4], 1
mov dword [ebp - 0x10], ecx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x14]
mov dword [ebp - 4], 2
push eax
call fcn.0044888b
add esp, 4
mov ecx, eax
mov edx, dword [eax]
push 0x20
mov eax, dword [edx + 0x20]
call eax
mov bl, al
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 4], 3
test ecx, ecx
je 0x4da437
mov edx, dword [ecx]
call dword [edx + 8]
test eax, eax
je 0x4da437
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx]
cmp dword [esi + 0x38], 0
mov dword [ebp - 4], 0xffffffff
mov byte [esi + 0x40], bl
jne 0x4da45a
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 0x10]
and eax, 0x13
or eax, 4
mov dword [esi + 0xc], eax
and ecx, eax
jne 0x4da47d
cmp byte [ebp + 0xc], 0
je 0x4da469
push esi
call fcn.0044716a
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
test cl, 4
je 0x4da489
mov esi, str.ios_base::badbit_set
jmp 0x4da499
test cl, 2
mov esi, str.ios_base::failbit_set
mov eax, str.ios_base::eofbit_set
cmove esi, eax
lea eax, [ebp - 0x1c]
push 1
push eax
call fcn.0040d290
add esp, 8
lea ecx, [ebp - 0x30]
push eax
push esi
call fcn.004083a0
push 0x59b4d0
lea eax, [ebp - 0x30]
push eax
call fcn.00512df8
int3

Function at 0x4dc60c
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop ebp
ret
Function at 0x52e5e5
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x52e624
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x52e624
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x52e624
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x52e624
cmp dword [ecx + 0x74], 0xe
jbe 0x52e624
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x533cf8
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x585be8
push 0x585be0
push 0x56b650
push 0x1f
call fcn.00533b23
mov esi, eax
add esp, 0x10
test esi, esi
je 0x533d2c
push dword [ebp + 8]
mov ecx, esi
call dword [0x56385c]
call esi
jmp 0x533d32
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x533d76
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x585bf8
push 0x585bf0
push str.FlsGetValue
push 0x21
call fcn.00533b23
mov esi, eax
add esp, 0x10
test esi, esi
je 0x533dad
push dword [ebp + 8]
mov ecx, esi
call dword [0x56385c]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x533db5
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x585c00
push 0x585bf8
push str.FlsSetValue
push 0x22
call fcn.00533b23
mov esi, eax
add esp, 0x10
test esi, esi
je 0x533def
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x56385c]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x538485
Capabilities:
Clear file content

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
mov ebx, dword [ebp + 8]
lea ecx, [ebp - 0x2c]
push esi
push edi
push dword [ebp + 0x10]
mov edi, dword [ebp + 0x14]
push dword [ebp + 0xc]
push ebx
call fcn.00538401
mov eax, dword [ebp - 0x2c]
and eax, dword [ebp - 0x28]
cmp eax, 0xffffffff
je 0x5385f4
mov eax, dword [ebp - 0x24]
and eax, dword [ebp - 0x20]
cmp eax, 0xffffffff
je 0x5385f4
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
test ecx, ecx
jl 0x5385a9
jg 0x5384e1
test eax, eax
je 0x53859f
push 1
push 0x1000
call fcn.0053358b
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x538504
push 0xc
pop ebx
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], ebx
jmp 0x538596
push 0x8000
push ebx
call fcn.0052f3ff
pop ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x18]
test eax, eax
jl 0x53852d
jg 0x538528
cmp ecx, 0x1000
jb 0x53852d
mov ecx, 0x1000
push edi
push ecx
push esi
push ebx
call fcn.0052cc11
add esp, 0x10
cmp eax, 0xffffffff
je 0x538572
mov ecx, dword [ebp - 4]
cdq
sub ecx, eax
mov eax, dword [ebp - 8]
mov dword [ebp - 4], ecx
sbb eax, edx
mov dword [ebp - 8], eax
test eax, eax
jg 0x538528
jl 0x538559
test ecx, ecx
jne 0x53851a
push dword [ebp - 0xc]
push ebx
call fcn.0052f3ff
push esi
call fcn.00532373
add esp, 0xc
xor ebx, ebx
jmp 0x538602
cmp byte [edi + 0x24], 0
je 0x538589
cmp dword [edi + 0x20], 5
jne 0x538589
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], 0xd
cmp byte [edi + 0x1c], 0
je 0x538594
mov ebx, dword [edi + 0x18]
jmp 0x538596
xor ebx, ebx
push esi
call fcn.00532373
pop ecx
jmp 0x538602
test ecx, ecx
jg 0x53856b
jl 0x5385a9
test eax, eax
jae 0x53856b
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.0052c2c9
and eax, edx
add esp, 0x10
cmp eax, 0xffffffff
jne 0x5385c9
cmp byte [edi + 0x1c], 0
je 0x53856b
jmp 0x5385fa
push ebx
call fcn.00538397
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x53856b
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0xd
mov byte [edi + 0x24], 1
mov dword [edi + 0x20], eax
pop ebx
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], ebx
jmp 0x538602
cmp byte [edi + 0x1c], 0
je 0x5385ff
mov ebx, dword [edi + 0x18]
jmp 0x538602
push 0x16
pop ebx
push 0
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push dword [ebp - 0x14]
call fcn.0052c2c9
add esp, 0x10
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret