joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1001a6e0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov dword [ebp - 0x38], ecx
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 4], 4
call fcn.10001460
movzx eax, al
test eax, eax
je 0x1001a75e
push 0
push 0
push 0
push 0
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
push 0xffffffffffffffff
push 0
push 0x1fffff
lea ecx, [ebp - 8]
push ecx
mov edx, dword [0x10048824]
mov eax, dword [edx + 0x11c]
call eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jl 0x1001a759
mov ecx, dword [ebp - 8]
push ecx
mov ecx, dword [0x10048830]
call fcn.10019ba0
mov eax, dword [ebp - 8]
jmp 0x1001a82e
jmp 0x1001a82c
lea edx, [ebp - 0xc]
push edx
push 0
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
push 0
push 0
mov edx, dword [0x10048824]
mov eax, dword [edx + 0x114]
call eax
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x1001a82c
mov ecx, dword [ebp - 8]
push ecx
mov ecx, dword [ebp - 0x38]
call fcn.1001ab40
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jae 0x1001a818
mov byte [ebp - 0x34], 0x54
mov byte [ebp - 0x33], 0x68
mov byte [ebp - 0x32], 0x72
mov byte [ebp - 0x31], 0x65
mov byte [ebp - 0x30], 0x61
mov byte [ebp - 0x2f], 0x64
mov byte [ebp - 0x2e], 0x20
mov byte [ebp - 0x2d], 0x63
mov byte [ebp - 0x2c], 0x72
mov byte [ebp - 0x2b], 0x65
mov byte [ebp - 0x2a], 0x61
mov byte [ebp - 0x29], 0x74
mov byte [ebp - 0x28], 0x69
mov byte [ebp - 0x27], 0x6f
mov byte [ebp - 0x26], 0x6e
mov byte [ebp - 0x25], 0x20
mov byte [ebp - 0x24], 0x71
mov byte [ebp - 0x23], 0x75
mov byte [ebp - 0x22], 0x65
mov byte [ebp - 0x21], 0x72
mov byte [ebp - 0x20], 0x79
mov byte [ebp - 0x1f], 0x20
mov byte [ebp - 0x1e], 0x66
mov byte [ebp - 0x1d], 0x61
mov byte [ebp - 0x1c], 0x69
mov byte [ebp - 0x1b], 0x6c
mov byte [ebp - 0x1a], 0x65
mov byte [ebp - 0x19], 0x64
mov byte [ebp - 0x18], 0x21
mov byte [ebp - 0x17], 0
mov edx, dword [ebp - 8]
push edx
mov ecx, dword [0x10048830]
call fcn.10019ba0
mov eax, dword [ebp - 8]
jmp 0x1001a82e
xor eax, eax
mov esp, ebp
pop ebp
ret 0xc
Function at 0x1001dfa0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], 0x93
mov dword [ebp - 8], 0
jmp 0x1001dfc2
mov eax, dword [ebp - 8]
add eax, 1
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 7
jge 0x1001e001
mov ecx, dword [ebp + 8]
add ecx, dword [ebp - 8]
movsx edx, byte [ecx + 0x53062dc]
xor edx, dword [ebp - 4]
mov eax, dword [ebp - 0xc]
add eax, dword [ebp - 8]
mov byte [eax], dl
mov ecx, dword [ebp - 4]
add ecx, 1
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
and edx, 0x800000ff
jns 0x1001dffc
dec edx
or edx, 0xffffff00
inc edx
mov dword [ebp - 4], edx
jmp 0x1001dfb9
mov eax, dword [ebp - 0xc]
mov byte [eax + 7], 0
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret 4

Function at 0x1001e260
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov dword [ebp - 0x38], ecx
call fcn.1001e090
movzx eax, al
test eax, eax
je 0x1001e36c
mov byte [ebp - 0x34], 0x46
mov byte [ebp - 0x33], 0x61
mov byte [ebp - 0x32], 0x74
mov byte [ebp - 0x31], 0x61
mov byte [ebp - 0x30], 0x6c
mov byte [ebp - 0x2f], 0x20
mov byte [ebp - 0x2e], 0x45
mov byte [ebp - 0x2d], 0x72
mov byte [ebp - 0x2c], 0x72
mov byte [ebp - 0x2b], 0x6f
mov byte [ebp - 0x2a], 0x72
mov byte [ebp - 0x29], 0x20
mov byte [ebp - 0x28], 0x6f
mov byte [ebp - 0x27], 0x6e
mov byte [ebp - 0x26], 0x20
mov byte [ebp - 0x25], 0x70
mov byte [ebp - 0x24], 0x72
mov byte [ebp - 0x23], 0x6f
mov byte [ebp - 0x22], 0x63
mov byte [ebp - 0x21], 0x65
mov byte [ebp - 0x20], 0x73
mov byte [ebp - 0x1f], 0x73
mov byte [ebp - 0x1e], 0x20
mov byte [ebp - 0x1d], 0x69
mov byte [ebp - 0x1c], 0x6e
mov byte [ebp - 0x1b], 0x69
mov byte [ebp - 0x1a], 0x74
mov byte [ebp - 0x19], 0x69
mov byte [ebp - 0x18], 0x6c
mov byte [ebp - 0x17], 0x69
mov byte [ebp - 0x16], 0x7a
mov byte [ebp - 0x15], 0x61
mov byte [ebp - 0x14], 0x74
mov byte [ebp - 0x13], 0x69
mov byte [ebp - 0x12], 0x6f
mov byte [ebp - 0x11], 0x6e
mov byte [ebp - 0x10], 0x21
mov byte [ebp - 0xf], 0x20
mov byte [ebp - 0xe], 0x45
mov byte [ebp - 0xd], 0x72
mov byte [ebp - 0xc], 0x72
mov byte [ebp - 0xb], 0x6f
mov byte [ebp - 0xa], 0x72
mov byte [ebp - 9], 0x20
mov byte [ebp - 8], 0x63
mov byte [ebp - 7], 0x6f
mov byte [ebp - 6], 0x64
mov byte [ebp - 5], 0x65
mov byte [ebp - 4], 0x3a
mov byte [ebp - 3], 0x20
mov byte [ebp - 2], 0x38
mov byte [ebp - 1], 0
mov ecx, dword [0x10048828]
call fcn.10001480
push eax
push 0
lea ecx, [ebp - 0x34]
push ecx
push 0
lea edx, [ebp - 0x34]
push edx
mov ecx, dword [0x1004882c]
call fcn.10014090
mov esp, ebp
pop ebp
ret

Function at 0x10020000
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x10047b44]
jne 0x1002000a
repz ret
jmp fcn.1002065c
Function at 0x10021cd0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
test edi, edi
je 0x10021dd8
mov esi, dword [ebp + 0xc]
test esi, esi
je 0x10021dd8
mov ebx, dword [ebp + 0x10]
test ebx, ebx
je 0x10021dd8
push 2
push ebx
lea eax, [ebp + 8]
push eax
push esi
call fcn.10020a00
add esp, 0x10
cmp eax, 2
je 0x10021d19
pop edi
pop esi
mov eax, 0x80004005
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, 0x5a4d
cmp word [ebp + 8], ax
jne 0x10021d0d
push 4
lea eax, [ebx + 0x3c]
push eax
lea eax, [ebp - 4]
push eax
push esi
call fcn.10020a00
add esp, 0x10
cmp eax, 4
jne 0x10021d0d
add ebx, dword [ebp - 4]
mov eax, dword [ebp + 0x14]
test eax, eax
je 0x10021d48
mov dword [eax], ebx
push 2
lea eax, [ebx + 4]
push eax
lea eax, [ebp + 8]
push eax
push esi
call fcn.10020a00
add esp, 0x10
cmp eax, 2
jne 0x10021d0d
movzx eax, word [ebp + 8]
cmp eax, 0x14c
je 0x10021da3
cmp eax, 0x8664
jne 0x10021d0d
push 0x108
push ebx
push edi
push esi
call fcn.10020a00
add esp, 0x10
cmp eax, 0x108
jne 0x10021d0d
cmp dword [edi], 0x4550
mov eax, 0x40
pop edi
mov ecx, 0x80004005
pop esi
cmovne eax, ecx
pop ebx
mov esp, ebp
pop ebp
ret
push 0xf8
push ebx
push edi
push esi
call fcn.10020a00
add esp, 0x10
cmp eax, 0xf8
jne 0x10021d0d
cmp dword [edi], 0x4550
mov eax, 0x20
pop edi
mov ecx, 0x80004005
pop esi
cmovne eax, ecx
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
mov eax, 0x80070057
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x406699
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x23c
push esi
mov esi, 0x104
lea eax, [ebp - 0x23c]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
cmp eax, esi
pop esi
jbe 0x4066bd
xor eax, eax
test eax, eax
je 0x4066d0
cmp word [ebp + eax*2 - 0x23e], 0x5c
je 0x4066d0
xor ecx, ecx
jmp 0x4066d3
xor ecx, ecx
inc ecx
push dword [ebp + 8]
lea ecx, [ecx*2 + 0x40a014]
lea eax, [ebp + eax*2 - 0x23c]
push ecx
push str._s_S.dll
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
lea eax, [ebp - 0x23c]
push 8
push 0
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
leave
ret 4

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

Disassembly:
cmp dword [0x4318ec], 0
push esi
jne 0x406833
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x40680d
mov dword [ecx*4 + 0x4318e8], eax
inc ecx
cmp ecx, 0x100
jl 0x406808
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x406864
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x4318e8]
xor eax, esi
inc ecx
dec edx
jne 0x406846
pop edi
not eax
pop esi
ret 0xc

Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43000c
nop
nop
nop
pop eax
nop
nop
add eax, 0x403d6f
nop
sub eax, 0x403d15
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
jl 0x430030
nop
nop
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
jne 0x43001e
nop
nop
nop
nop
nop
nop
nop
nop
popal
jmp loc.00401219
Function at 0x10001420
Capabilities:
Delete file
Download url
Receive data

Disassembly:
sub esp, 0x104
push ebx
mov ebx, dword [esp + 0x110]
push esi
push edi
cmp dword [ebx], 2
jne 0x100015b9
mov eax, dword [ebx + 4]
cmp dword [eax], 0
jne 0x100015b9
mov ecx, dword [eax + 4]
test ecx, ecx
jne 0x100015b9
mov eax, dword [ebx + 8]
push str.help
mov ecx, dword [eax]
push ecx
call fcn.10005890
add esp, 8
test eax, eax
je 0x100015b9
mov edx, dword [ebx + 8]
or ecx, 0xffffffff
xor eax, eax
push ebp
mov edi, dword [edx + 4]
lea ebp, [esp + 0x10]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0
mov eax, ecx
mov esi, edi
mov edi, ebp
push 0
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
push 2
and ecx, 3
push 0
rep movsb byte es:[edi], byte [esi]
push 1
lea ecx, [esp + 0x24]
push 0x40000000
push ecx
call dword [sym.imp.KERNEL32.DLL_CreateFileA]
cmp eax, 0xffffffff
pop ebp
jne 0x10001508
or ecx, eax
lea edi, [esp + 0xc]
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
add ecx, 0x63
push ecx
call fcn.100016d0
mov esi, dword [esp + 0x118]
lea edx, [esp + 0x10]
push edx
push 0x1000716c
mov dword [esi + 0xc], eax
push eax
call fcn.10001636
mov edi, dword [esi + 0xc]
or ecx, 0xffffffff
xor eax, eax
add esp, 0x10
repne scasb al, byte es:[edi]
mov eax, dword [esp + 0x120]
pop edi
not ecx
dec ecx
mov dword [eax], ecx
mov eax, dword [esi + 0xc]
pop esi
pop ebx
add esp, 0x104
ret
push eax
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
lea ecx, [esp + 0xc]
push ecx
call dword [sym.imp.KERNEL32.DLL_DeleteFileA]
mov eax, dword [ebx + 8]
push 0
lea edx, [esp + 0x10]
push 0
mov ecx, dword [eax]
push edx
push ecx
push 0
call sub.urlmon.dll_URLDownloadToFileA
test eax, eax
jne 0x10001561
lea edi, [esp + 0xc]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
add ecx, 0x31
push ecx
call fcn.100016d0
mov esi, dword [esp + 0x118]
lea edx, [esp + 0x10]
push edx
push 0x1000715c
mov dword [esi + 0xc], eax
jmp 0x100014dc
mov ecx, dword [ebx + 8]
xor eax, eax
mov edi, dword [ecx]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
add ecx, 0x63
push ecx
call fcn.100016d0
mov esi, dword [esp + 0x118]
mov dword [esi + 0xc], eax
mov edx, dword [ebx + 8]
mov ecx, dword [edx]
push ecx
push 0x10007134
push eax
call fcn.10001636
mov edi, dword [esi + 0xc]
or ecx, 0xffffffff
xor eax, eax
add esp, 0x10
repne scasb al, byte es:[edi]
mov edx, dword [esp + 0x120]
pop edi
not ecx
dec ecx
mov dword [edx], ecx
mov eax, dword [esi + 0xc]
pop esi
pop ebx
add esp, 0x104
ret
push 0xc8
call fcn.100016d0
mov ebx, dword [esp + 0x118]
mov edx, eax
add esp, 4
test edx, edx
mov dword [ebx + 0xc], edx
jne 0x100015e0
pop edi
pop esi
pop ebx
add esp, 0x104
ret
mov edi, 0x100070d0
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
mov edx, dword [esp + 0x120]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [ebx + 0xc]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
pop edi
mov dword [edx], ecx
mov eax, dword [ebx + 0xc]
pop esi
pop ebx
add esp, 0x104
ret
Function at 0x10003572
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x10007298
cmp edx, dword [eax]
je 0x10003594
add eax, 8
inc ecx
cmp eax, 0x10007328
jl 0x10003585
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x10007298]
jne 0x100036c2
mov eax, dword [0x10007e40]
cmp eax, 1
je 0x1000369c
test eax, eax
jne 0x100035c5
cmp dword [0x10007e44], 1
je 0x1000369c
cmp edx, 0xfc
je 0x100036c2
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.DLL_GetModuleFileNameA]
test eax, eax
jne 0x100035fc
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.10004160
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.10003b60
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x1000363f
lea eax, [ebp - 0x1a4]
push eax
call fcn.10003b60
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x1000643c
push edi
call fcn.10004a10
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.10004160
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.10004170
lea eax, [ebp - 0xa0]
push 0x1000641c
push eax
call fcn.10004170
push dword [esi + 0x1000729c]
lea eax, [ebp - 0xa0]
push eax
call fcn.10004170
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.10004985
add esp, 0x2c
pop edi
jmp 0x100036c2
lea eax, [ebp + 8]
lea esi, [esi + 0x1000729c]
push 0
push eax
push dword [esi]
call fcn.10003b60
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.DLL_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.DLL_WriteFile]
pop esi
leave
ret
Function at 0x5b3f0d
Capabilities:
Encode data using xor

Disassembly:
lea ecx, [ebp*4]
mov cx, word [esp]
mov ecx, dword [esp]
push eax
mov eax, dword [esp]
call fcn.005b3e6e
mov eax, dword [esp + 0x2c]
call fcn.005b3ee5
and dword [eax - 0x29], ebp
movsb byte es:[edi], byte [esi]
xchg byte [ebx], dh
cmp dword [0xadb25ba3], edx
mov esp, 0x24548b60
and dword [edx + 0x48d240c], ecx
cmp byte [edi], cl
enter 0xffffffffffffd8e8, 0xffffffffffffffff
invalid
push ecx
setae ch
jmp 0x5b3e90
Function at 0x6401c0
Capabilities:
Execute anti-debugging instructions

Disassembly:
mov bx, si
xchg esi, edi
push word [esp + 0x10]
jmp 0x6401de

Function at 0x6403aa
Capabilities:
Execute anti-debugging instructions

Disassembly:
push di
sets ah
lea ebx, [ecx - 0x300f78af]
stc
lea esp, [esp + 3]
jmp 0x6403ac
jmp 0x640394
mov esi, dword [esp + 2]
mov bl, dl
inc al
neg dx
xchg bp, ax
mov al, ah
jmp 0x6404e2
setbe al
rcl cl, cl
setl ch
setne ch
shl al, 6
cpuid
jmp 0x64045c
clc
mov si, di
rdtsc
mov dx, 0xd6e4
mov dl, dh
xchg cl, dl
jmp 0x6403d9
neg cx
setbe bh
add esp, 0
sub esp, 0x14
pop dword [esp + 8]
mov ah, al
jmp 0x64043e
mov ecx, dword [esp]
lea edx, [eax*4]
btc ecx, ebx
bswap ebp
rdtsc
add esp, 0
jmp 0x640404
xchg word [esp + 0xe], si
rdtsc
push dword [esp + 8]
xchg si, ax
pop ecx
rdtsc
jmp 0x640488
bsf edx, edx
bsf cx, bp
add esp, 0
mov bp, word [esp]
mov bp, ax
ror cx, cl
jmp 0x640428
mov cx, di
call fcn.006404c0
dec eax
fmul dword [esi + 0x29]
fdivr dword [edi - 0x5a]
xor eax, 0xcc3fcca5
movsb byte es:[edi], byte [esi]
xlatb
lea eax, [ebx*4]
xchg ah, ch
pop edi
setle ah
mov cl, 0x14
cpuid
jmp 0x640472
cpuid
sub dh, cl
xchg dh, ch
mov ecx, esp
lea esp, [esp]
setnp bl
jmp 0x6403f4
rcl dh, 4
mov si, ax
bswap ebp
ror dh, cl
pop eax
xchg byte [esp], bl
jmp 0x6404ad

Function at 0x6405e1
Capabilities:
Execute anti-debugging instructions

Disassembly:
rdtsc
xchg word [esp + 0xf], cx
shr bl, 5
pop word [esp + 3]
jmp 0x6405cb

Function at 0x640ee3
Capabilities:
Execute anti-debugging instructions

Disassembly:
pop dword [esp + 3]
mov di, word [esp + 1]
mov word [esp + 1], bp
pop ebp
mov byte [esp + 4], ch
mov si, bx
jmp 0x640ee9
cpuid
mov cl, 2
jmp 0x640ec1
lea ecx, [eax + 0xdc]
lea ecx, [0x85706110]
inc ah
neg di
shl bp, 8
mov dx, word [esp + 2]
jmp 0x640f47
pop edx
add esp, 0
sub esp, 0x17
std
pop dword [esp + 0xa]
lea edi, [edi*4]
jmp 0x640f24

Function at 0x641164
Capabilities:
Parse pe header

Disassembly:
lea esp, [esp + 2]
push edi
jmp 0x641022
pop word [esp + 1]
pop word [esp + 1]
mov dword [esp], esi
pushal
lea esp, [esp + 0x1e]
mov byte [esp], ch
jmp 0x641038
mov dword [esp], ecx
push dword [esp]
mov word [esp + 2], bx
jmp 0x641051
Function at 0x5e27bc
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
pushal
mov dword [ebp - 0x18], 0
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x14]
mov dword [ebp - 0x14], eax
mov ebx, dword [eax + 0x3c]
add eax, ebx
lea ebx, [eax + 0x18]
movzx ecx, word [eax + 0x14]
add ebx, ecx
movzx ecx, word [eax + 6]
test ecx, ecx
je 0x5e2836
push ecx
mov ecx, dword [ebx + 0xc]
add ecx, dword [ebp - 0x14]
mov edx, dword [ebx + 0x24]
push edx
call fcn.005e2761
mov dword [ebp - 4], eax
mov dword [ebp - 0xc], ecx
mov eax, dword [ebx + 8]
mov dword [ebp - 8], eax
push edi
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 4]
push dword [ebp - 8]
push dword [ebp - 0xc]
call dword [edi + 0x122d3163]
pop edi
test eax, eax
jne 0x5e282c
pop ecx
jmp 0x5e283d
add ebx, 0x28
pop ecx
dec ecx
jmp 0x5e27e5
mov dword [ebp - 0x18], 1
popal
mov eax, dword [ebp - 0x18]
leave
ret 4

Function at 0x5e29e3
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
cmp dword [ebp + 0x18], 0
jne 0x5e2b37
cmp dword [ebp + 0xc], 0
jne 0x5e2b37
mov eax, dword [ebp + 8]
mov eax, dword [eax + 8]
mov dword [ebp - 0x1c], eax
mov eax, dword [eax + 8]
cmp eax, 0xffffffff
je 0x5e2a2a
sub eax, dword [ebp + 0x10]
js 0x5e2b37
je 0x5e2b37
cmp eax, dword [ebp + 0x14]
jl 0x5e2b37
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 4]
cmp word [eax], 0x5a4d
jne 0x5e2b37
mov ebx, dword [eax + 0x3c]
add eax, ebx
cmp dword [eax], 0x4550
jne 0x5e2b37
mov ebx, dword [eax + 0x50]
push edi
push 4
push 0x1000
push ebx
push 0
call dword [edi + 0x122d1ed0]
pop edi
test eax, eax
je 0x5e2b37
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x18], eax
push ebx
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x14], ebx
pop ebx
lea eax, [ebp - 0x18]
push edi
push eax
lea eax, [edi + 0x124a6d9a]
push eax
call int.005e1a4b
pop edi
test eax, eax
je 0x5e2b37
lea eax, [ebp - 0x18]
push edi
push eax
lea eax, [edi + 0x124a6d9e]
push eax
call int.005e1a4b
pop edi
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 4]
mov ebx, dword [eax + 0x3c]
add eax, ebx
mov eax, dword [eax + 0x54]
mov dword [ebp - 0xc], eax
push edi
mov ecx, dword [ebp - 0xc]
mov edi, dword [ebp - 0x10]
mov esi, dword [ebp - 0x1c]
mov esi, dword [esi + 4]
rep movsb byte es:[edi], byte [esi]
pop edi
mov ebx, dword [ebp - 0x10]
mov dword [ebp - 8], ebx
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 4]
mov dword [ebp - 4], eax
mov ebx, dword [eax + 0x3c]
add eax, ebx
lea ebx, [eax + 0x18]
movzx ecx, word [eax + 0x14]
add ebx, ecx
movzx ecx, word [eax + 6]
test ecx, ecx
je 0x5e2b2a
push ecx
mov ecx, dword [ebx + 8]
mov eax, dword [ebx + 0xc]
add eax, dword [ebp - 8]
test eax, eax
je 0x5e2b37
push edi
mov edi, eax
xor eax, eax
push ecx
push edi
rep stosb byte es:[edi], al
pop edi
pop ecx
mov edx, dword [ebx + 0x10]
cmp ecx, edx
jl 0x5e2b17
mov ecx, edx
mov esi, dword [ebx + 0x14]
add esi, dword [ebp - 4]
rep movsb byte es:[edi], byte [esi]
pop edi
add ebx, 0x28
pop ecx
dec ecx
jmp 0x5e2ae5
push dword [ebp + 8]
call fcn.005e38d9
jmp 0x5e2b3e
mov dword [ebp - 0x18], 0
mov eax, dword [ebp - 0x18]
leave
ret 0x14
Function at 0x5e2ec9
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
pushal
mov dword [ebp - 0x10], 0
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x14]
mov dword [ebp - 0xc], eax
test eax, eax
je 0x5e2fb8
mov ecx, eax
mov ebx, dword [ecx + 0x3c]
add ecx, ebx
mov ecx, dword [ecx + 0x7c]
test ecx, ecx
je 0x5e2fb8
mov dword [ebp - 4], ecx
mov ebx, eax
mov ecx, dword [ebx + 0x3c]
add ebx, ecx
mov ebx, dword [ebx + 0x78]
add ebx, eax
mov dword [ebp - 8], ebx
mov eax, dword [ebp + 0xc]
test eax, 0xffff0000
je 0x5e2f64
mov ecx, dword [ebx + 0x18]
test ecx, ecx
je 0x5e2fb8
dec ecx
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x20]
add eax, dword [ebp - 0xc]
push ecx
shl ecx, 2
add eax, ecx
mov eax, dword [eax]
add eax, dword [ebp - 0xc]
push edi
push dword [ebp + 0xc]
push eax
call dword [edi + 0x124a6efa]
pop edi
pop ecx
test eax, eax
jne 0x5e2f1d
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x24]
add eax, dword [ebp - 0xc]
shl ecx, 1
add eax, ecx
movzx ecx, word [eax]
jmp 0x5e2f6a
mov ecx, dword [ebp + 0xc]
sub ecx, dword [ebx + 0x10]
mov ebx, dword [ebp - 8]
mov eax, dword [ebx + 0x14]
cmp ecx, eax
jge 0x5e2fb8
mov eax, dword [ebp - 0xc]
mov edx, dword [ebx + 0x1c]
add edx, eax
shl ecx, 2
add edx, ecx
cmp dword [edx], 0
je 0x5e2fb8
mov ebx, dword [edx]
add eax, ebx
mov dword [ebp - 0x10], eax
cmp eax, dword [ebp - 8]
jle 0x5e2fb8
sub eax, dword [ebp - 8]
cmp eax, dword [ebp - 4]
jge 0x5e2fb8
push dword [ebp - 0x10]
push dword [ebp + 8]
call fcn.005e2e12
mov dword [ebp - 0x10], eax
popal
mov eax, dword [ebp - 0x10]
leave
ret 8
Function at 0x401210
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x794
call fcn.004af5a0
test al, al
je 0x401284
mov eax, esi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x401224
sub eax, edx
sar eax, 1
cmp eax, 0x3ca
jb 0x401284
movzx eax, word [esi]
xor ecx, ecx
test ax, ax
lea edx, [esi + 2]
je 0x401261
cmp ecx, 0x3c9
jae 0x401261
mov word [esp + ecx*2], ax
movzx eax, word [edx]
add ecx, 1
add edx, 2
test ax, ax
jne 0x401247
push 1
push 0
push 0
lea eax, [esp + 0xc]
push eax
push 0
push 0
mov word [esp + ecx*2 + 0x18], 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
add esp, 0x794
ret
push 1
push 0
push 0
push esi
push 0
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
add esp, 0x794
ret

Function at 0x4012a0
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x468
push esi
push edi
push 0x44
mov esi, eax
lea eax, [esp + 0x1c]
push 0
push eax
call fcn.006a1300
mov cx, word [esp + 0x480]
xor eax, eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
movzx eax, word [esi]
mov word [esp + 0x54], cx
add esp, 0xc
xor ecx, ecx
test ax, ax
mov dword [esp + 0x18], 0x44
mov dword [esp + 0x44], 1
lea edx, [esi + 2]
je 0x401312
cmp ecx, 0x207
jae 0x401312
mov word [esp + ecx*2 + 0x60], ax
movzx eax, word [edx]
add ecx, 1
add edx, 2
test ax, ax
jne 0x4012f7
lea edx, [esp + 8]
push edx
lea eax, [esp + 0x1c]
push eax
push 0
push 0
push 0x10
push 0
push 0
mov word [esp + ecx*2 + 0x7c], 0
push 0
lea ecx, [esp + 0x80]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x401380
mov edx, dword [esp + 0xc]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push edx
call esi
mov eax, dword [esp + 8]
push 0x4e20
push eax
call dword [sym.imp.USER32.dll_WaitForInputIdle]
mov ecx, dword [esp + 8]
push ecx
mov edi, eax
call esi
mov eax, edi
neg eax
sbb eax, eax
and eax, 0xffffffe0
add eax, 0x20
pop edi
pop esi
add esp, 0x468
ret 4
pop edi
xor eax, eax
pop esi
add esp, 0x468
ret 4

Function at 0x401390
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x124
push esi
mov esi, eax
call fcn.004af5a0
test al, al
je 0x4013b6
cmp esi, 5
jle 0x4013b6
xor al, al
pop esi
mov esp, ebp
pop ebp
ret 4
push 0x11c
lea eax, [esp + 0xc]
push 0
push eax
call fcn.006a1300
mov ecx, dword [ebp + 8]
add esp, 0xc
push 3
push 2
push 0
mov dword [esp + 0x18], esi
mov esi, dword [sym.imp.KERNEL32.dll_VerSetConditionMask]
push 0
mov dword [esp + 0x18], 0x11c
mov dword [esp + 0x20], ecx
call esi
push 3
push 1
push edx
push eax
call esi
push 3
push 0x20
push edx
push eax
call esi
push 3
push 0x10
push edx
push eax
call esi
push edx
push eax
push 0x33
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_VerifyVersionInfoW]
neg eax
sbb eax, eax
neg eax
pop esi
mov esp, ebp
pop ebp
ret 4