joyce8/EMBER2024-capa huggingface dataset:
Function at 0x46a7d0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, dword [esp + 8]
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [0x51b384], eax
je 0x46a7ec
mov eax, 0x10dd
pop ebp
ret 8
mov eax, dword [0x51b388]
test eax, eax
jne 0x46a8db
test ebp, ebp
jne 0x46a804
lea eax, [ebp + 6]
pop ebp
ret 8
cmp dword [ebp], 0
jne 0x46a81e
mov eax, 6
mov dword [0x51b38c], ebp
mov dword [0x51b388], eax
pop ebp
ret 8
push ebx
push esi
push edi
push 0x18
call fcn.004c99ad
mov ebx, eax
add esp, 4
test ebx, ebx
jne 0x46a839
lea esi, [eax + 8]
jmp 0x46a8bd
mov esi, dword [esp + 0x18]
mov edi, dword [ebp]
call fcn.0046a060
movzx ecx, byte [edi + 0x17]
mov esi, dword [edi + 0x18]
sub esi, ecx
test ecx, ecx
je 0x46a8af
cmp ecx, 0x17
ja 0x46a8af
cmp dword [edi + 0x1c], eax
jne 0x46a8af
lea eax, [esp + 0x14]
push eax
push 0x40
push ecx
push esi
mov dword [esp + 0x24], 0
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x46a881
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x46a8bd
mov edx, dword [0x51b394]
mov dword [ebx + 0x10], edi
mov dword [ebx + 8], ebp
mov dword [ebx + 0xc], esi
pop edi
mov dword [ebx + 4], 1
mov ecx, dword [esp + 0x10]
pop esi
mov dword [ebx + 0x14], ecx
mov dword [ebx], edx
mov dword [0x51b394], ebx
pop ebx
xor eax, eax
pop ebp
ret 8
cmp dword [0x51b380], 0
mov esi, 9
jne 0x46a8c3
mov dword [0x51b388], esi
test ebx, ebx
je 0x46a8d0
push ebx
call fcn.004c9610
add esp, 4
pop edi
mov eax, esi
pop esi
mov dword [0x51b38c], ebp
pop ebx
pop ebp
ret 8
Function at 0x46da80
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x4e8730
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x512054]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov eax, dword [esp + 0x20]
cmp dword [eax + 0x1e4], 0
jne 0x46dac6
mov eax, dword [eax + 0x74]
push 0
push 0x2b0c
push 0x111
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
mov edx, dword [0x5195ac]
mov eax, dword [edx + 0xc]
mov ecx, 0x5195ac
call eax
add eax, 0x10
mov dword [esp + 0x20], eax
mov dword [esp + 0x18], 0
call fcn.00412cf0
lea esi, [esp + 0xc]
call fcn.00413010
mov esi, eax
mov byte [esp + 0x18], 1
call fcn.00412cf0
mov ecx, dword [esi]
mov eax, dword [eax + 4]
push ecx
push eax
push str.http:__static.apc.360.cn_feedback_index.html_appid_dname_s
lea edi, [esp + 0x2c]
call fcn.00406e20
mov byte [esp + 0x24], 0
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
add esp, 0xc
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x46db3c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, dword [esp + 0x20]
push 5
push 0
push 0
push esi
push 0x4f6260
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea eax, [esi - 0x10]
mov dword [esp + 0x18], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x46db78
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret 4
Function at 0x46e3d0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4eb25c
mov eax, dword fs:[0]
push eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x512054]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, dword [esp + 0x24]
push esi
call fcn.004342f0
lea edi, [esi + 0x1e4]
xor ebx, ebx
mov eax, edi
mov dword [esp + 0x1c], ebx
call fcn.00437fa0
mov dword [edi], vtable.CSMExternalDispatch_0__class_CSMPollDialog_.0
mov dword [esi], vtable.CSMPollDialog.0
mov dword [esi + 0x2c], vtable.CSMPollDialog.1.0
mov dword [esi + 0x30], vtable.CSMPollDialog.2.0
mov dword [edi], vtable.CSMPollDialog.3.0
mov dword [esi + 0x214], ebx
call fcn.0043dcd0
mov eax, dword [sym.imp.USER32.dll_DefWindowProcW]
mov dword [esi + 0x224], ebx
mov dword [esi + 0x228], ebx
mov dword [esi + 0x22c], ebx
mov dword [esi + 0x230], eax
mov dword [esi + fcn.0043e290], vtable.CSomHtmlWnd.1.0
mov dword [esi + method.CSomHtmlWnd.virtual_0], vtable.CSomHtmlWnd.0
mov dword [esi + 0x238], ebx
mov dword [esi + 0x23c], ebx
mov dword [esi + 0x240], ebx
lea ebp, [esi + 0x244]
push ebp
mov byte [esp + 0x20], 1
call fcn.004344f0
mov byte [esp + 0x1c], 2
mov edx, dword [0x5195ac]
mov eax, dword [edx + 0xc]
mov ecx, 0x5195ac
lea edi, [esi + 0x298]
call eax
add eax, 0x10
mov dword [edi], eax
mov byte [esp + 0x1c], 3
mov edx, dword [esp + 0x28]
cmp edx, ebx
je 0x46e4d9
mov eax, edx
lea ecx, [eax + 2]
mov dword [esp + 0x28], ecx
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x46e4c6
sub eax, dword [esp + 0x28]
sar eax, 1
mov ebx, eax
push edx
mov eax, edi
call fcn.00406af0
mov edx, dword [0x5195ac]
mov eax, dword [edx + 0xc]
mov ecx, 0x5195ac
call eax
add eax, 0x10
mov dword [esp + 0x28], eax
mov ecx, dword [esp + 0x2c]
push ecx
push 0x4fc218
lea edi, [esp + 0x30]
mov byte [esp + 0x24], 4
call fcn.00406e20
mov edi, dword [esp + 0x30]
add esp, 8
push edi
push ebp
call fcn.00436110
lea eax, [edi - 0x10]
mov byte [esp + 0x1c], 3
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x46e53f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 0xc
Function at 0x470110
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x4e605c
mov eax, dword fs:[0]
push eax
sub esp, 0x224
mov eax, dword [0x512054]
xor eax, esp
mov dword [esp + 0x220], eax
push esi
push edi
mov eax, dword [0x512054]
xor eax, esp
push eax
lea eax, [esp + 0x230]
mov dword fs:[0], eax
push 0x206
xor esi, esi
lea ecx, [esp + 0x2a]
xor eax, eax
push esi
push ecx
mov word [esp + 0x30], ax
call fcn.004cc620
add esp, 0xc
lea edx, [esp + 0x1c]
push edx
push 0x20019
push esi
push str.SOFTWAREMicrosoftWindowsCurrentVersionApp_Paths360Desktop.exe
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, esi
jne 0x4701bb
lea eax, [esp + 0x10]
push eax
mov eax, dword [esp + 0x20]
lea ecx, [esp + 0x28]
push ecx
lea edx, [esp + 0x20]
push edx
push esi
push 0x4f05c4
push eax
mov dword [esp + 0x30], esi
mov dword [esp + 0x28], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ecx, dword [esp + 0x1c]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea edx, [esp + 0x14]
push edx
lea ecx, [esp + 0x28]
call fcn.00406bd0
mov dword [esp + 0x238], esi
mov eax, dword [esp + 0x14]
mov eax, dword [eax - 0xc]
cmp eax, esi
jne 0x4702a3
lea ecx, [esp + 0x10]
push ecx
mov ecx, str.DtMgr360Desktop.exe
call fcn.00406bd0
lea esi, [esp + 0x20]
mov byte [esp + 0x238], 1
call fcn.00470310
lea edx, [esp + 0x10]
push edx
mov edx, eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x23c], 2
call fcn.00419be0
add esp, 4
lea edi, [esp + 0x14]
mov byte [esp + 0x238], 3
call fcn.00405e00
mov byte [esp + 0x238], 2
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x470253
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x238], 1
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x47027b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x238], 0
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4702a3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x14]
push ecx
call fcn.00470b50
mov dword [0x51b3a4], eax
mov dword [esp + 0x23c], 0xffffffff
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
add esp, 4
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4702e0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x230]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x220]
xor ecx, esp
call fcn.004c961b
add esp, 0x230
ret
Function at 0x470310
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x4e53e2
mov eax, dword fs:[0]
push eax
sub esp, 0x220
mov eax, dword [0x512054]
xor eax, esp
mov dword [esp + 0x21c], eax
push ebx
push edi
mov eax, dword [0x512054]
xor eax, esp
push eax
lea eax, [esp + 0x22c]
mov dword fs:[0], eax
xor edi, edi
mov dword [esp + 0x234], edi
mov dword [esp + 0x18], edi
mov eax, dword [0x5195ac]
mov edx, dword [eax + 0xc]
mov ecx, 0x5195ac
mov dword [esp + 0x1c], esi
call edx
add eax, 0x10
mov dword [esi], eax
push 0x206
lea ecx, [esp + 0x26]
mov dword [esp + 0x238], edi
xor eax, eax
push edi
push ecx
mov dword [esp + 0x24], 1
mov word [esp + 0x2c], ax
call fcn.004cc620
add esp, 0xc
lea edx, [esp + 0xc]
push edx
push 0x20019
push edi
push str.SOFTWAREMicrosoftWindowsCurrentVersionApp_Paths360safe.exe
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, edi
jne 0x470411
lea eax, [esp + 0x10]
push eax
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x1c]
push edx
push edi
push str.Path
push eax
mov dword [esp + 0x2c], edi
mov dword [esp + 0x28], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ecx, dword [esp + 0xc]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [esp + 0x20]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x4703f4
sub eax, edx
sar eax, 1
lea edx, [esp + 0x20]
mov ebx, eax
push edx
mov eax, esi
call fcn.00406af0
mov eax, esi
mov ecx, dword [esp + 0x22c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov ecx, dword [esp + 0x21c]
xor ecx, esp
call fcn.004c961b
add esp, 0x22c
ret
Function at 0x470fb0
Capabilities:
Hash data with md5

Disassembly:
xor ecx, ecx
mov dword [eax + 0x14], ecx
mov dword [eax + 0x10], ecx
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
ret

Function at 0x4736b0
Capabilities:
Read file on windows

Disassembly:
push ebx
push ebp
mov ebp, dword [esp + 0xc]
mov ebx, eax
push esi
push edi
test ebx, ebx
jne 0x473705
cmp byte [ebp + 0x2c], al
jne 0x4736fc
mov byte [ebp + 0x2c], 1
mov dword [ebp + 0x30], 2
mov ebx, dword [str.Failed_to_open_file]
mov eax, ebx
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4736e0
sub eax, edx
lea edi, [ebp + 0x34]
mov esi, eax
call fcn.00474450
or eax, 0xffffffff
mov dword [ebp + 0x40], eax
mov dword [ebp + 0x3c], eax
pop edi
pop esi
pop ebp
xor al, al
pop ebx
ret 4
mov edi, ebp
call fcn.00472c10
push 2
or eax, 0xffffffff
push 0
push ebx
mov dword [ebp + 8], eax
mov dword [ebp + 4], eax
call fcn.004cac40
push ebx
call fcn.004cae62
push 0
push 0
push ebx
mov edi, eax
call fcn.004cac40
add esp, 0x1c
test edi, edi
jg 0x47375d
cmp byte [ebp + 0x2c], 0
jne 0x4736fc
mov byte [ebp + 0x2c], 1
mov dword [ebp + 0x30], 0xc
mov ebx, dword [str.Error_document_empty.]
mov eax, ebx
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x473754
jmp 0x4736e7
lea eax, [edi + 1]
push eax
call fcn.004c99ad
push ebx
push 1
mov esi, eax
push edi
push esi
mov byte [esi], 0
call fcn.004cab99
add esp, 0x14
cmp eax, 1
je 0x4737b2
push esi
call fcn.004c9610
add esp, 4
cmp byte [ebp + 0x2c], 0
jne 0x4736fc
mov byte [ebp + 0x2c], 1
mov dword [ebp + 0x30], 2
mov ebx, dword [str.Failed_to_open_file]
mov eax, ebx
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4737a6
jmp 0x4736e7
mov byte [esi + edi], 0
cmp byte [esi], 0
mov eax, esi
mov ecx, esi
je 0x4737dc
nop
mov dl, byte [eax]
cmp dl, 0xd
jne 0x4737d3
mov byte [ecx], 0xa
inc eax
inc ecx
cmp byte [eax], 0xa
jne 0x4737d7
jmp 0x4737d6
mov byte [ecx], dl
inc ecx
inc eax
cmp byte [eax], 0
jne 0x4737c0
push 0
mov byte [ecx], 0
mov edx, dword [ebp]
mov eax, dword [edx + 8]
push 0
push esi
mov ecx, ebp
call eax
push esi
call fcn.004c9610
add esp, 4
pop edi
xor eax, eax
cmp byte [ebp + 0x2c], al
pop esi
pop ebp
sete al
pop ebx
ret 4
Function at 0x47b9d0
Capabilities:
Encode data using xor

Disassembly:
xor eax, eax
test ecx, ecx
jle 0x47b9fd
push esi
push edi
jmp 0x47b9e0
movzx esi, byte [edx]
movzx esi, byte [esi + 0x4f0d80]
lea edi, [eax*8]
xor esi, edi
dec ecx
xor eax, esi
inc edx
test ecx, ecx
jg 0x47b9e0
pop edi
pop esi
ret

Function at 0x47ba60
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0xc
push ebx
push ebp
push esi
mov esi, dword [esp + 0x1c]
lea eax, [esi*8]
cmp eax, 0x400
jbe 0x47ba7d
mov esi, 0x80
cmp esi, dword [edi]
jne 0x47ba8a
xor eax, eax
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
mov eax, dword [0x51b400]
test eax, eax
je 0x47ba95
call eax
lea ecx, [esi*8]
push ecx
call fcn.00478b20
mov ebp, eax
mov eax, dword [0x51b404]
add esp, 4
mov dword [esp + 0x10], ebp
test eax, eax
je 0x47bab6
call eax
test ebp, ebp
je 0x47ba81
mov edx, dword [edi + 0xc]
push edx
call fcn.00478e00
add esp, 4
push ebp
mov dword [edi + 0xc], ebp
call dword [0x513b8c]
mov ebx, eax
shr ebx, 3
add esp, 4
lea eax, [ebx*8]
push eax
push 0
push ebp
mov dword [esp + 0x28], ebx
mov dword [edi], ebx
call fcn.004cc620
mov ecx, dword [edi + 8]
add esp, 0xc
mov dword [edi + 8], 0
test ecx, ecx
je 0x47bb9f
mov edx, dword [ecx + 0x10]
mov esi, dword [ecx + 0xc]
xor eax, eax
test edx, edx
jle 0x47bb33
nop
movzx ebx, byte [esi]
movzx ebx, byte [ebx + 0x4f0d80]
lea ebp, [eax*8]
xor ebx, ebp
dec edx
xor eax, ebx
inc esi
test edx, edx
jg 0x47bb10
mov ebx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x10]
mov edx, dword [ecx]
mov dword [esp + 0x14], edx
xor edx, edx
div ebx
lea eax, [ebp + edx*8]
test eax, eax
je 0x47bb7a
mov esi, dword [eax]
test esi, esi
je 0x47bb50
mov edx, dword [eax + 4]
jmp 0x47bb52
xor edx, edx
inc esi
mov dword [eax], esi
mov dword [eax + 4], ecx
test edx, edx
je 0x47bb7a
mov dword [ecx], edx
mov eax, dword [edx + 4]
mov dword [ecx + 4], eax
mov eax, dword [edx + 4]
test eax, eax
je 0x47bb72
mov dword [eax], ecx
mov dword [edx + 4], ecx
jmp 0x47bb93
mov dword [edi + 8], ecx
mov dword [edx + 4], ecx
jmp 0x47bb93
mov edx, dword [edi + 8]
mov dword [ecx], edx
mov eax, dword [edi + 8]
test eax, eax
je 0x47bb89
mov dword [eax + 4], ecx
mov dword [ecx + 4], 0
mov dword [edi + 8], ecx
mov ecx, dword [esp + 0x14]
test ecx, ecx
jne 0x47bb03
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0xc
ret
Function at 0x47c690
Capabilities:
Get common file path

Disassembly:
sub esp, 0x320
mov eax, dword [0x512054]
xor eax, esp
mov dword [esp + 0x31c], eax
mov eax, dword [0x51b448]
push ebx
push ebp
mov ebp, dword [esp + 0x32c]
push esi
push edi
test eax, eax
je 0x47c6d5
push eax
push 0x4fc568
lea eax, [esp + 0x20]
push eax
push 0xe6
call fcn.0047a450
add esp, 0x10
jmp 0x47c77c
call fcn.0047bda0
test eax, eax
je 0x47c721
lea ecx, [esp + 0x120]
push ecx
push 0xe6
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea ebx, [esp + 0x120]
call fcn.0047be60
mov esi, eax
test esi, esi
jne 0x47c75e
mov eax, 7
mov ecx, dword [esp + 0x32c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004c961b
add esp, 0x320
ret
lea eax, [esp + 0x120]
push eax
push 0xe6
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea ecx, [esp + 0x120]
push ecx
call fcn.0047bec0
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x47c703
call fcn.0047be60
push ebx
mov esi, eax
call fcn.004ca4c7
add esp, 4
test esi, esi
je 0x47c703
push esi
push 0x4fc568
lea edx, [esp + 0x20]
push edx
push 0xe6
call fcn.0047a450
push esi
call fcn.004ca4c7
add esp, 0x14
cmp byte [esp + 0x18], 0
lea eax, [esp + 0x18]
je 0x47c78d
inc eax
cmp byte [eax], 0
jne 0x47c787
lea ecx, [esp + 0x18]
sub eax, ecx
and eax, 0x3fffffff
jbe 0x47c7ab
dec ecx
jmp 0x47c7a0
cmp byte [ecx + eax], 0x5c
jne 0x47c7ab
sub eax, 1
jne 0x47c7a0
lea edx, [esp + 0x18]
push edx
push str._setilqs_
push ebp
push 0xe7
mov byte [esp + eax + 0x28], 0
call fcn.0047a450
add esp, 0x10
mov eax, ebp
test ebp, ebp
je 0x47c7e1
cmp byte [ebp], 0
je 0x47c7da
inc eax
cmp byte [eax], 0
jne 0x47c7d4
sub eax, ebp
and eax, 0x3fffffff
cmp dword [0x513b6c], 0
mov esi, eax
mov edi, 0x14
lea ebx, [eax + ebp]
jne 0x47c7fe
mov dword [esp + 0x14], 0
jmp 0x47c820
push 5
call dword [0x513ba8]
add esp, 4
mov dword [esp + 0x14], eax
test eax, eax
je 0x47c820
push eax
call dword [0x513bb0]
add esp, 4
jmp 0x47c820
dec edi
call fcn.0047a4c0
mov byte [ebx], al
inc ebx
test edi, edi
jne 0x47c820
mov eax, dword [esp + 0x14]
test eax, eax
je 0x47c83f
push eax
call dword [0x513bb8]
add esp, 4
mov ecx, 0x14
movzx eax, byte [esi + ebp]
xor edx, edx
mov edi, 0x3e
div edi
inc esi
sub ecx, 1
mov dl, byte [edx + str.abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789]
mov byte [esi + ebp - 1], dl
jne 0x47c844
mov byte [esi + ebp], cl
xor eax, eax
jmp 0x47c708
Function at 0x47cd70
Capabilities:
Get disk size

Disassembly:
sub esp, 0x11c
mov eax, dword [0x512054]
xor eax, esp
mov dword [esp + 0x118], eax
mov eax, dword [esp + 0x120]
push ebx
push esi
push edi
lea ecx, [esp + 0x18]
push ecx
push 0x104
push eax
push edx
mov dword [esp + 0x24], 0x200
call fcn.0047cc40
add esp, 0x10
test eax, eax
jne 0x47ce83
call fcn.0047bda0
lea ebx, [esp + 0x18]
test eax, eax
je 0x47cdc8
call fcn.0047be00
mov esi, eax
jmp 0x47cdeb
call fcn.0047be00
mov edi, eax
test edi, edi
je 0x47ce66
push edi
call fcn.0047bf30
add esp, 4
push edi
mov esi, eax
call fcn.004ca4c7
add esp, 4
test esi, esi
je 0x47ce66
call fcn.0047bda0
test eax, eax
mov eax, esi
je 0x47ce2d
cmp word [esi], 0
je 0x47ce16
cmp word [eax], 0x5c
je 0x47ce11
add eax, 2
cmp word [eax], 0
jne 0x47ce00
jmp 0x47ce16
xor ecx, ecx
mov word [eax], cx
lea edx, [esp + 0x10]
push edx
mov eax, edx
push eax
lea ecx, [esp + 0x1c]
push ecx
push edx
push esi
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceW]
jmp 0x47ce57
cmp byte [esi], 0
je 0x47ce42
cmp byte [eax], 0x5c
je 0x47ce3f
inc eax
cmp byte [eax], 0
jne 0x47ce32
jmp 0x47ce42
mov byte [eax], 0
lea eax, [esp + 0x10]
push eax
mov ecx, eax
push ecx
lea edx, [esp + 0x1c]
push edx
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceA]
push esi
mov edi, eax
call fcn.004ca4c7
add esp, 4
test edi, edi
jne 0x47ce83
mov eax, 0x200
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x118]
xor ecx, esp
call fcn.004c961b
add esp, 0x11c
ret
mov ecx, dword [esp + 0x124]
mov eax, dword [esp + 0x14]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004c961b
add esp, 0x11c
ret
Function at 0x499a40
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
test ebx, ebx
jne 0x499a5a
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov esi, dword [ebp + 8]
mov ecx, 0x44
call fcn.00479070
mov edi, eax
test edi, edi
je 0x499a51
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebx]
push eax
push ecx
push esi
call fcn.00499650
mov edx, dword [ebp + 0x10]
add esp, 0xc
mov dword [edi], eax
mov eax, dword [ebx + 8]
push edx
push eax
push esi
call fcn.00499740
mov ecx, dword [ebp + 0x10]
add esp, 0xc
push 0
mov dword [edi + 8], eax
mov eax, dword [ebx + 0xc]
push ecx
push eax
push esi
call fcn.004993d0
mov edx, dword [ebp + 0x10]
mov dword [edi + 0xc], eax
mov eax, dword [ebx + 0x10]
push edx
push eax
push esi
call fcn.00499650
mov ecx, dword [ebp + 0x10]
add esp, 0x1c
push 0
mov dword [edi + 0x10], eax
mov eax, dword [ebx + 0x14]
push ecx
push eax
push esi
call fcn.004993d0
mov edx, dword [ebp + 0x10]
mov dword [edi + 0x14], eax
mov eax, dword [ebx + 0x18]
push edx
push eax
push esi
call fcn.00499650
mov edx, dword [ebp + 0x10]
mov dword [edi + 0x18], eax
mov cl, byte [ebx + 4]
add esp, 0x1c
mov byte [edi + 4], cl
mov eax, dword [ebx + 0x1c]
push edx
push eax
push esi
call fcn.00499a40
mov ecx, dword [ebp + 0x10]
add esp, 0xc
push 0
mov dword [edi + 0x1c], eax
mov eax, dword [ebx + 0x28]
push ecx
push eax
push esi
call fcn.004993d0
mov edx, dword [ebp + 0x10]
push 0
mov dword [edi + 0x28], eax
mov eax, dword [ebx + 0x2c]
push edx
push eax
push esi
call fcn.004993d0
mov dword [edi + 0x2c], eax
xor eax, eax
mov dword [edi + 0x30], eax
mov dword [edi + 0x34], eax
mov cx, word [ebx + 6]
mov edx, 0xfff7
add esp, 0x20
and cx, dx
mov dword [edi + 0x24], eax
or eax, 0xffffffff
mov dword [edi + 0x38], eax
mov dword [edi + 0x3c], eax
mov dword [edi + 0x40], eax
mov word [edi + 6], cx
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x49de00
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 8
push ebx
push ebp
push esi
mov esi, dword [edi + 0xc]
test esi, esi
jne 0x49de2b
mov eax, dword [edi]
call fcn.0048c830
mov esi, eax
mov dword [edi + 0xc], eax
test esi, esi
je 0x49df58
push 0x15
call fcn.0048ca60
add esp, 4
mov al, byte [edi + 0x15]
test al, al
jne 0x49de3a
inc dword [edi + 0x48]
mov ebx, dword [edi + 0x48]
jmp 0x49de46
dec al
mov byte [edi + 0x15], al
movzx eax, al
mov ebx, dword [edi + eax*4 + 0x18]
mov al, byte [edi + 0x15]
test al, al
jne 0x49de59
inc dword [edi + 0x48]
mov ecx, dword [edi + 0x48]
mov dword [esp + 0x10], ecx
jmp 0x49de69
dec al
movzx edx, al
mov byte [edi + 0x15], al
mov eax, dword [edi + edx*4 + 0x18]
mov dword [esp + 0x10], eax
mov ebp, dword [esp + 0x18]
push 2
push ebx
push ebp
push 0x70
mov eax, esi
call fcn.0048ca00
mov ecx, ebp
mov eax, 1
shl eax, cl
mov ecx, dword [esi + 0x78]
add esp, 0x10
test eax, ecx
jne 0x49dead
or ecx, eax
mov dword [esi + 0x78], ecx
mov ecx, dword [esi]
mov edx, dword [ecx + 8]
shl ebp, 4
mov eax, dword [edx + ebp + 4]
push eax
lea eax, [esi + 0x88]
call fcn.00482750
add esp, 4
mov ebp, dword [esp + 0x10]
mov ecx, dword [esp + 0x1c]
push 0
push ebp
push ecx
push 0x30
mov eax, esi
call fcn.0048ca00
push ebx
push 0
push ebp
push 0x4e
mov eax, esi
call fcn.0048ca00
mov edx, dword [esp + 0x30]
push edx
mov ebp, eax
mov eax, dword [esp + 0x3c]
push 2
push eax
push 4
mov eax, esi
call fcn.0048ca00
mov eax, dword [esi + 0xc]
add esp, 0x30
cmp eax, ebp
jle 0x49defb
mov edx, dword [esi + 0x14]
lea ecx, [ebp + ebp*4]
mov dword [edx + ecx*4 + 8], eax
test ebx, ebx
je 0x49df28
mov dl, byte [edi + 0x15]
cmp dl, 8
jae 0x49df28
xor eax, eax
lea ecx, [edi + 0x60]
lea esp, [esp]
cmp dword [ecx + 0x10], ebx
je 0x49df5f
inc eax
add ecx, 0x18
cmp eax, 0xa
jl 0x49df10
movzx eax, dl
mov dword [edi + eax*4 + 0x18], ebx
inc byte [edi + 0x15]
mov edx, dword [esp + 0x10]
test edx, edx
je 0x49df58
mov bl, byte [edi + 0x15]
cmp bl, 8
jae 0x49df58
xor eax, eax
lea ecx, [edi + 0x60]
lea ecx, [ecx]
cmp dword [ecx + 0x10], edx
je 0x49df65
inc eax
add ecx, 0x18
cmp eax, 0xa
jl 0x49df40
movzx ecx, bl
mov dword [edi + ecx*4 + 0x18], edx
inc byte [edi + 0x15]
pop esi
pop ebp
pop ebx
add esp, 8
ret
mov byte [ecx + 9], 1
jmp 0x49df28
pop esi
pop ebp
mov byte [ecx + 9], 1
pop ebx
add esp, 8
ret