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

Disassembly:
push 0xffffffffffffffff
push 0x1035e9b9
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push ebp
push esi
push edi
mov eax, dword [0x105be7d0]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
mov edi, edx
mov eax, ecx
mov dword [esp + 0x1c], eax
mov esi, dword [esp + 0x4c]
mov dword [esp + 0x20], eax
mov dword [esp + 0x14], 0
mov dword [esp + 0x40], 1
mov ebp, dword [esp + 0x48]
mov ebx, dword [esp + 0x50]
cmp edi, ebp
je 0x103094d7
cmp esi, ebx
je 0x103094d7
push edi
mov ecx, esi
call fcn.1030aae0
lea ecx, [esp + 0x54]
test al, al
je 0x103094c7
push esi
call fcn.10309e60
add esi, 0x94
cmp esi, ebx
jmp 0x103094d5
push edi
call fcn.10309e60
add edi, 0x94
cmp edi, ebp
jne 0x103094a7
sub esp, 0x14
mov ecx, esp
mov dword [esp + 0x2c], esp
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov dword [ecx + 8], 0
mov dword [ecx + 0xc], 0
mov eax, dword [esp + 0x78]
mov dword [ecx + 0x10], eax
mov byte [esp + 0x54], 2
push ebp
mov byte [esp + 0x58], 1
mov edx, edi
lea ecx, [esp + 0x3c]
call fcn.10308d70
add esp, 0x18
mov byte [esp + 0x40], 3
mov eax, dword [eax + 0x10]
mov dword [esp + 0x64], eax
mov byte [esp + 0x40], 1
mov edi, dword [esp + 0x24]
mov ebp, dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
test edi, edi
je 0x1030955d
cmp edi, dword [esp + 0x2c]
je 0x10309557
mov ecx, edi
call fcn.10307b00
add edi, 0x94
cmp edi, dword [esp + 0x2c]
jne 0x10309540
mov edi, dword [esp + 0x24]
push edi
call ebp
add esp, 4
sub esp, 0x14
mov ecx, esp
mov dword [esp + 0x2c], esp
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov dword [ecx + 8], 0
mov dword [ecx + 0xc], 0
mov eax, dword [esp + 0x78]
mov dword [ecx + 0x10], eax
mov byte [esp + 0x54], 4
push ebx
mov byte [esp + 0x58], 1
mov edx, esi
mov edi, dword [esp + 0x34]
mov ecx, edi
call fcn.10308d70
add esp, 0x18
mov dword [esp + 0x14], 1
mov byte [esp + 0x40], 0
mov esi, dword [esp + 0x54]
test esi, esi
je 0x103095dd
cmp esi, dword [esp + 0x5c]
je 0x103095d7
mov edi, edi
mov ecx, esi
call fcn.10307b00
add esi, 0x94
cmp esi, dword [esp + 0x5c]
jne 0x103095c0
mov esi, dword [esp + 0x54]
push esi
call ebp
add esp, 4
mov eax, edi
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x30
ret
Function at 0x10309980
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x1034a058
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x105be7d0]
xor eax, esp
mov dword [esp + 0x18], eax
push esi
push edi
mov eax, dword [0x105be7d0]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov edi, ecx
lea esi, [edx - 0x18]
mov dword [esp + 0x1c], 0
xor eax, eax
mov dword [esp + 0x20], 0
push esi
lea ecx, [esp + 0x10]
mov dword [esp + 0x24], 7
mov dword [esp + 0x20], 0
mov word [esp + 0x10], ax
call fcn.100cd880
mov dword [esp + 0x30], 0
lea eax, [esp + 0xc]
push ecx
push dword [esp + 0x3c]
mov edx, esi
mov ecx, edi
push eax
push esi
call fcn.10309fd0
add esp, 0x10
mov dword [esp + 0x30], 0xffffffff
cmp dword [esp + 0x20], 8
jb 0x10309a21
push dword [esp + 0xc]
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
add esp, 4
xor eax, eax
mov dword [esp + 0x20], 7
mov dword [esp + 0x1c], 0
mov word [esp + 0xc], ax
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x18]
xor ecx, esp
call fcn.1033d458
add esp, 0x28
ret

Function at 0x10309cd0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x10344533
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x105be7d0]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov edi, ecx
mov dword [esp + 0xc], edi
mov esi, dword [esp + 0x20]
xor eax, eax
push 0xffffffffffffffff
push eax
mov dword [edi + 0x14], 7
mov dword [edi + 0x10], 0
push esi
mov word [edi], ax
call fcn.100cd9d0
mov dword [esp + 0x18], 0
lea ecx, [edi + 0x18]
xor eax, eax
mov dword [ecx + 0x14], 7
push 0xffffffffffffffff
mov dword [ecx + 0x10], 0
push eax
mov word [ecx], ax
lea eax, [esi + 0x18]
push eax
call fcn.100cd9d0
mov byte [esp + 0x18], 1
mov eax, dword [esi + 0x30]
mov dword [edi + 0x30], eax
mov ax, word [esi + 0x34]
mov word [edi + 0x34], ax
mov dword [esp + 0x18], 0xffffffff
mov eax, edi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret 4
Function at 0x10309d80
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x10351d59
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x105be7d0]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov edi, ecx
mov dword [esp + 0xc], edi
mov esi, dword [esp + 0x20]
xor eax, eax
push 0xffffffffffffffff
push eax
mov dword [edi + 0x14], 7
mov dword [edi + 0x10], 0
push esi
mov word [edi], ax
call fcn.100cd9d0
mov dword [esp + 0x18], 0
lea ecx, [edi + 0x18]
xor eax, eax
mov dword [ecx + 0x14], 7
push 0xffffffffffffffff
mov dword [ecx + 0x10], 0
push eax
mov word [ecx], ax
lea eax, [esi + 0x18]
push eax
call fcn.100cd9d0
mov byte [esp + 0x18], 1
lea ecx, [edi + 0x30]
xor eax, eax
mov dword [ecx + 0x14], 7
push 0xffffffffffffffff
mov dword [ecx + 0x10], 0
push eax
mov word [ecx], ax
lea eax, [esi + 0x30]
push eax
call fcn.100cd9d0
mov byte [esp + 0x18], 2
lea ecx, [edi + 0x48]
xor eax, eax
mov dword [ecx + 0x14], 7
push 0xffffffffffffffff
mov dword [ecx + 0x10], 0
push eax
mov word [ecx], ax
lea eax, [esi + 0x48]
push eax
call fcn.100cd9d0
mov dword [esp + 0x18], 0xffffffff
mov eax, edi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret 4

Function at 0x1030a3f0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x1035eb5f
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x105be7d0]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov word [esi], ax
mov dword [esp + 0x14], eax
mov dword [esi + 0x2c], 7
mov dword [esi + 0x28], eax
mov word [esi + 0x18], ax
mov byte [esp + 0x14], 1
mov dword [esi + 0x44], 7
mov dword [esi + 0x40], eax
mov word [esi + 0x30], ax
mov byte [esp + 0x14], 2
mov dword [esi + 0x5c], 7
mov dword [esi + 0x58], eax
mov word [esi + 0x48], ax
mov byte [esp + 0x14], 3
mov dword [esi + 0x74], 7
mov dword [esi + 0x70], eax
mov word [esi + 0x60], ax
mov byte [esp + 0x14], 4
mov dword [esi + 0x8c], 7
mov dword [esi + 0x88], eax
mov word [esi + 0x78], ax
mov byte [esp + 0x14], 5
push 0x35c
push eax
lea eax, [esi + 0x98]
push eax
call sub.MSVCR120.dll_memset
add esp, 0xc
xor eax, eax
mov dword [esi + 0x90], eax
mov word [esi + 0x94], ax
mov dword [esp + 0x14], 0xffffffff
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret
Function at 0x1030bdc0
Capabilities:
Access peb ldr_data
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x1035ef38
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x105be7d0]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov edi, ecx
mov dword [esp + 0xc], edi
push 0
push 0
mov dword [esp + 0x18], edi
mov dword [edi], 0
mov dword [edi + 4], 0
call fcn.102f7260
mov dword [edi], eax
mov dword [esp + 0x1c], 2
lea esi, [edi + 8]
mov dword [esp + 0x10], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.10164c10
mov dword [esi], eax
mov byte [esp + 0x1c], 7
lea esi, [edi + 0x10]
push 0
push 0
mov dword [esp + 0x18], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.1030fab0
mov dword [esi], eax
mov byte [esp + 0x1c], 0xa
lea esi, [edi + 0x18]
mov dword [esp + 0x10], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.10164c10
mov dword [esi], eax
mov byte [esp + 0x1c], 0xf
lea esi, [edi + 0x20]
mov dword [esp + 0x10], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.1019aa30
mov dword [esi], eax
mov byte [esp + 0x1c], 0x14
lea esi, [edi + 0x28]
push 0
push 0
mov dword [esp + 0x18], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.100f3280
mov dword [esi], eax
mov byte [esp + 0x1c], 0x17
lea esi, [edi + 0x30]
push 0
push 0
mov dword [esp + 0x18], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.100f3280
mov dword [esi], eax
mov byte [esp + 0x1c], 0x1a
lea eax, [edi + 0x38]
xor ecx, ecx
mov dword [eax + 0x14], 7
mov dword [eax + 0x10], 0
mov dword [esp + 0x10], eax
mov word [eax], cx
mov byte [esp + 0x1c], 0x1b
mov dword [eax + 0x18], ecx
mov dword [eax + 0x1c], ecx
mov dword [eax + 0x20], ecx
mov dword [eax + 0x24], ecx
mov dword [eax + 0x28], ecx
mov dword [eax + 0x2c], ecx
mov byte [esp + 0x1c], 0x1c
xor eax, eax
mov dword [edi + 0x7c], 7
mov dword [edi + 0x78], ecx
mov word [edi + 0x68], ax
mov dword [esp + 0x1c], 0xffffffff
mov eax, edi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x14
ret
Function at 0x1030c290
Capabilities:
Access peb ldr_data
Get process heap flags
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x1035f138
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push esi
push edi
mov eax, dword [0x105be7d0]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [edi + 8]
lea ecx, [edi + 8]
push dword [eax + 4]
call fcn.1019ff90
mov eax, dword [edi + 8]
lea ecx, [edi + 0x18]
mov dword [eax + 4], eax
mov eax, dword [edi + 8]
mov dword [eax], eax
mov eax, dword [edi + 8]
mov dword [eax + 8], eax
mov dword [edi + 0xc], 0
mov eax, dword [edi + 0x18]
push dword [eax + 4]
call fcn.1019ff90
mov eax, dword [edi + 0x18]
lea ecx, [edi + 0x10]
mov dword [eax + 4], eax
mov eax, dword [edi + 0x18]
mov dword [eax], eax
mov eax, dword [edi + 0x18]
mov dword [eax + 8], eax
mov dword [edi + 0x1c], 0
call fcn.100ea640
mov eax, dword [edi + 0x20]
lea ecx, [edi + 0x20]
push dword [eax + 4]
call fcn.1019a960
mov eax, dword [edi + 0x20]
lea ecx, [edi + 0x28]
mov dword [eax + 4], eax
mov eax, dword [edi + 0x20]
mov dword [eax], eax
mov eax, dword [edi + 0x20]
mov dword [eax + 8], eax
mov dword [edi + 0x24], 0
call fcn.100f31b0
lea ecx, [edi + 0x30]
call fcn.1030f700
push 0
push 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0
call fcn.102f7260
mov ecx, eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x20], 2
lea eax, [esp + 0x10]
cmp edi, eax
je 0x1030c386
mov eax, dword [edi]
mov dword [edi], ecx
mov dword [esp + 0x10], eax
mov eax, dword [edi + 4]
mov dword [edi + 4], 0
mov dword [esp + 0x14], eax
mov dword [esp + 0x20], 3
lea ecx, [esp + 0x10]
call fcn.102f7220
mov dword [esp + 0x20], 0xffffffff
push dword [esp + 0x10]
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x18
ret
Function at 0x1030d900
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x1035f4e7
mov eax, dword fs:[0]
push eax
sub esp, 0xa4
mov eax, dword [0x105be7d0]
xor eax, esp
mov dword [esp + 0x9c], eax
push esi
mov eax, dword [0x105be7d0]
xor eax, esp
push eax
lea eax, [esp + 0xac]
mov dword fs:[0], eax
mov esi, ecx
mov edx, dword [esp + 0xbc]
lea eax, [esp + 0xc]
mov dword [esp + 8], eax
xor eax, eax
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x20], 7
mov dword [esp + 0x1c], 0
mov word [esp + 0xc], ax
mov dword [esp + 0xb4], eax
xorps xmm0, xmm0
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
movlpd qword [esp + 0x34], xmm0
mov dword [esp + 0xb4], 1
lea ecx, [esp + 0x3c]
call fcn.1033cc70
mov dword [esp + 0xb4], 3
lea eax, [esi + 0x68]
push edx
push eax
lea eax, [esi + 0x38]
push eax
lea ecx, [esp + 0x18]
call fcn.1031df00
mov dword [esp + 0xb4], 4
lea ecx, [esp + 0x3c]
call fcn.1033cd00
mov dword [esp + 0xb4], 0xffffffff
lea eax, [esp + 0xc]
mov dword [esp + 8], eax
mov dword [esp + 0xb4], 0xffffffff
cmp dword [esp + 0x20], 8
jb 0x1030da07
push dword [esp + 0xc]
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
add esp, 4
xor eax, eax
mov dword [esp + 0x20], 7
mov dword [esp + 0x1c], 0
mov word [esp + 0xc], ax
mov ecx, dword [esp + 0xac]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x9c]
xor ecx, esp
call fcn.1033d458
add esp, 0xb0
ret 4
Function at 0x10313070
Capabilities:
Get memory capacity

Disassembly:
sub esp, 0x170
mov eax, dword [0x105be7d0]
xor eax, esp
mov dword [esp + 0x16c], eax
mov eax, dword [esp + 0x184]
push ebx
mov ebx, dword [esp + 0x17c]
push ebp
mov ebp, dword [esp + 0x188]
push esi
mov esi, dword [esp + 0x180]
push edi
mov edi, dword [esp + 0x18c]
push 0x118
mov dword [esp + 0x18], eax
lea eax, [esp + 0x60]
push 0
push eax
mov dword [esp + 0x64], 0x11c
call sub.MSVCR120.dll_memset
add esp, 0xc
lea ecx, [esp + 0x58]
call fcn.1016cfb0
test al, al
je 0x1031313d
push dword [esp + 0x60]
push dword [esp + 0x60]
push 0x105857cc
push esi
call fcn.1014db00
call fcn.1016cf30
test al, al
mov edx, 0x40
mov ecx, 0x20
cmovne ecx, edx
push ecx
push 0x1055dc58
push edi
call fcn.1014db00
add esp, 0x1c
cmp word [esp + 0x6c], 0
jne 0x1031311a
xor ecx, ecx
jmp 0x10313130
lea ecx, [esp + 0x6c]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10313121
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [esp + 0x70]
mov ecx, ebx
push eax
call fcn.100cdd90
push 0x40
lea eax, [esp + 0x1c]
push 0
push eax
call sub.MSVCR120.dll_memset
add esp, 0xc
mov dword [esp + 0x18], 0x40
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x24]
shrd ecx, eax, 0x14
shr eax, 0x14
push eax
push ecx
push 0x1055dc58
push dword [esp + 0x20]
call fcn.1014db00
add esp, 0x10
call dword [sym.imp.KERNEL32.dll_GetACP]
push eax
push 0x1055dc58
push ebp
call fcn.1014db00
mov ecx, dword [esp + 0x188]
add esp, 0xc
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.1033d458
add esp, 0x170
ret 0x14
Function at 0x10317f20
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x10360a08
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x105be7d0]
xor eax, esp
mov dword [esp + 0x18], eax
push esi
push edi
mov eax, dword [0x105be7d0]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov eax, edx
mov dword [esp + 0xc], eax
mov edi, ecx
mov ecx, eax
mov dword [esp + 0x20], 0
sub ecx, edi
mov eax, 0x81848da9
imul ecx
xorps xmm0, xmm0
movdqu xmmword [esp + 0x10], xmm0
mov dword [esp + 0x10], 0
add edx, ecx
mov dword [esp + 0x14], 0
sar edx, 9
mov esi, edx
mov dword [esp + 0x18], 0
shr esi, 0x1f
add esi, edx
lea eax, [esi + 1]
cdq
sub eax, edx
sar eax, 1
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x10]
mov dword [esp + 0x20], eax
mov dword [esp + 0x30], 0
mov ecx, edi
push dword [esp + 0x40]
mov edx, dword [esp + 0x10]
push eax
push esi
call fcn.10318050
add esp, 0xc
mov dword [esp + 0x30], 0xffffffff
mov esi, dword [esp + 0x10]
test esi, esi
je 0x10318001
cmp esi, dword [esp + 0x18]
je 0x10317ff7
mov edi, edi
mov ecx, esi
call fcn.1030a6c0
add esi, 0x3f4
cmp esi, dword [esp + 0x18]
jne 0x10317fe0
mov esi, dword [esp + 0x10]
push esi
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x18]
xor ecx, esp
call fcn.1033d458
add esp, 0x28
ret
Function at 0x103190e0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x10360ca9
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push ebp
push esi
push edi
mov eax, dword [0x105be7d0]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
mov edi, edx
mov eax, ecx
mov dword [esp + 0x1c], eax
mov esi, dword [esp + 0x4c]
mov dword [esp + 0x20], eax
mov dword [esp + 0x14], 0
mov dword [esp + 0x40], 1
mov ebp, dword [esp + 0x48]
mov ebx, dword [esp + 0x50]
cmp edi, ebp
je 0x10319167
cmp esi, ebx
je 0x10319167
push edi
mov ecx, esi
call fcn.1030a960
lea ecx, [esp + 0x54]
test al, al
je 0x10319157
push esi
call fcn.103194c0
add esi, 0x3f4
cmp esi, ebx
jmp 0x10319165
push edi
call fcn.103194c0
add edi, 0x3f4
cmp edi, ebp
jne 0x10319137
sub esp, 0x14
mov ecx, esp
mov dword [esp + 0x2c], esp
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov dword [ecx + 8], 0
mov dword [ecx + 0xc], 0
mov eax, dword [esp + 0x78]
mov dword [ecx + 0x10], eax
mov byte [esp + 0x54], 2
push ebp
mov byte [esp + 0x58], 1
mov edx, edi
lea ecx, [esp + 0x3c]
call fcn.10318d10
add esp, 0x18
mov byte [esp + 0x40], 3
mov eax, dword [eax + 0x10]
mov dword [esp + 0x64], eax
mov byte [esp + 0x40], 1
mov edi, dword [esp + 0x24]
mov ebp, dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
test edi, edi
je 0x103191ed
cmp edi, dword [esp + 0x2c]
je 0x103191e7
mov ecx, edi
call fcn.1030a6c0
add edi, 0x3f4
cmp edi, dword [esp + 0x2c]
jne 0x103191d0
mov edi, dword [esp + 0x24]
push edi
call ebp
add esp, 4
sub esp, 0x14
mov ecx, esp
mov dword [esp + 0x2c], esp
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov dword [ecx + 8], 0
mov dword [ecx + 0xc], 0
mov eax, dword [esp + 0x78]
mov dword [ecx + 0x10], eax
mov byte [esp + 0x54], 4
push ebx
mov byte [esp + 0x58], 1
mov edx, esi
mov edi, dword [esp + 0x34]
mov ecx, edi
call fcn.10318d10
add esp, 0x18
mov dword [esp + 0x14], 1
mov byte [esp + 0x40], 0
mov esi, dword [esp + 0x54]
test esi, esi
je 0x1031926d
cmp esi, dword [esp + 0x5c]
je 0x10319267
mov edi, edi
mov ecx, esi
call fcn.1030a6c0
add esi, 0x3f4
cmp esi, dword [esp + 0x5c]
jne 0x10319250
mov esi, dword [esp + 0x54]
push esi
call ebp
add esp, 4
mov eax, edi
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x30
ret
Function at 0x1031add0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x10360f36
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x105be7d0]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
mov dword [esp + 0x14], 0
cmp dword [esi + 0x30], 8
jb 0x1031ae12
push dword [esi + 0x1c]
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov dword [esi + 0x30], 7
xor eax, eax
mov dword [esi + 0x2c], 0
mov word [esi + 0x1c], ax
mov dword [esp + 0x14], 0xffffffff
cmp dword [esi + 0x18], 8
jb 0x1031ae40
push dword [esi + 4]
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
add esp, 4
xor eax, eax
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], 0
mov word [esi + 4], ax
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret
Function at 0x10337b70
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x10341b29
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
mov eax, dword [0x105be7d0]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
push 0xffffffffffffffff
push 0
push edx
push ecx
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x18], 0
call fcn.1019ac40
xor ecx, ecx
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov word [esi], cx
mov ecx, esi
push eax
call fcn.100cd880
mov dword [esp + 0x18], 0
mov dword [esp + 8], 1
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x14
ret

Function at 0x103380c0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x10344533
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x105be7d0]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov edi, ecx
mov dword [esp + 0xc], edi
mov esi, dword [esp + 0x20]
xor eax, eax
push 0xffffffffffffffff
push eax
mov dword [edi + 0x14], 7
mov dword [edi + 0x10], 0
push esi
mov word [edi], ax
call fcn.100cd9d0
mov dword [esp + 0x18], 0
lea ecx, [edi + 0x18]
xor eax, eax
mov dword [ecx + 0x14], 7
push 0xffffffffffffffff
mov dword [ecx + 0x10], 0
push eax
mov word [ecx], ax
lea eax, [esi + 0x18]
push eax
call fcn.100cd9d0
mov byte [esp + 0x18], 1
mov eax, dword [esi + 0x30]
mov dword [edi + 0x30], eax
mov eax, dword [esi + 0x34]
mov dword [edi + 0x34], eax
mov dword [esp + 0x18], 0xffffffff
mov eax, edi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret 4
Function at 0x1033add0
Capabilities:
Check os version

Disassembly:
sub esp, 0x118
mov eax, dword [0x105be7d0]
xor eax, esp
mov dword [esp + 0x114], eax
push 0x110
lea eax, [esp + 8]
mov dword [esp + 4], 0x114
push 0
push eax
call sub.MSVCR120.dll_memset
add esp, 0xc
lea eax, [esp]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x1033ae2c
cmp dword [esp + 4], 6
jb 0x1033ae2c
mov al, 1
mov ecx, dword [esp + 0x114]
xor ecx, esp
call fcn.1033d458
add esp, 0x118
ret
mov ecx, dword [esp + 0x114]
xor al, al
xor ecx, esp
call fcn.1033d458
add esp, 0x118
ret
Function at 0x1033c5d0
Capabilities:
Query environment variable

Disassembly:
push 0xffffffffffffffff
push 0x10365501
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x105be7d0]
xor eax, esp
mov dword [esp + 0x28], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x105be7d0]
xor eax, esp
push eax
lea eax, [esp + 0x40]
mov dword fs:[0], eax
mov edi, dword [esp + 0x54]
lea eax, [esp + 0x1c]
mov esi, dword [esp + 0x50]
mov ecx, edi
push 1
push 0
mov dword [esp + 0x20], 0
push eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x28], 0x25
call fcn.100cdac0
push 0xffffffffffffffff
push 0
push edi
cmp eax, 0xffffffff
jne 0x1033c667
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov ecx, esi
mov word [esi], ax
call fcn.100cd9d0
mov dword [esp + 0x48], 0
mov dword [esp + 0x18], 1
jmp 0x1033c77d
xor eax, eax
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0
lea ecx, [esp + 0x30]
mov dword [esp + 0x44], 7
mov dword [esp + 0x40], 0
mov word [esp + 0x30], ax
call fcn.100cd9d0
mov dword [esp + 0x48], 1
cmp dword [edi + 0x14], 8
jb 0x1033c6a9
mov eax, dword [edi]
jmp 0x1033c6ab
mov eax, edi
push 0
push 0
push eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov ebp, eax
test ebp, ebp
jne 0x1033c6d6
push 0xffffffffffffffff
push eax
mov dword [esi + 0x14], 7
mov ecx, esi
mov dword [esi + 0x10], eax
push edi
mov word [esi], ax
call fcn.100cd9d0
jmp 0x1033c749
xor ecx, ecx
lea eax, [ebp + 2]
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.1033d1c5
add esp, 4
mov ebx, eax
cmp dword [edi + 0x14], 8
jb 0x1033c6fc
mov edi, dword [edi]
lea eax, [ebp + 1]
push eax
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
test eax, eax
je 0x1033c720
cmp eax, ebp
ja 0x1033c720
xor ecx, ecx
mov word [ebx + eax*2], cx
lea ecx, [esp + 0x24]
push ebx
call fcn.100cd6c0
push ebx
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete___void__]
xor eax, eax
mov dword [esi + 0x14], 7
add esp, 4
mov dword [esi + 0x10], 0
mov word [esi], ax
mov ecx, esi
lea eax, [esp + 0x24]
push eax
call fcn.100cd880
mov dword [esp + 0x18], 1
mov byte [esp + 0x48], 0
cmp dword [esp + 0x38], 8
jb 0x1033c76a
push dword [esp + 0x24]
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
add esp, 4
xor eax, eax
mov dword [esp + 0x38], 7
mov word [esp + 0x24], ax
mov dword [esp + 0x34], eax
mov eax, esi
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x28]
xor ecx, esp
call fcn.1033d458
add esp, 0x38
ret 8