joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40e0a0
Capabilities:
Get disk size

Disassembly:
sub esp, 0x1c
xor eax, eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov dword [esp + 8], eax
mov dword [esp + 0xc], eax
mov dword [esp], eax
mov dword [esp + 4], eax
lea eax, [esp]
push eax
mov eax, dword [0x43678c]
lea ecx, [esp + 0xc]
push ecx
lea edx, [esp + 0x18]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExA]
test eax, eax
jne 0x40e0e1
or eax, 0xffffffff
add esp, 0x1c
ret
mov eax, dword [esp]
mov ecx, dword [esp + 4]
shrd eax, ecx, 0x14
shr ecx, 0x14
add esp, 0x1c
ret
Function at 0x40f610
Capabilities:
Create thread

Disassembly:
push ecx
cmp dword [0x436144], 0
jne 0x40f63e
lea eax, [esp]
push eax
push 0
push 0
push 0x40f2a0
push 0
push 0
mov dword [esp + 0x18], 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [0x436144], eax
call fcn.00415200
xor eax, eax
cmp dword [0x436144], eax
setne al
pop ecx
ret

Function at 0x413b30
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x42aeb8
mov eax, dword fs:[0]
push eax
push ecx
push edi
mov eax, dword [0x4340a0]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
xor ecx, ecx
mov dword [esp + 0x14], ecx
mov byte [esp + 8], cl
mov eax, dword [esp + 8]
push eax
mov eax, dword [esp + 0x40]
push edx
mov edx, dword [esp + 0x40]
push eax
push edx
mov edx, dword [esp + 0x30]
sub esp, 0x14
mov eax, esp
mov dword [eax], ecx
mov dword [eax + 4], ecx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ecx
mov ecx, dword [esp + 0x58]
mov dword [esp + 0x60], esp
push edx
mov edx, dword [esp + 0x44]
mov dword [eax + 0x10], ecx
call fcn.00413e00
add esp, 0x28
lea edi, [esp + 0x24]
call fcn.00412ff0
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
add esp, 0x10
ret

Function at 0x4146d0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x42ae58
mov eax, dword fs:[0]
push eax
push ecx
push edi
mov eax, dword [0x4340a0]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
xor ecx, ecx
mov dword [esp + 8], ecx
mov dword [esp + 0x14], ecx
mov edx, dword [esp + 0x40]
mov byte [esp + 8], cl
mov eax, dword [esp + 8]
push eax
mov eax, dword [esp + 0x44]
push edx
mov edx, dword [esp + 0x30]
push eax
sub esp, 0x14
mov eax, esp
mov dword [eax], ecx
mov dword [eax + 4], ecx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ecx
mov ecx, dword [esp + 0x5c]
mov dword [esp + 0x60], esp
mov dword [eax + 0x10], ecx
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x44]
push edx
mov edx, dword [esp + 0x44]
push eax
push esi
call fcn.004148b0
add esp, 0x2c
lea edi, [esp + 0x2c]
call fcn.00412ff0
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
add esp, 0x10
ret
Function at 0x4148b0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x42ae28
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4340a0]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov ebx, ecx
mov edi, edx
mov esi, dword [esp + 0x3c]
xor ebp, ebp
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x30], ebp
cmp esi, edi
je 0x414927
lea ecx, [ecx]
cmp ebx, dword [esp + 0x40]
je 0x414927
push esi
push ebx
call dword [esp + 0x60]
add esp, 8
test al, al
je 0x414914
lea eax, [esp + 0x44]
push eax
mov ecx, ebx
call fcn.00414600
add ebx, 0x14
jmp 0x414923
lea ecx, [esp + 0x44]
push ecx
mov ecx, esi
call fcn.00414600
add esi, 0x14
cmp esi, edi
jne 0x4148f0
sub esp, 0x14
mov eax, esp
mov dword [esp + 0x50], esp
mov dword [eax], ebp
mov dword [eax + 4], ebp
mov dword [eax + 8], ebp
mov dword [eax + 0xc], ebp
mov edx, dword [esp + 0x68]
push edi
push esi
lea ecx, [esp + 0x30]
mov dword [eax + 0x10], edx
call fcn.00413bc0
mov eax, dword [eax + 0x10]
add esp, 0x1c
lea edi, [esp + 0x14]
mov dword [esp + 0x54], eax
call fcn.00412ff0
mov edx, dword [esp + 0x40]
mov esi, dword [esp + 0x38]
sub esp, 0x14
mov eax, esp
mov dword [eax], ebp
mov dword [eax + 4], ebp
mov dword [eax + 8], ebp
mov dword [eax + 0xc], ebp
mov ecx, dword [esp + 0x68]
mov dword [esp + 0x50], esp
push edx
mov dword [eax + 0x10], ecx
push ebx
mov ecx, esi
call fcn.00413bc0
add esp, 0x1c
lea edi, [esp + 0x44]
call fcn.00412ff0
mov eax, esi
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret

Function at 0x414fe0
Capabilities:
Check if file exists

Disassembly:
sub esp, 0x14c
mov eax, dword [0x4340a0]
xor eax, esp
mov dword [esp + 0x144], eax
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
jne 0x415016
xor eax, eax
mov ecx, dword [esp + 0x144]
xor ecx, esp
call fcn.0041c257
add esp, 0x14c
ret
lea eax, [esp]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
je 0x414fff
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x144]
xor eax, eax
mov eax, dword [esp + 0x20]
xor ecx, esp
call fcn.0041c257
add esp, 0x14c
ret
Function at 0x416c00
Capabilities:
Get hostname

Disassembly:
push 0xffffffffffffffff
push 0x42b56b
mov eax, dword fs:[0]
push eax
sub esp, 0x414
mov eax, dword [0x4340a0]
xor eax, esp
mov dword [esp + 0x410], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4340a0]
xor eax, esp
push eax
lea eax, [esp + 0x428]
mov dword fs:[0], eax
cmp byte [0x436148], 0
jne 0x416de8
push 0x3ff
lea eax, [esp + 0x29]
push 0
push eax
mov byte [esp + 0x30], 0
call fcn.0041e500
add esp, 0xc
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x28]
push edx
push 1
mov dword [esp + 0x28], 0x3fe
call dword [sym.imp.KERNEL32.dll_GetComputerNameExA]
test eax, eax
je 0x416c91
lea eax, [esp + 0x24]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x416c86
sub eax, edx
jne 0x416cd2
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.GetComputerNameEx_failed__d
mov esi, 0x436548
call fcn.004034c0
mov eax, dword [str.360Enterprise]
mov ecx, dword [0x42eadc]
mov edx, dword [0x42eae0]
mov dword [esp + 0x2c], eax
mov ax, word [0x42eae4]
add esp, 8
mov dword [esp + 0x28], ecx
mov dword [esp + 0x2c], edx
mov word [esp + 0x30], ax
mov edx, dword [0x435210]
mov eax, dword [edx + 0xc]
mov ecx, 0x435210
call eax
lea edi, [eax + 0x10]
mov dword [esp + 0x14], edi
xor esi, esi
lea eax, [esp + 0x24]
mov dword [esp + 0x430], 0
mov dword [esp + 0x18], esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x416d01
sub eax, edx
je 0x416d95
mov bl, byte [esp + esi + 0x24]
test bl, bl
jge 0x416d33
movzx ecx, bl
push ecx
push str._02X
lea edi, [esp + 0x1c]
call fcn.00418c50
mov edi, dword [esp + 0x1c]
add esp, 8
jmp 0x416d78
mov ebp, dword [edi - 0xc]
mov eax, dword [edi - 8]
mov ecx, 1
sub ecx, dword [edi - 4]
lea esi, [ebp + 1]
sub eax, esi
or eax, ecx
jge 0x416d59
mov ecx, esi
lea eax, [esp + 0x14]
call fcn.00401b90
mov edi, dword [esp + 0x14]
mov byte [edi + ebp], bl
test esi, esi
jl 0x416e10
cmp esi, dword [edi - 8]
jg 0x416e10
mov dword [edi - 0xc], esi
mov byte [esi + edi], 0
mov esi, dword [esp + 0x18]
inc esi
lea eax, [esp + 0x24]
mov dword [esp + 0x18], esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x416d84
sub eax, edx
cmp esi, eax
jb 0x416d10
mov edx, 0x436148
mov eax, edi
sub edx, edi
mov edi, edi
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x416da0
push 0x436148
push str.GetComputerNameEx:_s
mov esi, 0x436548
call fcn.004034c0
add edi, 0xfffffff0
add esp, 8
mov dword [esp + 0x430], 0xffffffff
lea edx, [edi + 0xc]
or eax, 0xffffffff
lock xadd dword [edx], eax
dec eax
test eax, eax
jg 0x416de8
mov ecx, dword [edi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push edi
call eax
mov ecx, dword [esp + 0x428]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x410]
xor ecx, esp
call fcn.0041c257
add esp, 0x420
ret
push 0x80070057
call fcn.00401720
int3
Function at 0x418e60
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x42b52b
mov eax, dword fs:[0]
push eax
mov eax, 0x8028
call fcn.00429430
mov eax, dword [0x4340a0]
xor eax, esp
mov dword [esp + 0x8024], eax
push ebx
push ebp
push edi
mov eax, dword [0x4340a0]
xor eax, esp
push eax
lea eax, [esp + 0x8038]
mov dword fs:[0], eax
mov edi, dword [esi + 0x10]
mov eax, dword [esp + 0x804c]
mov ebp, dword [esp + 0x8048]
mov dword [esp + 0x18], eax
cmp dword [esi + 0xc], edi
jbe 0x418ebd
call fcn.0041cb32
mov ebx, dword [esi + 0xc]
mov ecx, dword [esi]
mov dword [esp + 0x1c], ecx
cmp ebx, dword [esi + 0x10]
jbe 0x418ed0
call fcn.0041cb32
mov edx, dword [esp + 0x1c]
mov eax, dword [esi]
push edi
push edx
push ebx
push eax
push esi
lea ebx, [esp + 0x30]
call fcn.004041c0
push 0x800f
lea eax, [esp + 0x29]
push 0
push eax
mov byte [esp + 0x30], 0
call fcn.0041e500
mov edx, dword [esp + 0x24]
add esp, 0xc
push ebp
push 0x8000
lea ecx, [esp + 0x2c]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileSectionA]
xor ecx, ecx
mov dword [esp + 0x1c], eax
lea edi, [esp + 0x24]
mov dword [esp + 0x18], ecx
test eax, eax
jle 0x418fc7
cmp byte [esp + ecx + 0x24], 0
lea ebp, [esp + ecx + 0x25]
jne 0x418f9f
lea eax, [esp + 0x14]
push eax
mov ecx, edi
call fcn.00401cb0
lea edi, [esp + 0x14]
mov dword [esp + 0x8040], 0
call fcn.00405140
mov ebx, edi
call fcn.004050b0
mov eax, dword [esp + 0x14]
cmp dword [eax - 0xc], 0
je 0x418f70
mov edi, esi
call fcn.00403fa0
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov dword [esp + 0x8040], 0xffffffff
or edx, 0xffffffff
cmp byte [ebp], 0
lea ecx, [eax + 0xc]
je 0x418fb4
mov edi, ebp
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x418f9f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x18]
inc ecx
cmp ecx, dword [esp + 0x1c]
mov dword [esp + 0x18], ecx
jl 0x418f29
jmp 0x418fc7
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x418fc7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x8038]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebp
pop ebx
mov ecx, dword [esp + 0x8024]
xor ecx, esp
call fcn.0041c257
add esp, 0x8034
ret
Function at 0x419dd0
Capabilities:
Delete file
Enumerate files on windows

Disassembly:
sub esp, 0x550
mov eax, dword [0x4340a0]
xor eax, esp
mov dword [esp + 0x54c], eax
push ebx
push ebp
mov ebp, dword [esp + 0x55c]
push esi
push edi
xor ebx, ebx
push 0x13c
lea eax, [esp + 0x20]
push ebx
push eax
mov esi, ecx
xor edi, edi
mov dword [esp + 0x24], ebx
call fcn.0041e500
add esp, 0xc
lea ecx, [esp + 0x18]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov esi, eax
cmp esi, 0xffffffff
jne 0x419e26
xor eax, eax
jmp 0x419ea8
lea edx, [esp + 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_GetSystemTimeAsFileTime]
push 0x3ff
lea eax, [esp + 0x15d]
push ebx
push eax
mov byte [esp + 0x164], bl
call fcn.0041e500
mov ebx, dword [sym.imp.SHLWAPI.dll_PathCombineA]
add esp, 0xc
test byte [esp + 0x18], 0x10
jne 0x419e8f
lea eax, [esp + 0x2c]
lea ecx, [esp + 0x10]
call fcn.00419d90
cmp eax, dword [0x436784]
jbe 0x419e8f
lea ecx, [esp + 0x44]
push ecx
push ebp
lea edx, [esp + 0x160]
push edx
call ebx
lea eax, [esp + 0x158]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
inc edi
lea ecx, [esp + 0x18]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x419e54
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, edi
mov ecx, dword [esp + 0x55c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0041c257
add esp, 0x550
ret
Function at 0x41a210
Capabilities:
Get number of processors
Print debug messages

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x42b400
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x4340a0]
xor eax, esp
mov dword [esp + 0x1c], eax
push esi
push edi
mov eax, dword [0x4340a0]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
cmp byte [ebx], 0
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x14]
mov edx, dword [ebp + 0x18]
mov esi, dword [ebp + 0x10]
mov dword [esp + 0x14], eax
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], edx
jne 0x41a3d3
cmp dword [ebp + 0x1c], 0
jne 0x41a275
or eax, 0xffffffff
jmp 0x41a3d5
mov eax, dword [0x435210]
mov edx, dword [eax + 0xc]
mov ecx, 0x435210
call edx
add eax, 0x10
mov dword [esp + 0xc], eax
lea eax, [esp + 0x14]
push eax
mov dword [esp + 0x3c], 0
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
push esi
lea esi, [esp + 0x14]
call fcn.0041a410
add esp, 4
mov byte [esp + 0x38], 1
movzx ecx, word [esp + 0x20]
movzx edx, word [esp + 0x1e]
mov eax, dword [eax]
push ecx
movzx ecx, word [esp + 0x20]
push edx
movzx edx, word [esp + 0x1c]
push ecx
movzx ecx, word [esp + 0x22]
push edx
movzx edx, word [esp + 0x2a]
push ecx
push edx
push eax
push str._s_______02d__02d__d:_02d:_02d:_02d_0800_
lea edi, [esp + 0x2c]
call fcn.00418c50
mov byte [esp + 0x58], 0
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
add esp, 0x20
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41a30d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edx, dword [ebp + 0x1c]
lea ecx, [ebp + 0x20]
push ecx
push edx
lea edi, [esp + 0x14]
call fcn.00404920
push 0x42decc
mov eax, edi
push eax
mov edx, 2
call fcn.00404010
mov ecx, ebx
call fcn.00419ed0
mov eax, dword [ebp + 8]
mov edi, dword [esp + 0xc]
cmp eax, 4
ja case.default.0x41a343
jmp dword [eax*4 + 0x41a3f4]
mov eax, dword [edi - 0xc]
push eax
push edi
lea esi, [ebx + 0x14]
call fcn.00404750
jmp 0x41a3af
mov eax, dword [edi - 0xc]
push eax
push edi
lea esi, [ebx + 0x3c]
call fcn.00404750
jmp 0x41a3af
mov eax, dword [edi - 0xc]
push eax
push edi
lea esi, [ebx + 0x64]
call fcn.00404750
jmp 0x41a3af
cmp dword [0x436780], 1
jne 0x41a3af
mov eax, dword [edi - 0xc]
push eax
push edi
lea esi, [ebx + 0x8c]
call fcn.00404750
jmp 0x41a3af
mov eax, dword [edi - 0xc]
push eax
push edi
lea esi, [ebx + 0xb4]
call fcn.00404750
jmp 0x41a3af
push 0x42ef60
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
add edi, 0xfffffff0
mov dword [esp + 0x38], 0xffffffff
lea ecx, [edi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41a3d3
mov ecx, dword [edi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push edi
call edx
xor eax, eax
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.0041c257
mov esp, ebp
pop ebp
ret
Function at 0x41afc0
Capabilities:
Hash data with md5

Disassembly:
mov eax, dword [esp + 4]
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 0x41c257
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4340a0]
jne 0x41c261
repz ret
jmp fcn.0041e7a5

Function at 0x428b53
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00420c00
and dword [ebp - 4], 0
cmp dword [0x435c64], 0
mov ebx, eax
jne 0x428c04
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x428cb5
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x42dde4
push edi
call esi
test eax, eax
je 0x428cb5
push eax
call fcn.00420b8e
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x435c64], eax
call esi
push eax
call fcn.00420b8e
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x435c68], eax
call esi
push eax
call fcn.00420b8e
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x435c6c], eax
call esi
push eax
call fcn.00420b8e
pop ecx
mov dword [0x435c74], eax
test eax, eax
je 0x428c04
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00420b8e
pop ecx
mov dword [0x435c70], eax
mov eax, dword [0x435c70]
cmp eax, ebx
je 0x428c5c
cmp dword [0x435c74], ebx
je 0x428c5c
push eax
call fcn.00420c09
push dword [0x435c74]
mov esi, eax
call fcn.00420c09
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x428c5c
test edi, edi
je 0x428c5c
call esi
test eax, eax
je 0x428c53
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x428c53
test byte [ebp - 0xc], 1
jne 0x428c5c
or dword [ebp + 0x10], 0x200000
jmp 0x428c95
mov eax, dword [0x435c68]
cmp eax, ebx
je 0x428c95
push eax
call fcn.00420c09
pop ecx
test eax, eax
je 0x428c95
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x428c95
mov eax, dword [0x435c6c]
cmp eax, ebx
je 0x428c95
push eax
call fcn.00420c09
pop ecx
test eax, eax
je 0x428c95
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x435c64]
call fcn.00420c09
pop ecx
test eax, eax
je 0x428cb5
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x428cb7
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x433005
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
mov eax, section..text
nop
nop
mov ebx, 0x40de38
nop
mov ecx, 0x66526ae4
nop
nop
test eax, eax
nop
nop
je 0x43304e
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x433024
nop
nop
mov eax, section..data
nop
mov ebx, 0x4304d8
nop
mov ecx, 0x101d642d
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x433084
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
add eax, 4
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x43306c
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x431219

Function at 0x401000
Capabilities:
Create thread
Persist via run registry key

Disassembly:
sub esp, 0x594
push ebx
push esi
lea eax, [esp + 0x40c]
push edi
push eax
push 0x202
call fcn.00402226
push 0x104
push 0x4095a4
push 0
call dword [0x407058]
mov ecx, 0xff
xor eax, eax
lea edi, [esp + 0x11]
mov byte [esp + 0x10], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov edi, 0x4095a4
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x10]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x10]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
mov edi, 0x4086e4
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
lea eax, [esp + 0x10]
mov ecx, ebx
push eax
push 0
push 0xf003f
push 0
push 0
and ecx, 3
push 0
push 0x4086b4
rep movsb byte es:[edi], byte [esi]
push closesocket
call dword [section..rdata]
lea ecx, [esp + 0x10]
push ecx
call dword [0x40705c]
inc eax
lea edx, [esp + 0x10]
push eax
mov eax, dword [esp + 0x10]
push edx
push 1
push 0
push 0x4086a8
push eax
call dword [0x407004]
mov ecx, dword [esp + 0xc]
push ecx
call dword [0x407008]
call fcn.00401eb0
push eax
call fcn.00401c40
mov edi, dword [0x407064]
add esp, 4
mov esi, 0x64
push 0
push 0
push 0
push 0x401870
push 0
push 0
call fcn.00402292
add esp, 0x18
push 0xd
call edi
dec esi
jne 0x401103
push 0xffffffffffffffff
call edi
call fcn.00402220
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x594
ret 0x10
Function at 0x41dfde
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0041dc80

Function at 0x41dfe9
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0041de0f

Function at 0x41e3e3
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x101c
call fcn.0040c4f0
mov eax, dword [0x480200]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
push ebx
push dword [ebp + 8]
mov dword [ebp - 0x100c], eax
call fcn.0041b18c
pop ecx
mov ecx, dword [ebp + 8]
mov ebx, eax
cmp dword [ecx + 8], 0
jne 0x41e425
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
jmp 0x41e581
mov eax, dword [ecx]
sub eax, dword [ecx + 4]
push esi
push edi
push 0
cdq
push 2
push edx
push eax
call fcn.0040b850
push dword [ebp - 0x100c]
mov ecx, ebx
mov dword [ebp - 0x1008], eax
mov esi, ebx
mov dword [ebp - 0x1018], edx
and ecx, 0x3f
sar esi, 6
imul edi, ecx, 0x38
push 0
mov eax, dword [esi*4 + 0x482980]
push dword [edi + eax + 0x24]
push dword [edi + eax + 0x20]
push ebx
call fcn.0041f182
mov ecx, dword [esi*4 + 0x482980]
add esp, 0x14
mov dword [ebp - 0x1010], eax
mov eax, edx
mov edx, dword [ebp - 0x1010]
mov dword [ebp - 0x101c], eax
cmp edx, dword [edi + ecx + 0x20]
jne 0x41e57a
cmp eax, dword [edi + ecx + 0x24]
jne 0x41e57a
push 0
lea eax, [ebp - 0x1014]
push eax
push 0x1000
lea eax, [ebp - 0x1004]
push eax
push dword [edi + ecx + 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x41e57a
push dword [ebp - 0x100c]
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.0041f182
add esp, 0x14
test edx, edx
jl 0x41e57a
jg 0x41e4f0
test eax, eax
jb 0x41e57a
mov ebx, dword [ebp - 0x1018]
mov eax, dword [ebp - 0x1014]
test ebx, ebx
jg 0x41e57a
jl 0x41e50a
cmp dword [ebp - 0x1008], eax
ja 0x41e57a
lea edi, [ebp - 0x1004]
xor edx, edx
add edi, eax
lea ecx, [ebp - 0x1004]
xor esi, esi
cmp dword [ebp - 0x1008], edx
jne 0x41e528
test ebx, ebx
je 0x41e561
cmp ecx, edi
jae 0x41e561
mov al, byte [ecx]
cmp al, 0xd
jne 0x41e542
lea eax, [edi - 1]
cmp ecx, eax
jae 0x41e54e
cmp byte [ecx + 1], 0xa
jne 0x41e54e
inc ecx
jmp 0x41e54e
movzx eax, al
movsx eax, byte [eax + 0x4804d8]
add ecx, eax
add esi, 1
adc edx, 0
inc ecx
cmp esi, dword [ebp - 0x1008]
jne 0x41e528
cmp edx, ebx
jne 0x41e528
lea eax, [ebp - 0x1004]
sub ecx, eax
mov eax, ecx
cdq
add eax, dword [ebp - 0x1010]
adc edx, dword [ebp - 0x101c]
jmp 0x41e57f
or edx, 0xffffffff
mov eax, edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.0040b778
leave
ret
Function at 0x41e620
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 8]
mov ecx, eax
push ebx
mov ebx, dword [ebp + 0xc]
and eax, 0x3f
sar ecx, 6
push esi
push edi
imul edi, eax, 0x38
mov eax, dword [ecx*4 + 0x482980]
mov dword [ebp - 0x10], ecx
mov ecx, dword [eax + edi + 0x18]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x41e660
cmp byte [ebx], 0xa
jne 0x41e660
or byte [eax + edi + 0x28], 4
jmp 0x41e665
and byte [eax + edi + 0x28], 0xfb
add ecx, ebx
mov edx, ebx
mov dword [ebp - 0xc], ecx
mov esi, ebx
cmp ebx, ecx
jae 0x41e763
mov al, byte [edx]
cmp al, 0x1a
je 0x41e745
lea ecx, [edx + 1]
mov dword [ebp - 8], ecx
mov ecx, dword [ebp - 0xc]
cmp al, 0xd
je 0x41e694
mov edx, dword [ebp - 8]
mov byte [esi], al
jmp 0x41e6b9
mov eax, dword [ebp - 8]
cmp eax, ecx
jae 0x41e6c3
mov cl, byte [eax]
xor eax, eax
cmp cl, 0xa
sete al
inc eax
add edx, eax
cmp cl, 0xa
sete al
dec al
and al, 3
add al, 0xa
mov byte [esi], al
mov ecx, dword [ebp - 0xc]
inc esi
cmp edx, ecx
jb 0x41e676
jmp 0x41e763
push 0
lea eax, [ebp - 0xc]
push eax
push 1
lea eax, [ebp - 1]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x41e740
cmp dword [ebp - 0xc], 0
je 0x41e740
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx*4 + 0x482980]
test byte [eax + edi + 0x28], 0x48
je 0x41e71a
mov dl, byte [ebp - 1]
lea eax, [esi + 1]
mov dword [ebp - 0x14], eax
cmp dl, 0xa
jne 0x41e705
mov byte [esi], dl
jmp 0x41e716
mov byte [esi], 0xd
mov eax, dword [ecx*4 + 0x482980]
mov byte [eax + edi + 0x2a], dl
mov eax, dword [ebp - 0x14]
mov esi, eax
jmp 0x41e763
cmp byte [ebp - 1], 0xa
jne 0x41e729
cmp esi, ebx
jne 0x41e729
mov byte [esi], 0xa
jmp 0x41e762
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.0041f1a0
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x41e763
mov byte [esi], 0xd
jmp 0x41e762
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx*4 + 0x482980]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x41e75f
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x41e763
mov byte [esi], 0x1a
inc esi
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret