joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42996c
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], edx
mov edi, eax
xor eax, eax
push ebp
push 0x429ae4
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
xor eax, eax
mov dword [ebp - 0x14], eax
xor eax, eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 4]
mov eax, edi
call fcn.00429c70
mov esi, eax
test esi, esi
je 0x4299ca
inc dword [ebp - 0x14]
test ebx, ebx
jne 0x4299ca
mov eax, dword [edi + 0x38]
mov eax, dword [eax + 0x38]
mov edx, esi
call fcn.0041a244
cmp dword [ebp - 0x18], 0
jle 0x429a25
mov dword [ebp - 0x10], esi
inc ebx
mov eax, dword [ebp - 8]
call fcn.004055d4
cmp ebx, eax
jl 0x429a14
lea eax, [ebx + 1]
push eax
lea eax, [ebp - 8]
mov ecx, 1
mov edx, dword [0x429924]
call fcn.004057b0
add esp, 4
lea eax, [ebx + 1]
push eax
lea eax, [ebp - 0xc]
mov ecx, 1
mov edx, dword [0x429948]
call fcn.004057b0
add esp, 4
mov eax, dword [ebp - 0xc]
mov dword [eax + ebx*4], esi
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x18]
mov dword [eax + ebx*4], edx
jmp 0x429a5d
test ebx, ebx
jle 0x429a5d
mov eax, dword [ebp - 8]
dec dword [eax + ebx*4]
jmp 0x429a3c
dec ebx
test ebx, ebx
jle 0x429a3c
mov eax, dword [ebp - 8]
dec dword [eax + ebx*4]
mov eax, dword [ebp - 8]
cmp dword [eax + ebx*4], 0
jne 0x429a49
test ebx, ebx
jg 0x429a31
test ebx, ebx
jne 0x429a54
xor eax, eax
mov dword [ebp - 0x10], eax
jmp 0x429a5d
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + ebx*4]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x14]
mov ecx, 0x64
cdq
idiv ecx
test edx, edx
jne 0x429a7e
mov eax, dword [ebp - 4]
call fcn.00414fcc
push edx
push eax
mov eax, dword [edi + 0x38]
call fcn.00425084
test esi, esi
jne 0x42999f
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0
lea edx, [ebp - 0x24]
xor ecx, ecx
mov eax, 0x429afc
call fcn.00409230
mov eax, dword [ebp - 0x1c]
push eax
xor ecx, ecx
mov edx, edi
mov eax, edi
mov ebx, dword [eax]
call dword [ebx + 0x30]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x429aeb
lea eax, [ebp - 0x1c]
call fcn.004044ec
lea eax, [ebp - 0xc]
mov edx, dword [0x429948]
call fcn.004057bc
lea eax, [ebp - 8]
mov edx, dword [0x429924]
call fcn.004057bc
ret
Function at 0x42d64c
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 4], ebx
mov edi, ecx
mov ebx, edx
mov esi, eax
xor eax, eax
push ebp
push 0x42d6da
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.004084c0
test al, al
je 0x42d688
lea eax, [ebp - 4]
mov edx, esi
call fcn.00404584
jmp 0x42d690
lea eax, [ebp - 4]
call fcn.0042d61c
lea eax, [ebp - 0x108]
push eax
xor bl, 1
xor eax, eax
mov al, bl
push eax
push 0x42d6e8
mov eax, dword [ebp - 4]
call fcn.004049ac
push eax
call sub.kernel32.dll_GetTempFileNameA
mov eax, edi
lea edx, [ebp - 0x108]
mov ecx, 0x104
call fcn.0040475c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42d6e1
lea eax, [ebp - 4]
call fcn.004044ec
ret

Function at 0x42d758
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push ebx
mov ebx, eax
xor eax, eax
push ebp
push 0x42d814
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 4]
mov eax, ebx
call fcn.00408a38
mov edx, dword [ebp - 4]
mov eax, 0x42d82c
call fcn.0042b398
test al, al
je 0x42d7a1
lea eax, [ebp - 4]
mov ecx, 8
mov edx, 1
call fcn.00404a4c
jmp 0x42d7c4
mov edx, dword [ebp - 4]
mov eax, 0x42d840
call fcn.0042b398
test al, al
je 0x42d7c4
lea eax, [ebp - 4]
mov ecx, 4
mov edx, 1
call fcn.00404a4c
lea edx, [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.00408924
mov eax, dword [ebp - 0xc]
lea edx, [ebp - 8]
call fcn.0040d0f4
mov edx, dword [ebp - 8]
lea eax, [ebp - 4]
call fcn.00404584
mov eax, dword [ebp - 4]
call fcn.004049ac
push eax
call sub.kernel32.dll_GetDriveTypeA
cmp eax, 2
sete bl
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42d81b
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00404510
ret

Function at 0x42e5a8
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebx
push esi
push ecx
mov dword [esp], edx
mov edx, dword [eax]
dec ecx
test ecx, ecx
jl 0x42e5dd
inc ecx
mov ebx, edx
mov esi, dword [esp]
xor bl, byte [esi]
and ebx, 0xff
mov ebx, dword [ebx*4 + 0x463db4]
shr edx, 8
and edx, 0xffffff
xor ebx, edx
mov edx, ebx
inc dword [esp]
dec ecx
jne 0x42e5b6
mov dword [eax], edx
pop edx
pop esi
pop ebx
ret

Function at 0x42f594
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push ecx
mov dword [esp], edx
mov edx, dword [eax]
sub ecx, 1
jno 0x42f5a6
call fcn.00403630
test ecx, ecx
jl 0x42f5cf
inc ecx
mov ebx, edx
mov esi, dword [esp]
xor bl, byte [esi]
and ebx, 0xff
mov esi, dword [0x472c58]
mov ebx, dword [esi + ebx*4]
shr edx, 8
xor ebx, edx
mov edx, ebx
add dword [esp], 1
dec ecx
jne 0x42f5ab
mov dword [eax], edx
pop edx
pop esi
pop ebx
ret
Function at 0x430fdc
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x431022
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 4]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0xc]
mov edx, dword [ebp - 4]
mov eax, dword [ebx + 0x30]
call fcn.00430478
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x431029
lea eax, [ebp - 4]
call fcn.004044ec
ret

Function at 0x439a14
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 8], ecx
mov ebx, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x439be6
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
call fcn.004305e8
cmp ebx, eax
jl 0x439a7b
mov dword [ebp - 0x18], ebx
mov byte [ebp - 0x14], 0
lea eax, [ebp - 0x18]
push eax
push 0
lea edx, [ebp - 0x1c]
mov eax, dword [0x472f2c]
call fcn.004063e0
mov ecx, dword [ebp - 0x1c]
mov dl, 1
mov eax, dword [0x412318]
call fcn.0040c56c
call fcn.00403e7c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, ebx
call fcn.004305d4
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov al, byte [eax + 0x6a]
sub al, 2
jne 0x439aa6
mov dl, 1
mov eax, dword [0x42c16c]
call fcn.0042d2e8
call fcn.00403e7c
mov eax, dword [ebp - 0x10]
cmp byte [eax + 0x6a], 1
jne 0x439af0
lea edx, [ebp - 0x20]
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
call dword [ecx + 0xc]
mov eax, dword [ebp - 0x20]
call fcn.004047ac
cmp eax, 0x64
jge 0x439adf
lea edx, [ebp - 0x24]
mov eax, dword [ebp - 0x10]
call fcn.0043793c
mov eax, dword [ebp - 0x24]
call fcn.004047ac
cmp eax, 0x64
jl 0x439af0
mov dl, 1
mov eax, dword [0x42c16c]
call fcn.0042d2e8
call fcn.00403e7c
mov eax, dword [ebp - 0x10]
mov edx, dword [eax]
call dword [edx + 0x10]
test al, al
je 0x439b09
mov eax, dword [ebp - 8]
call fcn.0042d54c
jmp 0x439ba2
push 0xffff
mov ecx, dword [ebp - 8]
mov dl, 1
mov eax, dword [0x4128ec]
call fcn.00415420
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x439b70
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x439b5f
push dword fs:[eax]
mov dword fs:[eax], esp
mov ecx, dword [ebp - 0xc]
mov edx, ebx
mov eax, dword [ebp - 4]
mov ebx, dword [eax]
call dword [ebx + 8]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x439b66
mov eax, dword [ebp - 0xc]
call fcn.004036f4
ret
mov eax, dword [ebp - 0x10]
mov edx, dword [eax]
call dword [edx + 0x48]
add esp, 0xfffffff8
fstp qword [esp]
wait
mov eax, dword [ebp - 8]
call fcn.0042e894
mov eax, dword [ebp - 0x10]
mov edx, dword [eax]
call dword [edx + 0x20]
mov edx, eax
mov eax, dword [ebp - 8]
call fcn.0042e94c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x439bed
lea eax, [ebp - 0x24]
mov edx, 3
call fcn.00404510
ret
Function at 0x439bf4
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push 0
push 0
push ebx
push esi
push edi
mov edi, ecx
mov ebx, edx
mov esi, eax
xor eax, eax
push ebp
push 0x439d1a
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [esi + 0x30]
call fcn.004305e8
cmp ebx, eax
jl 0x439c52
mov dword [ebp - 8], ebx
mov byte [ebp - 4], 0
lea eax, [ebp - 8]
push eax
push 0
lea edx, [ebp - 0xc]
mov eax, dword [0x472f2c]
call fcn.004063e0
mov ecx, dword [ebp - 0xc]
mov dl, 1
mov eax, dword [0x412318]
call fcn.0040c56c
call fcn.00403e7c
mov edx, ebx
mov eax, dword [esi + 0x30]
call fcn.004305d4
mov ebx, eax
mov al, byte [ebx + 0x6a]
sub al, 2
jne 0x439c76
mov dl, 1
mov eax, dword [0x42c16c]
call fcn.0042d2e8
call fcn.00403e7c
cmp byte [ebx + 0x6a], 1
jne 0x439cbb
lea edx, [ebp - 0x10]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0xc]
mov eax, dword [ebp - 0x10]
call fcn.004047ac
cmp eax, 0x64
jge 0x439caa
lea edx, [ebp - 0x14]
mov eax, ebx
call fcn.0043793c
mov eax, dword [ebp - 0x14]
call fcn.004047ac
cmp eax, 0x64
jl 0x439cbb
mov dl, 1
mov eax, dword [0x42c16c]
call fcn.0042d2e8
call fcn.00403e7c
mov eax, dword [ebx + 0xac]
shl eax, 9
cdq
add eax, dword [ebx + 0xa0]
adc edx, dword [ebx + 0xa4]
push edx
push eax
mov eax, dword [esi + 4]
call fcn.00414fec
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0x24]
cmp edx, 0
jne 0x439cea
cmp eax, 0
je 0x439cff
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0x24]
push edx
push eax
mov edx, dword [esi + 4]
mov eax, edi
call fcn.00415268
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x439d21
lea eax, [ebp - 0x14]
mov edx, 3
call fcn.00404510
ret
Function at 0x43ab60
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff0
mov edi, ecx
mov esi, edx
mov ebx, eax
mov eax, dword [ebx + 0x2c]
sub eax, dword [ebx + 0x28]
cmp esi, eax
jle 0x43ab8b
mov ecx, 0xf0
mov edx, 0x43acb8
mov eax, 0x43ace4
call fcn.004044cc
cmp esi, edi
je 0x43abaa
mov eax, esi
dec eax
cmp edi, eax
je 0x43abaa
mov ecx, 0xf2
mov edx, 0x43acb8
mov eax, 0x43ad2c
call fcn.004044cc
mov eax, dword [ebx + 0x28]
mov dword [esp + 8], eax
cmp edi, esi
jge 0x43abb9
inc dword [esp + 8]
mov eax, dword [ebx + 0x18]
mov dword [esp], eax
mov eax, dword [ebx + 0x1c]
mov dword [esp + 4], eax
mov eax, dword [ebx + 0x20]
mov edx, edi
dec edx
test edx, edx
jl 0x43ac0a
inc edx
shl eax, 5
mov ecx, dword [esp + 8]
movzx ecx, byte [ecx + 2]
xor eax, ecx
and eax, 0x3fff
mov ecx, dword [esp + 8]
and ecx, dword [ebx + 0x58]
mov edi, dword [esp]
mov ebp, dword [esp + 4]
mov ebp, dword [ebp + eax*4]
mov dword [edi + ecx*4], ebp
mov ecx, dword [esp + 4]
mov edi, dword [esp + 8]
mov dword [ecx + eax*4], edi
inc dword [esp + 8]
dec edx
jne 0x43abd1
mov edx, dword [esp]
mov dword [ebx + 0x18], edx
mov edx, dword [esp + 4]
mov dword [ebx + 0x1c], edx
mov dword [ebx + 0x20], eax
mov eax, dword [esp + 8]
mov dword [ebx + 0x28], eax
cmp byte [ebx + 4], 0
je 0x43ac44
add dword [ebx + 0x44], esi
add dword [ebx + 0x48], esi
cmp byte [ebx + 0x34], 0
je 0x43ac64
mov eax, dword [ebx + 0x44]
cmp eax, dword [ebx + 0x40]
jb 0x43ac64
mov eax, ebx
call fcn.0043b0b4
jmp 0x43ac64
mov eax, dword [esp + 8]
sub eax, dword [ebx + 0x44]
cmp eax, dword [ebx + 0x5c]
jl 0x43ac64
mov byte [ebx + 4], 1
mov eax, dword [esp + 8]
sub eax, dword [ebx + 0x5c]
sub eax, dword [ebx + 0x44]
add dword [ebx + 0x44], eax
add dword [ebx + 0x48], eax
cmp word [ebx + 0x3a], 0
je 0x43ac99
add dword [ebx + 0x10], esi
mov esi, dword [ebx + 0x10]
test esi, 0xfff
jne 0x43ac99
mov dword [esp + 0xc], esi
fild dword [esp + 0xc]
fmul dword [0x43ad68]
fild dword [ebx + 0x50]
fdivp st(1)
call fcn.00402f48
mov edx, eax
mov eax, dword [ebx + 0x3c]
call dword [ebx + 0x38]
mov eax, dword [ebx + 0x44]
cmp eax, dword [ebx + 0x40]
jb 0x43aca8
mov eax, ebx
call fcn.0043b0b4
add esp, 0x10
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x43db84
Capabilities:
Encode data using xor
Generate random numbers using the delphi lcg

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov ebx, eax
cmp dword [ebp - 8], 0
jne 0x43dbaf
mov ecx, 0x18e
mov edx, 0x43dd74
mov eax, 0x43dda0
call fcn.004044cc
mov edx, dword [ebp - 8]
mov eax, ebx
call fcn.0043df1c
mov dword [ebp - 0x10], 0xa
lea edi, [ebp - 0x1c]
mov eax, pe_nt_image_headers32
call fcn.0040310c
mov byte [ebp - 9], al
mov esi, dword [ebx + 0x10]
and esi, 0xffff
or esi, 2
mov eax, esi
xor eax, 1
imul esi
shr eax, 8
mov esi, eax
mov edx, dword [ebx + 8]
mov al, byte [ebp - 9]
call fcn.0042e5e4
mov dword [ebx + 8], eax
mov eax, dword [ebx + 8]
and eax, 0xff
add dword [ebx + 0xc], eax
imul eax, dword [ebx + 0xc], 0x8088405
inc eax
mov dword [ebx + 0xc], eax
mov eax, dword [ebx + 0xc]
shr eax, 0x18
mov edx, dword [ebx + 0x10]
call fcn.0042e5e4
mov dword [ebx + 0x10], eax
mov eax, esi
xor al, byte [ebp - 9]
mov byte [edi], al
inc edi
dec dword [ebp - 0x10]
jne 0x43dbc3
mov edx, dword [ebp - 8]
mov eax, ebx
call fcn.0043df1c
mov dword [ebp - 0x10], 0xa
lea edi, [ebp - 0x1c]
mov esi, dword [ebx + 0x10]
and esi, 0xffff
or esi, 2
mov eax, esi
xor eax, 1
imul esi
shr eax, 8
mov esi, eax
mov al, byte [edi]
mov edx, dword [ebx + 8]
call fcn.0042e5e4
mov dword [ebx + 8], eax
mov eax, dword [ebx + 8]
and eax, 0xff
add dword [ebx + 0xc], eax
imul eax, dword [ebx + 0xc], 0x8088405
inc eax
mov dword [ebx + 0xc], eax
mov eax, dword [ebx + 0xc]
shr eax, 0x18
mov edx, dword [ebx + 0x10]
call fcn.0042e5e4
mov dword [ebx + 0x10], eax
mov eax, esi
xor byte [edi], al
inc edi
dec dword [ebp - 0x10]
jne 0x43dc3e
mov al, byte [ebp + 0xa]
mov byte [ebp - 9], al
mov esi, dword [ebx + 0x10]
and esi, 0xffff
or esi, 2
mov eax, esi
xor eax, 1
imul esi
shr eax, 8
mov esi, eax
mov edx, dword [ebx + 8]
mov al, byte [ebp - 9]
call fcn.0042e5e4
mov edi, eax
mov dword [ebx + 8], edi
and edi, 0xff
add dword [ebx + 0xc], edi
imul edi, dword [ebx + 0xc], 0x8088405
inc edi
mov dword [ebx + 0xc], edi
mov eax, edi
shr eax, 0x18
mov edx, dword [ebx + 0x10]
call fcn.0042e5e4
mov dword [ebx + 0x10], eax
mov eax, esi
xor al, byte [ebp - 9]
mov byte [ebp - 0x12], al
mov al, byte [ebp + 0xb]
mov byte [ebp - 9], al
mov esi, dword [ebx + 0x10]
and esi, 0xffff
or esi, 2
mov eax, esi
xor eax, 1
imul esi
shr eax, 8
mov esi, eax
mov edx, dword [ebx + 8]
mov al, byte [ebp - 9]
call fcn.0042e5e4
mov edi, eax
mov dword [ebx + 8], edi
and edi, 0xff
add dword [ebx + 0xc], edi
imul edi, dword [ebx + 0xc], 0x8088405
inc edi
mov dword [ebx + 0xc], edi
mov eax, edi
shr eax, 0x18
mov edx, dword [ebx + 0x10]
call fcn.0042e5e4
mov dword [ebx + 0x10], eax
mov eax, esi
xor al, byte [ebp - 9]
mov byte [ebp - 0x11], al
mov byte [ebx + 4], 1
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0x1c]
mov dword [eax], edx
mov edx, dword [ebp - 0x18]
mov dword [eax + 4], edx
mov edx, dword [ebp - 0x14]
mov dword [eax + 8], edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x43df1c
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
push ebx
push esi
push edi
push ebp
push ecx
mov dword [esp], edx
mov ebx, eax
mov dword [ebx + 8], 0x12345678
mov dword [ebx + 0xc], 0x23456789
mov dword [ebx + 0x10], 0x34567890
mov eax, dword [esp]
call fcn.004047ac
mov esi, eax
test esi, esi
jle 0x43df8a
mov edi, 1
mov eax, dword [esp]
mov al, byte [eax + edi - 1]
mov edx, dword [ebx + 8]
call fcn.0042e5e4
mov ebp, eax
mov dword [ebx + 8], ebp
and ebp, 0xff
add dword [ebx + 0xc], ebp
imul ebp, dword [ebx + 0xc], 0x8088405
inc ebp
mov dword [ebx + 0xc], ebp
mov eax, ebp
shr eax, 0x18
mov edx, dword [ebx + 0x10]
call fcn.0042e5e4
mov dword [ebx + 0x10], eax
inc edi
dec esi
jne 0x43df4e
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x44f048
Capabilities:
Encrypt data using des

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffff0
xor eax, eax
mov edx, 0x474a7c
mov dword [esp], eax
mov eax, 0x465140
xor ecx, ecx
mov cl, byte [eax]
inc eax
mov cl, byte [ecx + 0x474a3c]
mov byte [edx], cl
inc edx
inc dword [esp]
cmp dword [esp], 0x38
jl 0x44f05d
xor eax, eax
mov esi, 0x465130
mov dword [esp], eax
mov dword [esp + 0xc], 0x474b34
xor eax, eax
xor edx, edx
mov al, byte [0x474a7c]
mov dl, byte [0x474a7d]
mov dword [esp + 4], eax
mov dword [esp + 8], edx
mov edx, 0x474a7c
xor eax, eax
mov ecx, esi
jmp 0x44f0af
mov bl, byte [edx + edi]
inc eax
mov byte [edx], bl
inc edx
movzx edi, byte [ecx]
mov ebx, 0x1c
sub ebx, edi
cmp eax, ebx
jl 0x44f0a8
cmp byte [esi], 2
jne 0x44f0d7
mov al, byte [esp + 4]
mov byte [0x474a96], al
mov dl, byte [esp + 8]
mov byte [0x474a97], dl
jmp 0x44f0e1
mov cl, byte [esp + 4]
mov byte [0x474a97], cl
xor eax, eax
xor edx, edx
mov al, byte [0x474a98]
mov dl, byte [0x474a99]
mov dword [esp + 4], eax
mov dword [esp + 8], edx
mov edx, 0x474a98
mov eax, 0x1c
mov ecx, esi
jmp 0x44f10d
mov bl, byte [edx + edi]
inc eax
mov byte [edx], bl
inc edx
movzx edi, byte [ecx]
mov ebx, 0x38
sub ebx, edi
cmp eax, ebx
jl 0x44f106
cmp byte [esi], 2
jne 0x44f135
mov al, byte [esp + 4]
mov byte [0x474ab2], al
mov dl, byte [esp + 8]
mov byte [0x474ab3], dl
jmp 0x44f13f
mov cl, byte [esp + 4]
mov byte [0x474ab3], cl
xor eax, eax
mov edx, dword [esp + 0xc]
mov ecx, edx
mov edx, 0x465178
xor ebx, ebx
inc eax
mov bl, byte [edx]
inc edx
mov bl, byte [ebx + 0x474a7c]
mov byte [ecx], bl
inc ecx
cmp eax, 0x30
jl 0x44f14c
inc dword [esp]
add dword [esp + 0xc], 0x30
inc esi
cmp dword [esp], 0x10
jl 0x44f086
add esp, 0x10
pop edi
pop esi
pop ebx
ret

Function at 0x44f484
Capabilities:
Check os version

Disassembly:
add esp, 0xffffff6c
push 0x94
push 0
lea eax, [esp + 8]
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
mov dword [esp], 0x94
push esp
call sub.kernel32.dll_GetVersionExA
cmp dword [esp + 4], 4
jne 0x44f4ce
mov eax, dword [esp + 8]
cmp eax, 0xa
je 0x44f4c0
cmp eax, 0x5a
jne 0x44f4c7
mov eax, 0x46f994
jmp 0x44f4e1
mov eax, 0x46f995
jmp 0x44f4e1
cmp dword [esp + 4], 5
jne 0x44f4dc
mov eax, 0x46f99d
jmp 0x44f4e1
mov eax, 0x46f9a5
add esp, 0x94
ret
Function at 0x402433
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 4], 0
mov ebx, dword [ebp + 8]
push dword [ebx]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
nop
nop
nop
nop
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 1
jne 0x4024c6
push reloc.WS2_32.dll_connect
push 0
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
jne 0x402474
mov eax, 0x4792d5
push eax
push 1
mov ebx, 0x25c
call fcn.00455ca0
add esp, 0x10
mov dword [ebp - 4], eax
push 0x80000301
push 0
push 0x20
push 0x80000301
push 0
push dword [ebp - 4]
push 2
mov ebx, 0xc4
call fcn.00455cb0
add esp, 0x1c
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
mov eax, 0
setne al
jmp 0x4024d0
mov eax, 0
jmp 0x4024d0
mov esp, ebp
pop ebp
ret 4

Function at 0x402508
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 4], 0
push reloc.WS2_32.dll_getsockname
push 0
push dword [ebp + 8]
push 1
mov ebx, 0x9dc
call fcn.00455cd0
add esp, 0x10
mov dword [ebp - 8], eax
push 0
push 0
push dword [ebp + 0xc]
push dword [ebp - 8]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
nop
nop
nop
nop
mov dword [ebp - 4], eax
cmp dword [ebp + 0x18], 0
jne 0x402584
cmp dword [ebp - 4], 0
je 0x40257f
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
nop
nop
nop
nop
jmp 0x40258c
mov eax, dword [ebp - 4]
mov ebx, dword [ebp + 0x14]
mov dword [ebx], eax
cmp dword [ebp - 4], 0
mov eax, 0
setne al
jmp 0x40259d
mov esp, ebp
pop ebp
ret 0x14
Function at 0x4025a3
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 4], 0
push 0x80000301
push 0
push 4
push 0x80000301
push 0
push 3
push reloc.WS2_32.dll_connect
push 0
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
jne 0x4025e0
mov eax, 0x4792d5
push eax
push 3
mov ebx, 0x270
call fcn.00455db0
add esp, 0x28
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x402723
push 0x80000301
push 0
push dword [ebp - 4]
push 1
mov ebx, 0x278
call fcn.00455e90
add esp, 0x10
push reloc.WS2_32.dll_connect
push 0
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
jne 0x402631
mov eax, 0x4792d5
push eax
push 1
mov ebx, 0x244
call fcn.00455aa0
add esp, 0x10
call fcn.00401750
mov dword [ebp - 8], eax
push reloc.WS2_32.dll_connect
push 0
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
jne 0x402661
mov eax, 0x4792d5
push eax
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 8]
test eax, eax
jne 0x402675
mov eax, 0x4792d5
push eax
push 2
mov ebx, 0x23c
call fcn.00455ab0
add esp, 0x1c
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x402698
push ebx
call fcn.00450dc2
add esp, 4
push 0x80000101
push 0
push 0
push 1
mov ebx, 0x140
call fcn.00455590
add esp, 0x10
mov dword [ebp - 8], eax
push 0x80000101
push 0
push 0
push 1
mov ebx, 0x140
call fcn.00455590
add esp, 0x10
mov dword [ebp - 0xc], eax
push 5
push dword [ebp - 0xc]
push dword [ebp - 8]
mov ebx, dword [ebp + 8]
push dword [ebx]
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
nop
nop
nop
nop
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x40270e
push ebx
call fcn.00450dc2
add esp, 4
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x40271e
push ebx
call fcn.00450dc2
add esp, 4
jmp 0x402813
push dword [ebp + 8]
call fcn.00402433
and eax, 1
xor eax, 1
test eax, eax
je 0x40278d
call fcn.00401750
mov dword [ebp - 8], eax
push reloc.WS2_32.dll_connect
push 0
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
jne 0x402756
mov eax, 0x4792d5
push eax
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 8]
test eax, eax
jne 0x40276a
mov eax, 0x4792d5
push eax
push 2
mov ebx, 0x23c
call fcn.00455ab0
add esp, 0x1c
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x40278d
push ebx
call fcn.00450dc2
add esp, 4
push 0x80000101
push 0
push 0
push 1
mov ebx, 0x140
call fcn.00455590
add esp, 0x10
mov dword [ebp - 8], eax
push 0x80000101
push 0
push 0
push 1
mov ebx, 0x140
call fcn.00455590
add esp, 0x10
mov dword [ebp - 0xc], eax
push 5
push dword [ebp - 0xc]
push dword [ebp - 8]
mov ebx, dword [ebp + 8]
push dword [ebx]
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
nop
nop
nop
nop
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x402803
push ebx
call fcn.00450dc2
add esp, 4
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x402813
push ebx
call fcn.00450dc2
add esp, 4
push 0x684eef
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x90]
mov esp, ebp
pop ebp
ret 4