joyce8/EMBER2024-capa huggingface dataset:
Function at 0x51ca60
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5cf1b0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
lea ecx, [esp + 4]
call fcn.0051c610
lea eax, [esp + 4]
lea ecx, [esi + 4]
push eax
mov dword [esp + 0x18], 0
call fcn.0051c690
lea ecx, [esp + 4]
push ecx
lea ecx, [esi + 0x14]
call fcn.0051c690
lea ecx, [esi + 0xc]
call fcn.005bf825
lea ecx, [esi + 0x10]
call fcn.005bf825
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x1c]
call fcn.0051eec0
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x30]
call fcn.0051eec0
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x44]
call fcn.0051eec0
lea ecx, [esp + 8]
mov dword [esp + 0x14], 1
call fcn.005bf89a
lea ecx, [esp + 4]
mov dword [esp + 0x14], 0xffffffff
call fcn.005bf89a
mov ecx, dword [esp + 0xc]
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret

Function at 0x51d708
Capabilities:
Get hostname

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x5cf3d8
push eax
mov dword fs:[0], esp
sub esp, 0x64
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 4]
test eax, eax
je 0x51d718
call fcn.0051dc30
mov edi, dword [esp + 0x7c]
test edi, edi
je 0x51d7fb
cmp byte [edi], 0
je 0x51d7fb
mov eax, dword [esp + 0x8c]
test eax, eax
jg 0x51d73d
mov eax, 0x7d0
mov ecx, esi
mov dword [esi + 8], eax
call fcn.0051c430
test eax, eax
jne 0x51d75d
push 0x182a900
lea ecx, [esi + 0x38]
call fcn.005bf9d7
jmp 0x51d7fb
mov eax, dword [esp + 0x80]
mov ecx, esi
push eax
push edi
call fcn.0051c480
test eax, eax
jne 0x51d78c
mov ecx, esi
call fcn.0051c580
push edi
add esi, 0x38
push 0x182a8dc
push esi
call fcn.005bd5a7
add esp, 0xc
jmp 0x51d7fb
push 0xdc
mov ecx, esi
mov dword [esi + 4], 1
call fcn.0051e4b0
test eax, eax
je 0x51d7f4
lea ecx, [esp + 8]
push 0x64
push ecx
call sub.WS2_32.dll_gethostname
mov eax, dword [esp + 0x88]
mov ecx, dword [esp + 0x84]
lea edx, [esp + 0x8c]
mov dword [esp + 0x8c], 1
push edx
push eax
lea edx, [esp + 0x10]
push ecx
push edx
mov ecx, esi
call fcn.0051d8d0
test eax, eax
jne 0x51d810
push edi
lea eax, [esi + 0x38]
push 0x182a8b8
push eax
call fcn.005bd5a7
add esp, 0xc
mov ecx, esi
call fcn.0051dc30
pop edi
xor eax, eax
pop esi
mov ecx, dword [esp + 0x64]
mov dword fs:[0], ecx
add esp, 0x70
ret 0x14
mov eax, dword [esp + 0x8c]
test eax, eax
je 0x51d8b8
mov ecx, dword [0x183ffa8]
mov dword [esp + 0x7c], ecx
lea edx, [esp + 8]
lea eax, [esp + 0x7c]
push edx
push str.HELO__s_r_n
push eax
mov dword [esp + 0x80], 0
call fcn.005bd5a7
mov edx, dword [esp + 0x88]
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
add esp, 0xc
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push edx
mov ecx, esi
call fcn.0051c530
test eax, eax
jne 0x51d87a
push 0x182a89c
lea ecx, [esi + 0x38]
call fcn.005bf9d7
jmp 0x51d88a
push 0xfa
mov ecx, esi
call fcn.0051e4b0
test eax, eax
jne 0x51d8a7
mov ecx, esi
call fcn.0051dc30
lea ecx, [esp + 0x7c]
mov dword [esp + 0x74], 0xffffffff
call fcn.005bf89a
jmp 0x51d7fb
lea ecx, [esp + 0x7c]
mov dword [esp + 0x74], 0xffffffff
call fcn.005bf89a
mov ecx, dword [esp + 0x6c]
pop edi
mov eax, 1
pop esi
mov dword fs:[0], ecx
add esp, 0x70
ret 0x14
Function at 0x527cd0
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 0x527d1c
mov eax, dword [ebx + 0x140]
test eax, eax
jle 0x527d1c
mov ebp, dword [sym.imp.USER32.dll_GetKeyState]
xor esi, esi
lea edi, [ebx + 0x150]
mov eax, dword [edi]
test eax, eax
je 0x527d06
push eax
call ebp
test ax, ax
jl 0x527d14
inc esi
add edi, 4
cmp esi, 6
jb 0x527cf8
pop edi
pop esi
pop ebp
pop ebx
ret
push esi
mov ecx, ebx
call fcn.005279d0
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x52b8d0
Capabilities:
Create thread

Disassembly:
push ecx
cmp dword [ecx + 0xcc], 1
je 0x52b930
mov eax, dword [ecx + 0x1c]
test eax, eax
je 0x52b930
mov eax, dword [ecx + 0xb0]
test eax, eax
je 0x52b930
push esi
mov edx, 5
mov esi, dword [ecx + 0xbc]
cmp esi, edx
pop esi
je 0x52b930
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 0x52b940
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 0x530fe0
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x5cffb0
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.005313b0
lea ecx, [esp + 0x20]
mov dword [esp + 0x38], 0
call fcn.005313b0
mov eax, dword [esp + 0x48]
lea ecx, [esp + 0x10]
push eax
mov byte [esp + 0x3c], 1
call fcn.00531420
lea ecx, [esp + 0x10]
call fcn.004ddc70
cmp eax, 1
jae 0x531088
mov ebx, dword [sym.imp.KERNEL32.dll_GetTempPathA]
push 0
push 0
call ebx
mov edi, eax
test edi, edi
je 0x5310f3
lea ecx, [edi + 1]
push ecx
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
je 0x5310f3
push esi
push edi
call ebx
push esi
lea ecx, [esp + 0x14]
call fcn.00531420
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
lea ecx, [esp + 0x10]
call fcn.004ddc70
cmp eax, 1
jb 0x5310f3
lea edx, [esp + 0x10]
mov ecx, ebp
push edx
call fcn.00530e80
test eax, eax
je 0x5310f3
lea eax, [esp + 0x10]
mov ecx, ebp
push eax
call fcn.00531160
mov edi, dword [esp + 0x44]
xor esi, esi
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0x24]
call fcn.00531480
push edi
lea ecx, [esp + 0x24]
call fcn.005314a0
push esi
lea ecx, [esp + 0x24]
call fcn.00531540
push str..tmp
lea ecx, [esp + 0x24]
call fcn.005314a0
lea edx, [esp + 0x20]
mov ecx, ebp
push edx
call fcn.00530e60
test eax, eax
je 0x531129
inc esi
cmp esi, 0x7a0a1f00
jb 0x5310aa
lea ecx, [esp + 0x20]
mov byte [esp + 0x38], 0
call fcn.005313d0
lea ecx, [esp + 0x10]
mov dword [esp + 0x38], 0xffffffff
call fcn.005313d0
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.00531480
lea ecx, [esp + 0x20]
mov byte [esp + 0x38], 0
call fcn.005313d0
lea ecx, [esp + 0x10]
mov dword [esp + 0x38], 0xffffffff
call fcn.005313d0
mov eax, 1
jmp 0x531114
Function at 0x5318c0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5d0068
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.005313b0
mov eax, dword [esp + 0x30]
lea ecx, [esp + 0xc]
push eax
mov dword [esp + 0x28], 0
call fcn.00531420
push 0
mov ecx, esi
call fcn.00531840
mov ebx, dword [esp + 0x2c]
cmp ebx, 1
jb 0x5319f8
lea ecx, [esp + 0xc]
call fcn.004ddc70
cmp eax, 1
jae 0x531947
lea ecx, [esp + 0xc]
mov dword [esp + 0x24], 0xffffffff
call fcn.005313d0
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 0x531994
push 0
lea ecx, [esp + 0x10]
call fcn.004ed0a0
push eax
push edi
mov ecx, 0x189141c
call fcn.00530fe0
test eax, eax
jne 0x53199c
lea ecx, [esp + 0xc]
mov dword [esp + 0x24], 0xffffffff
call fcn.005313d0
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.00531420
push edi
mov ecx, 0x189141c
call fcn.00530f40
push 0
push 2
push 2
push 0
push 3
push 0xc0000000
mov ecx, edi
call fcn.005317c0
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
cmp eax, 0xffffffff
mov dword [esi], eax
je 0x5319f8
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 0x5319f8
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 0x531a28
push 1
mov ecx, esi
call fcn.00531840
lea ecx, [esp + 0xc]
mov dword [esp + 0x24], 0xffffffff
call fcn.005313d0
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.005313d0
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 0x5323a0
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.00531420
pop edi
add esp, 0x104
ret 4
Function at 0x537c00
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x1892544]
xor edx, edx
cmp eax, edx
jne 0x537c26
xor eax, eax
mov byte [eax + 0x1892444], al
inc eax
cmp eax, 0x100
jl 0x537c0e
mov dword [0x1892544], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x1892444
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x537cb7
xor esi, esi
push ebp
mov byte [esp + 0x20], dl
xor ecx, ecx
mov edi, dword [esp + 0x20]
mov ebp, dword [esp + 0x18]
mov al, byte [esi + ebx]
and edi, 0xff
xor edx, edx
mov dl, byte [edi + ebp]
mov ebp, eax
and ebp, 0xff
add ecx, edx
add ecx, ebp
and ecx, 0x800000ff
jns 0x537c8a
dec ecx
or ecx, 0xffffff00
inc ecx
mov byte [esp + 0x10], cl
mov ecx, dword [esp + 0x10]
and ecx, 0xff
mov dl, byte [ecx + ebx]
mov byte [esi + ebx], dl
mov byte [ecx + ebx], al
lea eax, [edi + 1]
cdq
idiv dword [esp + 0x1c]
inc esi
cmp esi, 0x100
mov byte [esp + 0x20], dl
jl 0x537c58
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x537cc0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
mov cl, byte [eax + 0x100]
mov dl, byte [eax + 0x101]
mov dword [ebp - 8], eax
mov byte [ebp - 1], cl
mov byte [ebp - 2], dl
xor ebx, ebx
mov bl, byte [ebp - 1]
xor edx, edx
mov dl, byte [ebp - 2]
mov esi, dword [ebp - 8]
mov edi, dword [ebp + 8]
xor eax, eax
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jle 0x537d13
inc bl
mov al, byte [esi + ebx]
add dl, al
xchg byte [esi + edx], al
mov byte [esi + ebx], al
add al, byte [esi + edx]
mov al, byte [esi + eax]
xor byte [edi], al
inc edi
dec ecx
jne 0x537cfa
mov byte [ebp - 1], bl
mov byte [ebp - 2], dl
mov eax, dword [ebp + 0x10]
mov cl, byte [ebp - 1]
mov dl, byte [ebp - 2]
pop edi
pop esi
mov byte [eax + 0x100], cl
mov byte [eax + 0x101], dl
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x53e6a0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5d02ae
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [esp + 0x18]
push esi
push edi
mov edi, ecx
mov ecx, dword [esp + 0x1c]
push eax
push ecx
mov ecx, edi
mov dword [esp + 0x10], edi
call fcn.0053efc0
push 0x10
mov dword [esp + 0x18], 0
mov dword [edi], 0x17e8f44
call fcn.005bf5db
mov esi, eax
add esp, 4
mov dword [esp + 0x20], esi
mov al, 1
test esi, esi
mov byte [esp + 0x14], al
je 0x53e733
push 4
mov byte [esi + 8], al
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.005bf5db
add esp, 4
mov dword [esp + 0x1c], eax
test eax, eax
mov byte [esp + 0x14], 2
je 0x53e72c
push 0
mov ecx, eax
call fcn.00535840
mov dword [esi + 0xc], eax
jmp 0x53e735
xor eax, eax
mov dword [esi + 0xc], eax
jmp 0x53e735
xor esi, esi
mov ecx, dword [esp + 0xc]
mov dword [edi + 0x30], esi
mov dword [edi + 0x34], 0
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 8
Function at 0x54f764
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 0x14]
mov edx, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 0x18]
imul eax, edi
add eax, edx
cmp edx, eax
mov dword [ebp - 0x14], eax
jae 0x54f885
mov eax, dword [ebp + 0x10]
lea eax, [edx + eax*4]
push ebx
push esi
mov dword [ebp + 0x14], eax
mov esi, 0xffc03fc0
mov eax, 0xff00ff
cmp edx, dword [ebp + 0x14]
mov ecx, dword [ebp + 8]
mov dword [ebp - 4], ecx
jae 0x54f869
mov ebx, dword [ebp + 0x14]
sub ebx, edx
dec ebx
shr ebx, 3
lea ecx, [edx + 4]
inc ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x10], ebx
mov edx, dword [ecx + edi]
mov edi, dword [edi + ecx - 4]
mov dword [ebp - 8], edi
shr edi, 2
and edi, esi
mov dword [ebp + 0x10], edx
mov edx, dword [ecx]
mov ecx, dword [ecx - 4]
mov ebx, ecx
shr ebx, 2
and ebx, esi
add ebx, edi
mov edi, dword [ebp + 0x10]
shr edi, 2
and edi, esi
add ebx, edi
mov edi, edx
shr edi, 2
and edi, esi
lea ebx, [ebx + edi - 0x7fff80]
mov edi, dword [ebp - 8]
and edi, eax
mov esi, ecx
and esi, eax
add esi, edi
mov edi, dword [ebp + 0x10]
and edi, eax
add esi, edi
mov edi, edx
and edi, eax
lea esi, [esi + edi + 0x20002]
mov edi, dword [ebp - 8]
shr ecx, 2
shr esi, 2
xor ebx, esi
shr edi, 2
mov esi, 0x3fc03fc0
and ecx, esi
and edi, esi
add ecx, edi
mov edi, dword [ebp + 0x10]
shr edi, 2
and edi, esi
add ecx, edi
mov edi, dword [ebp + 0x18]
shr edx, 2
and edx, esi
lea ecx, [ecx + edx + 0x800080]
and ebx, eax
xor ebx, ecx
mov ecx, dword [ebp - 4]
add dword [ebp - 4], 4
mov dword [ecx], ebx
mov ecx, dword [ebp - 0xc]
add ecx, 8
dec dword [ebp - 0x10]
mov dword [ebp - 0xc], ecx
mov esi, 0xffc03fc0
jne 0x54f7bb
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x1c]
add dword [ebp + 8], ecx
lea ecx, [edi + edi]
add dword [ebp + 0x14], ecx
add edx, ecx
cmp edx, dword [ebp - 0x14]
mov dword [ebp + 0xc], edx
jb 0x54f799
pop esi
pop ebx
xor eax, eax
pop edi
leave
ret 0x18

Function at 0x5502cd
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
push 0x17ec5bc
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x550324
push esi
lea eax, [ebp + 0x14]
push eax
push dword [ebp + 0x10]
lea eax, [ebp + 0x10]
push eax
push 0
push dword [ebp + 0xc]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 4]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
pop esi
jne 0x550324
mov eax, dword [ebp + 0x10]
cmp eax, dword [ebp + 8]
jne 0x550324
xor eax, eax
inc eax
jmp 0x550326
xor eax, eax
leave
ret 0x10
Function at 0x55034f
Capabilities:
Get system information on windows
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
push edi
lea eax, [ebp - 4]
push eax
push 0x17ec5bc
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
xor edi, edi
test eax, eax
jne 0x5503bd
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
push edi
push 0x17ecde4
push dword [ebp - 4]
mov dword [ebp - 8], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x5503b4
cmp dword [ebp - 0xc], 4
jne 0x5503b4
cmp dword [ebp - 0x10], edi
je 0x5503b4
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [0x1837a70], edi
xor eax, eax
jmp 0x5503fc
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [0x1837a70], edi
jge 0x5503f7
lea eax, [ebp - 0x34]
push eax
mov dword [0x1837a70], edi
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
cmp word [ebp - 0x34], di
jne 0x5503f7
cmp word [ebp - 0x14], 5
jb 0x5503f7
call fcn.0055032a
test eax, eax
je 0x5503f7
emms
mov dword [0x1837a70], 1
mov eax, dword [0x1837a70]
pop edi
leave
ret

Function at 0x56f140
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x14], 0xca
jne 0x56f173
push esi
call fcn.005740c0
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x56f16c
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 0x56f1f9
mov eax, dword [esi + 0x1b8]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x56f1e2
mov eax, dword [esi + 8]
test eax, eax
je 0x56f197
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 0x56f1de
cmp eax, 2
je 0x56f1e2
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x56f18a
cmp eax, 3
je 0x56f1bd
cmp eax, 1
jne 0x56f18a
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 0x56f18a
mov edx, dword [esi + 0x144]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x56f18a
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.0056f230
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x56f219
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.0056f230
add esp, 4
pop esi
ret
Function at 0x59fe60
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov ecx, dword [esp + 8]
test ecx, ecx
jne 0x59fe6b
xor eax, eax
ret
mov eax, dword [esp + 4]
push ebx
push esi
mov esi, dword [esp + 0x14]
cmp esi, 8
not eax
jb 0x59ff6e
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 + 0x17f9758]
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 + 0x17f9758]
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 + 0x17f9758]
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 + 0x17f9758]
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 + 0x17f9758]
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 + 0x17f9758]
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 + 0x17f9758]
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 + 0x17f9758]
xor eax, edx
inc ecx
dec edi
jne 0x59fe86
pop edi
test esi, esi
je 0x59ff90
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
shr eax, 8
mov edx, dword [edx*4 + 0x17f9758]
xor eax, edx
inc ecx
dec esi
jne 0x59ff72
pop esi
pop ebx
not eax
ret
Function at 0x5c1c68
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x5c1ca0
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.005bfcf5
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.005bfccd
jmp 0x5c1cac
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x5c335a
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 0x5c339c
call fcn.005c909b
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x5c339c
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x5c3393
xor eax, eax
jmp 0x5c33a4
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.005c33aa
pop edi
pop esi
pop ebx
ret 4

Function at 0x5c95cb
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 0x5c95f9
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x5c9617
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.005c9531
jmp 0x5c9617
mov eax, dword [esi + 0x14]
test eax, eax
je 0x5c9617
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.005c9531
test edi, edi
mov eax, edi
jne 0x5c9601
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x4015b0
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x34
mov eax, dword [0x40d004]
xor eax, esp
mov dword [esp + 0x30], eax
xor eax, eax
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov byte [esp + 0x18], 0
mov dword [esp + 0x19], eax
mov dword [esp + 0x1d], eax
mov dword [esp + 0x21], eax
mov dword [esp + 0x25], eax
mov dword [esp + 0x29], eax
mov dword [esp + 0x2d], eax
mov dword [esp + 0x31], eax
mov dword [esp + 0x35], eax
xor esi, esi
call edi
push eax
call fcn.00402d52
add esp, 4
call fcn.00402d64
cdq
mov ecx, 0x1a
idiv ecx
push 0x32
add dl, 0x61
mov byte [esp + esi + 0x1c], dl
call ebx
inc esi
cmp esi, 0x20
jl 0x4015f6
push 0
push 0x80
push 2
push 0
push 1
push 0xe0000000
push 0x40b4d0
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x401676
push 0
lea edx, [esp + 0x14]
push edx
push 0xe00
push 0x457b18
mov ecx, 8
lea esi, [esp + 0x28]
mov edi, 0x4588ee
push ebx
rep movsd dword es:[edi], dword [esi]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x40168a
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x30]
xor ecx, esp
call fcn.00402b9c
add esp, 0x34
ret
push ebp
push 0
push 0xe00
push 0
push 0x40
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov ebp, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, eax
cmp esi, 0xffffffff
je 0x4016f2
push 0xe00
push 0
push 0
push 0xf001f
push esi
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov edi, eax
test edi, edi
je 0x4016ef
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x1c]
push ecx
push 0xe00
push edi
call dword [sym.imp.imagehlp.dll_CheckSumMappedFile]
test eax, eax
je 0x4016e8
mov edx, dword [esp + 0x10]
mov dword [eax + 0x58], edx
push edi
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
push esi
call ebp
push ebx
call ebp
mov ecx, dword [esp + 0x40]
pop ebp
pop edi
pop esi
pop ebx
xor ecx, esp
mov eax, 1
call fcn.00402b9c
add esp, 0x34
ret

Function at 0x401710
Capabilities:
Write file on windows

Disassembly:
push ecx
push esi
push 0
push 0x80
push 2
push 0
push 0
push 0x40000000
push str.C:WindowsSystem32dw.ini
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x401759
push 0
lea eax, [esp + 8]
push eax
push 0x8c2
push 0x457250
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
test eax, eax
jne 0x40175e
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
pop esi
pop ecx
ret
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
pop esi
pop ecx
ret