joyce8/EMBER2024-capa huggingface dataset:
Function at 0x684d1e70
Capabilities:
Allocate or change rwx memory

Disassembly:
push edi
push esi
push ebx
sub esp, 0x30
mov esi, dword [0x68548538]
test esi, esi
jle 0x684d1f80
mov edi, dword [0x6854853c]
xor ebx, ebx
lea edx, [edi + 0xc]
nop
mov ecx, dword [edx]
cmp ecx, eax
ja 0x684d1ea4
mov edi, dword [edx + 4]
add ecx, dword [edi + 8]
cmp eax, ecx
jb 0x684d1f25
add ebx, 1
add edx, 0x14
cmp ebx, esi
jne 0x684d1e90
mov dword [esp], eax
mov ebx, eax
call fcn.684d25c0
test eax, eax
mov edi, eax
je 0x684d1fa7
mov eax, dword [0x6854853c]
lea ebx, [esi + esi*4]
shl ebx, 2
add eax, ebx
mov dword [eax + 0x10], edi
mov dword [eax], 0
call fcn.684d26c0
add eax, dword [edi + 0xc]
mov edx, dword [0x6854853c]
mov dword [edx + ebx + 0xc], eax
lea edx, [esp + 0x14]
mov dword [esp + 8], 0x1c
mov dword [esp], eax
mov dword [esp + 4], edx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
sub esp, 0xc
test eax, eax
je 0x684d1f87
mov eax, dword [esp + 0x28]
lea edx, [eax - 0x40]
and edx, 0xffffffbf
je 0x684d1f1e
sub eax, 4
and eax, 0xfffffffb
jne 0x684d1f30
add dword [0x68548538], 1
add esp, 0x30
pop ebx
pop esi
pop edi
ret
add ebx, dword [0x6854853c]
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x20]
mov dword [ebx + 4], eax
mov dword [ebx + 8], edx
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 0x40
mov dword [esp + 4], edx
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
sub esp, 0x10
test eax, eax
jne 0x684d1f1e
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp], str.__VirtualProtect_failed_with_code_0x_x
mov dword [esp + 4], eax
call fcn.684dbf94
lea esi, [esi]
xor esi, esi
jmp 0x684d1eae
mov eax, dword [0x6854853c]
mov eax, dword [eax + ebx + 0xc]
mov dword [esp + 8], eax
mov eax, dword [edi + 8]
mov dword [esp], str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov dword [esp + 4], eax
call fcn.684dbf94
mov dword [esp + 4], ebx
mov dword [esp], str.Address__p_has_no_image_section
call fcn.684dbf94
mov esi, esi
lea edi, [edi]
Function at 0x684d2240
Capabilities:
Get thread local storage value

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x1c
mov dword [esp], 0x68548548
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ebx, dword [0x68548540]
sub esp, 4
test ebx, ebx
je 0x684d2295
mov ebp, dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
lea esi, [esi]
mov eax, dword [ebx]
mov dword [esp], eax
call ebp
sub esp, 4
mov esi, eax
call edi
test eax, eax
jne 0x684d228e
test esi, esi
je 0x684d228e
mov eax, dword [ebx + 4]
mov dword [esp], esi
call eax
mov ebx, dword [ebx + 8]
test ebx, ebx
jne 0x684d2270
mov dword [esp], 0x68548548
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
sub esp, 4
add esp, 0x1c
pop ebx
pop esi
pop edi
pop ebp
ret
Function at 0x684dbf94
Capabilities:
Contain obfuscated stackstrings
Get number of processors
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push ebx
sub esp, 0x18
mov dword [esp], 2
lea ebx, [esp + 0x24]
call fcn.684d7ab0
mov dword [esp + 8], 0x1b
mov dword [esp + 0xc], eax
mov dword [esp + 4], 1
mov dword [esp], str.Mingw_w64_runtime_failure:_n
call fcn.684d78d8
mov dword [esp], 2
call fcn.684d7ab0
mov edx, dword [esp + 0x20]
mov dword [esp + 8], ebx
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.684d7880
call fcn.684d7900
nop
nop
nop
jmp fcn.684013e0

Function at 0x407f80
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x6000]
push edi
or ebp, 0xffffffff
jmp 0x407fa2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x407fa9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x407f98
mov eax, 1
add ebx, ebx
jne 0x407fbb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x407fb0
jne 0x407fcc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x407fb0
xor ecx, ecx
sub eax, 3
jb 0x407fe0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x408052
mov ebp, eax
add ebx, ebx
jne 0x407feb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x407ff8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x40801c
inc ecx
add ebx, ebx
jne 0x408008
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x407ffd
jne 0x408019
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x407ffd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x40803c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x40802d
jmp 0x407f9e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x40803c
add edi, ecx
jmp 0x407f9e
pop esi
mov edi, esi
mov ecx, 0x8f
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x40805a
cmp byte [edi], 0
jne 0x40805a
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 0x40805f
lea edi, [esi + 0x5000]
mov eax, dword [edi]
or eax, eax
je 0x4080d7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x8d64]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x8ddc]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x40808c
mov ecx, edi
jns 0x4080bb
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 + 0x8de4]
or eax, eax
je 0x4080d1
mov dword [ebx], eax
add ebx, 4
jmp 0x4080a9
call dword [esi + 0x8de0]
mov ebp, dword [esi + 0x8de8]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x217]
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 0x40810b
sub esp, 0xffffff80
jmp 0x402130
Function at 0x430006
Capabilities:
Encode data using xor

Disassembly:
call 0x43000c
pop eax
nop
nop
nop
nop
nop
nop
add eax, 0x403cf8
sub eax, 0x403c9e
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
jl 0x430030
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
nop
cmp dword [eax], 0
jne 0x43001e
nop
nop
nop
nop
popal
nop
nop
nop
nop
nop
jmp loc.00401219
Function at 0x430003
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
call 0x43000c
nop
nop
pop eax
nop
nop
nop
add eax, 0x403d6f
nop
nop
sub eax, 0x403d15
nop
nop
nop
mov ebx, dword [eax]
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
add ebx, 4
nop
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
jl 0x430030
nop
nop
nop
nop
add eax, 0xc
nop
nop
cmp dword [eax], 0
nop
nop
nop
jne 0x43001e
nop
nop
nop
popal
nop
nop
nop
nop
nop
jmp loc.00401219

Function at 0x407f80
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x6000]
push edi
or ebp, 0xffffffff
jmp 0x407fa2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x407fa9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x407f98
mov eax, 1
add ebx, ebx
jne 0x407fbb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x407fb0
jne 0x407fcc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x407fb0
xor ecx, ecx
sub eax, 3
jb 0x407fe0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x408052
mov ebp, eax
add ebx, ebx
jne 0x407feb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x407ff8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x40801c
inc ecx
add ebx, ebx
jne 0x408008
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x407ffd
jne 0x408019
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x407ffd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x40803c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x40802d
jmp 0x407f9e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x40803c
add edi, ecx
jmp 0x407f9e
pop esi
mov edi, esi
mov ecx, 0x8f
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x40805a
cmp byte [edi], 0
jne 0x40805a
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 0x40805f
lea edi, [esi + 0x5000]
mov eax, dword [edi]
or eax, eax
je 0x4080d7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x8d64]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x8ddc]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x40808c
mov ecx, edi
jns 0x4080bb
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 + 0x8de4]
or eax, eax
je 0x4080d1
mov dword [ebx], eax
add ebx, 4
jmp 0x4080a9
call dword [esi + 0x8de0]
mov ebp, dword [esi + 0x8de8]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x217]
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 0x40810b
sub esp, 0xffffff80
jmp 0x402130
Function at 0xea3592
Capabilities:
Encode data using xor

Disassembly:
ror cx, 0x6b
mov ecx, dword [ebp + ecx*2 - 0x74e31bd8]
push 0xbc3a8227
add ebp, 4
xor edx, edx
dec byte [esp + 2]
test ecx, ecx
push 0x6ca81da4
lea esp, [esp + 8]
je 0xb18102
mov edi, 0x6c1d9938
movzx edi, byte [eax + edi - 0x6c1d9938]
push 0xf5191c2e
add dword [esp], 0x5136f037
xor edi, edx
shr byte [esp + 2], 0x81
and edi, 0xff
sar dword [esp], 0xaa
rol dword [esp], 0xb0
mov edi, dword [edi*4 + 0xb1016c]
push 0xdd1eb923
shr edx, 8
rol dword [esp + 1], 0xd7
xor edx, edi
inc eax
xor edx, 0x8fb01b20
dec ecx
push 0x63b61531
lea esp, [esp + 0xc]
jne 0xb180a7
call fcn.00af7048
mov eax, dword [ebp]
call fcn.011393ff
mov ecx, 0xc58e8b91
mov eax, ecx
neg ecx
mov eax, dword [ebp + ecx - 0x3a71746f]
jno 0xb1807a
mov edx, 0xbb5ab05
shr edx, 0xf9
mov edx, dword [ebp + edx*4 - 0x14]
mov al, byte [ebp + 4]
push 0x81bae3be
add ebp, 6
jmp 0x105a504
call fcn.00b185f8
test dword [ebp - 0x2f84b740], edx
cmp eax, 0x60e5e67d
mov dh, 0x3b
xlatb
dec edx
ret 0x2a81

Function at 0x1127023
Capabilities:
Encode data using xor

Disassembly:
push edi
enter 0xc14, 0xffffffffffffffaa
lahf
imul ebp, ebx, 0x4b832e9c
clc
xor ebp, dword [ebx]
mov ecx, 0x272a061a
out 0xbd, eax
rol byte [eax], cl
repne outsb dx, byte [esi]
mov eax, dword [0x53be94b8]
dec ecx
xlatb
push 0xffffffffffffffa0
mov dword [eax - 0x755f9c0d], esi
dec edx
cmp eax, 0x384ba485
cwde
sar byte [eax], 1
mov al, 0x9c
sbb dl, byte [edi - 0x6fec63cc]
jecxz 0x1126fe8
xor al, 0x9c
adc edx, dword [eax - 0x4a8a51d]
push edi
sti
sub esp, edx
sbb dword [ecx], edx
dec edx
enter 0x5ca0, 0xffffffffffffffc1
cmpsb byte [esi], byte es:[edi]
scasb al, byte es:[edi]
push eax
jns 0x1126f88
or byte [edx + 0x1201d3fd], cl
stc
sub edx, edx
in eax, dx
sti
retf 0xc6b5
fadd st(1), st(0)
mov bl, 0xc0
loope 0x1127013
jo 0x1126f52
scasd eax, dword es:[edi]
cmp eax, dword [edi - 0x16]
test al, 0xfb
invalid
mov ebx, 0x79231f96
call fcn.01124f18
leave
popal
push 0xf7216762
ja 0x112706d
xchg ebp, eax
xchg ebp, eax
iretd
inc bp
movzx ebx, byte [esi]
dec eax
add edi, 6
inc sp
mov dword [edi], ebx
push 0xb58b5803
call fcn.01129e51
xchg ebp, eax
pop ds
sti
clc
pop edx
mov esp, 0x3fcd5760
jmp 0x1126fca
sub eax, 0x7db5a218
xchg edx, eax
xchg byte [edx + 0x3f], al
adc dword [edx], ecx
xchg ebx, eax
loope 0x1127041
xor dword cs:[ebp - 0x2dc7b723], eax
and al, 0x80
mov dword [0x542bf721], eax
invalid
Function at 0x405e1b
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push ebx
push ebp
push esi
push edi
mov edi, 0x40a350
push edi
xor bl, bl
call dword [sym.imp.SHLWAPI.dll_PathSkipRootW]
mov esi, eax
test esi, esi
jne 0x405e35
mov esi, edi
movzx eax, word [esi]
cmp eax, 0x5c
je 0x405e47
cmp eax, 0x2f
je 0x405e47
test ax, ax
jne 0x405e73
mov ebp, eax
xor eax, eax
push edi
mov word [esi], ax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x405e67
push 0
push edi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jmp 0x405e69
test al, 0x10
je 0x405e7a
test bp, bp
je 0x405e78
mov word [esi], bp
add esi, 2
jmp 0x405e35
mov bl, 1
pop edi
pop esi
pop ebp
mov al, bl
pop ebx
ret

Function at 0x430006
Capabilities:
Encode data using xor

Disassembly:
call 0x43000c
nop
nop
nop
nop
pop eax
nop
add eax, 0x403d6a
nop
nop
sub eax, 0x403d10
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
mov edx, dword [eax + 8]
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
jl 0x430030
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
nop
jne 0x43001e
nop
nop
nop
popal
nop
nop
nop
jmp loc.00401219
Function at 0x100023c0
Capabilities:
Get storage device properties

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x10052670]
xor eax, ebp
mov dword [ebp - 8], eax
push esi
mov dword [ebp - 0x18], 0x10054f10
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0
xor eax, eax
mov dword [ebp - 0xc], eax
push 0
push 0
push 3
push 0
push 3
push 0
push str..PhysicalDrive0
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
jne 0x1000241a
push 0x10054ea0
mov esi, 0x1004ca5e
call fcn.100035f0
push 0
lea ecx, [ebp - 0x1c]
push ecx
push 0x1000
push 0x10054f10
push 0xc
lea edx, [ebp - 0x14]
push edx
push 0x2d1400
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
jne 0x10002452
push 0x10054ea0
mov esi, 0x1004ca5e
call fcn.100035f0
mov ecx, dword [ebp - 0x18]
cmp dword [ecx + 0x18], 0
jbe 0x10002473
mov edx, dword [ebp - 0x18]
mov esi, dword [edx + 0x18]
add esi, 0x10054f10
push 0x10054ea0
call fcn.100035f0
jmp 0x10002482
push 0x10054ea0
mov esi, 0x1004ca5e
call fcn.100035f0
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.1000ecf0
mov esp, ebp
pop ebp
ret
Function at 0x10002630
Capabilities:
Get local ipv4 addresses
Get mac address on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 0xc], 0x288
push 0x12
call fcn.10011fa0
add esp, 4
mov dword [ebp - 8], eax
push 0x288
call fcn.10011fa0
add esp, 4
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x10002680
push str.Error_allocating_memory_needed_to_call_GetAdaptersinfo_n
call fcn.100141d0
add esp, 4
mov eax, dword [ebp - 8]
push eax
call fcn.10011cb0
add esp, 4
xor eax, eax
jmp 0x1000278c
lea ecx, [ebp - 0xc]
push ecx
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.IPHLPAPI.DLL_GetAdaptersInfo]
cmp eax, 0x6f
jne 0x100026d4
mov eax, dword [ebp - 4]
push eax
call fcn.10011cb0
add esp, 4
mov ecx, dword [ebp - 0xc]
push ecx
call fcn.10011fa0
add esp, 4
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x100026d4
push str.Error_allocating_memory_needed_to_call_GetAdaptersinfo_n
call fcn.100141d0
add esp, 4
mov edx, dword [ebp - 8]
push edx
call fcn.10011cb0
add esp, 4
xor eax, eax
jmp 0x1000278c
lea eax, [ebp - 0xc]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.IPHLPAPI.DLL_GetAdaptersInfo]
test eax, eax
jne 0x1000277d
mov edx, dword [ebp - 4]
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0x10]
movzx ecx, byte [eax + 0x199]
push ecx
mov edx, dword [ebp - 0x10]
movzx eax, byte [edx + 0x198]
push eax
mov ecx, dword [ebp - 0x10]
movzx edx, byte [ecx + 0x197]
push edx
mov eax, dword [ebp - 0x10]
movzx ecx, byte [eax + 0x196]
push ecx
mov edx, dword [ebp - 0x10]
movzx eax, byte [edx + 0x195]
push eax
mov ecx, dword [ebp - 0x10]
movzx edx, byte [ecx + 0x194]
push edx
push str._02X_02X_02X_02X_02X_02X
mov eax, dword [ebp - 8]
push eax
call fcn.1000ef60
add esp, 0x20
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp - 0x10]
add edx, 0x1b0
push edx
push str.Address:__s__mac:__s_n
call fcn.100141d0
add esp, 0xc
push 0x1004cafc
call fcn.100141d0
add esp, 4
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
mov dword [ebp - 0x10], ecx
cmp dword [ebp - 0x10], 0
jne 0x100026f0
mov edx, dword [ebp - 4]
push edx
call fcn.10011cb0
add esp, 4
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret

Function at 0x10002b40
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 0xc], 0x1004cb60
mov dword [ebp - 4], str.xxxxxxxxx
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
push str.Conquer.exe
call fcn.100086c0
add esp, 0xc
mov dword [0x10054df0], eax
call fcn.1003de70
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call fcn.1003e340
push 0x100028c0
push 0x10054df0
call fcn.1003d900
call fcn.1003ded0
test eax, eax
je 0x10002ba0
push 0
call fcn.10015760
jmp 0x10002bed
mov dword [ebp - 0x10], 0x1004cb78
mov dword [ebp - 8], str.xxxx____x____x____xxx____xx____xxxxx____xxxx____xxxxxxxxx____xxx
mov edx, dword [ebp - 8]
push edx
mov eax, dword [ebp - 0x10]
push eax
push str.Conquer.exe
call fcn.100086c0
add esp, 0xc
mov dword [0x10054dec], eax
call fcn.1003de70
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call fcn.1003e340
push 0x10002790
push 0x10054dec
call fcn.1003d900
call fcn.1003ded0
mov esp, ebp
pop ebp
ret
Function at 0x100055f0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1003fac9
mov eax, dword fs:[0]
push eax
sub esp, 0x68
mov eax, dword [0x10052670]
xor eax, esp
mov dword [esp + 0x60], eax
push ebx
push esi
push edi
mov eax, dword [0x10052670]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
xor esi, esi
mov dword [esp + 0x14], esi
mov dword [esp + 0x18], ecx
cmp dword [ecx + 0x44], esi
je 0x10005804
cmp byte [ecx + 0x49], 0
je 0x10005804
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
push 0xffffffffffffffff
call edx
cmp eax, 0xffffffff
je 0x100057ec
push esi
push 8
lea ecx, [esp + 0x58]
call fcn.10004f10
mov dword [esp + 0x80], esi
lea esp, [esp]
lea eax, [esp + 0x44]
push eax
lea ecx, [esp + 0x54]
call fcn.100051f0
mov esi, eax
lea ecx, [esp + 0x20]
push ecx
lea ecx, [esp + 0x54]
mov byte [esp + 0x84], 1
call fcn.100051f0
mov edi, eax
mov ecx, esi
mov byte [esp + 0x80], 2
call fcn.10006210
mov ebx, dword [esp + 0x64]
mov ecx, edi
mov esi, eax
call fcn.10006210
mov edx, dword [esp + 0x18]
mov ecx, dword [edx + 0x44]
mov edx, dword [ecx]
lea edi, [esp + 0x1c]
push edi
mov edi, dword [esp + 0x1c]
add ebx, esi
push ebx
push eax
lea eax, [edi + 0x4c]
push eax
mov eax, dword [edx + 0x18]
call eax
lea ecx, [esp + 0x20]
mov esi, eax
mov byte [esp + 0x80], 1
call fcn.10001160
lea ecx, [esp + 0x44]
mov byte [esp + 0x80], 0
call fcn.10001160
mov eax, esi
sub eax, 0
je 0x1000571e
dec eax
je 0x10005722
sub eax, 2
mov dword [esp + 0x80], 0xffffffff
lea ecx, [esp + 0x50]
jne 0x100057e7
jmp 0x100057ff
mov byte [edi + 0x49], 0
lea ecx, [esp + 0x2c]
push ecx
lea ecx, [esp + 0x54]
call fcn.100051f0
mov ecx, eax
mov byte [esp + 0x80], 3
call fcn.10006210
mov esi, dword [esp + 0x1c]
lea ecx, [esp + 0x2c]
sub esi, eax
mov byte [esp + 0x80], 0
call fcn.10001160
test esi, esi
je 0x10005794
lea edx, [esp + 0x38]
push edx
lea ecx, [esp + 0x54]
call fcn.100051f0
mov byte [esp + 0x80], 4
or dword [esp + 0x14], 1
mov ecx, eax
call fcn.10006210
mov ecx, dword [edi + 0x54]
push ecx
push esi
push 1
push eax
call fcn.10014ad0
add esp, 0x10
cmp esi, eax
je 0x10005794
mov bl, 1
jmp 0x10005796
xor bl, bl
mov dword [esp + 0x80], 0
test byte [esp + 0x14], 1
je 0x100057b6
and dword [esp + 0x14], 0xfffffffe
lea ecx, [esp + 0x38]
call fcn.10001160
test bl, bl
jne 0x100057d8
cmp byte [edi + 0x49], bl
je 0x100057f0
test esi, esi
jne 0x10005670
push esi
push 8
lea ecx, [esp + 0x58]
call fcn.10004fc0
jmp 0x10005670
mov dword [esp + 0x80], 0xffffffff
lea ecx, [esp + 0x50]
call fcn.100035c0
xor al, al
jmp 0x10005806
mov dword [esp + 0x80], 0xffffffff
lea ecx, [esp + 0x50]
call fcn.100035c0
mov al, 1
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x60]
xor ecx, esp
call fcn.1000ecf0
mov esp, ebp
pop ebp
ret
Function at 0x100060d0
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1003f70b
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x10052670]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x14], esi
lea ecx, [esi + 4]
mov dword [esi], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.1000a540
push 0x18
push 0x1004d2a0
mov dword [ebp - 4], 0
call fcn.10009820
push eax
push 4
call fcn.10009750
mov edi, eax
add esp, 0x10
test edi, edi
je 0x1000615d
call fcn.10009cf0
mov dword [edi], eax
call fcn.10009b00
push 0
lea ecx, [ebp - 0x10]
mov ebx, eax
call fcn.1000a4d0
mov eax, dword [ebx + 4]
cmp eax, 0xffffffff
jae 0x10006153
inc eax
mov dword [ebx + 4], eax
lea ecx, [ebp - 0x10]
call fcn.1000a510
jmp 0x1000615f
xor edi, edi
lea eax, [esi + 8]
mov dword [esi + 0x10], eax
lea ecx, [esi + 0x18]
mov dword [esi + 0x20], ecx
lea edx, [esi + 0x1c]
mov dword [esi + 0x24], edx
mov dword [esi + 0x38], edi
lea eax, [esi + 0xc]
mov dword [esi + 0x14], eax
lea ecx, [esi + 0x28]
mov dword [esi + 0x30], ecx
lea edx, [esi + 0x2c]
mov dword [esi + 0x34], edx
mov dword [eax], 0
mov eax, dword [esi + 0x24]
mov dword [eax], 0
mov ecx, dword [esi + 0x34]
mov dword [ecx], 0
mov edx, dword [esi + 0x10]
mov dword [edx], 0
mov eax, dword [esi + 0x20]
mov dword [eax], 0
mov ecx, dword [esi + 0x30]
mov dword [ecx], 0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x100085c0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 4]
push eax
push 0x40
push 5
push edi
call esi
lea ecx, [ebp - 4]
push ecx
push 0x40
push 5
push 0x1005362c
call esi
lea edx, [ebp - 4]
push edx
push 0x40
push 5
push 0x10053634
call esi
mov eax, dword [edi]
pop esi
cmp eax, dword [0x1005362c]
jne 0x10008613
mov cl, byte [0x10053630]
cmp cl, byte [edi + 4]
jne 0x10008613
mov eax, 0xb
mov esp, ebp
pop ebp
ret
cmp eax, dword [0x10053634]
jne 0x1000862b
mov dl, byte [0x10053638]
mov eax, 5
cmp dl, byte [edi + 4]
je 0x1000862e
mov eax, dword [ebp + 8]
mov esp, ebp
pop ebp
ret