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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4ecc41
push eax
mov dword fs:[0], esp
sub esp, 0xec
push edi
mov edi, ecx
mov eax, dword [edi + 0x5c]
test eax, eax
jne 0x4c0fad
xor eax, eax
pop edi
mov ecx, dword [esp + 0xec]
mov dword fs:[0], ecx
add esp, 0xf8
ret
push esi
push 0x400
lea ecx, [esp + 0xc]
call fcn.004e267f
push 0
push 0x1000
lea eax, [esp + 0x10]
push 0
push eax
lea ecx, [esp + 0x40]
mov dword [esp + 0x10c], 0
call fcn.004e19c7
lea ecx, [esp + 0x30]
mov byte [esp + 0xfc], 1
push ecx
mov ecx, dword [edi + 0x5c]
call fcn.004b9e70
lea ecx, [esp + 8]
call fcn.004e28ee
lea ecx, [esp + 0x30]
call fcn.004e1b2b
mov edx, dword [esp + 8]
push 0
push 0
lea ecx, [esp + 0x10]
call dword [edx + 0x28]
push 0
push 0x1000
lea eax, [esp + 0x10]
push 1
push eax
lea ecx, [esp + 0x84]
call fcn.004e19c7
lea ecx, [esp + 0x74]
lea esi, [edi + 0x60]
push ecx
mov ecx, esi
mov byte [esp + 0x100], 2
call fcn.004ba2e0
lea ecx, [esp + 0x74]
call fcn.004e1b2b
lea ecx, [esp + 8]
call fcn.004e28ef
mov eax, dword [edi + 0x5c]
lea edx, [esp + 0xb8]
push edx
push 0x3c
mov eax, dword [eax + 0xc8]
push eax
call dword [sym.imp.GDI32.dll_GetObjectA]
lea ecx, [esp + 0xb8]
push ecx
mov ecx, esi
call fcn.004b7a70
mov edx, dword [edi + 0x5c]
push 0xffffffffffffffff
mov ecx, esi
mov eax, dword [edx + 0xdc]
mov dword [esi + 0xdc], eax
call fcn.004b9d80
mov ecx, esi
call fcn.004ba9c0
mov eax, dword [edi + 0x5c]
push 0xffffffffffffffff
mov ecx, esi
mov eax, dword [eax + 0xe0]
mov dword [esi + 0xe0], eax
call fcn.004b9d80
mov ecx, esi
call fcn.004ba9c0
mov ecx, dword [edi + 0x5c]
push 0xffffffffffffffff
mov eax, dword [ecx + 0xe4]
mov ecx, esi
mov dword [esi + 0xe4], eax
call fcn.004b9d80
mov ecx, esi
call fcn.004ba9c0
mov ecx, dword [edi + 0x5c]
call fcn.004b7250
push eax
mov ecx, esi
call fcn.004b7260
mov ecx, dword [edi + 0x5c]
call fcn.004b7810
push eax
mov ecx, esi
call fcn.004b77b0
mov ecx, dword [edi + 0x5c]
call fcn.004b7930
push eax
mov ecx, esi
call fcn.004b78e0
mov ecx, dword [edi + 0x5c]
push 0
call fcn.004b6b30
push eax
mov ecx, esi
call fcn.004b6b40
mov edx, dword [edi + 0x7c]
push 1
push 0
push edx
call dword [sym.imp.USER32.dll_InvalidateRect]
lea ecx, [esp + 0x74]
mov byte [esp + 0xfc], 1
call fcn.004e1aa3
lea ecx, [esp + 0x30]
mov byte [esp + 0xfc], 0
call fcn.004e1aa3
lea ecx, [esp + 8]
mov dword [esp + 0xfc], 0xffffffff
call fcn.004e2708
mov ecx, dword [esp + 0xf4]
pop esi
mov eax, 1
pop edi
mov dword fs:[0], ecx
add esp, 0xf8
ret
Function at 0x4c27c0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x4ece67
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x158
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
mov dword [esp + 0xc], esi
mov dword [esi], method.CMenu.virtual_0
mov dword [esi + 4], ebx
lea ecx, [esi + 0x1c]
mov dword [esp + 0x16c], ebx
call fcn.004d885a
lea ecx, [esi + 0x24]
mov byte [esp + 0x16c], 1
call fcn.004d885a
mov edi, dword [sym.imp.USER32.dll_GetSysColor]
push 7
mov byte [esp + 0x170], 2
mov dword [esi], method.CMenu.virtual_0
call edi
push 0xe
mov dword [esi + 0x2c], eax
call edi
push 0xf
mov dword [esi + 0x30], eax
call edi
push 4
mov dword [esi + 0x34], eax
call edi
push 0xd
mov dword [esi + 0x38], eax
call edi
push 0x14
mov dword [esi + 0x3c], eax
call edi
push 0x10
mov dword [esi + 0x40], eax
call edi
push 0x11
mov dword [esi + 0x44], eax
call edi
push 0xf
mov dword [esi + 0x48], eax
call edi
push 0x14
mov dword [esi + 0x4c], eax
call edi
push 0x10
mov dword [esi + 0x50], eax
call edi
mov dword [esi + 0x54], eax
mov eax, 0x14
mov ecx, eax
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], ecx
mov ecx, 0x55
xor eax, eax
lea edi, [esp + 0x10]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x10]
push ebx
push eax
push ebx
push 0x29
mov dword [esi + 0x58], ebx
mov dword [esi + 0x5c], ebx
mov dword [esi + 0x60], ebx
mov dword [esi + 0x64], ebx
mov dword [esi + 0xc], ebx
mov dword [esp + 0x20], 0x154
call dword [sym.imp.USER32.dll_SystemParametersInfoA]
lea ecx, [esp + 0xb0]
push ecx
call dword [sym.imp.GDI32.dll_CreateFontIndirectA]
mov ecx, esi
mov dword [esi + 0x10], eax
mov dword [esi + 8], ebx
call fcn.004c32e0
mov eax, esi
mov ecx, dword [esp + 0x164]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x164
ret
Function at 0x4c3330
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4ecf40
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push ebp
push esi
push edi
mov esi, ecx
call fcn.004e4964
mov edi, dword [eax + 0xc]
xor ebp, ebp
cmp edi, ebp
jne 0x4c3363
xor al, al
jmp 0x4c348f
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 0x4c3385
xor al, al
jmp 0x4c348f
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, ebp
jne 0x4c3398
xor al, al
jmp 0x4c348f
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
cmp edi, ebp
jne 0x4c33ac
xor al, al
jmp 0x4c348f
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.004d891f
test eax, eax
jne 0x4c33e0
xor al, al
jmp 0x4c348f
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], 0x8a8594
mov dword [esp + 0x20], ebp
call fcn.004e4964
mov eax, dword [eax + 0xc]
push ebx
push eax
call dword [sym.imp.USER32.dll_LoadBitmapA]
push eax
lea ecx, [esp + 0x14]
call fcn.004e167c
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.004e16d3
xor ecx, ecx
lea ebx, [edi + 8]
cmp word [edi + 6], cx
jbe 0x4c3474
mov ax, word [ebx]
test ax, ax
je 0x4c3466
mov edx, ecx
inc ecx
mov dword [esp + 0x28], ecx
push eax
push edx
mov ecx, esi
call fcn.004c34b0
mov ecx, dword [esp + 0x28]
xor edx, edx
inc ebp
mov dx, word [edi + 6]
add ebx, 2
cmp ebp, edx
jl 0x4c344a
mov dword [esp + 0x10], method.CGdiObject.virtual_0
lea ecx, [esp + 0x10]
mov dword [esp + 0x20], 1
call fcn.004e16d3
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 0x4c3990
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.004e2d2c
mov edi, eax
mov eax, dword [esi]
test eax, eax
je 0x4c39d6
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.004c83c8
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 0x8ca920
push ecx
call fcn.004ca368
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 0x4c3a90
Capabilities:
Check for time delay via gettickcount

Disassembly:
sub esp, 0xa0
push ebx
push ebp
mov ebp, dword [esp + 0xac]
push esi
push edi
push ebp
call sub.RASAPI32.dll_RasHangUpA
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, 0x28
xor eax, eax
lea edi, [esp + 0x10]
rep stosd dword es:[edi], eax
mov dword [esp + 0x10], 0xa0
call esi
mov edi, eax
call esi
sub eax, edi
cmp eax, 0xbb8
jae 0x4c3af6
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [esp + 0x10]
push eax
push ebp
call sub.RASAPI32.dll_RasGetConnectStatusA
cmp eax, 6
je 0x4c3af6
push 0
call ebx
call esi
sub eax, edi
cmp eax, 0xbb8
jb 0x4c3ad7
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa0
ret

Function at 0x4c3e80
Capabilities:
Create http request

Disassembly:
push esi
mov esi, ecx
cmp dword [esi], 0
jne 0x4c3eb8
mov edx, dword [esi + 4]
xor eax, eax
push 0
push 0
mov ecx, dword [edx - 8]
test ecx, ecx
setne al
mov ecx, eax
neg ecx
sbb ecx, ecx
and ecx, edx
neg eax
sbb eax, eax
push ecx
and eax, 2
inc eax
push eax
push str.Mozilla_4.0__compatible__MSIE_6.0__Windows_NT_5.0_
call dword [sym.imp.WININET.dll_InternetOpenA]
mov dword [esi], eax
mov ecx, dword [esi]
xor eax, eax
test ecx, ecx
setne al
pop esi
ret
Function at 0x4c4ae0
Capabilities:
Get socket status

Disassembly:
sub esp, 0x10c
mov eax, dword [ecx]
lea ecx, [esp]
push ecx
push 0
lea edx, [esp + 0x10]
push 0
push edx
push 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], 1
call sub.WS2_32.dll_select
cmp eax, 0xffffffff
jne 0x4c4b29
xor eax, eax
add esp, 0x10c
ret 4
mov edx, dword [esp + 0x110]
xor ecx, ecx
test eax, eax
setne cl
mov dword [edx], ecx
mov eax, 1
add esp, 0x10c
ret 4

Function at 0x4c4fa0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4ed200
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.004c4b50
lea eax, [esp + 4]
lea ecx, [esi + 4]
push eax
mov dword [esp + 0x18], 0
call fcn.004c4bd0
lea ecx, [esp + 4]
push ecx
lea ecx, [esi + 0x14]
call fcn.004c4bd0
lea ecx, [esi + 0xc]
call fcn.004da7e7
lea ecx, [esi + 0x10]
call fcn.004da7e7
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x1c]
call fcn.004c6160
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x30]
call fcn.004c6160
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x44]
call fcn.004c6160
lea ecx, [esp + 8]
mov dword [esp + 0x14], 1
call fcn.004da85c
lea ecx, [esp + 4]
mov dword [esp + 0x14], 0xffffffff
call fcn.004da85c
mov ecx, dword [esp + 0xc]
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x4ca322
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x4ca342
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.004c9a4a
pop ecx
or eax, 0xffffffff
ret
test al, 1
je 0x4ca365
test byte [esp + 8], 2
je 0x4ca365
call fcn.004c9abd
mov dword [eax], 0xd
call fcn.004c9ac6
mov dword [eax], 5
jmp 0x4ca33e
xor eax, eax
ret

Function at 0x4dcc3c
Capabilities:
Get graphical window text

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

Function at 0x4de43a
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 0x4de47c
call fcn.004e4964
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x4de47c
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x4de473
xor eax, eax
jmp 0x4de484
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.004de48a
pop edi
pop esi
pop ebx
ret 4

Function at 0x4e4e94
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 0x4e4ec2
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x4e4ee0
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.004e4dfa
jmp 0x4e4ee0
mov eax, dword [esi + 0x14]
test eax, eax
je 0x4e4ee0
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.004e4dfa
test edi, edi
mov eax, edi
jne 0x4e4eca
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8

Function at 0x43b65e
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x43b3c1
mov ebx, 0x74be6ff0
inc ebx
sub ebx, ebx
call fcn.0043b69b
inc ebx
mov ebx, esi
xor dword [ecx], eax
mov esi, esi
mov esi, esi
inc ecx
or esi, esi
or ebx, esi
dec ebx
cmp ecx, edi
jne fcn.0043b65e
add ebx, ebx
mov esi, 0x32110b30
or ebx, ebx
ret

Function at 0x401628
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push 0xfffffffffffffff5
call sub.KERNEL32.dll_GetStdHandle
mov dword [ebp - 4], eax
push dword [ebp + 8]
call fcn.00401690
mov dword [ebp - 0xc], eax
push 0
lea eax, [ebp - 8]
push eax
push dword [ebp - 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call sub.KERNEL32.dll_WriteFile
mov eax, dword [ebp - 8]
leave
ret 4
Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx

Function at 0x43b65a
Capabilities:
Encode data using xor

Disassembly:
mov ecx, 0x43b3c1
and edi, edi
call fcn.0043b68f
dec edi
and esi, esi
mov esi, 0xccb5e5e
xor dword [ebx], ecx
sub edi, 0x810e7a3
add ebx, 1
add esi, edi
cmp ebx, eax
jne fcn.0043b65a
add esi, esi
and esi, esi
ret

Function at 0x6797fc
Capabilities:
Encode data using xor

Disassembly:
lea esp, [esp + 0xc]
jae 0x5f79bb
pushal
lea esp, [esp + 0x20]
jmp 0x66cfd3
Function at 0x4013b0
Capabilities:
Delete file
Extract resource via kernel32 functions
Get common file path
Write file on windows

Disassembly:
push ebp
lea ebp, [esp - 0x3a0]
sub esp, 0x420
mov eax, dword [0x41a174]
xor eax, ebp
mov dword [ebp + 0x39c], eax
mov eax, dword [ebp + 0x3ac]
push ebx
push esi
mov dword [ebp - 0x78], eax
movzx eax, word [ebp + 0x3a8]
push str.APP_PACK
push eax
push dword [0x41b500]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov ebx, eax
xor esi, esi
cmp ebx, esi
je 0x40149a
push edi
lea eax, [ebp - 0x74]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea eax, [ebp + 0x194]
push eax
push esi
push 0x4152ac
lea eax, [ebp - 0x74]
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
push esi
push 0x80
push 2
push esi
push esi
push 0x40000000
lea eax, [ebp + 0x194]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
push ebx
push dword [0x41b500]
mov edi, eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push ebx
push dword [0x41b500]
mov dword [ebp - 0x7c], eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
push esi
lea ecx, [ebp - 0x80]
push ecx
push dword [ebp - 0x7c]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0x78]
lea eax, [ebp + 0x194]
push eax
call fcn.00401385
pop ecx
pop ecx
lea eax, [ebp + 0x194]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
pop edi
mov ecx, dword [ebp + 0x39c]
xor eax, eax
pop esi
xor ecx, ebp
inc eax
pop ebx
call fcn.004058e2
add ebp, 0x3a0
leave
ret
Function at 0x4014b4
Capabilities:
Delete directory
Delete file
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
lea ebp, [esp - 0x5ec]
sub esp, 0x66c
mov eax, dword [0x41a174]
xor eax, ebp
mov dword [ebp + 0x5e8], eax
push esi
mov esi, dword [ebp + 0x5f4]
push esi
mov dword [ebp - 0x80], esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
je 0x4015d8
push ebx
mov ebx, dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
push esi
call ebx
test eax, eax
je 0x4015d7
push edi
push esi
mov esi, dword [sym.imp.USER32.dll_wsprintfW]
lea eax, [ebp + 0x1d8]
push 0x4152d4
push eax
call esi
add esp, 0xc
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp + 0x1d8]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edi, dword [sym.imp.KERNEL32.dll_FindNextFileW]
lea ecx, [ebp - 0x78]
push ecx
mov dword [ebp - 0x7c], eax
push eax
jmp 0x4015b1
push 0x4152d0
lea eax, [ebp - 0x4c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x4015aa
push 0x4152c8
lea eax, [ebp - 0x4c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x4015aa
lea eax, [ebp - 0x4c]
push eax
push dword [ebp - 0x80]
lea eax, [ebp + 0x3e0]
push str._s_s
push eax
call esi
add esp, 0x10
lea eax, [ebp + 0x3e0]
push eax
call ebx
test eax, eax
je 0x40159d
cmp dword [ebp + 0x5fc], 0
je 0x40159d
push 1
lea eax, [ebp + 0x3e0]
push 1
push eax
call fcn.004014b4
add esp, 0xc
jmp 0x4015aa
lea eax, [ebp + 0x3e0]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea eax, [ebp - 0x78]
push eax
push dword [ebp - 0x7c]
call edi
test eax, eax
jne 0x401534
push dword [ebp - 0x7c]
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp dword [ebp + 0x5f8], 0
pop edi
je 0x4015d7
push dword [ebp - 0x80]
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
pop ebx
mov ecx, dword [ebp + 0x5e8]
xor ecx, ebp
pop esi
call fcn.004058e2
add ebp, 0x5ec
leave
ret
Function at 0x401dad
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push dword [ebp + 8]
lea eax, [ebp - 1]
push 1
push 1
push eax
call fcn.00406356
add esp, 0x10
cmp eax, 1
jne 0x401dd6
movzx eax, byte [ebp - 1]
mov ecx, dword [ebp + 0xc]
mov dword [ecx], eax
xor eax, eax
leave
ret
push dword [ebp + 8]
call fcn.0040608b
neg eax
pop ecx
sbb eax, eax
leave
ret

Function at 0x401e8d
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
and dword [ebp - 0xc], 0
push esi
push 2
push 0
push dword [ebp + 8]
mov esi, 0xffff
mov dword [ebp - 4], esi
call fcn.00406695
add esp, 0xc
test eax, eax
je 0x401eba
xor eax, eax
jmp 0x401f89
push dword [ebp + 8]
call fcn.004065a0
cmp eax, esi
pop ecx
mov dword [ebp - 0x10], eax
jae 0x401ecd
mov dword [ebp - 4], eax
push ebx
push edi
mov edi, 0x404
push edi
call fcn.00405362
mov ebx, eax
test ebx, ebx
pop ecx
je 0x401f87
push 4
pop eax
cmp dword [ebp - 4], eax
jbe 0x401f7d
jmp 0x401efb
mov eax, dword [ebp - 8]
mov edi, 0x404
mov ecx, dword [ebp - 4]
add eax, 0x400
cmp eax, ecx
mov dword [ebp - 8], ecx
ja 0x401f0d
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x10]
mov esi, eax
sub esi, dword [ebp - 8]
sub eax, esi
cmp eax, edi
ja 0x401f1d
mov edi, eax
push 0
push esi
push dword [ebp + 8]
call fcn.00406695
add esp, 0xc
test eax, eax
jne 0x401f7d
push dword [ebp + 8]
push 1
push edi
push ebx
call fcn.00406356
add esp, 0x10
cmp eax, 1
jne 0x401f7d
lea eax, [edi - 3]
jmp 0x401f64
dec eax
cmp byte [eax + ebx], 0x50
jne 0x401f64
cmp byte [eax + ebx + 1], 0x4b
jne 0x401f64
cmp byte [eax + ebx + 2], 5
jne 0x401f64
cmp byte [eax + ebx + 3], 6
je 0x401f6a
test eax, eax
jg 0x401f48
jmp 0x401f71
add eax, esi
mov dword [ebp - 0xc], eax
jne 0x401f7d
mov eax, dword [ebp - 4]
cmp dword [ebp - 8], eax
jb 0x401ef3
push ebx
call fcn.00405285
mov eax, dword [ebp - 0xc]
pop ecx
pop edi
pop ebx
pop esi
leave
ret
Function at 0x402517
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [ebp + 8]
push ebx
xor ebx, ebx
cmp eax, ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 4], ebx
jne 0x402534
push 0xffffffffffffff9a
pop eax
jmp 0x40268c
push esi
mov esi, dword [eax + 0x7c]
cmp esi, ebx
jne 0x402540
push 0xffffffffffffff9a
jmp 0x402546
cmp dword [esi], ebx
jne 0x40254c
push 0xffffffffffffff9c
pop eax
jmp 0x40268b
mov ecx, dword [ebp + 0x10]
cmp ecx, ebx
jne 0x40255a
xor eax, eax
jmp 0x40268b
mov eax, dword [ebp + 0xc]
mov dword [esi + 0x10], eax
mov eax, dword [esi + 0x5c]
cmp ecx, eax
mov dword [esi + 0x14], ecx
jbe 0x40256d
mov dword [esi + 0x14], eax
cmp dword [esi + 0x14], ebx
push edi
jbe 0x402679
cmp dword [esi + 8], ebx
jne 0x4025d8
mov eax, dword [esi + 0x58]
cmp eax, ebx
jbe 0x4025d8
mov edi, 0x4000
cmp eax, edi
jae 0x402596
mov edi, eax
cmp edi, ebx
je 0x40267e
mov eax, dword [esi + 0x68]
add eax, dword [esi + 0x3c]
push ebx
push eax
push dword [esi + 0x60]
call fcn.00406695
add esp, 0xc
test eax, eax
jne 0x402682
push dword [esi + 0x60]
push 1
push edi
push dword [esi]
call fcn.00406356
add esp, 0x10
cmp eax, 1
jne 0x402682
mov eax, dword [esi]
add dword [esi + 0x3c], edi
sub dword [esi + 0x58], edi
mov dword [esi + 4], eax
mov dword [esi + 8], edi
cmp dword [esi + 0x64], ebx
jne 0x402629
mov eax, dword [esi + 0x14]
mov edi, dword [esi + 8]
cmp eax, edi
jae 0x4025e9
mov edi, eax
xor eax, eax
cmp edi, ebx
jbe 0x402600
mov ecx, dword [esi + 4]
mov cl, byte [eax + ecx]
mov edx, dword [esi + 0x10]
mov byte [eax + edx], cl
inc eax
cmp eax, edi
jb 0x4025ef
push edi
push dword [esi + 0x10]
push dword [esi + 0x50]
call fcn.00402f10
sub dword [esi + 0x5c], edi
sub dword [esi + 8], edi
sub dword [esi + 0x14], edi
add dword [esi + 0x10], edi
add dword [esi + 4], edi
add dword [esi + 0x18], edi
add esp, 0xc
add dword [ebp - 4], edi
mov dword [esi + 0x50], eax
jmp 0x40266b
mov eax, dword [esi + 0x10]
mov ebx, dword [esi + 0x18]
mov dword [ebp + 8], eax
lea eax, [esi + 4]
push 2
push eax
call fcn.00402b10
mov edi, dword [esi + 0x18]
sub edi, ebx
push edi
push dword [ebp + 8]
mov dword [ebp - 8], eax
push dword [esi + 0x50]
call fcn.00402f10
sub dword [esi + 0x5c], edi
add dword [ebp - 4], edi
add esp, 0x14
cmp dword [ebp - 8], 1
mov dword [esi + 0x50], eax
je 0x402679
cmp dword [ebp - 8], 0
jne 0x402687
xor ebx, ebx
cmp dword [esi + 0x14], ebx
ja 0x402577
cmp dword [ebp - 8], ebx
jne 0x402687
mov eax, dword [ebp - 4]
jmp 0x40268a
xor eax, eax
jmp 0x40268a
or eax, 0xffffffff
jmp 0x40268a
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x402f10
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov ecx, dword [esp + 8]
test ecx, ecx
jne 0x402f1b
xor eax, eax
ret
push ebp
push esi
mov esi, dword [esp + 0xc]
push edi
mov edi, dword [esp + 0x18]
cmp edi, 8
not esi
jb 0x403013
mov ebp, edi
shr ebp, 3
xor edx, edx
mov dl, byte [ecx]
mov eax, esi
shr eax, 8
sub edi, 8
xor edx, esi
and edx, 0xff
mov esi, dword [edx*4 + 0x415680]
xor edx, edx
mov dl, byte [ecx + 1]
xor eax, esi
inc ecx
xor edx, eax
and edx, 0xff
mov esi, dword [edx*4 + 0x415680]
xor edx, edx
mov dl, byte [ecx + 1]
shr eax, 8
xor eax, esi
inc ecx
xor edx, eax
and edx, 0xff
mov esi, dword [edx*4 + 0x415680]
xor edx, edx
mov dl, byte [ecx + 1]
shr eax, 8
xor eax, esi
inc ecx
xor edx, eax
and edx, 0xff
mov esi, dword [edx*4 + 0x415680]
xor edx, edx
mov dl, byte [ecx + 1]
shr eax, 8
xor eax, esi
inc ecx
xor edx, eax
and edx, 0xff
mov esi, dword [edx*4 + 0x415680]
shr eax, 8
xor eax, esi
xor edx, edx
mov dl, byte [ecx + 1]
inc ecx
xor edx, eax
and edx, 0xff
mov esi, dword [edx*4 + 0x415680]
shr eax, 8
xor eax, esi
xor edx, edx
mov dl, byte [ecx + 1]
inc ecx
xor edx, eax
and edx, 0xff
mov esi, dword [edx*4 + 0x415680]
shr eax, 8
xor eax, esi
xor edx, edx
mov dl, byte [ecx + 1]
inc ecx
xor edx, eax
and edx, 0xff
mov esi, dword [edx*4 + 0x415680]
shr eax, 8
xor eax, esi
inc ecx
dec ebp
mov esi, eax
jne 0x402f36
test edi, edi
je 0x403032
xor eax, eax
mov al, byte [ecx]
xor eax, esi
and eax, 0xff
mov ebp, dword [eax*4 + 0x415680]
shr esi, 8
xor esi, ebp
inc ecx
dec edi
jne 0x403017
pop edi
mov eax, esi
pop esi
not eax
pop ebp
ret
Function at 0x4058e2
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x41a174]
jne 0x4058ec
repz ret
jmp fcn.00409e61