joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4115e0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x531dce
mov eax, dword fs:[0]
push eax
sub esp, 0x220
push esi
push edi
push ecx
lea edi, [ebp - 0x22c]
mov ecx, 0x88
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
pop ecx
mov eax, dword [0x56eab8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x14], ecx
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x228], eax
cmp dword [ebp - 0x228], 0x9c45
je 0x41165e
cmp dword [ebp - 0x228], 0x9c46
je 0x411704
cmp dword [ebp - 0x228], 0x9c47
je 0x411727
jmp 0x41178e
push 0x204
call fcn.004adb10
add esp, 4
mov dword [ebp - 0x224], eax
mov dword [ebp - 4], 0
cmp dword [ebp - 0x224], 0
je 0x411694
mov ecx, dword [ebp - 0x224]
call fcn.004010ff
mov dword [ebp - 0x22c], eax
jmp 0x41169e
mov dword [ebp - 0x22c], 0
mov ecx, dword [ebp - 0x22c]
mov dword [ebp - 0x220], ecx
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x220]
mov dword [ebp - 0x18], edx
cmp dword [ebp - 0x18], 0
jne 0x4116d1
push 1
mov ecx, dword [ebp - 0x14]
call fcn.00452940
xor eax, eax
jmp 0x411790
push 0
push 0x12c
push 0x190
push 0
push 0
push 8
push 0x96c80000
push 0x53d08c
push 0
mov ecx, dword [ebp - 0x18]
call fcn.004523d0
mov ecx, dword [ebp - 0x18]
call fcn.004529d0
jmp 0x41178e
mov esi, esp
push 5
push 0
push 0
push str.http:__www.whjyz.org_archives_2501.html
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
cmp esi, esp
call fcn.004ad900
jmp 0x41178e
mov dword [ebp - 0x218], 0
push 0x1f8
push 0
lea eax, [ebp - 0x214]
push eax
call fcn.004b1690
add esp, 0xc
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 4]
mov dword [ebp - 0x214], edx
mov dword [ebp - 0x210], 0x67
mov esi, esp
lea eax, [ebp - 0x218]
push eax
push 2
call dword [sym.imp.SHELL32.dll_Shell_NotifyIconA]
cmp esi, esp
call fcn.004ad900
mov ecx, dword [ebp - 0x14]
call fcn.004010f0
mov esi, esp
push 0
call dword [sym.imp.USER32.dll_PostQuitMessage]
cmp esi, esp
call fcn.004ad900
xor eax, eax
push edx
mov ecx, ebp
push eax
lea edx, [0x4117cc]
call fcn.004ad930
pop eax
pop edx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004ad8f0
add esp, 0x22c
cmp ebp, esp
call fcn.004ad900
mov esp, ebp
pop ebp
ret 0x10
Function at 0x436860
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x102c
call fcn.004b5840
push esi
push edi
push ecx
lea edi, [ebp - 0x102c]
mov ecx, 0x40b
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
pop ecx
mov eax, dword [0x56eab8]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 8], ecx
lea eax, [ebp - 0x1018]
push eax
push 0x1000
lea ecx, [ebp - 0x100c]
push ecx
call sub.PSAPI.DLL_EnumProcesses
test eax, eax
jne 0x4368b1
jmp 0x436a39
mov edx, dword [ebp - 0x1018]
shr edx, 2
mov dword [ebp - 0x1020], edx
mov dword [0x570ea0], 0
mov dword [ebp - 0x1024], 0
jmp 0x4368e5
mov eax, dword [ebp - 0x1024]
add eax, 1
mov dword [ebp - 0x1024], eax
mov ecx, dword [ebp - 0x1024]
cmp ecx, dword [ebp - 0x1020]
jae 0x43691b
mov edx, dword [ebp - 0x1024]
cmp dword [ebp + edx*4 - 0x100c], 0
je 0x436919
mov eax, dword [ebp - 0x1024]
mov ecx, dword [ebp + eax*4 - 0x100c]
push ecx
mov ecx, dword [ebp - 8]
call fcn.004013f7
jmp 0x4368d6
mov edx, dword [0x570ea0]
mov dword [ebp - 0x1028], edx
jmp 0x436938
mov eax, dword [ebp - 0x1028]
add eax, 1
mov dword [ebp - 0x1028], eax
cmp dword [ebp - 0x1028], 3
jge 0x43697e
mov esi, esp
push 0
mov ecx, dword [ebp - 0x1028]
mov edx, dword [0x570a0c]
mov eax, dword [edx + ecx*4 + 0x4e8]
mov ecx, dword [ebp - 0x1028]
mov edx, dword [0x570a0c]
mov ecx, dword [edx + ecx*4 + 0x4e8]
mov eax, dword [eax]
mov edx, dword [eax + 0xc4]
call edx
cmp esi, esp
call fcn.004ad900
jmp 0x436929
mov dword [ebp - 0x102c], 0
jmp 0x436999
mov eax, dword [ebp - 0x102c]
add eax, 1
mov dword [ebp - 0x102c], eax
mov ecx, dword [ebp - 0x102c]
cmp ecx, dword [0x570ea0]
jge 0x436a39
mov esi, esp
push 1
mov edx, dword [ebp - 0x102c]
mov eax, dword [0x570a0c]
mov ecx, dword [eax + edx*4 + 0x4e8]
mov edx, dword [ebp - 0x102c]
mov eax, dword [0x570a0c]
mov edx, dword [eax + edx*4 + 0x4e8]
mov eax, dword [ecx]
mov ecx, edx
mov edx, dword [eax + 0xc4]
call edx
cmp esi, esp
call fcn.004ad900
mov ecx, dword [ebp - 0x102c]
imul ecx, ecx, 0x230
add ecx, 0x5727f4
call fcn.004011b3
mov esi, esp
push eax
mov eax, dword [ebp - 0x102c]
mov ecx, dword [0x570a0c]
mov edx, dword [ecx + eax*4 + 0x4e8]
mov eax, dword [ebp - 0x102c]
mov ecx, dword [0x570a0c]
mov ecx, dword [ecx + eax*4 + 0x4e8]
mov edx, dword [edx]
mov eax, dword [edx + 0x2c]
call eax
cmp esi, esp
call fcn.004ad900
jmp 0x43698a
push edx
mov ecx, ebp
push eax
lea edx, [0x436a68]
call fcn.004ad930
pop eax
pop edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004ad8f0
add esp, 0x102c
cmp ebp, esp
call fcn.004ad900
mov esp, ebp
pop ebp
ret
Function at 0x444a60
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov dword [eax + 0x14], 0
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x10], 0
mov edx, dword [ebp + 8]
mov dword [edx], 0x67452301
mov eax, dword [ebp + 8]
mov dword [eax + 4], 0xefcdab89
mov ecx, dword [ebp + 8]
mov dword [ecx + 8], 0x98badcfe
mov edx, dword [ebp + 8]
mov dword [edx + 0xc], 0x10325476
pop ebp
ret
Function at 0x447fb0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov dword [ebp - 4], 0xcccccccc
mov dword [ebp - 4], 0
mov esi, esp
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
cmp esi, esp
call fcn.004ad900
cwde
test eax, eax
jge 0x447fe2
mov ecx, dword [ebp - 4]
or ecx, 8
mov dword [ebp - 4], ecx
mov esi, esp
push 2
call dword [sym.imp.USER32.dll_GetKeyState]
cmp esi, esp
call fcn.004ad900
movsx edx, ax
test edx, edx
jge 0x448003
mov eax, dword [ebp - 4]
or eax, 1
mov dword [ebp - 4], eax
mov esi, esp
push 1
call dword [sym.imp.USER32.dll_GetKeyState]
cmp esi, esp
call fcn.004ad900
movsx ecx, ax
test ecx, ecx
jge 0x448024
mov edx, dword [ebp - 4]
or edx, 2
mov dword [ebp - 4], edx
mov esi, esp
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
cmp esi, esp
call fcn.004ad900
cwde
test eax, eax
jge 0x448043
mov ecx, dword [ebp - 4]
or ecx, 4
mov dword [ebp - 4], ecx
mov esi, esp
push 0x12
call dword [sym.imp.USER32.dll_GetKeyState]
cmp esi, esp
call fcn.004ad900
movsx edx, ax
test edx, edx
jge 0x448064
mov eax, dword [ebp - 4]
or eax, 0x20
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
pop esi
add esp, 4
cmp ebp, esp
call fcn.004ad900
mov esp, ebp
pop ebp
ret
Function at 0x44f020
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x13c
push esi
push edi
lea edi, [ebp - 0x13c]
mov ecx, 0x4f
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov eax, dword [0x56eab8]
xor eax, ebp
mov dword [ebp - 4], eax
mov byte [ebp - 0x134], 0
push 0x12b
push 0
lea eax, [ebp - 0x133]
push eax
call fcn.004b1690
add esp, 0xc
lea ecx, [ebp + 0xc]
mov dword [ebp - 0x13c], ecx
mov esi, esp
mov edx, dword [ebp - 0x13c]
push edx
mov eax, dword [ebp + 8]
push eax
push 0x12a
lea ecx, [ebp - 0x134]
push ecx
call dword [sym.imp.SHLWAPI.dll_wvnsprintfA]
cmp esi, esp
call fcn.004ad900
push 0x542898
lea edx, [ebp - 0x134]
push edx
call fcn.004b2710
add esp, 8
mov dword [ebp - 0x13c], 0
mov esi, esp
lea eax, [ebp - 0x134]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
cmp esi, esp
call fcn.004ad900
push edx
mov ecx, ebp
push eax
lea edx, [0x44f0f8]
call fcn.004ad930
pop eax
pop edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004ad8f0
add esp, 0x13c
cmp ebp, esp
call fcn.004ad900
mov esp, ebp
pop ebp
ret
Function at 0x461a40
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push esi
mov eax, 0xcccccccc
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
mov dword [ebp - 4], eax
mov eax, dword [0x56eab8]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 8], ecx
mov dword [ebp - 0x18], 0
mov eax, dword [ebp - 8]
movzx ecx, byte [eax + 0x18]
test ecx, ecx
jne 0x461a8d
xor eax, eax
jmp 0x461b81
mov edx, dword [ebp - 8]
cmp dword [edx + 0x10], 0
jne 0x461a9d
xor eax, eax
jmp 0x461b81
mov esi, esp
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
cmp esi, esp
call fcn.004ad900
add eax, 1
mov dword [ebp - 0xc], eax
mov edx, dword [ebp - 0xc]
add edx, 0x24
mov dword [ebp - 0x20], edx
mov eax, dword [ebp - 0x20]
call fcn.004b2bb0
mov dword [ebp - 0x24], esp
lea eax, [ebp - 0x18]
push eax
mov edx, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x24]
call fcn.004ad9a0
add dword [ebp - 0x24], 0x20
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 0x10], ecx
cmp dword [ebp - 0x10], 0
jne 0x461b0d
push 0x5445a0
push 0
push 0x56d
push 0x5445ac
push 2
call fcn.004b1fa0
add esp, 0x14
cmp eax, 1
jne 0x461b0d
int3
cmp dword [ebp - 0x10], 0
jne 0x461b17
xor eax, eax
jmp 0x461b81
mov esi, esp
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp - 8]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.USER32.dll_GetWindowTextA]
cmp esi, esp
call fcn.004ad900
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp - 8]
mov ecx, dword [edx + 0x10]
add ecx, 0xf4
call fcn.00450990
push 0
push 0
push 0
push str.textchanged
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x10]
push ecx
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x10]
mov ecx, dword [ebp - 8]
mov ecx, dword [ecx + 0x10]
mov edx, dword [eax]
mov esi, esp
mov eax, dword [edx + 0x1c]
call eax
cmp esi, esp
call fcn.004ad900
mov ecx, eax
call fcn.0044c3b0
xor eax, eax
push edx
mov ecx, ebp
push eax
lea edx, [0x461bac]
push dword [ebp - 0x18]
call fcn.004ad9e0
pop eax
pop edx
lea esp, [ebp - 0x28]
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004ad8f0
mov esp, ebp
pop ebp
ret 0x10
Function at 0x467400
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
mov dword [ebp - 0xc], 0xcccccccc
mov dword [ebp - 8], 0xcccccccc
mov dword [ebp - 4], 0xcccccccc
mov dword [ebp - 4], ecx
mov eax, dword [ebp + 8]
shr eax, 0x10
and eax, 0xffff
movzx ecx, ax
test ecx, ecx
je 0x467479
mov edx, dword [ebp + 8]
movsx eax, byte [edx]
cmp eax, 0x3c
jne 0x467458
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp - 4]
call fcn.0046a540
movzx edx, al
test edx, edx
jne 0x467456
xor eax, eax
jmp 0x467564
jmp 0x467474
push 0
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 4]
call fcn.0046a8f0
movzx ecx, al
test ecx, ecx
jne 0x467474
xor eax, eax
jmp 0x467564
jmp 0x467550
mov esi, esp
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.00447060
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp esi, esp
call fcn.004ad900
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x4674a6
xor eax, eax
jmp 0x467564
mov esi, esp
mov ecx, dword [ebp - 8]
push ecx
call fcn.00447060
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp esi, esp
call fcn.004ad900
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x4674e2
mov esi, esp
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_FreeResource]
cmp esi, esp
call fcn.004ad900
xor eax, eax
jmp 0x467564
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 0x10]
mov dword [eax + 0xa8], ecx
push 0
mov esi, esp
mov edx, dword [ebp - 8]
push edx
call fcn.00447060
push eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
cmp esi, esp
call fcn.004ad900
push eax
mov esi, esp
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
cmp esi, esp
call fcn.004ad900
push eax
mov ecx, dword [ebp - 4]
call fcn.0046a5d0
movzx ecx, al
test ecx, ecx
jne 0x467531
xor eax, eax
jmp 0x467564
mov esi, esp
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_FreeResource]
cmp esi, esp
call fcn.004ad900
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 0xc]
mov dword [eax + 0xac], ecx
mov edx, dword [ebp + 0x18]
push edx
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov ecx, dword [ebp - 4]
call fcn.00467580
pop esi
add esp, 0xc
cmp ebp, esp
call fcn.004ad900
mov esp, ebp
pop ebp
ret 0x14
Function at 0x482eb0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
mov dword [ebp - 8], 0xcccccccc
mov dword [ebp - 4], 0xcccccccc
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
cmp dword [eax + 0x274], 0
je 0x482f7e
cmp dword [ebp + 8], 0x100
jne 0x482f45
movsx ecx, byte [ebp + 0xc]
cmp ecx, 0xd
jne 0x482f45
mov edx, dword [ebp - 4]
movzx eax, byte [edx + 0x27a]
test eax, eax
je 0x482f1e
mov esi, esp
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
cmp esi, esp
call fcn.004ad900
movsx ecx, ax
test ecx, ecx
jge 0x482f45
mov edx, dword [ebp - 4]
movzx eax, byte [edx + 0x27b]
test eax, eax
jne 0x482f45
mov ecx, dword [ebp - 4]
cmp dword [ecx + 0x40], 0
je 0x482f41
push 0
push 0
push 0
push str.return
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x40]
call fcn.0044c3b0
xor eax, eax
jmp 0x482f83
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx + 0x274]
call fcn.00485480
mov dword [ebp - 8], eax
mov esi, esp
mov edx, dword [ebp + 0x14]
push edx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 8]
mov edx, dword [eax]
mov ecx, dword [ebp - 8]
mov eax, dword [edx + 0xc]
call eax
cmp esi, esp
call fcn.004ad900
jmp 0x482f83
mov eax, 1
pop esi
add esp, 8
cmp ebp, esp
call fcn.004ad900
mov esp, ebp
pop ebp
ret 0x10
Function at 0x48d050
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0xc], 0
jne 0x48d060
xor eax, eax
jmp 0x48d1fd
mov eax, dword [ebp + 8]
xor eax, 0xffffffff
mov dword [ebp + 8], eax
cmp dword [ebp + 0x10], 8
jb 0x48d1be
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx]
xor edx, dword [ebp + 8]
and edx, 0xff
mov eax, dword [ebp + 8]
shr eax, 8
xor eax, dword [edx*4 + 0x54a040]
mov dword [ebp + 8], eax
mov ecx, dword [ebp + 0xc]
add ecx, 1
mov dword [ebp + 0xc], ecx
mov edx, dword [ebp + 0xc]
movzx eax, byte [edx]
xor eax, dword [ebp + 8]
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
xor ecx, dword [eax*4 + 0x54a040]
mov dword [ebp + 8], ecx
mov edx, dword [ebp + 0xc]
add edx, 1
mov dword [ebp + 0xc], edx
mov eax, dword [ebp + 0xc]
movzx ecx, byte [eax]
xor ecx, dword [ebp + 8]
and ecx, 0xff
mov edx, dword [ebp + 8]
shr edx, 8
xor edx, dword [ecx*4 + 0x54a040]
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx]
xor edx, dword [ebp + 8]
and edx, 0xff
mov eax, dword [ebp + 8]
shr eax, 8
xor eax, dword [edx*4 + 0x54a040]
mov dword [ebp + 8], eax
mov ecx, dword [ebp + 0xc]
add ecx, 1
mov dword [ebp + 0xc], ecx
mov edx, dword [ebp + 0xc]
movzx eax, byte [edx]
xor eax, dword [ebp + 8]
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
xor ecx, dword [eax*4 + 0x54a040]
mov dword [ebp + 8], ecx
mov edx, dword [ebp + 0xc]
add edx, 1
mov dword [ebp + 0xc], edx
mov eax, dword [ebp + 0xc]
movzx ecx, byte [eax]
xor ecx, dword [ebp + 8]
and ecx, 0xff
mov edx, dword [ebp + 8]
shr edx, 8
xor edx, dword [ecx*4 + 0x54a040]
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx]
xor edx, dword [ebp + 8]
and edx, 0xff
mov eax, dword [ebp + 8]
shr eax, 8
xor eax, dword [edx*4 + 0x54a040]
mov dword [ebp + 8], eax
mov ecx, dword [ebp + 0xc]
add ecx, 1
mov dword [ebp + 0xc], ecx
mov edx, dword [ebp + 0xc]
movzx eax, byte [edx]
xor eax, dword [ebp + 8]
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
xor ecx, dword [eax*4 + 0x54a040]
mov dword [ebp + 8], ecx
mov edx, dword [ebp + 0xc]
add edx, 1
mov dword [ebp + 0xc], edx
mov eax, dword [ebp + 0x10]
sub eax, 8
mov dword [ebp + 0x10], eax
jmp 0x48d069
cmp dword [ebp + 0x10], 0
je 0x48d1f7
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx]
xor edx, dword [ebp + 8]
and edx, 0xff
mov eax, dword [ebp + 8]
shr eax, 8
xor eax, dword [edx*4 + 0x54a040]
mov dword [ebp + 8], eax
mov ecx, dword [ebp + 0xc]
add ecx, 1
mov dword [ebp + 0xc], ecx
mov edx, dword [ebp + 0x10]
sub edx, 1
mov dword [ebp + 0x10], edx
jne 0x48d1c4
mov eax, dword [ebp + 8]
xor eax, 0xffffffff
pop ebp
ret
Function at 0x48e2a0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push esi
mov eax, 0xcccccccc
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
imul eax, dword [ebp + 0x10]
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 0x14]
movzx edx, byte [ecx]
test edx, edx
je 0x48e310
mov esi, esp
push 0
lea eax, [ebp - 0xc]
push eax
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp esi, esp
call fcn.004ad900
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x48e306
mov edx, dword [ebp + 0x14]
mov byte [edx + 8], 1
mov eax, dword [ebp - 0xc]
xor edx, edx
div dword [ebp + 0xc]
jmp 0x48e36a
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax + 0x18]
add ecx, dword [ebp - 4]
mov edx, dword [ebp + 0x14]
cmp ecx, dword [edx + 0x14]
jbe 0x48e330
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x14]
mov edx, dword [eax + 0x14]
sub edx, dword [ecx + 0x18]
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp + 0x14]
mov edx, dword [ecx + 0x10]
mov eax, dword [ebp + 0x14]
add edx, dword [eax + 0x18]
push edx
mov ecx, dword [ebp + 8]
push ecx
call fcn.004b1320
add esp, 0xc
mov edx, dword [ebp - 4]
mov dword [ebp - 0x18], edx
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax + 0x18]
add ecx, dword [ebp - 0x18]
mov edx, dword [ebp + 0x14]
mov dword [edx + 0x18], ecx
mov eax, dword [ebp - 0x18]
xor edx, edx
div dword [ebp + 0xc]
push edx
mov ecx, ebp
push eax
lea edx, [0x48e38c]
call fcn.004ad930
pop eax
pop edx
pop esi
add esp, 0x18
cmp ebp, esp
call fcn.004ad900
mov esp, ebp
pop ebp
ret
Function at 0x490210
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push esi
mov eax, 0xcccccccc
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
mov dword [ebp - 4], eax
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
cmp dword [eax], 0
jne 0x490242
mov ecx, dword [ebp - 4]
cmp dword [ecx + 4], 0xffffffff
je 0x49024c
mov eax, 0x1000000
jmp 0x4902e5
mov edx, dword [ebp - 4]
add edx, 0x138
mov esi, esp
push edx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
cmp esi, esp
call fcn.004ad900
push 0x54a4cc
mov eax, dword [ebp - 4]
add eax, 0x138
push eax
call fcn.004b2710
add esp, 8
cmp dword [ebp + 0x10], 1
jne 0x4902a9
mov esi, esp
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileType]
cmp esi, esp
call fcn.004ad900
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 1
je 0x4902a9
mov eax, 0x2000000
jmp 0x4902e5
lea edx, [ebp - 0x10]
push edx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.0048de80
add esp, 0x10
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x4902cf
mov eax, dword [ebp - 0x10]
jmp 0x4902e5
mov eax, dword [ebp - 0x18]
push eax
call fcn.0048e8c0
add esp, 4
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
mov eax, dword [0x573480]
push edx
mov ecx, ebp
push eax
lea edx, [0x490308]
call fcn.004ad930
pop eax
pop edx
pop esi
add esp, 0x18
cmp ebp, esp
call fcn.004ad900
mov esp, ebp
pop ebp
ret 0xc
Function at 0x490c00
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x228
push esi
push edi
lea edi, [ebp - 0x228]
mov ecx, 0x8a
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov eax, dword [0x56eab8]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 0xc], 0
je 0x490c37
mov eax, dword [ebp + 0xc]
movsx ecx, byte [eax]
test ecx, ecx
jne 0x490c3c
jmp 0x490d09
mov edx, dword [ebp + 0xc]
mov dword [ebp - 8], edx
mov eax, dword [ebp - 8]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
movsx edx, byte [ecx]
test edx, edx
je 0x490c79
mov eax, dword [ebp - 0xc]
movsx ecx, byte [eax]
cmp ecx, 0x2f
je 0x490c68
mov edx, dword [ebp - 0xc]
movsx eax, byte [edx]
cmp eax, 0x5c
jne 0x490c6e
mov ecx, dword [ebp - 0xc]
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 0xc]
add edx, 1
mov dword [ebp - 0xc], edx
jmp 0x490c48
mov eax, dword [ebp - 8]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 8]
cmp ecx, dword [ebp + 0xc]
je 0x490ccb
mov edx, dword [ebp - 8]
sub edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0x118]
push ecx
call fcn.004537b0
add esp, 0xc
mov edx, dword [ebp - 8]
sub edx, dword [ebp + 0xc]
mov byte [ebp + edx - 0x118], 0
lea eax, [ebp - 0x118]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.00490c00
add esp, 8
mov edx, dword [ebp - 0x10]
add edx, 1
mov dword [ebp - 0x10], edx
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x224]
push ecx
call fcn.004b2700
add esp, 8
mov edx, dword [ebp + 0xc]
push edx
lea eax, [ebp - 0x224]
push eax
call fcn.004b2710
add esp, 8
mov esi, esp
push 0
lea ecx, [ebp - 0x224]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
cmp esi, esp
call fcn.004ad900
push edx
mov ecx, ebp
push eax
lea edx, [0x490d38]
call fcn.004ad930
pop eax
pop edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004ad8f0
add esp, 0x228
cmp ebp, esp
call fcn.004ad900
mov esp, ebp
pop ebp
ret
Function at 0x4ad8f0
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x56eab8]
jne 0x4ad8fa
repz ret
jmp fcn.004c0de0