joyce8/EMBER2024-capa huggingface dataset:
Function at 0x523310
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push esi
mov esi, ecx
call dword [sym.imp.USER32.dll_GetCapture]
test eax, eax
jne 0x523466
cmp dword [esi + 0x20], eax
je 0x523466
push ebx
push edi
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SetCapture]
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 4], 0
call edi
mov ebx, eax
lea eax, [esi + 0x10]
nop
cmp dword [esi + 0x20], 0
je 0x52336f
call edi
sub eax, ebx
cmp eax, 0x14
jbe 0x52336c
call edi
mov ebx, eax
mov ecx, esi
mov eax, dword [esi]
push 1
call dword [eax + 0x18]
lea eax, [esi + 0x10]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
cmp eax, dword [esi + 0x24]
je 0x523392
mov ecx, dword [esi + 0xc]
lea edx, [esi + 0x10]
mov dword [esi + 0x24], eax
push 1
push edx
mov eax, dword [ecx]
call dword [eax + 0x38]
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
lea eax, [esi + 0x10]
je 0x523350
push 0
push 0
push 0
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.USER32.dll_GetMessageW]
call dword [sym.imp.USER32.dll_GetCapture]
cmp eax, dword [ebp + 8]
jne 0x523421
mov eax, dword [ebp - 0x1c]
cmp eax, 0x200
ja 0x5233fe
je 0x5233e9
cmp eax, 0x1f
je 0x52342b
cmp eax, 0x100
jne 0x52340a
cmp dword [ebp - 0x18], 0x1b
je 0x52342b
jmp 0x52334c
mov eax, dword [ebp - 0x14]
movsx ecx, ax
shr eax, 0x10
cwde
mov dword [ebp + 0xc], ecx
mov dword [ebp + 0x10], eax
jmp 0x52334c
sub eax, 0x202
je 0x523419
sub eax, 2
je 0x52342b
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
jmp 0x52334c
mov eax, dword [esi + 0x24]
mov dword [ebp - 4], eax
jmp 0x52342b
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
call dword [sym.imp.USER32.dll_ReleaseCapture]
push dword [ebp + 0x10]
mov ecx, dword [esi + 0xc]
push dword [ebp + 0xc]
mov dword [esi + 0x24], 0
push dword [ebp + 8]
call fcn.00523570
mov ecx, dword [esi + 0xc]
push 0
push 0
mov eax, dword [ecx]
call dword [eax + 0x38]
cmp dword [ebp - 4], 0
pop edi
pop ebx
je 0x523466
mov eax, dword [esi]
mov ecx, esi
push 0
call dword [eax + 0x18]
pop esi
mov esp, ebp
pop ebp
ret 0xc

Function at 0x526120
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
test eax, eax
je 0x52613a
mov ecx, dword [eax + 0x40]
test ecx, ecx
je 0x52613a
push dword [ebp + 0xc]
push eax
call ecx
add esp, 8
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x531400
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5c3675
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x634b28]
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 esi, ecx
push 0x1b
xor eax, eax
mov dword [ebp - 0x40], 0
push 0x5cc9f8
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
call fcn.0040491a
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
mov ebx, dword [esi + 0x1b4]
cmovae eax, dword [ebp - 0x40]
push ebx
push eax
push 0
push 0
mov dword [ebp - 4], 0
call fcn.00405796
xor ecx, ecx
mov edx, 2
lea edi, [eax + 1]
mov eax, edi
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.005460f3
mov esi, eax
mov dword [ebp - 0x44], esi
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
push ebx
cmovae eax, dword [ebp - 0x40]
push eax
push edi
push esi
mov byte [ebp - 4], 1
call fcn.00405796
lea eax, [edi - 1]
mov dword [ebp - 0x28], 0
lea eax, [esi + eax*2]
mov dword [ebp - 0x18], 0
add esp, 0x24
mov dword [ebp - 0x14], 7
cmp esi, eax
je 0x5314e2
sub eax, esi
lea ecx, [ebp - 0x28]
sar eax, 1
push eax
push esi
call fcn.0040491a
test esi, esi
je 0x5314ef
push esi
call fcn.005460ee
add esp, 4
mov edx, dword [ebp - 0x2c]
cmp edx, 8
jb 0x531529
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x53151f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5315a5
push edx
push ecx
call fcn.0057b69e
add esp, 8
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push 1
cmovae eax, dword [ebp - 0x28]
push 0x5ca050
push 0x5ca050
push eax
push 0x5cc6ec
call dword [sym.imp.USER32.dll_GetActiveWindow]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x531589
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x53157f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5315aa
push edx
push ecx
call fcn.0057b69e
add esp, 8
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.0057b6ac
mov esp, ebp
pop ebp
ret
call fcn.00582360
call fcn.00582360
int3
Function at 0x5319c0
Capabilities:
Access peb ldr_data
Get ntdll base address
Get number of processors
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5c3745
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x634b28]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [ebp + 8]
lea ecx, [edi + 0x1c]
mov eax, dword [esi]
mov dword [edi + 0x18], eax
lea eax, [esi + 4]
push eax
call fcn.00471d00
lea eax, [esi + 8]
push eax
lea ecx, [edi + 0x20]
call fcn.00471d00
lea eax, [esi + 0xc]
push eax
lea ecx, [edi + 0x24]
call fcn.00471d00
lea eax, [esi + 0x10]
push eax
lea ecx, [edi + 0x28]
call fcn.00471d00
lea eax, [esi + 0x14]
push eax
lea ecx, [edi + 0x2c]
call fcn.00471d00
lea eax, [esi + 0x18]
push eax
lea ecx, [edi + 0x30]
call fcn.00471d00
lea eax, [esi + 0x1c]
push eax
lea ecx, [edi + 0x34]
call fcn.00471d00
lea eax, [esi + 0x20]
push eax
lea ecx, [edi + 0x38]
call fcn.00471d00
lea eax, [esi + 0x24]
push eax
lea ecx, [edi + 0x3c]
call fcn.00471d00
lea eax, [esi + 0x28]
push eax
lea ecx, [edi + 0x40]
call fcn.00471d00
lea eax, [esi + 0x2c]
push eax
lea ecx, [edi + 0x44]
call fcn.00471d00
lea eax, [esi + 0x30]
push eax
lea ecx, [edi + 0x48]
call fcn.00471d00
lea eax, [esi + 0x34]
push eax
lea ecx, [edi + 0x4c]
call fcn.00471d00
mov eax, dword [esi + 0x38]
mov dword [edi + 0x50], eax
mov eax, dword [esi + 0x3c]
mov dword [edi + 0x54], eax
mov eax, dword [esi + 0x40]
mov dword [edi + 0x58], eax
mov eax, dword [esi + 0x44]
mov ecx, dword [esi + 0x48]
mov dword [edi + 0x5c], eax
lea eax, [esi + 0x4c]
mov dword [edi + 0x60], ecx
lea ecx, [edi + 0x64]
push eax
call fcn.00471d00
mov al, byte [esi + 0x50]
lea ecx, [edi + 0x18]
mov byte [edi + 0x68], al
mov eax, dword [esi + 0x54]
mov dword [edi + 0x6c], eax
mov eax, dword [esi + 0x58]
mov dword [edi + 0x70], eax
mov eax, dword [esi + 0x5c]
mov dword [edi + 0x74], eax
lea eax, [ebp + 8]
push eax
call fcn.00435e4b
push eax
lea ecx, [edi + 0xd8]
mov dword [ebp - 4], 0
call fcn.00471d00
mov edx, dword [ebp + 8]
or esi, 0xffffffff
mov dword [ebp - 4], 0xffffffff
add edx, 0xfffffff0
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x531b13
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp + 8]
push eax
lea ecx, [edi + 0x18]
call fcn.00435fec
push eax
lea ecx, [edi + 0xdc]
mov dword [ebp - 4], 1
call fcn.00471d00
mov edx, dword [ebp + 8]
mov dword [ebp - 4], 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jg 0x531b51
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [edi + 0x5c]
mov ecx, dword [edi + 0x60]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
mov dword [ebp - 0x10], ecx
mov ecx, edi
push eax
call fcn.004332b6
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x5332a0
Capabilities:
Check mutex on windows
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x634b28]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
push esi
mov esi, ecx
mov dword [ebp - 0x10], eax
cmp dword [esi + 0x114], 8
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
lea eax, [esi + 0x100]
jb 0x5332cf
mov eax, dword [eax]
push eax
push 0
lea eax, [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [esi + 0xdc], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x533351
cmp dword [ebp + 8], 0
je 0x53333b
cmp dword [esi + 0x12c], 8
lea eax, [esi + 0x118]
jb 0x533306
mov eax, dword [eax]
push eax
push 0
push 0x1f0003
call dword [sym.imp.KERNEL32.dll_OpenEventW]
mov dword [esi + 0xd8], eax
test eax, eax
je 0x53333b
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
push dword [esi + 0xd8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0xd8], 0
mov eax, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0057b6ac
mov esp, ebp
pop ebp
ret 4
cmp dword [ebp + 8], 0
je 0x533391
cmp dword [esi + 0x12c], 8
lea eax, [esi + 0x118]
jb 0x533368
mov eax, dword [eax]
push eax
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
push 0
push 0
push esi
push 0x5331a0
push 0
push 0
mov dword [esi + 0xd8], eax
call fcn.00582533
add esp, 0x18
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
pop esi
call fcn.0057b6ac
mov esp, ebp
pop ebp
ret 4

Function at 0x5337e0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1058
call fcn.0057bfb0
mov eax, dword [0x634b28]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0x1000
lea eax, [ebp - 0x1004]
mov esi, ecx
push 0
push eax
call fcn.0057e5f0
add esp, 0xc
lea eax, [ebp - 0x1004]
push 0x800
push eax
push dword [esi + 0x44]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
xor eax, eax
mov dword [ebp - 0x1044], 0
mov dword [ebp - 0x1058], eax
mov dword [ebp - 0x1054], eax
mov dword [ebp - 0x1050], eax
mov dword [ebp - 0x104c], eax
lea eax, [ebp - 0x1058]
push eax
lea eax, [ebp - 0x1048]
mov dword [ebp - 0x1040], 0
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push 0x5f4cb0
lea eax, [ebp - 0x1004]
mov dword [ebp - 0x103c], 0
push eax
mov dword [ebp - 0x1038], 0
mov dword [ebp - 0x1034], 0
mov dword [ebp - 0x1030], 0
mov dword [ebp - 0x102c], 0
mov dword [ebp - 0x1028], 0
mov dword [ebp - 0x1024], 0
mov dword [ebp - 0x1020], 0
mov dword [ebp - 0x101c], 0
mov dword [ebp - 0x1018], 0
mov dword [ebp - 0x1014], 0
mov dword [ebp - 0x1010], 0
mov dword [ebp - 0x100c], 0
mov dword [ebp - 0x1008], 0
mov dword [ebp - 0x1048], 0x44
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x533928
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0057b6ac
mov esp, ebp
pop ebp
ret
push dword [ebp - 0x1058]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x1054]
call esi
mov ecx, dword [ebp - 4]
mov eax, 1
xor ecx, ebp
pop esi
call fcn.0057b6ac
mov esp, ebp
pop ebp
ret
Function at 0x5354d0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, ecx
mov edx, esi
mov dword [ebp - 4], ebx
push edi
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 0xf
lea ecx, [edx + 1]
jmp 0x535500
mov al, byte [edx]
inc edx
test al, al
jne 0x535500
sub edx, ecx
lea ecx, [ebp - 0x1c]
push edx
push esi
call fcn.00405728
cmp dword [ebp - 8], 0x10
lea esi, [ebp - 0x1c]
mov edi, dword [ebp - 0x1c]
lea eax, [ebx + 8]
mov ebx, dword [ebp - 0xc]
cmovae esi, edi
xor ecx, ecx
mov dword [ebp - 0x20], eax
mov edx, 0x811c9dc5
test ebx, ebx
je 0x535548
movzx eax, byte [ecx + esi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, ebx
jb 0x535534
mov eax, dword [ebp - 0x20]
push edx
lea ecx, [ebp - 0x1c]
push ecx
lea ecx, [ebp - 0x24]
push ecx
mov ecx, eax
call fcn.005340b0
mov ebx, dword [ebp - 4]
mov esi, dword [eax + 4]
test esi, esi
jne 0x535565
mov esi, dword [ebx + 0xc]
mov eax, dword [ebp - 8]
cmp eax, 0x10
jb 0x535594
lea ecx, [eax + 1]
mov eax, edi
cmp ecx, 0x1000
jb 0x53558a
mov edi, dword [edi - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5355b0
push ecx
push edi
call fcn.0057b69e
add esp, 8
cmp esi, dword [ebx + 0xc]
je 0x5355a5
mov eax, dword [esi + 0x20]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 8
call fcn.00582360
int3

Function at 0x5355c0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, ecx
mov edx, esi
mov dword [ebp - 4], ebx
push edi
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 0xf
lea ecx, [edx + 1]
jmp 0x5355f0
mov al, byte [edx]
inc edx
test al, al
jne 0x5355f0
sub edx, ecx
lea ecx, [ebp - 0x1c]
push edx
push esi
call fcn.00405728
cmp dword [ebp - 8], 0x10
lea esi, [ebp - 0x1c]
mov edi, dword [ebp - 0x1c]
lea eax, [ebx + 0x28]
mov ebx, dword [ebp - 0xc]
cmovae esi, edi
xor ecx, ecx
mov dword [ebp - 0x20], eax
mov edx, 0x811c9dc5
test ebx, ebx
je 0x535638
movzx eax, byte [ecx + esi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, ebx
jb 0x535624
mov eax, dword [ebp - 0x20]
push edx
lea ecx, [ebp - 0x1c]
push ecx
lea ecx, [ebp - 0x24]
push ecx
mov ecx, eax
call fcn.005340b0
mov ebx, dword [ebp - 4]
mov esi, dword [eax + 4]
test esi, esi
jne 0x535655
mov esi, dword [ebx + 0x2c]
mov eax, dword [ebp - 8]
cmp eax, 0x10
jb 0x535684
lea ecx, [eax + 1]
mov eax, edi
cmp ecx, 0x1000
jb 0x53567a
mov edi, dword [edi - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5356a0
push ecx
push edi
call fcn.0057b69e
add esp, 8
cmp esi, dword [ebx + 0x2c]
je 0x535695
mov eax, dword [esi + 0x20]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 4
call fcn.00582360
int3
Function at 0x53c1a0
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5c437e
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x634b28]
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 esi, dword [ebp + 8]
xor edx, edx
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x30], 0
mov dword [esi], edx
mov dword [esi + 4], edx
mov dword [esi + 8], edx
mov dword [ebp - 4], edx
mov dword [ebp - 0x20], edx
lea edx, [ebp - 0x20]
push edx
push dword [ebp + 0x14]
mov dword [ebp - 0x30], 1
push 0
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x53c35c
push eax
push eax
push eax
push eax
push eax
push eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x14]
push eax
push 0
push 0
push 0
push dword [ebp - 0x20]
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
jne 0x53c353
mov eax, dword [ebp - 0x24]
xor ecx, ecx
inc eax
mov edx, 2
xor ebx, ebx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.005460f3
add esp, 4
mov edi, eax
cmp dword [ebp - 0x14], ebx
jbe 0x53c34a
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x1c]
push eax
push 0
push 0
push 0
lea eax, [ebp - 0x28]
mov dword [ebp - 0x18], 0
push eax
push edi
push ebx
push dword [ebp - 0x20]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
mov ecx, eax
xor edx, edx
mov eax, dword [ebp - 0x28]
mov word [edi + eax*2], dx
test ecx, ecx
jne 0x53c340
call fcn.0054671f
test eax, eax
je 0x53c37a
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x2c], eax
push edi
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], 1
call fcn.00404da4
test al, al
jne 0x53c2f9
test edi, edi
jne 0x53c2da
xor eax, eax
jmp 0x53c2ef
mov eax, edi
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x53c2e0
sub eax, edx
sar eax, 1
push eax
push edi
lea ecx, [ebp - 0x2c]
call fcn.004055f4
mov eax, dword [esi + 4]
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], 2
push ecx
cmp eax, dword [esi + 8]
je 0x53c319
mov ecx, eax
call fcn.00470350
add dword [esi + 4], 4
jmp 0x53c321
push eax
mov ecx, esi
call fcn.004069f1
mov edx, dword [ebp - 0x2c]
or eax, 0xffffffff
mov byte [ebp - 4], 0
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x53c340
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
inc ebx
cmp ebx, dword [ebp - 0x14]
jb 0x53c263
push edi
call fcn.005460ee
add esp, 4
push dword [ebp - 0x20]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
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.0057b6ac
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00404d7e
int3
Function at 0x53d730
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push esi
push edi
mov edi, ecx
mov esi, dword [edi + 4]
test esi, esi
je 0x53d77a
mov eax, dword [edi + 0x28]
test eax, eax
je 0x53d77a
push ebx
xor ebx, ebx
test eax, eax
je 0x53d779
add esi, 0x29
lea esp, [esp]
lea ecx, [eax - 1]
xor edx, edx
mov eax, 0xff
lea esi, [esi + 4]
div ecx
movzx ecx, bl
inc ebx
movzx eax, al
imul eax, ecx
mov byte [esi - 3], al
mov byte [esi - 4], al
mov byte [esi - 5], al
mov eax, dword [edi + 0x28]
cmp ebx, eax
jb 0x53d750
pop ebx
pop edi
pop esi
ret

Function at 0x53e290
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ecx + 4]
test eax, eax
jne 0x53e29e
pop ebp
ret 0xc
push eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0058c878
add esp, 0x10
pop ebp
ret 0xc

Function at 0x548f22
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
xor esi, esi
mov ebx, ecx
push edi
cmp dword [ebp + 8], esi
je 0x548f61
call fcn.005527d5
push 0xf0
push dword [ebp + 8]
mov edi, dword [eax + 0xc]
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x548f61
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x548f69
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
push esi
mov ecx, ebx
call fcn.00545b6e
pop edi
pop esi
pop ebx
pop ebp
ret 4

Function at 0x5497e4
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
mov esi, ecx
push edi
test esi, esi
je 0x549870
cmp dword [esi + 0x20], 0
je 0x549870
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x549870
cmp dword [ebp + 8], 0
je 0x549870
xor edi, edi
mov ebx, edi
call fcn.005527d5
push 0x5f6680
push dword [ebp + 8]
mov eax, dword [eax + 0xc]
push eax
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 8], eax
test eax, eax
je 0x549854
mov ebx, dword [ebp - 4]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push dword [ebp - 8]
mov edi, eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x549870
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
push edi
push ebx
push esi
call fcn.0056c335
mov edi, eax
add esp, 0xc
test edi, edi
je 0x54986c
mov ecx, esi
call fcn.00549582
mov eax, edi
jmp 0x549872
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x54e0ba
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x5b0d5d
call fcn.0057b6ec
mov edi, ecx
xor ebx, ebx
cmp dword [edi + 0x74], ebx
jne 0x54e0e0
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [edi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextW]
jmp 0x54e13a
lea ecx, [ebp - 0x10]
call fcn.00404b89
mov edi, dword [edi + 0x74]
lea ecx, [ebp - 0x10]
push ecx
mov dword [ebp - 4], ebx
mov eax, dword [edi]
mov esi, dword [eax + 0x8c]
mov ecx, esi
call dword [0x5c8b0c]
mov ecx, edi
call esi
mov esi, dword [ebp + 8]
push 0xffffffffffffffff
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push esi
call fcn.00596166
push eax
call fcn.00404c98
add esp, 0x14
test esi, esi
je 0x54e12d
push esi
call fcn.00582796
pop ecx
mov ebx, eax
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.004055b1
mov eax, ebx
call fcn.0057b6ba
ret 8

Function at 0x54e940
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, ecx
mov dword [edi + 0x84], ebx
test ebx, 0xffff0000
jne 0x54e96b
cmp dword [edi + 0x80], 0
jne 0x54e96b
movzx eax, bx
mov dword [edi + 0x80], eax
call fcn.005527d5
push 5
push ebx
mov esi, dword [eax + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push dword [ebp + 0xc]
mov ecx, edi
push eax
call fcn.0054eb98
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x5514f3
Capabilities:
Query or enumerate registry value
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
xor esi, esi
push edi
cmp dword [ecx + 0x58], esi
je 0x551546
push esi
push dword [ebp + 8]
call fcn.005516dc
mov edi, eax
test edi, edi
je 0x551541
lea eax, [ebp - 4]
mov dword [ebp - 4], 4
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
push esi
push dword [ebp + 0xc]
push edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push edi
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x551541
mov eax, dword [ebp - 8]
jmp 0x551558
mov eax, dword [ebp + 0x10]
jmp 0x551558
push dword [ecx + 0x6c]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
pop edi
pop esi
leave
ret 0xc