joyce8/EMBER2024-capa huggingface dataset:
Function at 0x52ba80
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x5f2fb0
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push ebp
push esi
push edi
mov esi, ecx
call fcn.005e8635
mov edi, dword [eax + 0xc]
xor ebp, ebp
cmp edi, ebp
jne 0x52bab3
xor al, al
jmp 0x52bbdf
mov ebx, dword [esp + 0x28]
push 0xf1
and ebx, 0xffff
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, ebp
jne 0x52bad5
xor al, al
jmp 0x52bbdf
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, ebp
jne 0x52bae8
xor al, al
jmp 0x52bbdf
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
cmp edi, ebp
jne 0x52bafc
xor al, al
jmp 0x52bbdf
xor eax, eax
xor ecx, ecx
mov ax, word [edi + 2]
push ebp
mov dword [esi + 0x14], eax
xor eax, eax
mov ax, word [edi + 4]
mov edx, dword [esi + 0x14]
mov dword [esi + 0x18], eax
mov cx, word [edi + 6]
push ecx
push 5
push eax
push edx
lea ecx, [esi + 0x1c]
call fcn.005daa01
test eax, eax
jne 0x52bb30
xor al, al
jmp 0x52bbdf
mov eax, dword [esi + 0x34]
push eax
mov eax, dword [esi + 0x20]
push eax
call dword [sym.imp.COMCTL32.dll_ImageList_SetBkColor]
mov dword [esp + 0x14], ebp
mov dword [esp + 0x10], 0x6f80d4
mov dword [esp + 0x20], ebp
call fcn.005e8635
mov eax, dword [eax + 0xc]
push ebx
push eax
call dword [sym.imp.USER32.dll_LoadBitmapA]
push eax
lea ecx, [esp + 0x14]
call fcn.005e3b45
mov edx, dword [esp + 0x14]
mov ecx, dword [esi + 0x20]
lea eax, [esp + 0x10]
push 0xc0c0c0
neg eax
sbb eax, eax
and eax, edx
push eax
push ecx
call dword [sym.imp.COMCTL32.dll_ImageList_AddMasked]
lea ecx, [esp + 0x10]
call fcn.005e3b9c
xor ecx, ecx
lea ebx, [edi + 8]
cmp word [edi + 6], cx
jbe 0x52bbc4
mov ax, word [ebx]
test ax, ax
je 0x52bbb6
mov edx, ecx
inc ecx
mov dword [esp + 0x28], ecx
push eax
push edx
mov ecx, esi
call fcn.0052bc00
mov ecx, dword [esp + 0x28]
xor edx, edx
inc ebp
mov dx, word [edi + 6]
add ebx, 2
cmp ebp, edx
jl 0x52bb9a
mov dword [esp + 0x10], method.CGdiObject.virtual_0
lea ecx, [esp + 0x10]
mov dword [esp + 0x20], 1
call fcn.005e3b9c
mov al, 1
mov ecx, dword [esp + 0x18]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x14
ret 4

Function at 0x52c140
Capabilities:
Get graphical window text

Disassembly:
mov eax, dword [esp + 8]
sub esp, 0x50
push esi
mov esi, dword [esp + 0x58]
push edi
push eax
mov ecx, esi
call fcn.005e66a5
mov edi, eax
mov eax, dword [esi]
test eax, eax
je 0x52c186
lea ecx, [esp + 8]
push 0x50
push ecx
push edi
call dword [sym.imp.USER32.dll_GetWindowTextA]
lea edx, [esp + 8]
push edx
call fcn.005b1dd0
mov ecx, dword [esp + 0x68]
add esp, 4
pop edi
mov dword [ecx], eax
pop esi
add esp, 0x50
ret 0xc
mov edx, dword [esp + 0x64]
lea ecx, [esp + 8]
mov eax, dword [edx]
push eax
push 0x7fe49c
push ecx
call fcn.005b3532
add esp, 0xc
lea edx, [esp + 8]
push edx
push edi
call dword [sym.imp.USER32.dll_SetWindowTextA]
pop edi
pop esi
add esp, 0x50
ret 0xc
Function at 0x531230
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x5f33e0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push ebx
push ebp
mov ebp, ecx
push esi
push edi
lea ecx, [esp + 0x10]
call fcn.00531600
lea ecx, [esp + 0x20]
mov dword [esp + 0x38], 0
call fcn.00531600
mov eax, dword [esp + 0x48]
lea ecx, [esp + 0x10]
push eax
mov byte [esp + 0x3c], 1
call fcn.00531670
lea ecx, [esp + 0x10]
call fcn.00530010
cmp eax, 1
jae 0x5312d8
mov ebx, dword [sym.imp.KERNEL32.dll_GetTempPathA]
push 0
push 0
call ebx
mov edi, eax
test edi, edi
je 0x531343
lea ecx, [edi + 1]
push ecx
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
je 0x531343
push esi
push edi
call ebx
push esi
lea ecx, [esp + 0x14]
call fcn.00531670
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
lea ecx, [esp + 0x10]
call fcn.00530010
cmp eax, 1
jb 0x531343
lea edx, [esp + 0x10]
mov ecx, ebp
push edx
call fcn.005310d0
test eax, eax
je 0x531343
lea eax, [esp + 0x10]
mov ecx, ebp
push eax
call fcn.005313b0
mov edi, dword [esp + 0x44]
xor esi, esi
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0x24]
call fcn.005316d0
push edi
lea ecx, [esp + 0x24]
call fcn.005316f0
push esi
lea ecx, [esp + 0x24]
call fcn.00531790
push str..tmp
lea ecx, [esp + 0x24]
call fcn.005316f0
lea edx, [esp + 0x20]
mov ecx, ebp
push edx
call fcn.005310b0
test eax, eax
je 0x531379
inc esi
cmp esi, 0x7a0a1f00
jb 0x5312fa
lea ecx, [esp + 0x20]
mov byte [esp + 0x38], 0
call fcn.00531620
lea ecx, [esp + 0x10]
mov dword [esp + 0x38], 0xffffffff
call fcn.00531620
xor eax, eax
mov ecx, dword [esp + 0x30]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x2c
ret 0xc
mov ecx, dword [esp + 0x40]
lea eax, [esp + 0x20]
push eax
call fcn.005316d0
lea ecx, [esp + 0x20]
mov byte [esp + 0x38], 0
call fcn.00531620
lea ecx, [esp + 0x10]
mov dword [esp + 0x38], 0xffffffff
call fcn.00531620
mov eax, 1
jmp 0x531364
Function at 0x531b10
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5f3498
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push esi
mov esi, ecx
push edi
lea ecx, [esp + 0xc]
call fcn.00531600
mov eax, dword [esp + 0x30]
lea ecx, [esp + 0xc]
push eax
mov dword [esp + 0x28], 0
call fcn.00531670
push 0
mov ecx, esi
call fcn.00531a90
mov ebx, dword [esp + 0x2c]
cmp ebx, 1
jb 0x531c48
lea ecx, [esp + 0xc]
call fcn.00530010
cmp eax, 1
jae 0x531b97
lea ecx, [esp + 0xc]
mov dword [esp + 0x24], 0xffffffff
call fcn.00531620
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
add esp, 0x1c
ret 0xc
mov eax, dword [esp + 0x34]
lea edi, [esi + 0xc]
test eax, eax
jne 0x531be4
push 0
lea ecx, [esp + 0x10]
call fcn.004f0e50
push eax
push edi
mov ecx, 0x853cec
call fcn.00531230
test eax, eax
jne 0x531bec
lea ecx, [esp + 0xc]
mov dword [esp + 0x24], 0xffffffff
call fcn.00531620
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
add esp, 0x1c
ret 0xc
push eax
mov ecx, edi
call fcn.00531670
push edi
mov ecx, 0x853cec
call fcn.00531190
push 0
push 2
push 2
push 0
push 3
push 0xc0000000
mov ecx, edi
call fcn.00531a10
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
cmp eax, 0xffffffff
mov dword [esi], eax
je 0x531c48
push 0
push ebx
push 0
push 4
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
test eax, eax
mov dword [esi + 4], eax
je 0x531c48
push 0
push 0
push 0
push 2
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
test eax, eax
mov dword [esi + 8], eax
jne 0x531c78
push 1
mov ecx, esi
call fcn.00531a90
lea ecx, [esp + 0xc]
mov dword [esp + 0x24], 0xffffffff
call fcn.00531620
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
add esp, 0x1c
ret 0xc
lea ecx, [esp + 0xc]
mov dword [esi + 0x1c], ebx
mov dword [esp + 0x24], 0xffffffff
call fcn.00531620
mov ecx, dword [esp + 0x1c]
pop edi
pop esi
mov eax, 1
pop ebx
mov dword fs:[0], ecx
add esp, 0x1c
ret 0xc

Function at 0x5325a0
Capabilities:
Get common file path

Disassembly:
sub esp, 0x104
mov ecx, 0x41
xor eax, eax
push edi
lea edi, [esp + 4]
rep stosd dword es:[edi], eax
lea eax, [esp + 4]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea ecx, [esp + 4]
push ecx
mov ecx, dword [esp + 0x110]
call fcn.00531670
pop edi
add esp, 0x104
ret 4
Function at 0x534120
Capabilities:
Encrypt data using des

Disassembly:
sub esp, 0xf4
xor ecx, ecx
push ebx
push ebp
push esi
mov esi, dword [esp + 0x104]
push edi
xor eax, eax
mov al, byte [ecx + str.80_]
mov edx, eax
and eax, 7
sar edx, 3
mov bl, byte [eax*2 + 0x7fe6cc]
mov dl, byte [edx + esi]
test bl, dl
setne al
mov byte [esp + ecx + 0x4c], al
inc ecx
cmp ecx, 0x38
jl 0x534133
mov eax, 0x1e
xor edx, edx
mov dword [esp + 0x10], eax
cmp dword [esp + 0x10c], 1
je 0x534174
lea eax, [edx + edx]
lea edi, [esp + eax*4 + 0x88]
lea ebp, [esp + eax*4 + 0x84]
xor eax, eax
xor ecx, ecx
mov cl, byte [edx + 0x7fe774]
mov dword [edi], 0
mov dword [ebp], 0
mov esi, ecx
cmp ecx, 0x1c
jge 0x5341a6
mov bl, byte [esp + ecx + 0x4c]
jmp 0x5341aa
mov bl, byte [esp + ecx + 0x30]
mov byte [esp + eax + 0x14], bl
inc eax
inc ecx
cmp eax, 0x1c
jl 0x53419b
mov eax, 0x1c
lea ecx, [esi + 0x1c]
cmp ecx, 0x38
jge 0x5341c8
mov bl, byte [esp + ecx + 0x4c]
jmp 0x5341cc
mov bl, byte [esp + ecx + 0x30]
mov byte [esp + eax + 0x14], bl
inc eax
inc ecx
cmp eax, 0x38
jl 0x5341bd
xor ecx, ecx
mov eax, 0x7fe6dc
xor ebx, ebx
mov bl, byte [ecx + 0x7fe784]
cmp byte [esp + ebx + 0x14], 0
je 0x5341f7
mov esi, dword [eax]
mov ebx, dword [ebp]
or ebx, esi
mov dword [ebp], ebx
xor ebx, ebx
mov bl, byte [ecx + 0x7fe79c]
cmp byte [esp + ebx + 0x14], 0
je 0x53420e
mov esi, dword [eax]
mov ebx, dword [edi]
or ebx, esi
mov dword [edi], ebx
add eax, 4
inc ecx
cmp eax, str.80_
jl 0x5341de
mov eax, dword [esp + 0x10]
inc edx
sub eax, 2
cmp eax, 0xfffffffe
mov dword [esp + 0x10], eax
jg 0x534167
lea edx, [esp + 0x84]
push edx
call fcn.00534250
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xf4
ret
Function at 0x53ed70
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
mov ebx, ecx
push ebp
push esi
mov eax, dword [ebx + 0x13c]
push edi
test eax, eax
jle 0x53edbc
mov eax, dword [ebx + 0x140]
test eax, eax
jle 0x53edbc
mov ebp, dword [sym.imp.USER32.dll_GetKeyState]
xor esi, esi
lea edi, [ebx + 0x150]
mov eax, dword [edi]
test eax, eax
je 0x53eda6
push eax
call ebp
test ax, ax
jl 0x53edb4
inc esi
add edi, 4
cmp esi, 6
jb 0x53ed98
pop edi
pop esi
pop ebp
pop ebx
ret
push esi
mov ecx, ebx
call fcn.0053ea70
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x542aa0
Capabilities:
Create thread

Disassembly:
push ecx
cmp dword [ecx + 0xcc], 1
je 0x542b00
mov eax, dword [ecx + 0x1c]
test eax, eax
je 0x542b00
mov eax, dword [ecx + 0xb0]
test eax, eax
je 0x542b00
push esi
mov edx, 5
mov esi, dword [ecx + 0xbc]
cmp esi, edx
pop esi
je 0x542b00
mov dword [ecx + 0xb4], eax
mov dword [ecx + 0x94], 0
mov dword [ecx + 0xbc], edx
lea eax, [esp]
push eax
push 0
push ecx
push 0x542b10
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ecx
ret
Function at 0x549eb0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x5f3f88
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
mov eax, dword [esp + 0x40]
push ebx
push esi
lea ecx, [esp + 8]
push eax
push ecx
mov ecx, dword [esp + 0x4c]
call fcn.0054a2a0
mov esi, eax
lea edx, [esp + 0x48]
xor ebx, ebx
push edx
lea ecx, [esp + 0x1c]
mov dword [esp + 0x40], ebx
mov dword [esp + 0x4c], 0x8762e4
call fcn.005b3b68
mov ecx, dword [0x6fa690]
mov al, byte [esi]
push ecx
push ebx
push esi
lea ecx, [esp + 0x30]
mov byte [esp + 0x48], 1
mov byte [esp + 0x30], al
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
call fcn.005475e0
mov esi, 0x6fa6e8
mov dword [esp + 0x18], esi
mov eax, dword [esp + 0xc]
mov byte [esp + 0x3c], 3
cmp eax, ebx
je 0x549f57
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x549f4e
cmp al, 0xff
je 0x549f4e
dec al
mov byte [ecx], al
jmp 0x549f57
push ecx
call fcn.005dc732
add esp, 4
lea ecx, [esp + 0x18]
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], ebx
call fcn.005d75b0
mov eax, dword [esp + 0x28]
mov dword [esp + 0x3c], 0xffffffff
cmp eax, ebx
mov dword [esp + 0x18], esi
je 0x549f9d
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x549f94
cmp al, 0xff
je 0x549f94
dec al
mov byte [ecx], al
jmp 0x549f9d
push ecx
call fcn.005dc732
add esp, 4
lea ecx, [esp + 0x18]
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
call fcn.005b3bef
mov ecx, dword [esp + 0x34]
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x38
ret

Function at 0x55abb0
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x14], 0xca
jne 0x55abe3
push esi
call fcn.0055fb60
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x55abdc
mov dword [esi + 0x14], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x14], 0xcb
mov eax, dword [esi + 0x14]
cmp eax, 0xcb
jne 0x55ac69
mov eax, dword [esi + 0x1b8]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x55ac52
mov eax, dword [esi + 8]
test eax, eax
je 0x55ac07
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b8]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x55ac4e
cmp eax, 2
je 0x55ac52
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x55abfa
cmp eax, 3
je 0x55ac2d
cmp eax, 1
jne 0x55abfa
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x55abfa
mov edx, dword [esi + 0x144]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x55abfa
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.0055aca0
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x55ac89
mov ecx, dword [esi]
push esi
mov dword [ecx + 0x14], 0x15
mov edx, dword [esi]
mov eax, dword [esi + 0x14]
mov dword [edx + 0x18], eax
mov ecx, dword [esi]
call dword [ecx]
add esp, 4
push esi
call fcn.0055aca0
add esp, 4
pop esi
ret
Function at 0x58b780
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov ecx, dword [esp + 8]
test ecx, ecx
jne 0x58b78b
xor eax, eax
ret
mov eax, dword [esp + 4]
push ebx
push esi
mov esi, dword [esp + 0x14]
cmp esi, 8
not eax
jb 0x58b88e
push edi
mov edi, esi
shr edi, 3
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
mov ebx, eax
shr ebx, 8
mov eax, dword [edx*4 + 0x7c2d88]
sub esi, 8
xor eax, ebx
inc ecx
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov edx, dword [edx*4 + 0x7c2d88]
shr eax, 8
xor edx, eax
inc ecx
mov eax, edx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov eax, dword [eax*4 + 0x7c2d88]
shr edx, 8
xor eax, edx
inc ecx
mov edx, eax
and edx, 0xff
xor edx, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov edx, dword [edx*4 + 0x7c2d88]
shr eax, 8
xor edx, eax
inc ecx
mov eax, edx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov eax, dword [eax*4 + 0x7c2d88]
shr edx, 8
xor eax, edx
inc ecx
mov edx, eax
and edx, 0xff
xor edx, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov edx, dword [edx*4 + 0x7c2d88]
shr eax, 8
xor edx, eax
inc ecx
mov eax, edx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov eax, dword [eax*4 + 0x7c2d88]
shr edx, 8
xor eax, edx
inc ecx
mov edx, eax
and edx, 0xff
xor edx, ebx
shr eax, 8
mov edx, dword [edx*4 + 0x7c2d88]
xor eax, edx
inc ecx
dec edi
jne 0x58b7a6
pop edi
test esi, esi
je 0x58b8b0
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
shr eax, 8
mov edx, dword [edx*4 + 0x7c2d88]
xor eax, edx
inc ecx
dec esi
jne 0x58b892
pop esi
pop ebx
not eax
ret
Function at 0x5d1c30
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x5f5820
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
mov al, byte [esp + 0x3c]
push ebx
xor ebx, ebx
push esi
mov esi, ecx
mov byte [esp + 0x10], al
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov ecx, dword [esp + 0x44]
push ebx
mov dword [esp + 0x40], ebx
mov byte [esp + 0x28], al
mov edx, dword [ecx]
lea ecx, [esp + 0x28]
mov dword [esp + 0x24], edx
call fcn.005c6975
mov eax, dword [0x7dfcf0]
lea ecx, [esp + 0x10]
push eax
push ebx
push ecx
lea ecx, [esp + 0x30]
call fcn.005c68a7
lea edx, [esp + 0x20]
lea eax, [esp + 8]
push edx
push eax
mov ecx, esi
mov byte [esp + 0x44], 1
call fcn.005d2710
mov esi, dword [eax]
mov ecx, dword [eax + 4]
mov eax, dword [esp + 0x28]
cmp eax, ebx
mov dword [esp + 0xc], ecx
je 0x5d1cd7
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x5d1cce
cmp al, 0xff
je 0x5d1cce
dec al
mov byte [ecx], al
jmp 0x5d1cd7
push ecx
call fcn.005dc732
add esp, 4
mov eax, dword [esp + 0x14]
mov dword [esp + 0x28], ebx
cmp eax, ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
je 0x5d1d08
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x5d1cff
cmp al, 0xff
je 0x5d1cff
dec al
mov byte [ecx], al
jmp 0x5d1d08
push ecx
call fcn.005dc732
add esp, 4
mov ecx, dword [esp + 0x34]
lea eax, [esi + 0x10]
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x38
ret 4
Function at 0x5dd820
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
mov ebx, ecx
xor edi, edi
call fcn.005e8635
mov esi, dword [eax + 0xc]
push 5
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x5dd851
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push esi
mov ecx, ebx
push dword [esp + 0x18]
push edi
call fcn.005dd864
pop edi
pop esi
pop ebx
ret 8

Function at 0x5dee38
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x5dee70
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.005dce6f
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.005dce47
jmp 0x5dee7c
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x5e07fd
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x5e083f
call fcn.005e8635
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x5e083f
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x5e0836
xor eax, eax
jmp 0x5e0847
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.005e084d
pop edi
pop esi
pop ebx
ret 4

Function at 0x5e8b65
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x5e8b93
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x5e8bb1
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.005e8acb
jmp 0x5e8bb1
mov eax, dword [esi + 0x14]
test eax, eax
je 0x5e8bb1
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.005e8acb
test edi, edi
mov eax, edi
jne 0x5e8b9b
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x4016d6
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
mov eax, dword [fcn.00408e81]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ebx, ecx
mov edx, dword [ebx]
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x108], edi
test edx, edx
je 0x4017d9
call fcn.00401052
test eax, eax
je 0x4017d9
xor eax, eax
cmp byte [ebp + 0x10], al
push 0x40
setne al
pop ecx
lea edi, [ebp - 0x104]
lea eax, [eax + eax - 1]
mov dword [ebp - 0x10c], eax
xor eax, eax
cmp byte [ebp + 0x14], al
sete al
dec eax
rep stosd dword es:[edi], eax
jmp 0x401753
cmp byte [ebp + 0x14], 0
je 0x401743
xor ecx, ecx
jmp 0x401748
mov ecx, 0xff
movsx eax, al
mov byte [ebp + eax - 0x104], cl
inc esi
mov al, byte [esi]
test al, al
jne 0x401739
cmp byte [ebp + 0x10], 0
mov eax, dword [ebx + 4]
lea esi, [edx + eax*2 + 0xc]
mov eax, dword [edx + 4]
mov byte [ebp - 0x104], 0xff
lea ecx, [edx + eax*2 + 0xc]
je 0x401778
mov eax, esi
jmp 0x40177f
lea eax, [ecx - 2]
cmp eax, esi
jb 0x4017d1
cmp eax, ecx
jae 0x4017b2
movzx edx, word [eax]
mov edi, 0xff
cmp dx, di
jbe 0x401796
movzx edx, byte [ebp + 0x14]
jmp 0x4017a1
movzx edx, dx
movzx edx, byte [ebp + edx - 0x104]
test edx, edx
jne 0x4017b2
mov edx, dword [ebp - 0x10c]
lea eax, [eax + edx*2]
cmp eax, esi
jae 0x40177f
cmp byte [ebp + 0x10], 0
je 0x4017d1
sub eax, esi
sar eax, 1
push eax
push esi
mov ecx, dword [ebp - 0x108]
call fcn.0040163b
mov eax, dword [ebp - 0x108]
jmp 0x4017e2
sub ecx, eax
sar ecx, 1
push ecx
push eax
jmp 0x4017be
and dword [edi], 0
and dword [edi + 4], 0
mov eax, edi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00408e81
leave
ret 0x10
Function at 0x42d270
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x493ffb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x180
push ebx
push ebp
mov ebp, ecx
lea ecx, [esp + 8]
lea eax, [ebp + 0x40]
push eax
call fcn.004869d2
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x42d2f2
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.00484450
mov eax, dword [eax]
push 0x579224
push eax
call fcn.00476ec4
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.00486c5d
test bl, bl
je 0x42d2f2
push 0x579224
lea ecx, [esp + 0xc]
call fcn.00487039
push 0x57cd9c
lea ecx, [esp + 0xc]
call fcn.00487039
mov ecx, dword [esp + 8]
lea eax, [esp + 0x48]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
jne 0x42d32e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.00486c5d
jmp 0x42d3f9
push esi
mov esi, dword [esp + 0x19c]
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, 0x23
test byte [esp + 0x50], 0x10
je 0x42d3b2
lea edx, [esp + 0x7c]
push 0x57cd98
push edx
call fcn.00476ec4
add esp, 8
test eax, eax
je 0x42d3b2
lea eax, [esp + 0x7c]
push 0x57cd94
push eax
call fcn.00476ec4
add esp, 8
test eax, eax
je 0x42d3b2
mov eax, dword [ebp + 0x1c]
lea edx, [esp + 0x1c]
push edx
push 0
lea ecx, [esp + 0x84]
push 0x1100
push eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], 0xffff0003
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 1
mov dword [esp + 0x44], ecx
mov dword [esp + 0x34], ebx
call edi
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x50]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x42d342
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp + 0x1c]
push esi
push 2
push 0x1102
push ecx
call edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x198], 0xffffffff
call fcn.00486c5d
pop edi
pop esi
mov ecx, dword [esp + 0x188]
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18c
ret 4

Function at 0x42dbf0
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
sub esp, 0x10c
lea eax, [esp]
push esi
push eax
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x42dc52
mov edx, dword [esp + 4]
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
push ecx
push esi
push edx
mov dword [esp + 0x18], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov ecx, dword [esp + 0x11c]
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x10c
ret 0xc