joyce8/EMBER2024-capa huggingface dataset:
Function at 0x101a9ea5
Capabilities:
Inspect section memory permissions

Disassembly:
jmp fcn.1000221f
neg edx
mov edx, dword [esp + 0xc]
mov dword [esp + 0xc], 0x2315a98d
push dword [esp + 4]
popfd
lea esp, [esp + 0xc]
call fcn.10004bf3
mov dword [ebp + 0x18], 2
jmp 0x100ad121

Function at 0x101a9fe0
Capabilities:
Encode data using base64
Execute anti-debugging instructions

Disassembly:
lea esp, [esp + 0x18]
call fcn.10004bf3
pushfd
cmp bp, 0x6f2a
call fcn.1004e019
mov dword [esp + 0x14], 0x31384ae
mov ebp, dword [esp + ebp*2 - 0x453cf6da]
ja 0x10140a87
ja 0x10056db4
call fcn.10056da0
stosb byte es:[edi], al
invalid

Function at 0x101ae794
Capabilities:
Encode data using base64
Execute anti-debugging instructions

Disassembly:
lea esp, [esp + 8]
call fcn.10004bf3

Function at 0x101b81cd
Capabilities:
Encode data using base64
Encrypt data using aes mixcolumns step
Encrypt data using speck
Execute anti-debugging instructions

Disassembly:
mov edx, dword [esp + edx - 0x7dbf0c8e]
mov edi, 0x839fa0b5
not di
mov edi, dword [esp + 0x10]
lea esp, [esp + 0x20]
call fcn.10004bf3
Function at 0x40144b
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push esi
push dword [esp + 0xc]
push dword [esp + 0xc]
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov esi, eax
test esi, esi
je 0x401475
push esi
push 0
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [esp + 0x14]
test eax, eax
mov dword [ecx], eax
jne 0x401479
xor eax, eax
pop esi
ret
push esi
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ecx, dword [esp + 0x10]
push 1
mov dword [ecx], eax
pop eax
pop esi
ret

Function at 0x401494
Capabilities:
Create new key via cryptacquirecontext
Generate random numbers via winapi

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
push edi
xor edi, edi
push edi
push 1
push edi
lea eax, [ebp - 4]
push edi
push eax
mov dword [ebp - 4], edi
mov dword [ebp - 8], edi
call esi
test eax, eax
jne 0x4014d5
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x80090016
jne 0x4014e8
push 8
push 1
push edi
lea eax, [ebp - 4]
push edi
push eax
call esi
test eax, eax
je 0x4014e8
lea eax, [ebp - 8]
push eax
push 4
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_CryptGenRandom]
test eax, eax
jne 0x4014ec
xor eax, eax
jmp 0x4014fe
cmp dword [ebp - 4], edi
je 0x4014fb
push edi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov eax, dword [ebp - 8]
pop edi
pop esi
leave
ret

Function at 0x432006
Capabilities:
Encode data using xor

Disassembly:
call 0x43200c
nop
nop
nop
pop eax
nop
nop
nop
add eax, 0x40729f
sub eax, 0x407245
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
jl 0x432030
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x43201e
nop
nop
popal
nop
nop
nop
jmp 0x431219
Function at 0x561750
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x104000]
push edi
jmp 0x56176a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x561771
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x561760
mov eax, 1
add ebx, ebx
jne 0x561783
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x561794
jne 0x5617b3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5617b3
dec eax
add ebx, ebx
jne 0x5617a0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x561778
add ebx, ebx
jne 0x5617af
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x561805
xor ecx, ecx
sub eax, 3
jb 0x5617cb
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x56183a
sar eax, 1
mov ebp, eax
jmp 0x5617d6
add ebx, ebx
jne 0x5617d6
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5617a4
inc ecx
add ebx, ebx
jne 0x5617e4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5617a4
add ebx, ebx
jne 0x5617f1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x5617e6
jne 0x561802
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x5617e6
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x561824
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x561816
jmp 0x561766
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x561824
add edi, ecx
jmp 0x561766
pop esi
mov edi, esi
mov ecx, 0x40d6
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x561842
cmp byte [edi], 0x11
jne 0x561842
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x561847
lea edi, [esi + 0x15a000]
mov eax, dword [edi]
or eax, eax
je 0x5618bf
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x1dd0fc]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x1dd278]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x561874
mov ecx, edi
jns 0x5618a3
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x1dd27c]
or eax, eax
je 0x5618b9
mov dword [ebx], eax
add ebx, 4
jmp 0x561891
call dword [esi + 0x1dd28c]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x5618f0
cmp al, 0xef
ja 0x5618e3
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x5618c5
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x5618d2
mov ebp, dword [esi + 0x1dd280]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x23f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x561924
sub esp, 0xffffff80
jmp 0x4204f7
Function at 0x401040
Capabilities:
Encode data using xor
Hash data with crc32
Read file on windows

Disassembly:
mov eax, 0x100c
call fcn.0041b600
push ebx
push ebp
mov ebp, dword [esp + 0x1018]
push esi
mov esi, dword [esp + 0x1020]
push edi
push 1
push 0
push 0
push ebp
mov dword [esp + 0x20], 0
mov dword [esi], 0xffffffff
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp ebp, 0xffffffff
mov dword [esp + 0x18], eax
jne 0x40108c
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp + 0x10], eax
jmp 0x4010f7
lea eax, [esp + 0x14]
push 0
push eax
lea ecx, [esp + 0x24]
push 0x1000
push ecx
push ebp
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x4010f7
mov edi, dword [esp + 0x14]
test edi, edi
je 0x4010f7
xor ecx, ecx
test edi, edi
jbe 0x4010db
mov eax, dword [esi]
xor edx, edx
mov dl, byte [esp + ecx + 0x1c]
mov ebx, eax
and ebx, 0xff
xor edx, ebx
shr eax, 8
mov edx, dword [edx*4 + 0x4590f0]
xor edx, eax
inc ecx
cmp ecx, edi
mov dword [esi], edx
jb 0x4010b6
lea eax, [esp + 0x14]
push 0
push eax
lea ecx, [esp + 0x24]
push 0x1000
push ecx
push ebp
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x4010a8
mov edx, dword [esi]
mov eax, dword [esp + 0x18]
push 0
push 0
not edx
push eax
push ebp
mov dword [esi], edx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x100c
ret
Function at 0x402849
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x446230
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24
push ebx
push esi
mov esi, ecx
push edi
lea ecx, [esp + 0x14]
call fcn.0040d3c0
mov eax, dword [0x45e450]
mov dword [esp + 0x38], 0
mov dword [esp + 0x10], eax
push ecx
mov bl, 1
mov ecx, esp
mov dword [esp + 0x2c], esp
push str.DDir
mov byte [esp + 0x40], bl
call fcn.0042e357
push ecx
lea edi, [esi + 0x1bc]
mov ecx, esp
mov dword [esp + 0x34], esp
push edi
mov byte [esp + 0x44], 2
call fcn.0042e05e
lea ecx, [esp + 0x2c]
mov byte [esp + 0x40], bl
push ecx
lea ecx, [esp + 0x20]
call fcn.0040d490
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x3c], 3
call fcn.0042e422
lea ecx, [esp + 0x24]
mov byte [esp + 0x38], bl
call fcn.0042e2e9
mov edx, dword [esp + 0x10]
mov eax, dword [edx - 8]
test eax, eax
jne 0x402920
push ecx
mov ecx, esp
mov dword [esp + 0x30], esp
push str.Complete
call fcn.0042e357
push ecx
mov byte [esp + 0x40], 4
mov ecx, esp
mov dword [esp + 0x30], esp
push edi
call fcn.0042e05e
lea eax, [esp + 0x2c]
lea ecx, [esp + 0x1c]
push eax
mov byte [esp + 0x44], bl
call fcn.0040d490
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x3c], 5
call fcn.0042e422
lea ecx, [esp + 0x24]
mov byte [esp + 0x38], bl
call fcn.0042e2e9
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esi + 0x1c0]
call fcn.0042e422
lea edx, [esi + 0x118]
lea ecx, [esp + 0x20]
push edx
call fcn.0042e05e
lea eax, [esp + 0x10]
lea ecx, [esp + 0x18]
push eax
mov byte [esp + 0x3c], 6
call fcn.0042e05e
mov ecx, dword [0x45e450]
mov dword [esp + 0xc], ecx
mov al, byte [esp + 0x40]
mov byte [esp + 0x38], 8
test al, al
je 0x402988
push str.ST4DDir
lea ecx, [esp + 0x10]
call fcn.0042e472
lea edx, [esp + 0x18]
lea ecx, [esp + 0xc]
push edx
call fcn.0042e701
jmp 0x402a05
push str.ST3DDir
lea ecx, [esp + 0x10]
call fcn.0042e472
lea eax, [esp + 0x18]
lea ecx, [esp + 0xc]
push eax
call fcn.0042e701
push str.cloc
lea ecx, [esp + 0x10]
call fcn.0042e6c5
push ecx
mov ecx, esp
mov dword [esp + 0x30], esp
push 0x4596dc
call fcn.0042e357
push ecx
mov byte [esp + 0x40], 9
mov ecx, esp
mov dword [esp + 0x30], esp
push edi
call fcn.0042e05e
lea ecx, [esp + 0x48]
mov byte [esp + 0x40], 8
push ecx
lea ecx, [esp + 0x20]
call fcn.0040d490
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x3c], 0xa
call fcn.0042e701
lea ecx, [esp + 0x40]
mov byte [esp + 0x38], 8
call fcn.0042e2e9
lea edx, [esp + 0xc]
lea eax, [esp + 0x20]
push edx
lea ecx, [esp + 0x20]
push eax
push ecx
call fcn.0042e518
mov edx, dword [esp + 0x1c]
push 0
push 0
push 0
push 0
push 0
push edx
mov ecx, esi
mov byte [esp + 0x50], 0xb
call fcn.0040f50a
lea ecx, [esp + 0x1c]
mov byte [esp + 0x38], 8
call fcn.0042e2e9
lea ecx, [esp + 0xc]
mov byte [esp + 0x38], 7
call fcn.0042e2e9
lea ecx, [esp + 0x18]
mov byte [esp + 0x38], 6
call fcn.0042e2e9
lea ecx, [esp + 0x20]
mov byte [esp + 0x38], bl
call fcn.0042e2e9
lea ecx, [esp + 0x10]
mov byte [esp + 0x38], 0
call fcn.0042e2e9
lea ecx, [esp + 0x14]
mov dword [esp + 0x38], 0xffffffff
call fcn.004099f0
mov ecx, dword [esp + 0x30]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0x30
ret 4
Function at 0x402c70
Capabilities:
Get disk information

Disassembly:
push 0xffffffffffffffff
push 0x4462a0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push esi
mov esi, ecx
mov al, byte [esi + 0x11c]
mov dword [esp + 0x1c], 0
test al, al
mov bl, 1
jne 0x402daf
mov eax, dword [esp + 0x24]
push edi
lea edi, [esi + 0x1b8]
push eax
mov ecx, edi
call fcn.00403570
mov eax, dword [edi]
pop edi
cmp eax, 9
je 0x402daf
test eax, eax
jle 0x402daf
mov ecx, dword [0x45e450]
mov dword [esp + 8], ecx
push eax
lea edx, [esp + 0xc]
push str.Error__d
push edx
mov byte [esp + 0x28], bl
call fcn.0042c25e
add esp, 0xc
lea eax, [esi + 0x1c0]
lea ecx, [esp + 0xc]
push eax
call fcn.0042e05e
push 0
push 0x4597e0
lea ecx, [esp + 0x14]
mov byte [esp + 0x24], 2
call fcn.0042bee6
mov ecx, dword [esp + 0xc]
cmp eax, 0xffffffff
je 0x402dd5
cmp dword [ecx - 8], 3
jle 0x402dd5
inc eax
lea ecx, [esp + 0x10]
push eax
push ecx
lea ecx, [esp + 0x14]
call fcn.0042be3e
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x20], 3
call fcn.0042e422
lea ecx, [esp + 0x10]
mov byte [esp + 0x1c], 2
call fcn.0042e2e9
mov edx, dword [esp + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
cmp eax, 6
ja case.0x402d65.1
jmp dword [eax*4 + 0x402e40]
mov ecx, dword [esp + 8]
push 0
push ecx
jmp 0x402d85
mov edx, dword [esp + 8]
push 0
push edx
jmp 0x402d85
mov eax, dword [esp + 8]
push 0
push eax
push str.A_valid_Directory_must_be_specified
mov ecx, esi
call fcn.00431e23
xor bl, bl
lea ecx, [esp + 0xc]
mov byte [esp + 0x1c], 1
call fcn.0042e2e9
lea ecx, [esp + 8]
mov byte [esp + 0x1c], 0
call fcn.0042e2e9
lea ecx, [esp + 0x24]
mov dword [esp + 0x1c], 0xffffffff
call fcn.0042e2e9
mov al, bl
pop esi
pop ebx
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
add esp, 0x18
ret 4
mov eax, dword [ecx - 8]
push 0
cmp eax, 3
jg 0x402deb
mov ecx, dword [esp + 0xc]
push ecx
push str.The_drive_root_is_not_a_valid_location
jmp 0x402df5
mov edx, dword [esp + 0xc]
push edx
push str.A_valid_Directory_must_be_specified
mov ecx, esi
call fcn.00431e23
lea ecx, [esp + 0xc]
mov byte [esp + 0x1c], 1
call fcn.0042e2e9
lea ecx, [esp + 8]
mov byte [esp + 0x1c], 0
call fcn.0042e2e9
lea ecx, [esp + 0x24]
mov dword [esp + 0x1c], 0xffffffff
call fcn.0042e2e9
mov ecx, dword [esp + 0x14]
pop esi
xor al, al
pop ebx
mov dword fs:[0], ecx
add esp, 0x18
ret 4
Function at 0x404230
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x446520
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x28
push esi
push edi
mov edi, ecx
mov eax, dword [edi + 0x28]
lea esi, [edi + 0x28]
mov dword [esp + 0x38], 0
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x40426d
push 0x4597e0
mov ecx, esi
call fcn.0042e472
mov ecx, dword [esi]
mov eax, dword [ecx - 8]
test eax, eax
je 0x404456
mov edx, dword [edi + 8]
lea eax, [edi + 8]
mov ecx, dword [edx - 8]
test ecx, ecx
je 0x404456
push eax
lea ecx, [esp + 0x14]
call fcn.0042e05e
mov eax, dword [0x45e450]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x10]
mov byte [esp + 0x38], 2
mov ecx, dword [eax - 8]
mov al, byte [ecx + eax - 1]
cmp al, 0x5c
je 0x4042c0
push 0x4597e0
lea ecx, [esp + 0x14]
call fcn.0042e6c5
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0x10]
call fcn.0042e05e
lea edx, [esp + 0x10]
lea ecx, [esp + 0x1c]
push edx
mov byte [esp + 0x3c], 3
call fcn.0042e422
lea eax, [esp + 0xc]
push esi
lea ecx, [esp + 0x1c]
push eax
push ecx
call fcn.0042e518
lea ecx, [esp + 0x20]
mov byte [esp + 0x38], 4
call fcn.00433842
mov edx, dword [esp + 0x18]
push 0
push 0
push edx
lea ecx, [esp + 0x2c]
mov byte [esp + 0x44], 5
call fcn.00433954
test eax, eax
je 0x404325
lea ecx, [esp + 0x20]
call fcn.00433b6f
jmp 0x404396
mov eax, dword [esp + 0x40]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x404396
lea ecx, [esp + 0x40]
push ecx
lea ecx, [esp + 0x10]
call fcn.0042e701
lea edx, [esp + 0xc]
lea ecx, [esp + 0x14]
push edx
call fcn.0042e05e
push 0x4597e0
lea ecx, [esp + 0x18]
mov byte [esp + 0x3c], 6
call fcn.0042e6c5
push esi
lea ecx, [esp + 0x18]
call fcn.0042e701
mov eax, dword [esp + 0x14]
push 0
push 0
push eax
lea ecx, [esp + 0x2c]
call fcn.00433954
test eax, eax
je 0x404388
lea ecx, [esp + 0x20]
call fcn.00433b6f
lea ecx, [esp + 0x14]
mov byte [esp + 0x38], 5
call fcn.0042e2e9
lea ecx, [esp + 0xc]
push ecx
lea ecx, [esp + 0xc]
call fcn.0042e05e
mov eax, dword [esp + 8]
mov byte [esp + 0x38], 7
mov ecx, dword [eax - 8]
cmp byte [ecx + eax - 1], 0x5c
je 0x4043c5
push 0x4597e0
lea ecx, [esp + 0xc]
call fcn.0042e6c5
push esi
lea ecx, [esp + 0xc]
call fcn.0042e701
mov edx, dword [esp + 0xc]
mov eax, dword [esp + 8]
mov esi, dword [sym.imp.SHELL32.dll_ShellExecuteA]
push 0xa
push edx
push 0
push eax
push 0
push 0
call esi
cmp eax, 0x20
jg 0x404402
push 0xa
push str.c:Temp
push 0
push str.C:Temp_
push 0
push 0
call esi
lea ecx, [esp + 8]
mov byte [esp + 0x38], 5
call fcn.0042e2e9
lea ecx, [esp + 0x20]
mov byte [esp + 0x38], 4
call fcn.00433897
lea ecx, [esp + 0x18]
mov byte [esp + 0x38], 3
call fcn.0042e2e9
lea ecx, [esp + 0xc]
mov byte [esp + 0x38], 2
call fcn.0042e2e9
lea ecx, [esp + 0x1c]
mov byte [esp + 0x38], 1
call fcn.0042e2e9
lea ecx, [esp + 0x10]
mov byte [esp + 0x38], 0
call fcn.0042e2e9
lea ecx, [esp + 0x40]
mov dword [esp + 0x38], 0xffffffff
call fcn.0042e2e9
mov ecx, dword [esp + 0x30]
pop edi
mov al, 1
pop esi
mov dword fs:[0], ecx
add esp, 0x34
ret 4
Function at 0x405c30
Capabilities:
Connect network resource
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x4468d8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x60
mov eax, dword [0x45e450]
push ebx
push esi
push edi
mov esi, ecx
mov dword [esp + 0xc], eax
push 0x45ab38
lea ecx, [esp + 0x10]
mov dword [esp + 0x78], 0
call fcn.0042e472
mov ecx, dword [esi + 0x5c]
lea eax, [esi + 0x5c]
mov edx, dword [ecx - 8]
test edx, edx
je 0x405c85
push eax
lea ecx, [esp + 0x10]
call fcn.0042e701
jmp 0x405c93
push str.127.0.0.1
lea ecx, [esp + 0x10]
call fcn.0042e6c5
push 0x4597e0
lea ecx, [esp + 0x10]
call fcn.0042e6c5
lea edx, [esi + 0x60]
lea ecx, [esp + 0xc]
push edx
call fcn.0042e701
mov eax, dword [esp + 0xc]
mov dword [esp + 0x30], 0x45ab28
mov dword [esp + 0x34], 0x45ab24
mov dword [esp + 0x38], 0x45ab20
mov dword [esp + 0x3c], 0x45ab1c
mov dword [esp + 0x40], 0x45ab18
mov dword [esp + 0x44], 0x45ab14
mov dword [esp + 0x48], 0x45ab10
mov dword [esp + 0x4c], 0x45ab0c
mov dword [esp + 0x50], 0x45ab08
mov dword [esp + 0x54], 0x45ab04
mov dword [esp + 0x58], 0x45ab00
mov dword [esp + 0x5c], 0x45aafc
mov dword [esp + 0x60], 0x45aaf8
mov dword [esp + 0x64], 0x45aaf4
mov dword [esp + 0x68], 0x45aaf0
mov dword [esp + 0x14], 1
mov dword [esp + 0x24], eax
mov dword [esp + 0x2c], 0
xor ebx, ebx
lea edi, [esp + 0x30]
mov ecx, dword [edi]
mov eax, dword [esi + 0x64]
mov dword [esp + 0x20], ecx
mov ecx, dword [esi + 0x68]
push 0
push eax
lea edx, [esp + 0x18]
push ecx
push edx
call sub.MPR.dll_WNetAddConnection2A
test eax, eax
je 0x405d88
push 0
push 0
lea eax, [esp + 0x18]
push 0
push eax
call sub.MPR.dll_WNetAddConnection2A
test eax, eax
je 0x405d81
inc ebx
add edi, 4
cmp ebx, 0xf
jge 0x405d95
jmp 0x405d44
mov ecx, dword [esp + ebx*4 + 0x30]
push ecx
jmp 0x405d8d
mov edx, dword [esp + ebx*4 + 0x30]
push edx
lea ecx, [esi + 0x74]
call fcn.0042e472
mov eax, dword [esi + 0x74]
pop edi
pop esi
pop ebx
mov ecx, dword [eax - 8]
mov dword [esp + 0x68], 0xffffffff
test ecx, ecx
lea ecx, [esp]
jne 0x405dc4
call fcn.0042e2e9
xor al, al
mov ecx, dword [esp + 0x60]
mov dword fs:[0], ecx
add esp, 0x6c
ret
call fcn.0042e2e9
mov ecx, dword [esp + 0x60]
mov al, 1
mov dword fs:[0], ecx
add esp, 0x6c
ret
Function at 0x405de0
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x446920
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
mov eax, dword [0x45e450]
push ebx
mov ebx, ecx
push esi
push edi
mov dword [esp + 0x24], ebx
mov dword [esp + 0x14], eax
lea eax, [ebx + 0x74]
lea ecx, [esp + 0x14]
push eax
mov dword [esp + 0x34], 0
call fcn.0042e701
push 0x4597e0
lea ecx, [esp + 0x18]
call fcn.0042e6c5
mov ecx, dword [0x45e450]
mov dword [esp + 0x10], ecx
lea esi, [ebx + 0x40]
push 0x20
mov ecx, esi
mov byte [esp + 0x34], 1
call fcn.0042e7b0
mov edx, dword [0x45e450]
mov edi, eax
mov dword [esp + 0x18], edx
cmp edi, 0xffffffff
mov byte [esp + 0x30], 2
je 0x405f5b
push ebp
push edi
lea eax, [esp + 0x24]
push 0
push eax
mov ecx, esi
call fcn.0042bd2c
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x38], 3
call fcn.0042e422
lea ecx, [esp + 0x20]
mov byte [esp + 0x34], 2
call fcn.0042e2e9
mov byte [esp + 0x12], 1
lea ebx, [edi + 1]
mov ecx, esi
push ebx
push 0x20
mov byte [esp + 0x1b], 0
call fcn.0042e7be
mov ebp, eax
cmp ebp, 0xffffffff
je 0x405efc
mov al, byte [esp + 0x12]
mov byte [esp + 0x13], 1
test al, al
jne 0x405ec8
push 0x459854
lea ecx, [esp + 0x18]
call fcn.0042e6c5
mov ecx, ebp
lea edx, [esp + 0x20]
sub ecx, edi
dec ecx
push ecx
push ebx
push edx
mov ecx, esi
call fcn.0042bd2c
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x38], 4
call fcn.0042e701
lea ecx, [esp + 0x20]
mov byte [esp + 0x34], 2
call fcn.0042e2e9
mov edi, ebp
jmp 0x405f45
mov al, byte [esp + 0x12]
test al, al
jne 0x405f12
push 0x459854
lea ecx, [esp + 0x18]
call fcn.0042e6c5
mov eax, dword [esi]
lea ecx, [esp + 0x24]
mov eax, dword [eax - 8]
sub eax, edi
dec eax
push eax
push ebx
push ecx
mov ecx, esi
call fcn.0042bd2c
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x38], 5
call fcn.0042e701
lea ecx, [esp + 0x24]
mov byte [esp + 0x34], 2
call fcn.0042e2e9
mov al, byte [esp + 0x13]
mov byte [esp + 0x12], 0
test al, al
jne 0x405e94
mov ebx, dword [esp + 0x28]
pop ebp
push esi
lea ecx, [esp + 0x18]
call fcn.0042e701
mov eax, dword [ebx + 0x74]
lea ecx, [esp + 0x14]
push eax
push str.dl
call fcn.0042bbc9
mov eax, dword [ebx + 0x74]
mov edx, dword [esp + 0x10]
push 0xa
push eax
mov eax, dword [esp + 0x1c]
push edx
push eax
push 0
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
cmp eax, 0x20
jg 0x405fd7
lea ecx, [esp + 0x18]
mov byte [esp + 0x30], 1
call fcn.0042e2e9
lea ecx, [esp + 0x10]
mov byte [esp + 0x30], 0
call fcn.0042e2e9
lea ecx, [esp + 0x14]
mov dword [esp + 0x30], 0xffffffff
call fcn.0042e2e9
pop edi
pop esi
xor al, al
pop ebx
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
add esp, 0x28
ret
lea ecx, [esp + 0x18]
mov byte [ebx + 0x78], 1
mov byte [esp + 0x30], 1
call fcn.0042e2e9
lea ecx, [esp + 0x10]
mov byte [esp + 0x30], 0
call fcn.0042e2e9
lea ecx, [esp + 0x14]
mov dword [esp + 0x30], 0xffffffff
call fcn.0042e2e9
mov ecx, dword [esp + 0x28]
pop edi
pop esi
mov al, 1
pop ebx
mov dword fs:[0], ecx
add esp, 0x28
ret
Function at 0x408140
Capabilities:
Check os version

Disassembly:
push 0xffffffffffffffff
push 0x446c35
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xa4
mov eax, dword [0x45e450]
push ebp
push esi
push edi
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], eax
mov esi, dword [sym.imp.KERNEL32.dll_GetVersionExA]
mov ecx, 0x27
xor eax, eax
lea edi, [esp + 0x14]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x14]
mov ebp, 1
push ecx
mov dword [esp + 0xbc], ebp
mov dword [esp + 0x18], 0x9c
call esi
test eax, eax
jne 0x4081d0
lea edx, [esp + 0x14]
mov dword [esp + 0x14], 0x94
push edx
call esi
test eax, eax
jne 0x4081d0
mov esi, dword [esp + 0xc0]
lea eax, [esp + 0xc]
push eax
mov ecx, esi
call fcn.0042e05e
mov dword [esp + 0x10], ebp
jmp 0x4082f8
mov eax, dword [esp + 0x24]
sub eax, 0
je 0x4082d3
dec eax
je 0x408241
dec eax
jne 0x4082e1
cmp dword [esp + 0x18], 4
ja 0x4081fc
push str.Microsoft_Windows_NT
lea ecx, [esp + 0x10]
call fcn.0042e6c5
mov eax, dword [esp + 0x18]
mov esi, 5
cmp eax, esi
jne 0x4082e1
mov eax, dword [esp + 0x1c]
test eax, eax
jne 0x40822d
push str.Microsoft_Windows_2000
lea ecx, [esp + 0x10]
call fcn.0042e6c5
cmp dword [esp + 0x18], esi
jne 0x4082e1
cmp dword [esp + 0x1c], ebp
jne 0x4082e1
push str.Microsoft_Windows_XP
jmp 0x4082d8
mov eax, dword [esp + 0x18]
mov esi, 4
cmp eax, esi
jne 0x4082e1
mov eax, dword [esp + 0x1c]
test eax, eax
jne 0x408295
push str.Microsoft_Windows_95
lea ecx, [esp + 0x10]
call fcn.0042e6c5
mov eax, dword [esp + 0x29]
cmp al, 0x43
jne 0x408277
push str.OSR2
jmp 0x408286
push eax
lea ecx, [esp + 0x10]
call fcn.0042e6ec
push 0x459668
lea ecx, [esp + 0x10]
call fcn.0042e6c5
cmp dword [esp + 0x18], esi
jne 0x4082e1
cmp dword [esp + 0x1c], 0xa
jne 0x4082c5
push str.Microsoft_Windows_98
lea ecx, [esp + 0x10]
call fcn.0042e6c5
cmp byte [esp + 0x29], 0x41
jne 0x4082bf
push 0x45af40
lea ecx, [esp + 0x10]
call fcn.0042e6c5
cmp dword [esp + 0x18], esi
jne 0x4082e1
cmp dword [esp + 0x1c], 0x5a
jne 0x4082e1
push str.Microsoft_Windows_Me
jmp 0x4082d8
push str.Microsoft_Win32s
lea ecx, [esp + 0x10]
call fcn.0042e6c5
mov esi, dword [esp + 0xc0]
lea ecx, [esp + 0xc]
push ecx
mov ecx, esi
call fcn.0042e05e
mov dword [esp + 0x10], ebp
lea ecx, [esp + 0xc]
mov byte [esp + 0xb8], 0
call fcn.0042e2e9
mov ecx, dword [esp + 0xb0]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0xb0
ret 4

Function at 0x408330
Capabilities:
Get memory capacity

Disassembly:
sub esp, 0x20
lea eax, [esp]
push esi
push edi
push eax
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatus]
mov eax, dword [esp + 0x2c]
mov ecx, 8
lea esi, [esp + 8]
mov edi, eax
rep movsd dword es:[edi], dword [esi]
pop edi
pop esi
add esp, 0x20
ret 4

Function at 0x409990
Capabilities:
Check mutex on windows

Disassembly:
push esi
mov esi, ecx
push str.EAC_gbVariableMutex
push 0
push 0
mov dword [esi], 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
test eax, eax
mov dword [esi], eax
je 0x4099b7
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, esi
pop esi
ret