joyce8/EMBER2024-capa huggingface dataset:
Function at 0x59bd60
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov ecx, dword [0x7c4fec]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x59be48
sub esp, 0x4c
lea edi, [esp + 0x5c]
xor eax, eax
call fcn.0046a9f9
lea edi, [esp + 0x30]
call fcn.0046a9f9
mov ecx, dword [0x77fad0]
mov edx, dword [0x77fad4]
mov ebx, dword [0x77fad8]
mov dword [esp + 0x30], ecx
mov dword [esp + 0x34], edx
mov dword [esp + 0x38], ebx
mov byte [esp + 0x3c], 1
mov ecx, dword [esp + 0x54]
test ecx, ecx
jne 0x59bdc4
movzx eax, byte [esp + 0x58]
test al, al
jne 0x59bdc4
mov ecx, 0xffffffff
movzx eax, byte [esp + 0x50]
mov byte [esp + 0x28], al
mov dword [esp + 0x2c], ecx
mov eax, dword [esp + 0x28]
mov dword [esp], eax
mov dword [esp + 4], ecx
call sym.runtime.convT64
mov eax, dword [esp + 8]
lea ecx, [0x5fd080]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
call sym.encoding_asn1.MarshalWithParams
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x24], ecx
mov edx, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
mov ebp, dword [esp + 0x20]
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], edx
mov dword [esp + 0x48], ebx
lea edi, [esp + 0x5c]
lea esi, [esp + 0x30]
call fcn.0046aeca
mov eax, dword [esp + 0x24]
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], ebp
add esp, 0x4c
ret
call sym.runtime.morestack_noctxt
jmp sym.crypto_x509.marshalBasicConstraints
Function at 0x59dc70
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov ecx, dword [0x7c4fec]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x59de17
sub esp, 0x7c
mov eax, dword [esp + 0x80]
mov ecx, dword [esp + 0x84]
xor edx, edx
xor ebx, ebx
xor ebp, ebp
jmp 0x59dcb1
mov ecx, dword [esp + 0x74]
add ecx, 0x24
mov ebp, dword [esp + 0x40]
dec ebp
mov esi, ecx
mov ecx, ebp
mov ebp, eax
mov eax, esi
test ecx, ecx
jle 0x59ddfe
mov dword [esp + 0x40], ecx
mov dword [esp + 0x68], ebx
mov dword [esp + 0x30], ebp
mov dword [esp + 0x34], edx
mov dword [esp + 0x74], eax
lea edi, [esp + 0x44]
mov esi, eax
call fcn.0046aeb6
lea ecx, [0x5fd3e0]
mov dword [esp], ecx
call sym.runtime.newobject
mov eax, dword [esp + 4]
mov dword [esp + 0x78], eax
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x60]
mov ebx, dword [esp + 0x64]
mov dword [esp], ecx
mov dword [esp + 4], edx
mov dword [esp + 8], ebx
lea ecx, [0x5ea520]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
call sym.encoding_asn1.UnmarshalWithParams
mov eax, dword [esp + 0x28]
test eax, eax
je 0x59dd41
mov eax, dword [esp + 0x30]
mov edx, dword [esp + 0x34]
mov ebx, dword [esp + 0x68]
jmp 0x59dc9d
mov eax, dword [esp + 0x20]
test eax, eax
jne 0x59dded
mov eax, dword [esp + 0x30]
inc eax
mov ecx, dword [esp + 0x34]
cmp ecx, eax
jb 0x59dd62
mov ebx, dword [esp + 0x68]
mov edx, ecx
jmp 0x59dd94
mov edx, dword [esp + 0x68]
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
mov dword [esp + 0xc], 1
lea eax, [0x5fd3e0]
mov dword [esp + 0x10], eax
call sym.runtime.growslice
mov ebx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ecx, dword [0x7c5120]
lea ebp, [eax + eax*2]
lea edi, [ebx + ebp*8 - 0x18]
test ecx, ecx
je 0x59dddf
mov dword [esp + 0x70], ebx
mov dword [esp + 0x3c], eax
mov dword [esp + 0x38], edx
mov dword [esp + 0x6c], edi
lea eax, [0x5fd3e0]
mov dword [esp], eax
mov dword [esp + 4], edi
mov eax, dword [esp + 0x78]
mov dword [esp + 8], eax
call sym.runtime.wbMove
mov eax, dword [esp + 0x3c]
mov edx, dword [esp + 0x38]
mov ebx, dword [esp + 0x70]
mov edi, dword [esp + 0x6c]
mov esi, dword [esp + 0x78]
call fcn.0046aed4
jmp 0x59dc9d
mov eax, dword [esp + 0x30]
mov edx, dword [esp + 0x34]
mov ebx, dword [esp + 0x68]
jmp 0x59dc9d
mov dword [esp + 0x8c], ebx
mov dword [esp + 0x90], ebp
mov dword [esp + 0x94], edx
add esp, 0x7c
ret
call sym.runtime.morestack_noctxt
jmp sym.crypto_x509.parseRawAttributes
Function at 0x816f40
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x10d000]
push edi
jmp 0x816f5a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x816f61
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x816f50
mov eax, 1
add ebx, ebx
jne 0x816f73
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x816f84
jne 0x816fa3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x816fa3
dec eax
add ebx, ebx
jne 0x816f90
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x816f68
add ebx, ebx
jne 0x816f9f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x816ff5
xor ecx, ecx
sub eax, 3
jb 0x816fbb
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x81702a
sar eax, 1
mov ebp, eax
jmp 0x816fc6
add ebx, ebx
jne 0x816fc6
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x816f94
inc ecx
add ebx, ebx
jne 0x816fd4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x816f94
add ebx, ebx
jne 0x816fe1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x816fd6
jne 0x816ff2
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x816fd6
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x817014
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x817006
jmp 0x816f56
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x817014
add edi, ecx
jmp 0x816f56
pop esi
mov edi, esi
mov ecx, 0x58c
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x817032
cmp byte [edi], 6
jne 0x817032
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 0x817037
lea edi, [esi + 0x412000]
mov eax, dword [edi]
or eax, eax
je 0x8170af
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x4397d0]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x439a60]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x817064
mov ecx, edi
jns 0x817093
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 + 0x439a68]
or eax, eax
je 0x8170a9
mov dword [ebx], eax
add ebx, 4
jmp 0x817081
call dword [esi + 0x439a64]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x8170e0
cmp al, 0xef
ja 0x8170d3
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x8170b5
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x8170c2
mov ebp, dword [esi + 0x439a6c]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x21f]
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 0x817114
sub esp, 0xffffff80
jmp 0x4201bb
Function at 0x401000
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push esi
mov esi, dword [esp + 0xc]
test esi, esi
je 0x401090
push ebp
mov ebp, dword [esp + 0x14]
push edi
mov edi, dword [esp + 0x10]
push ebx
cmp byte [esi], 0
je 0x40108d
push 0x5c
push esi
call dword [sym.imp.MSVCR71.dll_strchr]
mov esi, eax
test esi, esi
pop ecx
pop ecx
je 0x40108d
push edi
mov byte [esi], 0
call dword [sym.imp.kernel32.dll_GetFileAttributesA]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x401066
push 0
push edi
call dword [sym.imp.kernel32.dll_CreateDirectoryA]
test eax, eax
jne 0x40105f
test ebp, ebp
je 0x40105f
push edi
push str.CreateDirectory___s_
push 5
call ebp
add esp, 0xc
jmp 0x401066
push edi
push 1
call ebp
pop ecx
pop ecx
test bl, 0x10
jne 0x401087
push 0xb7
call dword [sym.imp.kernel32.dll_SetLastError]
test ebp, ebp
je 0x401087
push edi
push str.CreateDirectory___s_
push 5
call ebp
add esp, 0xc
mov byte [esi], 0x5c
inc esi
jne 0x401018
pop ebx
pop edi
pop ebp
xor eax, eax
inc eax
pop esi
ret

Function at 0x402bf1
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
pushal
call 0x402c00
pop dword [ebp - 0x38]
mov eax, 0x402c00
sub dword [ebp - 0x38], eax
mov dword [ebp - 0x48], 0x1ccef472
add dword [ebp - 0x48], 0x318350d9
mov dword [ebp - 0x44], 0xe9a23172
add dword [ebp - 0x44], 0x48911ad3
mov dword [ebp - 0x40], 0x83de9e45
sub dword [ebp - 0x40], 0x37925a17
mov dword [ebp - 0x3c], 0x2643031e
add dword [ebp - 0x3c], 0xd9bcfce2
lea eax, [ebp - 0x48]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0x38]
call dword [eax]
mov dword [ebp - 0x48], 0xb7b7965b
add dword [ebp - 0x48], 0xbcbad2fb
mov dword [ebp - 0x44], 0x6777dbaa
sub dword [ebp - 0x44], 0x260b7a35
mov dword [ebp - 0x40], 0x4e3b78f
add dword [ebp - 0x40], 0x5e8bb4dd
mov dword [ebp - 0x3c], 0x8a83cb0
sub dword [ebp - 0x3c], 0x8a83cb0
lea ebx, [ebp - 0x48]
push ebx
push eax
mov eax, 0x3086bd30
add eax, 0xcfb9c3a4
add eax, dword [ebp - 0x38]
call dword [eax]
push 0x40
push 0x1000
push 0x35cfe
push 0
call eax
mov ecx, 0x4ed024a2
add ecx, 0xb1301fdc
xor ebx, ebx
add ebx, eax
mov esi, 0x411000
add esi, dword [ebp - 0x38]
mov edi, 0xd4629ccf
add edi, 0xa7d97572
add dword [ebp - 0x28], 0x20a2eb
mov edx, dword [esi]
xor dword [ebp - 4], edi
xor edx, edi
add dword [ebp - 0xc], esi
mov dword [ebx], edx
mov dword [ebp - 4], 0x20fbee86
add ebx, 0x5ea4152d
sub ebx, 0x5ea41529
add esi, 0xef7cf761
sub esi, 0xef7cf75d
loop 0x402d14
add eax, 0x6e637720
add eax, 0x919d8dab
mov ebx, eax
add eax, 0x804801b1
sub eax, 0x804801ac
mov ecx, 0xa7991101
sub ecx, 0xa7591101
add ecx, dword [ebp - 0x38]
call ebx
leave
ret
Function at 0x4038e0
Capabilities:
Create directory
Get common file path
Set environment variable

Disassembly:
mov eax, 0x302c
call fcn.00407440
mov eax, dword [0x42d008]
xor eax, esp
mov dword [esp + 0x3028], eax
mov eax, dword [esp + 0x3030]
push ebx
push ebp
mov ebp, dword [esp + 0x303c]
mov dword [esp + 8], eax
push esi
push edi
test ebp, ebp
je 0x403966
push 0x422524
call fcn.00403ad0
push ebp
mov ebx, eax
lea eax, [esp + 0x3c]
push 0x1000
push eax
call fcn.004026b0
push 0
push 0x422524
push 0
call fcn.00404860
mov edi, eax
lea eax, [esp + 0x50]
push 0
push eax
push 0
call fcn.00404860
mov esi, eax
push esi
push edi
call fcn.0040e825
push edi
call fcn.00409606
push esi
call fcn.00409606
add esp, 0x38
jmp 0x40396a
mov ebx, dword [esp + 0x10]
lea eax, [esp + 0x1038]
push eax
push 0x1000
call dword [sym.imp.KERNEL32.DLL_GetTempPathW]
call sub.KERNEL32.DLL_GetCurrentProcessId
push eax
push 0x422528
lea eax, [esp + 0x1c]
push 0x10
push eax
call fcn.004043a0
add esp, 0x10
xor esi, esi
nop dword [eax]
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x103c]
push eax
call fcn.0040f97c
mov edi, eax
push edi
call fcn.0040e861
add esp, 0xc
test eax, eax
je 0x403a32
push edi
call fcn.00409606
inc esi
add esp, 4
cmp esi, 5
jl 0x4039a0
test ebp, ebp
je 0x403a2e
push 0
push 0x422524
push 0
call fcn.00404860
test ebx, ebx
je 0x403a17
push 0
push ebx
push 0
mov edi, eax
call fcn.00404860
mov esi, eax
push esi
push edi
call fcn.0040e825
push edi
call fcn.00409606
push esi
call fcn.00409606
push ebx
call fcn.00409606
add esp, 0x2c
xor eax, eax
jmp 0x403aa8
add esp, 0xc
mov esi, eax
push 0
push esi
call dword [sym.imp.KERNEL32.DLL_SetEnvironmentVariableW]
push esi
call fcn.00409606
add esp, 4
xor eax, eax
jmp 0x403aa8
push 0x1000
push edi
push dword [esp + 0x18]
call fcn.004048f0
push edi
call fcn.00409606
add esp, 0x10
test ebp, ebp
je 0x403aa3
push 0
push 0x422524
push 0
call fcn.00404860
test ebx, ebx
je 0x403a8c
push 0
push ebx
push 0
mov edi, eax
call fcn.00404860
mov esi, eax
push esi
push edi
call fcn.0040e825
push edi
call fcn.00409606
push esi
call fcn.00409606
push ebx
call fcn.00409606
add esp, 0x2c
jmp 0x403aa3
add esp, 0xc
mov esi, eax
push 0
push esi
call dword [sym.imp.KERNEL32.DLL_SetEnvironmentVariableW]
push esi
call fcn.00409606
add esp, 4
mov eax, 1
mov ecx, dword [esp + 0x3038]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00407420
add esp, 0x302c
ret
Function at 0x403ad0
Capabilities:
Query environment variable

Disassembly:
mov eax, 0x4004
call fcn.00407440
mov eax, dword [0x42d008]
xor eax, esp
mov dword [esp + 0x4000], eax
mov eax, dword [esp + 0x4008]
push 0
push eax
push 0
call fcn.00404860
add esp, 0xc
lea ecx, [esp]
push 0x2000
push ecx
push eax
call dword [sym.imp.KERNEL32.DLL_GetEnvironmentVariableW]
test eax, eax
je 0x403b60
push 0x2000
lea eax, [esp + 0x2004]
push eax
lea eax, [esp + 8]
push eax
call dword [sym.imp.KERNEL32.DLL_ExpandEnvironmentStringsW]
push 0
lea eax, [esp + 4]
push eax
push 0
call fcn.004048f0
add esp, 0xc
test eax, eax
je 0x403b60
cmp byte [eax], 0
je 0x403b60
push eax
call fcn.0040df14
add esp, 4
mov ecx, dword [esp + 0x4000]
xor ecx, esp
call fcn.00407420
add esp, 0x4004
ret
mov ecx, dword [esp + 0x4000]
xor eax, eax
xor ecx, esp
call fcn.00407420
add esp, 0x4004
ret
Function at 0x403b80
Capabilities:
Create directory

Disassembly:
mov eax, 0x4034
call fcn.00407440
mov eax, dword [0x42d008]
xor eax, esp
mov dword [esp + 0x4030], eax
mov eax, dword [esp + 0x4038]
push esi
mov esi, dword [esp + 0x4040]
push 0x1000
push eax
lea eax, [esp + 0x3c]
push eax
call fcn.0040d0e0
push 0x1000
lea eax, [esp + 0x1044]
push esi
push eax
call fcn.0040d0e0
add esp, 0x18
cmp byte [esp + 0x1033], 0
jne 0x403d4a
cmp byte [esp + 0x2033], 0
jne 0x403d4a
push ebp
lea ebp, [esp + 0x38]
lea ecx, [ebp + 1]
mov al, byte [ebp]
inc ebp
test al, al
jne 0x403bf1
push ebx
push edi
lea eax, [esp + 0x1040]
sub ebp, ecx
push 0x421400
push eax
call fcn.0040d204
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x403cf4
nop dword [eax]
mov ecx, ebx
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x403c25
sub ecx, edx
inc ebp
add ebp, ecx
cmp ebp, 0xfff
jae 0x403cd9
lea edi, [esp + 0x40]
dec edi
mov al, byte [edi + 1]
lea edi, [edi + 1]
test al, al
jne 0x403c42
mov ax, word [0x421400]
mov esi, ebx
mov word [edi], ax
mov al, byte [ebx]
inc ebx
test al, al
jne 0x403c57
lea edi, [esp + 0x40]
sub ebx, esi
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x403c65
mov ecx, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
push 0x421400
rep movsb byte es:[edi], byte [esi]
push 0
call fcn.0040d204
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x403cf4
push 0x1000
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x2048]
push eax
call fcn.00404860
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x2050]
push eax
call fcn.0040da6d
add esp, 0x14
test eax, eax
jns 0x403c20
lea eax, [esp + 0x2040]
push eax
call fcn.0040e861
add esp, 4
jmp 0x403c20
xor eax, eax
pop edi
pop ebx
pop ebp
pop esi
mov ecx, dword [esp + 0x4030]
xor ecx, esp
call fcn.00407420
add esp, 0x4034
ret
push 0x1000
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x2048]
push eax
call fcn.00404860
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x2050]
push eax
call fcn.0040da6d
add esp, 0x14
test eax, eax
jne 0x403d36
lea eax, [esp + 0x40]
push eax
push str.WARNING:_file_already_exists_but_should_not:__s_n
call fcn.00401850
add esp, 8
lea eax, [esp + 0x40]
push 0x4225c8
push eax
call fcn.00402640
add esp, 8
jmp 0x403cdb
mov ecx, dword [esp + 0x4034]
xor eax, eax
pop esi
xor ecx, esp
call fcn.00407420
add esp, 0x4034
ret

Function at 0x404060
Capabilities:
Set environment variable

Disassembly:
push esi
push edi
push 0
push dword [esp + 0x10]
push 0
call fcn.00404860
add esp, 0xc
mov edi, eax
push 0
push edi
call dword [sym.imp.KERNEL32.DLL_SetEnvironmentVariableW]
push edi
mov esi, eax
call fcn.00409606
add esp, 4
mov eax, esi
pop edi
pop esi
ret
Function at 0x404090
Capabilities:
Accept command line arguments
Create process on windows
Create process suspended

Disassembly:
mov eax, 0x2068
call fcn.00407440
mov eax, dword [0x42d008]
xor eax, esp
mov dword [esp + 0x2064], eax
mov eax, dword [esp + 0x206c]
push 0x1000
push eax
lea eax, [esp + 0x6c]
mov dword [esp + 8], 0
push eax
call fcn.00404860
push 1
push 0x16
call fcn.0040f411
push 1
push 2
call fcn.0040f411
push 1
push 0xf
call fcn.0040f411
push 1
push 0x15
call fcn.0040f411
add esp, 0x2c
mov dword [esp + 4], 0xc
lea eax, [esp + 0x20]
mov dword [esp + 8], 0
mov dword [esp + 0xc], 1
push eax
call dword [sym.imp.KERNEL32.DLL_GetStartupInfoW]
mov eax, 1
mov dword [esp + 0x24], 0
push 0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], 0
mov dword [esp + 0x50], 0x101
mov word [esp + 0x54], ax
call fcn.0040a56d
push eax
call fcn.0040e53c
push eax
call fcn.0040ef79
push 1
mov dword [esp + 0x68], eax
call fcn.0040a56d
push eax
call fcn.0040e53c
push eax
call fcn.0040ef79
push 2
mov dword [esp + 0x78], eax
call fcn.0040a56d
push eax
call fcn.0040e53c
push eax
call fcn.0040ef79
add esp, 0x24
mov dword [esp + 0x60], eax
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x24]
push eax
push 0
push 0
push 0
push 1
push 0
lea eax, [esp + 0x20]
push eax
call dword [sym.imp.KERNEL32.DLL_GetCommandLineW]
push eax
lea eax, [esp + 0x88]
push eax
call dword [sym.imp.KERNEL32.DLL_CreateProcessW]
test eax, eax
je 0x4041e7
push 0xffffffffffffffff
push dword [esp + 0x14]
call dword [sym.imp.KERNEL32.DLL_WaitForSingleObject]
lea eax, [esp]
push eax
push dword [esp + 0x14]
call dword [sym.imp.KERNEL32.DLL_GetExitCodeProcess]
mov eax, dword [esp]
mov ecx, dword [esp + 0x2064]
xor ecx, esp
call fcn.00407420
add esp, 0x2068
ret
push str.Error_creating_child_process__n
push 0x4225ec
call fcn.004018a0
mov ecx, dword [esp + 0x206c]
add esp, 8
xor ecx, esp
or eax, 0xffffffff
call fcn.00407420
add esp, 0x2068
ret
Function at 0x29840a5a
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
pushal
call 0x29840a69
pop dword [ebp - 0xc]
mov eax, 0x865353ad
add eax, 0xa330b6bc
sub dword [ebp - 0xc], eax
mov dword [ebp - 0x1c], 0xda9a4d3e
add dword [ebp - 0x1c], 0x73b7f80d
mov dword [ebp - 0x18], 0x8eece39f
add dword [ebp - 0x18], 0xa34668a6
mov dword [ebp - 0x14], 0xc335a2e6
sub dword [ebp - 0x14], 0x76e95eb8
mov dword [ebp - 0x10], 0xc234857b
sub dword [ebp - 0x10], 0xc234857b
lea eax, [ebp - 0x1c]
push eax
mov eax, 0x9f34db6d
sub eax, 0x75af5aad
add eax, dword [ebp - 0xc]
call dword [eax]
mov dword [ebp - 0x1c], 0xe0f38eef
sub dword [ebp - 0x1c], 0x6c812599
mov dword [ebp - 0x18], 0x2c835367
sub dword [ebp - 0x18], 0xeb16f1f2
mov dword [ebp - 0x14], 0x36263694
add dword [ebp - 0x14], 0x2d4935d8
mov dword [ebp - 0x10], 0xf84cfa91
add dword [ebp - 0x10], 0x7b3056f
lea ebx, [ebp - 0x1c]
push ebx
push eax
mov eax, 0x63b87b1
add eax, 0x2349f907
add eax, dword [ebp - 0xc]
call dword [eax]
push 0x40
push 0x1000
push 0x461fb
push 0
call eax
mov ecx, 0x4021494
add ecx, 0xfbfe2ba3
xor ebx, ebx
add ebx, eax
mov esi, 0xb20326d8
add esi, 0x77864d28
add esi, dword [ebp - 0xc]
mov edx, 0xcdffcdda
sub edx, 0x2946391b
mov edi, dword [esi]
add dword [ebp - 8], 0x37c006e
sub edi, edx
xor dword [ebp - 4], 0xbddd76d9
mov dword [ebx], edi
xor dword [ebp - 8], edx
add ebx, 0xd5f71bd7
sub ebx, 0xd5f71bd3
add esi, 0x5f7fd0c2
sub esi, 0x5f7fd0be
loop 0x29840b8d
add eax, 0xdf06b6d
add eax, 0xf2108842
xor ebx, ebx
add ebx, eax
add eax, 0x8184f721
sub eax, 0x8184f71c
mov ecx, 0xa6ceee3d
sub ecx, 0x7d4eee3d
add ecx, dword [ebp - 0xc]
call ebx
leave
ret
Function at 0x4239f6
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
pushal
call 0x423a05
pop dword [ebp - 0xc]
mov eax, 0x423a05
sub dword [ebp - 0xc], eax
push 0x40
push 0x1000
push 0x39a2d
push 0
mov eax, 0x4541e1f0
sub eax, 0x44fe61c0
add eax, dword [ebp - 0xc]
call dword [eax]
mov ecx, 0xb555cec0
sub ecx, 0xb5558ae5
xor edi, edi
add edi, eax
mov esi, 0x998277a2
add esi, 0x66c24e5e
add esi, dword [ebp - 0xc]
mov ebx, 0xa5a6171
add ebx, 0xbef53532
sub dword [ebp - 8], ecx
mov edx, dword [esi]
xor dword [ebp - 8], edi
add edx, ebx
sub dword [ebp - 8], edi
mov dword [edi], edx
mov dword [ebp - 4], 0x24788f09
add edi, 0xcfb19039
sub edi, 0xcfb19035
add esi, 4
loop 0x423a61
add eax, 0xe814e671
sub eax, 0xe813e432
xor ebx, ebx
add ebx, eax
add eax, 0x7c8a090a
add eax, 0x8375f6fb
mov ecx, 0xf2b19f89
add ecx, 0xd8e6077
add ecx, dword [ebp - 0xc]
call ebx
leave
ret

Function at 0x4281f2
Capabilities:
Access peb ldr_data
Get kernel32 base address
Get number of processors

Disassembly:
mov eax, 0x436de3
call fcn.004339e0
push ecx
push ebx
push esi
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 0x10], esi
mov dword [esi], 0x43a908
mov dword [esi + 4], 0x43a8f4
mov dword [esi + 8], 0x438e70
mov dword [esi + 0xc], 0x43a8d8
mov dword [esi + 0x10], 0x43a8c4
mov dword [esi + 0x14], 0x43a8b4
mov dword [esi + 0x18], 0x438e60
mov dword [esi + 0x1c], 0x438e50
mov dword [esi + 0x20], 0x43a8ac
mov dword [esi + 0x24], ebx
mov dword [ebp - 4], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
or dword [esi + 0x38], 0xffffffff
mov dword [esi + 0x40], ebx
mov dword [esi + 0x44], ebx
mov dword [esi + 0x48], ebx
mov dword [esi + 0x4c], ebx
mov dword [esi + 0x50], ebx
mov dword [esi + 0x54], ebx
mov dword [esi + 0x58], ebx
mov dword [esi + 0x5c], ebx
mov dword [esi + 0x60], ebx
lea ecx, [esi + 0x64]
mov byte [ebp - 4], 4
call fcn.004028e9
lea ecx, [esi + 0x70]
mov byte [ebp - 4], 5
call fcn.004028e9
mov dword [esi + 0x7c], ebx
mov dword [esi + 0x80], ebx
mov dword [esi + 0x84], ebx
mov dword [esi + 0x88], ebx
mov dword [esi + 0x8c], ebx
or dword [esi + 0x9c], 0xffffffff
mov byte [ebp - 4], 7
mov dword [esi + 0x90], ebx
mov dword [esi + 0x94], ebx
mov dword [esi + 0x98], ebx
mov dword [esi + 0xa0], ebx
mov byte [esi + 0xa4], bl
mov byte [esi + 0xa5], bl
mov byte [esi + 0xa6], bl
mov byte [esi + 0xa7], bl
mov byte [esi + 0xa8], bl
mov byte [esi + 0xa9], bl
mov byte [esi + 0xaa], bl
mov dword [esi + 0xac], ebx
mov dword [esi], 0x43a880
mov dword [esi + 4], 0x43a86c
mov dword [esi + 8], 0x43a854
mov dword [esi + 0xc], 0x43a838
mov dword [esi + 0x10], 0x43a824
mov dword [esi + 0x14], 0x43a814
mov dword [esi + 0x18], 0x43a804
mov dword [esi + 0x1c], 0x43a7f4
mov dword [esi + 0x20], 0x43a7ec
call fcn.0040d4f9
mov ecx, dword [ebp - 0xc]
mov byte [esi + 0x28], al
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret