joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10243e23
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push esi
sub esp, 0x50
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
xor edx, edx
mov dword [0x10257f74], 0x195f
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x30], edx
mov eax, dword [ebp - 0x30]
mov cl, byte [eax + 0x10247774]
mov dl, byte [eax + 0x10247745]
sub dl, cl
mov byte [ebp + eax - 0x24], dl
add eax, 1
cmp eax, 0xe
mov dword [ebp - 0x30], eax
jne 0x10243e45
lea eax, [ebp - 0x24]
mov dword [0x10257f78], 0x79a
mov dword [ebp - 0x34], eax
call fcn.102441ae
mov dword [esp], eax
mov eax, dword [ebp - 0x34]
mov dword [esp + 4], eax
call fcn.10243ca6
mov dword [0x10257f78], 0x266c
mov dword [0x10257f74], 0x27b
cmp eax, 0
mov dword [ebp - 0x38], eax
je 0x10243f59
mov dword [0x10257f78], 0x28b5
mov eax, dword [ebp - 0x38]
mov ecx, esp
mov dword [ecx + 0xc], 0x40
mov dword [ecx + 8], 0x1000
mov dword [ecx + 4], 0x6000
mov dword [ecx], 0
call eax
sub esp, 0x10
mov dword [esp], eax
mov ecx, dword [ebp - 0x28]
mov dword [esp + 4], ecx
mov dword [ebp - 0x3c], eax
call fcn.1024409a
xor eax, eax
mov ecx, dword [ebp - 0x3c]
mov word [ecx], 0x5a4d
mov dword [ecx + 0x3c], 0xc0
mov dword [ecx + 0xc0], 0x4550
add ecx, 0xffc00000
mov edx, dword [ebp - 0x2c]
mov dword [edx + 0x5c], ecx
mov ecx, dword [ebp - 0x3c]
mov dword [edx + 0x20], ecx
mov dword [0x10257f78], 0xadb
mov dword [0x10257f74], 0x6bf
add ecx, 0x1e59
mov esi, dword [ebp - 0x3c]
cmp esi, 0
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x44], eax
je 0x10243f50
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x44]
add esp, 0x50
pop esi
pop ebp
ret
xor eax, eax
add esp, 0x50
pop esi
pop ebp
ret
Function at 0x1024436b
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov dword [ebp - 4], 0
mov dword [0x10257f78], 0x1293
mov eax, dword fs:[0x30]
mov dword [ebp - 4], eax
xor ecx, ecx
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x10]
mov edx, dword [edx + 0x3c]
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x10], ecx
jmp 0x102443ba
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x14]
cmp word [eax + ecx*2 - 0x18], 0x6f
je 0x1024440d
xor eax, eax
mov dword [ebp - 0x18], eax
jmp 0x1024447b
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
cmp word [ecx + eax*2], 0
mov edx, eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], edx
je 0x102443e7
mov eax, dword [ebp - 0x1c]
add eax, 1
cmp eax, 0x104
mov ecx, eax
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x20], eax
jl 0x102443ba
mov eax, dword [ebp - 0x20]
mov ecx, dword [0x10257f74]
add ecx, 0xffffda3b
mov dword [0x10257f74], ecx
mov ecx, dword [ebp - 0xc]
cmp word [ecx + eax*2 - 0x1a], 0x6c
mov dword [ebp - 0x14], eax
je 0x102443a1
jmp 0x102443b0
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x14]
cmp word [eax + ecx*2 - 0x16], 0x61
jne 0x102443b0
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x14]
cmp word [eax + ecx*2 - 0x14], 0x64
jne 0x102443b0
mov eax, dword [0x10257f78]
add eax, 0x19c0
mov dword [0x10257f74], eax
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x14]
cmp word [eax + ecx*2 - 0x12], 0x64
jne 0x102443b0
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x14]
cmp word [eax + ecx*2 - 0x10], 0x6c
jne 0x102443b0
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x14]
cmp word [ecx + edx*2 - 0xe], 0x6c
mov dword [ebp - 0x18], eax
jne 0x102443b0
mov eax, dword [ebp - 0x18]
add esp, 0x20
pop ebp
ret
Function at 0x10244824
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x2c
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
xor edi, edi
mov dword [0x10257f7c], 0
mov dword [0x10257f80], 0
mov dword [0x10257f8c], 0
mov ebx, dword [0x10257f78]
mov dword [ebp - 0x10], eax
mov eax, ebx
add eax, 0xffffed33
mov dword [0x10257f74], eax
mov eax, dword [ebp - 0x10]
cmp eax, 0
mov eax, edi
mov dword [ebp - 0x14], eax
mov eax, edi
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x2c], edi
je 0x102449b8
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x28]
mov edx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x14]
mov edi, 0x100
add edx, 1
mov dword [ebp - 0x30], eax
mov eax, edx
cdq
idiv edi
mov dword [0x10257f7c], edx
add ecx, 0xfffffeba
mov dword [0x10257f74], ecx
mov ecx, dword [ebp - 0x24]
movzx ebx, byte [ecx + edx]
add ebx, esi
mov eax, ebx
mov dword [ebp - 0x34], edx
cdq
idiv edi
mov dword [0x10257f80], edx
mov esi, dword [ebp - 0x34]
mov cl, byte [ecx + esi]
mov byte [0x10257f84], cl
mov edi, dword [ebp - 0x24]
mov cl, byte [edi + edx]
mov byte [edi + esi], cl
mov cl, byte [0x10257f84]
mov edx, dword [0x10257f80]
mov byte [edi + edx], cl
mov dword [0x10257f78], 0xac5
mov edx, dword [0x10257f7c]
movzx edx, byte [edi + edx]
mov ebx, dword [0x10257f80]
movzx ebx, byte [edi + ebx]
add ebx, edx
mov edx, dword [0x10257f74]
and ebx, 0xff
mov dword [0x10257f8c], ebx
mov dword [0x10257f78], 0x8a5
add edx, 0xffffe3a1
mov dword [0x10257f74], edx
mov cl, byte [edi + ebx]
mov edx, dword [ebp - 0x1c]
mov ebx, dword [ebp - 0x30]
mov ch, byte [edx + ebx]
mov dword [0x10257f78], 0xfffff828
mov byte [0x10257f91], ch
mov byte [0x10257f92], cl
xor ch, cl
mov byte [0x10257f90], ch
mov dword [0x10257f74], 0x137c
mov edx, dword [ebp - 0x20]
mov byte [edx + ebx], ch
add ebx, 1
mov edx, dword [ebp - 0x10]
cmp ebx, edx
mov dword [ebp - 0x38], ebx
je 0x102449b8
mov eax, dword [0x10257f78]
mov ecx, dword [0x10257f7c]
mov edx, dword [0x10257f80]
mov esi, dword [ebp - 0x38]
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], esi
jmp 0x10244895
add esp, 0x2c
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x102449c0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push esi
and esp, 0xfffffff8
sub esp, 0xa8
call fcn.1000107d
xor ecx, ecx
cmp eax, 0
mov dword [esp + 0x2c], ecx
je 0x10244a2c
mov eax, dword [esp + 0x2c]
lea esp, [ebp - 4]
pop esi
pop ebp
ret
lea eax, [esp + 0x40]
mov dword [0x10257f78], 0x470
mov ecx, dword [esp + 0x38]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.10243e23
mov ecx, esp
lea edx, [esp + 0x40]
mov dword [ecx], edx
call eax
sub esp, 4
mov eax, 1
mov dword [0x10257f74], 0x1c65
mov dword [esp + 0x28], eax
jmp 0x10244b34
lea eax, [esp + 0x30]
lea ecx, [esp + 0x40]
mov dword [esp], eax
mov dword [esp + 0x24], ecx
call fcn.102436d3
mov ecx, 0xd39
lea edx, [0x10243f61]
mov esi, dword [esp + 0x30]
mov dword [esp + 0x74], esi
mov dword [esp + 0x5c], 0x12fc00
mov esi, dword [0x10257f60]
mov dword [esp + 0x94], esi
mov esi, dword [0x10257f64]
mov dword [esp + 0x48], esi
mov esi, dword [0x10257f68]
mov dword [esp + 0x4c], esi
mov esi, dword [0x10257f6c]
mov dword [esp + 0x7c], esi
mov esi, dword [0x10257f70]
mov dword [esp + 0x98], esi
mov dword [0x10257f78], 0x1b67
mov dword [0x10257f74], 0x23bf
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x18], edx
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
cmp word [eax], 0x5a4d
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], ecx
jne 0x10244ade
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 0x3c]
cmp dword [eax + ecx], 0x4550
mov dword [esp + 0xc], ecx
je 0x10244afd
mov eax, 0x1a08
mov ecx, dword [esp + 0x14]
add ecx, 0xfffff000
and ecx, 0xfffff000
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], ecx
jmp 0x10244ab3
mov eax, dword [esp + 0x14]
mov dword [esp + 0x50], eax
mov ecx, dword [esp + 0xc]
mov edx, dword [eax + ecx + 0x50]
mov dword [esp + 0x80], edx
mov edx, dword [esp + 0x10]
mov dword [0x10257f78], edx
call fcn.1024436b
xor ecx, ecx
cmp eax, 0
mov dword [esp + 0x28], ecx
je 0x102449e9
mov eax, dword [esp + 0x28]
mov dword [esp + 0x2c], eax
jmp 0x102449df
Function at 0x40874d
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x98
mov eax, dword [0x481398]
xor eax, ebp
mov dword [ebp + 0x74], eax
push esi
mov esi, ecx
call fcn.0040868c
mov eax, 0x400000
push 0x94
mov dword [esi + 8], eax
mov dword [esi + 4], eax
lea eax, [ebp - 0x20]
push 0
push eax
mov dword [esi], 0x3c
mov byte [esi + 0xc], 0
call fcn.0040abf0
add esp, 0xc
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x20], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x10], 2
jne 0x40879c
cmp dword [ebp - 0x1c], 5
jb 0x4087b4
jmp 0x4087b0
cmp dword [ebp - 0x10], 1
jne 0x4087b4
cmp dword [ebp - 0x1c], 4
ja 0x4087b0
jne 0x4087b4
cmp dword [ebp - 0x18], 0
jbe 0x4087b4
mov byte [esi + 0xc], 1
lea ecx, [esi + 0x18]
mov dword [esi + 0x10], 0x800
mov dword [esi + 0x14], 0x47832c
call fcn.0040853f
test eax, eax
jge 0x4087d5
mov byte [0x485bf4], 1
mov ecx, dword [ebp + 0x74]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.00408b45
add ebp, 0x78
leave
ret

Function at 0x408b45
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x481398]
jne 0x408b4f
repz ret
jmp fcn.0040f35e
Function at 0x4104ec
Capabilities:
Write file on windows

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push esi
push edi
xor esi, esi
xor edi, edi
cmp ebx, dword [edi*8 + 0x481558]
je 0x410507
inc edi
cmp edi, 0x17
jb 0x4104f8
cmp edi, 0x17
jae 0x410687
push ebp
push 3
call fcn.004165be
cmp eax, 1
pop ecx
je 0x410653
push 3
call fcn.004165be
test eax, eax
pop ecx
jne 0x41053b
cmp dword [0x481390], 1
je 0x410653
cmp ebx, 0xfc
je 0x410686
push str.Runtime_Error__n_nProgram:
mov ebx, 0x314
push ebx
mov ebp, 0x482db0
push ebp
call fcn.0040fe97
add esp, 0xc
test eax, eax
je 0x410571
push esi
push esi
push esi
push esi
push esi
call fcn.00408e05
add esp, 0x14
push 0x104
mov esi, 0x482dc9
push esi
push 0
mov byte [0x482ecd], 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x4105b5
push str._program_name_unknown_
push 0x2fb
push esi
call fcn.0040fe97
add esp, 0xc
test eax, eax
je 0x4105b5
xor eax, eax
push eax
push eax
push eax
push eax
push eax
call fcn.00408e05
add esp, 0x14
push esi
call fcn.00408d70
inc eax
cmp eax, 0x3c
pop ecx
jbe 0x4105fa
push esi
call fcn.00408d70
sub esi, 0x3b
add eax, esi
push 3
mov ecx, 0x4830c4
push 0x4792ec
sub ecx, eax
push ecx
push eax
call fcn.00415576
add esp, 0x14
test eax, eax
je 0x4105fa
xor esi, esi
push esi
push esi
push esi
push esi
push esi
call fcn.00408e05
add esp, 0x14
jmp 0x4105fc
xor esi, esi
push 0x4792e8
push ebx
push ebp
call fcn.00415505
add esp, 0xc
test eax, eax
je 0x41061c
push esi
push esi
push esi
push esi
push esi
call fcn.00408e05
add esp, 0x14
push dword [edi*8 + 0x48155c]
push ebx
push ebp
call fcn.00415505
add esp, 0xc
test eax, eax
je 0x41063e
push esi
push esi
push esi
push esi
push esi
call fcn.00408e05
add esp, 0x14
push 0x12010
push str.Microsoft_Visual_C_Runtime_Library
push ebp
call fcn.00416401
add esp, 0xc
jmp 0x410686
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov ebp, eax
cmp ebp, esi
je 0x410686
cmp ebp, 0xffffffff
je 0x410686
push 0
lea eax, [esp + 0x14]
push eax
lea esi, [edi*8 + 0x48155c]
push dword [esi]
call fcn.00408d70
pop ecx
push eax
push dword [esi]
push ebp
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret
Function at 0x416401
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.0041000a
xor ebx, ebx
cmp dword [0x4833e4], ebx
mov dword [ebp - 8], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
jne 0x4164d7
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x4165b7
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
cmp eax, ebx
je 0x4165b7
push eax
call fcn.0040ff9c
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x4833e4], eax
call esi
push eax
call fcn.0040ff9c
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x4833e8], eax
call esi
push eax
call fcn.0040ff9c
mov dword [0x4833ec], eax
lea eax, [ebp - 0xc]
push eax
call fcn.0040bc57
test eax, eax
pop ecx
pop ecx
je 0x4164a5
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.00408e05
add esp, 0x14
cmp dword [ebp - 0xc], 2
jne 0x4164d7
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.0040ff9c
cmp eax, ebx
pop ecx
mov dword [0x4833f4], eax
je 0x4164d7
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0040ff9c
pop ecx
mov dword [0x4833f0], eax
mov eax, dword [0x4833f0]
mov ecx, dword [ebp - 8]
cmp eax, ecx
je 0x41655c
cmp dword [0x4833f4], ecx
je 0x41655c
push eax
call fcn.00410013
push dword [0x4833f4]
mov esi, eax
call fcn.00410013
cmp esi, ebx
pop ecx
pop ecx
mov edi, eax
je 0x41655c
cmp edi, ebx
je 0x41655c
call esi
cmp eax, ebx
je 0x416529
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x416529
test byte [ebp - 0x18], 1
jne 0x41655c
lea eax, [ebp - 0x10]
push eax
call fcn.0040bc8e
test eax, eax
pop ecx
je 0x416544
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.00408e05
add esp, 0x14
cmp dword [ebp - 0x10], 4
jb 0x416553
or dword [ebp + 0x10], 0x200000
jmp 0x416597
or dword [ebp + 0x10], 0x40000
jmp 0x416597
mov eax, dword [0x4833e8]
cmp eax, dword [ebp - 8]
je 0x416597
push eax
call fcn.00410013
cmp eax, ebx
pop ecx
je 0x416597
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x416597
mov eax, dword [0x4833ec]
cmp eax, dword [ebp - 8]
je 0x416597
push eax
call fcn.00410013
cmp eax, ebx
pop ecx
je 0x416597
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x4833e4]
call fcn.00410013
cmp eax, ebx
pop ecx
je 0x4165b7
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x4165b9
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x419f40
Capabilities:
Access firewall settings via inetfwmgr

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
mov eax, dword [ebp + 8]
mov dword [eax], 0
lea ecx, [ebp - 8]
push ecx
push 0x47c9cc
push 1
push 0
push 0x47c9bc
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jge 0x419f89
jmp 0x419fc1
lea edx, [ebp - 4]
push edx
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
mov edx, dword [ebp - 8]
push edx
mov eax, dword [ecx + 0x1c]
call eax
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jge 0x419fa8
jmp 0x419fc1
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ecx + 0x20]
call eax
mov dword [ebp - 0xc], eax
cmp dword [ebp - 4], 0
je 0x419fd5
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [edx + 8]
call ecx
cmp dword [ebp - 8], 0
je 0x419fe9
mov edx, dword [ebp - 8]
mov eax, dword [edx]
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [eax + 8]
call edx
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret

Function at 0x41a3d0
Capabilities:
Parse pe header
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x150
mov eax, dword [0x481398]
xor eax, ebp
mov dword [ebp - 4], eax
push 0
push 0x80
push 3
push 0
push 1
push SysReAllocString
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 0xffffffff
jne 0x41a40f
xor eax, eax
jmp 0x41a4f7
mov word [ebp - 0x48], 0
push 0x3e
push 0
lea ecx, [ebp - 0x46]
push ecx
call fcn.0040abf0
add esp, 0xc
mov dword [ebp - 0x150], 0
push 0xf4
push 0
lea edx, [ebp - 0x14c]
push edx
call fcn.0040abf0
add esp, 0xc
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x50], 0
push 0
lea eax, [ebp - 0x54]
push eax
push 0x40
lea ecx, [ebp - 0x48]
push ecx
mov edx, dword [ebp - 0x4c]
push edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x41a47e
cmp dword [ebp - 0x54], 0x40
jne 0x41a47e
movzx eax, word [ebp - 0x48]
cmp eax, 0x5a4d
je 0x41a482
jmp 0x41a4dd
push 0
push 0
mov ecx, dword [ebp - 0xc]
push ecx
mov edx, dword [ebp - 0x4c]
push edx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp dword [ebp - 0xc], eax
je 0x41a49d
jmp 0x41a4dd
push 0
lea eax, [ebp - 0x54]
push eax
push 0xf8
lea ecx, [ebp - 0x150]
push ecx
mov edx, dword [ebp - 0x4c]
push edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x41a4d2
cmp dword [ebp - 0x54], 0xf8
jne 0x41a4d2
cmp dword [ebp - 0x150], 0x4550
je 0x41a4d6
jmp 0x41a4dd
mov dword [ebp - 0x50], 1
cmp dword [ebp - 0x4c], 0xffffffff
je 0x41a4f4
mov eax, dword [ebp - 0x4c]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x4c], 0
mov eax, dword [ebp - 0x50]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00408b45
mov esp, ebp
pop ebp
ret
Function at 0x41a510
Capabilities:
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x10], 0
mov eax, dword [ebp + 8]
push eax
call fcn.0041a380
add esp, 4
test eax, eax
jne 0x41a547
jmp 0x41a5d7
mov ecx, dword [ebp + 8]
push ecx
call fcn.0041a3d0
add esp, 4
test eax, eax
jne 0x41a559
jmp 0x41a5d7
push 0
push 0x80
push 3
push 0
push 1
push SysReAllocString
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
jne 0x41a580
jmp 0x41a5d7
push 0
push 0
push 0
push 2
push 0
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x41a59f
jmp 0x41a5d7
push 0
push 0
push 0
push 4
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x41a5bc
jmp 0x41a5d7
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp - 0x10]
push eax
call fcn.0041a320
add esp, 8
mov dword [ebp - 0xc], eax
xor ecx, ecx
jne 0x41a532
cmp dword [ebp - 0x10], 0
je 0x41a5ee
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov dword [ebp - 0x10], 0
cmp dword [ebp - 4], 0
je 0x41a605
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 4], 0
cmp dword [ebp - 8], 0xffffffff
je 0x41a61c
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 8], 0xffffffff
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
Function at 0x41e5c0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax]
mov dword [ebp - 4], ecx
cmp dword [ebp - 4], 0
jne 0x41e5db
xor eax, eax
jmp 0x41e663
mov edx, dword [ebp + 0x10]
mov dword [edx], 0
cmp dword [ebp - 4], 0x400000
jbe 0x41e5f6
mov dword [ebp - 0x14], 0x400000
jmp 0x41e5fc
mov eax, dword [ebp - 4]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x10], 0
push 0
lea edx, [ebp - 0x10]
push edx
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [ebp - 8], eax
mov ecx, dword [ebp + 0xc]
add ecx, dword [ebp - 0x10]
mov dword [ebp + 0xc], ecx
mov edx, dword [ebp - 4]
sub edx, dword [ebp - 0x10]
mov dword [ebp - 4], edx
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax]
add ecx, dword [ebp - 0x10]
mov edx, dword [ebp + 0x10]
mov dword [edx], ecx
cmp dword [ebp - 8], 0
jne 0x41e653
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x41e663
cmp dword [ebp - 0x10], 0
jne 0x41e65b
jmp 0x41e661
cmp dword [ebp - 4], 0
ja 0x41e5e4
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x41e670
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax]
mov dword [ebp - 4], ecx
cmp dword [ebp - 4], 0
jne 0x41e68b
xor eax, eax
jmp 0x41e713
mov edx, dword [ebp + 0x10]
mov dword [edx], 0
cmp dword [ebp - 4], 0x400000
jbe 0x41e6a6
mov dword [ebp - 0x14], 0x400000
jmp 0x41e6ac
mov eax, dword [ebp - 4]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x10], 0
push 0
lea edx, [ebp - 0x10]
push edx
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx]
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov dword [ebp - 8], eax
mov ecx, dword [ebp + 0xc]
add ecx, dword [ebp - 0x10]
mov dword [ebp + 0xc], ecx
mov edx, dword [ebp - 4]
sub edx, dword [ebp - 0x10]
mov dword [ebp - 4], edx
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax]
add ecx, dword [ebp - 0x10]
mov edx, dword [ebp + 0x10]
mov dword [edx], ecx
cmp dword [ebp - 8], 0
jne 0x41e703
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x41e713
cmp dword [ebp - 0x10], 0
jne 0x41e70b
jmp 0x41e711
cmp dword [ebp - 4], 0
ja 0x41e694
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x420f40
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 4], 0
jmp 0x420f58
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0x100
jae 0x420fab
mov ecx, dword [ebp - 4]
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], 0
jmp 0x420f79
mov edx, dword [ebp - 0xc]
add edx, 1
mov dword [ebp - 0xc], edx
cmp dword [ebp - 0xc], 8
jae 0x420f9c
mov eax, dword [ebp - 8]
shr eax, 1
mov ecx, dword [ebp - 8]
and ecx, 1
sub ecx, 1
not ecx
and ecx, 0xedb88320
xor eax, ecx
mov dword [ebp - 8], eax
jmp 0x420f70
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 8]
mov dword [edx*4 + 0x4834d0], eax
jmp 0x420f4f
jmp 0x420fb6
mov ecx, dword [ebp - 4]
add ecx, 1
mov dword [ebp - 4], ecx
cmp dword [ebp - 4], 0x800
jae 0x420fee
mov edx, dword [ebp - 4]
mov eax, dword [edx*4 + 0x4830d0]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x10]
and ecx, 0xff
mov edx, dword [ebp - 0x10]
shr edx, 8
xor edx, dword [ecx*4 + 0x4834d0]
mov eax, dword [ebp - 4]
mov dword [eax*4 + 0x4834d0], edx
jmp 0x420fad
mov dword [0x4834cc], fcn.0041e1b0
call fcn.0041fff0
test eax, eax
jne 0x42100b
mov dword [0x4834cc], 0x41f150
mov esp, ebp
pop ebp
ret
Function at 0x424f90
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
mov dword [eax + 0x10], 0
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x14], 0
mov edx, dword [ebp - 4]
mov dword [edx], 0x67452301
mov eax, dword [ebp - 4]
mov dword [eax + 4], 0xefcdab89
mov ecx, dword [ebp - 4]
mov dword [ecx + 8], 0x98badcfe
mov edx, dword [ebp - 4]
mov dword [edx + 0xc], 0x10325476
mov esp, ebp
pop ebp
ret
Function at 0x4733b0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
call fcn.004260f0
push 0x3c
push 0
lea eax, [ebp - 0x3c]
push eax
call fcn.0040abf0
add esp, 0xc
mov dword [ebp - 0x3c], 0x3c
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], str.open
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x2c], ecx
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x20], 1
mov dword [ebp - 0x38], 0x40
lea eax, [ebp - 0x3c]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 0
jne 0x473411
xor eax, eax
jmp 0x473422
push 0xffffffffffffffff
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, 1
mov esp, ebp
pop ebp
ret