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

Disassembly:
push 0xffffffffffffffff
push 0x1024de20
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
push ebp
push esi
push edi
push 1
push 0x102e6208
lea ecx, [esp + 0x24]
call fcn.10091800
mov edx, dword [0x102e61fc]
mov ebx, dword [esp + 0x38]
xor eax, eax
cmp edx, eax
mov dword [esp + 0x30], eax
jle 0x1002df49
mov edi, dword [0x102e61f8]
lea ecx, [edi + 4]
cmp dword [ecx], ebx
je 0x1002df17
inc eax
add ecx, 0xc
cmp eax, edx
jge 0x1002df49
jmp 0x1002df09
mov ecx, edx
lea esi, [eax + eax*2]
sub ecx, eax
dec ecx
lea esi, [edi + esi*4]
je 0x1002df42
lea ecx, [ecx + ecx*2]
lea edx, [eax + eax*2 + 3]
shl ecx, 2
lea eax, [edi + edx*4]
push ecx
push eax
push esi
call fcn.1006c200
mov edx, dword [0x102e61fc]
add esp, 0xc
dec edx
mov dword [0x102e61fc], edx
xor ecx, ecx
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], ecx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov esi, dword [0x102e61fc]
mov ebp, dword [esp + 0x3c]
cmp esi, esi
mov edi, eax
jl 0x1002df79
lea edx, [esi + 1]
push 0xffffffffffffffff
push edx
mov ecx, 0x102e61f8
call fcn.1002e1b0
mov ecx, dword [0x102e61f8]
lea eax, [esi + esi*2]
lea edx, [ecx + eax*4]
mov dword [ecx + eax*4], edi
mov dword [edx + 4], ebx
mov dword [edx + 8], ebp
mov eax, dword [0x102e61fc]
cmp eax, 0x32
jle 0x1002dfbf
add eax, 0xfffffff6
test eax, eax
je 0x1002dfb8
lea eax, [eax + eax*2]
shl eax, 2
push eax
mov eax, dword [0x102e61f8]
lea ecx, [eax + 0x78]
push ecx
push eax
call fcn.1006c200
add esp, 0xc
sub dword [0x102e61fc], 0xa
mov eax, dword [0x102f7658]
test eax, eax
je 0x1002e009
lea edx, [esp + 0x38]
push ebx
push edx
call fcn.101958e0
add esp, 8
mov eax, dword [eax]
push ebp
push ebx
push eax
push 1
push str.CTSCDTVPNGatewayMgr::AddConnectFail__Add:_d___s__08x_:_d_
push str.SCDTVpnGW
push 0xffffffffffffffff
push 0x102f6dc4
mov byte [esp + 0x50], 1
call fcn.10098fb0
add esp, 0x20
lea ecx, [esp + 0x38]
mov byte [esp + 0x30], 0
call fcn.10083560
lea ecx, [esp + 0x1c]
mov dword [esp + 0x30], 0xffffffff
call fcn.10091860
mov ecx, dword [esp + 0x28]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x24
ret

Function at 0x1002e360
Capabilities:
Access peb ldr_data

Disassembly:
mov ecx, 0x102e6298
jmp 0x1002e390

Function at 0x1002e420
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x1024dea3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
push edi
mov edi, ecx
mov dword [esp + 8], edi
mov dword [edi], 0x1025bd7c
mov esi, dword [edi + 0x50]
mov dword [esp + 0x14], 1
test esi, esi
je 0x1002e47b
mov eax, dword [edi + 0x54]
mov ecx, eax
dec eax
test ecx, ecx
je 0x1002e46f
push ebx
lea ebx, [eax + 1]
mov ecx, esi
call fcn.1000efe0
add esi, 0x64
dec ebx
jne 0x1002e461
pop ebx
mov eax, dword [edi + 0x50]
push eax
call fcn.1023d925
add esp, 4
lea ecx, [edi + 0x30]
mov byte [esp + 0x14], 0
call fcn.10091320
mov ecx, edi
mov dword [esp + 0x14], 0xffffffff
call fcn.10094c50
mov ecx, dword [esp + 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x100305f0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x1024e188
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x3c
push esi
mov esi, ecx
push 0xffffffffffffffff
push 0x1388
lea eax, [esi + 0x10]
lea ecx, [esi + 4]
push 0
push eax
mov dword [eax], ecx
push 0
push 2
lea ecx, [esp + 0x1c]
mov dword [esi + 8], esi
mov dword [esi + 0x14], 0x10009d80
call fcn.10038630
lea edx, [esp + 4]
mov ecx, 0x102e64c0
push edx
mov dword [esp + 0x4c], 0
call fcn.100397f0
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x14]
mov dword [esi + 0x2c], eax
mov eax, dword [esp + 0x18]
mov dword [esi + 0x30], ecx
mov ecx, dword [esp + 0x1c]
mov dword [esi + 0x38], edx
mov edx, dword [esp + 0x20]
mov dword [esi + 0x3c], eax
mov eax, dword [esp + 0x24]
mov dword [esi + 0x40], ecx
mov ecx, dword [esp + 0x28]
mov dword [esi + 0x44], edx
mov edx, dword [esp + 0x2c]
mov dword [esi + 0x48], eax
mov eax, dword [esp + 0x30]
mov dword [esi + 0x4c], ecx
mov ecx, dword [esp + 0x34]
mov dword [esi + 0x50], edx
mov edx, dword [esp + 0x38]
mov dword [esi + 0x54], eax
mov eax, dword [esp + 0x3c]
mov dword [esi + 0x58], ecx
lea ecx, [esp + 4]
mov dword [esi + 0x5c], edx
mov dword [esi + 0x60], eax
mov dword [esp + 0x48], 0xffffffff
call fcn.100386b0
mov ecx, dword [esp + 0x40]
mov eax, 1
pop esi
mov dword fs:[0], ecx
add esp, 0x48
ret
Function at 0x10031120
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x1024e233
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
mov eax, dword [0x1025e6e4]
push esi
mov esi, ecx
push edi
mov dword [esp + 0x18], esi
lea edi, [esi + 4]
mov dword [edi], eax
mov dword [esi], 0x1025bda0
mov eax, dword [0x1025e6e4]
mov dword [esp + 0x24], 0
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], eax
mov dword [esp + 8], eax
mov eax, dword [esp + 0x30]
mov byte [esp + 0x24], 4
test eax, eax
je 0x10031192
call fcn.1019b8b0
push eax
lea ecx, [esp + 0x18]
push str.__lu
push ecx
call fcn.100864e0
add esp, 0xc
mov eax, dword [esp + 0x34]
test eax, eax
je 0x100311b3
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
lea edx, [esp + 0x14]
push str.__lu
push edx
call fcn.100864e0
add esp, 0xc
mov eax, dword [esp + 0x38]
test eax, eax
je 0x100311d4
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
lea eax, [esp + 0x10]
push str.__lu
push eax
call fcn.100864e0
add esp, 0xc
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x100311f5
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
lea ecx, [esp + 0xc]
push 0x102b4894
push ecx
call fcn.100864e0
add esp, 0xc
mov edx, dword [esp + 0x2c]
lea ecx, [esp + 0x30]
push edx
call fcn.10082dc0
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
push eax
mov eax, dword [esp + 0x18]
push ecx
mov ecx, dword [esp + 0x38]
push edx
push eax
push ecx
push str._s_s_s_s_s
push edi
mov byte [esp + 0x40], 5
call fcn.100864e0
add esp, 0x1c
lea ecx, [esp + 0x30]
mov byte [esp + 0x24], 4
call fcn.10083560
lea ecx, [esp + 8]
mov byte [esp + 0x24], 3
call fcn.10083560
lea ecx, [esp + 0xc]
mov byte [esp + 0x24], 2
call fcn.10083560
lea ecx, [esp + 0x10]
mov byte [esp + 0x24], 1
call fcn.10083560
lea ecx, [esp + 0x14]
mov byte [esp + 0x24], 0
call fcn.10083560
mov ecx, dword [esp + 0x1c]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x20
ret 0x14
Function at 0x100312c0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x1024e268
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
mov eax, dword [0x1025e6e4]
push esi
mov esi, ecx
mov dword [esp + 0x10], eax
mov dword [esp + 0x1c], 0
mov dword [esp + 0xc], eax
mov dword [esp + 8], eax
mov dword [esp + 4], eax
mov eax, dword [esp + 0x28]
mov byte [esp + 0x1c], 3
cmp eax, 0xffffffff
je 0x10031319
push eax
lea eax, [esp + 0x14]
push str.__lu
push eax
call fcn.100864e0
add esp, 0xc
mov eax, dword [esp + 0x2c]
cmp eax, 0xffffffff
je 0x10031335
push eax
lea ecx, [esp + 0x10]
push str.__lu
push ecx
call fcn.100864e0
add esp, 0xc
mov eax, dword [esp + 0x30]
cmp eax, 0xffffffff
je 0x10031351
push eax
lea edx, [esp + 0xc]
push str.__lu
push edx
call fcn.100864e0
add esp, 0xc
mov eax, dword [esp + 0x34]
cmp eax, 0xffffffff
je 0x1003136d
push eax
lea eax, [esp + 8]
push 0x102b4894
push eax
call fcn.100864e0
add esp, 0xc
mov ecx, dword [esp + 0x24]
push ecx
lea ecx, [esp + 0x2c]
call fcn.10082dc0
mov edx, dword [esp + 4]
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
push edx
mov edx, dword [esp + 0x14]
push eax
mov eax, dword [esp + 0x30]
push ecx
push edx
push eax
add esi, 4
push str._s_s_s_s_s
push esi
mov byte [esp + 0x38], 4
call fcn.100864e0
add esp, 0x1c
lea ecx, [esp + 0x28]
mov byte [esp + 0x1c], 3
call fcn.10083560
lea ecx, [esp + 4]
mov byte [esp + 0x1c], 2
call fcn.10083560
lea ecx, [esp + 8]
mov byte [esp + 0x1c], 1
call fcn.10083560
lea ecx, [esp + 0xc]
mov byte [esp + 0x1c], 0
call fcn.10083560
lea ecx, [esp + 0x10]
mov dword [esp + 0x1c], 0xffffffff
call fcn.10083560
mov ecx, dword [esp + 0x14]
pop esi
mov dword fs:[0], ecx
add esp, 0x1c
ret 0x14

Function at 0x100314a0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x1024e2c7
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
mov eax, dword [0x1025e6e4]
push esi
mov esi, ecx
mov dword [esp + 0xc], 0
mov dword [esp + 8], eax
mov dword [esp + 0x18], 1
mov dword [esp + 4], eax
mov eax, dword [esp + 0x24]
mov byte [esp + 0x18], 2
test eax, eax
je 0x100314ec
push 0x102b48cc
jmp 0x100314f1
push 0x102b48bc
lea ecx, [esp + 8]
call fcn.100837e0
mov eax, dword [esi + 4]
mov ecx, dword [esp + 4]
push eax
push ecx
lea edx, [esp + 0x10]
push 0x102a82b4
push edx
call fcn.100864e0
mov esi, dword [esp + 0x30]
add esp, 0x10
lea eax, [esp + 8]
mov ecx, esi
push eax
call fcn.10082b60
mov dword [esp + 0xc], 1
lea ecx, [esp + 4]
mov byte [esp + 0x18], 1
call fcn.10083560
lea ecx, [esp + 8]
mov byte [esp + 0x18], 0
call fcn.10083560
mov ecx, dword [esp + 0x10]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x18
ret 8
Function at 0x10033840
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x1024e724
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.10031090
lea ecx, [esi + 8]
call fcn.10033810
xor ebx, ebx
lea ecx, [esi + 0x20]
mov dword [esp + 0x1c], ebx
call fcn.10088e80
mov eax, dword [0x1025e6e4]
mov dword [esi + 0x30], eax
lea ecx, [esi + 0x3c]
mov byte [esp + 0x1c], 2
call fcn.10097720
mov edx, dword [0x1025e6e4]
lea edi, [esi + 0x58]
mov dword [esp + 0x10], edi
lea ecx, [edi + 4]
mov dword [ecx], edx
push 0x102e269c
mov byte [esp + 0x20], 4
mov dword [edi], ebx
call fcn.100837e0
mov dword [edi + 8], ebx
add edi, 0xc
xor eax, eax
lea edx, [esi + 0x48]
mov dword [edi], eax
xor ecx, ecx
mov dword [edi + 4], eax
mov dword [edi + 8], eax
mov dword [edi + 0xc], eax
mov dword [esi + 0x34], ebx
mov dword [esi + 0x40], ebx
mov dword [esi + 0x44], ebx
mov dword [edx], ecx
mov eax, esi
pop edi
mov dword [edx + 4], ecx
mov dword [edx + 8], ecx
mov dword [edx + 0xc], ecx
mov ecx, dword [esp + 0x10]
mov dword [esi + 0x38], ebx
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x10038950
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
mov ecx, 0x102e64c0
jmp 0x100389b0
push 0xffffffffffffffff
push 0x1024eec2
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebp
push esi
push edi
mov esi, ecx
xor edi, edi
mov dword [esp + 0xc], esi
mov dword [esi + 4], edi
mov dword [esi + 0x10], edi
mov dword [esi + 0xc], edi
mov dword [esi + 8], edi
mov dword [esp + 0x1c], edi
mov dword [esi + 0x14], edi
mov dword [esi + 0x20], edi
mov dword [esi + 0x1c], edi
mov dword [esi + 0x18], edi
mov dword [esi + 0x24], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x40], edi
mov dword [esi + 0x44], edi
mov dword [esi + 0x48], 0x1e
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], edi
mov dword [esi + 0x3c], edi
mov dword [esi + 0x4c], edi
mov dword [esi + 0x58], edi
mov dword [esi + 0x54], edi
mov dword [esi + 0x50], edi
lea ecx, [esi + 0x5c]
mov byte [esp + 0x1c], 4
call fcn.100912d0
lea ebp, [esi + 0x7c]
mov dword [esp + 0x10], ebp
mov dword [ebp], 0x1025bde4
mov dword [ebp + 4], edi
mov dword [ebp + 0x10], edi
mov dword [ebp + 0xc], edi
mov dword [ebp + 8], edi
lea ecx, [ebp + 0x14]
mov byte [esp + 0x1c], 6
call fcn.100912d0
push edi
push edi
push edi
push edi
push edi
push edi
lea ecx, [ebp + 0x34]
mov byte [esp + 0x34], 7
call fcn.10038910
push 0xffffffffffffffff
push 0xffffffffffffffff
push edi
push edi
push edi
push edi
lea ecx, [ebp + 0x4c]
call fcn.10038630
mov dword [ebp], 0x1025bddc
lea ecx, [esi + 0x104]
mov byte [esp + 0x1c], 8
call fcn.1003a8a0
lea ebp, [esi + 0x140]
mov dword [esp + 0x10], ebp
mov dword [ebp], 0x1025bde4
mov dword [ebp + 8], edi
mov dword [ebp + 0xc], 0x11
mov dword [ebp + 0x10], edi
mov dword [ebp + 0x14], edi
mov dword [ebp + 0x18], edi
mov eax, 0xa
mov dword [ebp + 0x1c], eax
lea ecx, [ebp + 0x20]
mov byte [esp + 0x1c], al
call fcn.100912d0
push edi
push edi
push edi
push edi
push edi
push edi
lea ecx, [ebp + 0x40]
mov byte [esp + 0x34], 0xb
call fcn.10038910
push 0xffffffffffffffff
push 0xffffffffffffffff
push edi
push edi
push edi
push edi
lea ecx, [ebp + 0x58]
call fcn.10038630
push edi
push edi
push edi
push edi
push edi
push edi
lea ecx, [ebp + 0x94]
mov byte [esp + 0x34], 0xc
call fcn.10038910
push 0xffffffffffffffff
push 0xffffffffffffffff
push edi
push edi
push edi
push edi
lea ecx, [ebp + 0xac]
call fcn.10038630
mov ecx, dword [esp + 0x14]
mov eax, 0x10
mov dword [ebp], 0x1025bdd0
mov dword [esi + 0x248], eax
mov dword [esi + 0x24c], eax
mov dword [esi + 0x254], edi
mov dword [esi], 0x1025bdcc
mov dword [esi + 0x250], 4
mov dword [esi + 0x258], 0x7530
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x1003a6b0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x1024f108
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x3c
push esi
mov esi, ecx
push 0xffffffffffffffff
push 0x2710
lea eax, [esi + 0x34]
push 0
push eax
push 0
push 0
lea ecx, [esp + 0x1c]
mov dword [eax], esi
mov dword [esi + 0x38], 0x10009d80
call fcn.10038630
lea eax, [esp + 4]
mov ecx, 0x102e64c0
push eax
mov dword [esp + 0x4c], 0
call fcn.100397f0
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0xc]
mov eax, dword [esp + 0x14]
mov dword [esi + 0x50], ecx
mov ecx, dword [esp + 0x18]
mov dword [esi + 0x54], edx
mov edx, dword [esp + 0x1c]
mov dword [esi + 0x5c], eax
mov eax, dword [esp + 0x20]
mov dword [esi + 0x60], ecx
mov ecx, dword [esp + 0x24]
mov dword [esi + 0x64], edx
mov edx, dword [esp + 0x28]
mov dword [esi + 0x6c], ecx
mov ecx, dword [esp + 0x30]
mov dword [esi + 0x68], eax
mov eax, dword [esp + 0x2c]
mov dword [esi + 0x78], ecx
mov ecx, dword [esp + 0x3c]
mov dword [esi + 0x70], edx
mov edx, dword [esp + 0x34]
mov dword [esi + 0x74], eax
mov eax, dword [esp + 0x38]
mov dword [esi + 0x84], ecx
lea ecx, [esp + 4]
mov dword [esi + 0x7c], edx
mov dword [esi + 0x80], eax
mov dword [esp + 0x48], 0xffffffff
call fcn.100386b0
mov ecx, dword [esp + 0x40]
mov eax, 1
pop esi
mov dword fs:[0], ecx
add esp, 0x48
ret
Function at 0x1003b5b0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x1024f250
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x48
push ebp
push esi
push edi
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0
mov edi, ecx
push 0
push 0
push 0
lea ecx, [esp + 0x30]
call fcn.10038630
lea eax, [edi + 0x20]
push 1
push eax
lea ecx, [esp + 0x14]
mov dword [esp + 0x64], 0
call fcn.10091800
mov ecx, dword [esp + 0x64]
mov byte [esp + 0x5c], 1
lea ebp, [ecx + 0xc]
push ebp
call fcn.10031060
xor edx, edx
div dword [edi + 0xc]
mov eax, dword [edi + 8]
test eax, eax
je 0x1003b63b
mov esi, dword [eax + edx*4]
test esi, esi
je 0x1003b63b
lea edx, [esi + 8]
push ebp
push edx
call fcn.10031040
add esp, 8
test eax, eax
jne 0x1003b637
mov esi, dword [esi]
test esi, esi
jne 0x1003b61e
jmp 0x1003b69f
test esi, esi
jne 0x1003b63f
xor esi, esi
jmp 0x1003b69f
mov eax, dword [esi + 0x14]
mov dword [esp + 0x1c], eax
mov ecx, dword [esi + 0x18]
mov dword [esp + 0x20], ecx
mov edx, dword [esi + 0x20]
mov dword [esp + 0x28], edx
mov eax, dword [esi + 0x24]
mov dword [esp + 0x2c], eax
mov ecx, dword [esi + 0x28]
mov dword [esp + 0x30], ecx
mov edx, dword [esi + 0x2c]
mov dword [esp + 0x34], edx
mov eax, dword [esi + 0x30]
mov dword [esp + 0x38], eax
mov ecx, dword [esi + 0x34]
mov dword [esp + 0x3c], ecx
mov edx, dword [esi + 0x38]
mov dword [esp + 0x40], edx
mov eax, dword [esi + 0x3c]
mov dword [esp + 0x44], eax
mov ecx, dword [esi + 0x40]
mov dword [esp + 0x48], ecx
mov edx, dword [esi + 0x44]
mov dword [esp + 0x4c], edx
mov eax, dword [esi + 0x48]
mov dword [esp + 0x50], eax
mov esi, 1
lea ecx, [esp + 0xc]
mov byte [esp + 0x5c], 0
call fcn.10091860
test esi, esi
je 0x1003b6ca
lea ecx, [esp + 0x18]
push ecx
mov ecx, dword [edi + 4]
call fcn.10039cb0
lea edx, [esp + 0x18]
mov ecx, edi
push edx
call fcn.1003b400
lea ecx, [esp + 0x18]
mov dword [esp + 0x5c], 0xffffffff
call fcn.100386b0
mov ecx, dword [esp + 0x54]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x54
ret 4
Function at 0x1003b6f0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x1024f273
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x78
push esi
mov esi, ecx
xor eax, eax
push 0xffffffffffffffff
lea ecx, [esi + 0xf8]
push 0x2710
push 0
mov dword [ecx], eax
mov dword [ecx + 4], eax
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], eax
lea eax, [esi + 0x40]
push eax
push 0
push 0
lea ecx, [esp + 0x1c]
mov dword [eax], esi
mov dword [esi + 0x44], 0x10009d80
call fcn.10038630
lea edx, [esp + 4]
mov ecx, 0x102e64c0
push edx
mov dword [esp + 0x88], 0
call fcn.100397f0
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x14]
mov dword [esi + 0x5c], eax
mov eax, dword [esp + 0x18]
mov dword [esi + 0x60], ecx
mov ecx, dword [esp + 0x1c]
mov dword [esi + 0x68], edx
mov edx, dword [esp + 0x20]
mov dword [esi + 0x6c], eax
mov eax, dword [esp + 0x24]
mov dword [esi + 0x70], ecx
mov ecx, dword [esp + 0x28]
mov dword [esi + 0x74], edx
mov edx, dword [esp + 0x2c]
mov dword [esi + 0x78], eax
mov eax, dword [esp + 0x30]
mov dword [esi + 0x7c], ecx
mov ecx, dword [esp + 0x34]
mov dword [esi + 0x80], edx
mov edx, dword [esp + 0x38]
mov dword [esi + 0x84], eax
mov eax, dword [esp + 0x3c]
mov dword [esi + 0x88], ecx
lea ecx, [esp + 4]
mov dword [esi + 0x8c], edx
mov dword [esi + 0x90], eax
mov dword [esp + 0x84], 0xffffffff
call fcn.100386b0
push 0xffffffffffffffff
lea eax, [esi + 0x94]
push 0xffffffffffffffff
push 0
push eax
push 2
push 0
lea ecx, [esp + 0x58]
mov dword [eax], esi
mov dword [esi + 0x98], 0x10009d90
call fcn.10038630
lea ecx, [esp + 0x40]
mov dword [esp + 0x84], 1
push ecx
mov ecx, 0x102e64c0
call fcn.100397f0
mov edx, dword [esp + 0x44]
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x50]
mov dword [esi + 0xb0], edx
mov edx, dword [esp + 0x54]
mov dword [esi + 0xb4], eax
mov eax, dword [esp + 0x58]
mov dword [esi + 0xbc], ecx
mov dword [esi + 0xc0], edx
mov dword [esi + 0xc4], eax
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x60]
mov eax, dword [esp + 0x64]
mov dword [esi + 0xc8], ecx
mov ecx, dword [esp + 0x68]
mov dword [esi + 0xcc], edx
mov edx, dword [esp + 0x6c]
mov dword [esi + 0xd4], ecx
mov ecx, dword [esp + 0x74]
mov dword [esi + 0xd0], eax
mov eax, dword [esp + 0x70]
mov dword [esi + 0xd8], edx
mov edx, dword [esp + 0x78]
mov dword [esi + 0xe0], ecx
lea ecx, [esp + 0x40]
mov dword [esi + 0xdc], eax
mov dword [esi + 0xe4], edx
mov dword [esp + 0x84], 0xffffffff
call fcn.100386b0
mov ecx, dword [esp + 0x7c]
mov eax, 1
pop esi
mov dword fs:[0], ecx
add esp, 0x84
ret
Function at 0x1003c540
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x1024f2e8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x3c
push esi
mov esi, ecx
push 0xffffffffffffffff
push 0xc8
lea eax, [esi + 0x44]
lea ecx, [esi + 0x3c]
push 0
push eax
mov dword [eax], ecx
push 0
push 1
lea ecx, [esp + 0x1c]
mov dword [esi + 0x40], esi
mov dword [esi + 0x48], 0x10009d80
call fcn.10038630
lea edx, [esp + 4]
mov ecx, 0x102e64c0
push edx
mov dword [esp + 0x4c], 0
call fcn.100397f0
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x14]
mov dword [esi + 0x60], eax
mov eax, dword [esp + 0x18]
mov dword [esi + 0x64], ecx
mov ecx, dword [esp + 0x1c]
mov dword [esi + 0x6c], edx
mov edx, dword [esp + 0x20]
mov dword [esi + 0x70], eax
mov eax, dword [esp + 0x24]
mov dword [esi + 0x74], ecx
mov ecx, dword [esp + 0x28]
mov dword [esi + 0x78], edx
mov edx, dword [esp + 0x2c]
mov dword [esi + 0x7c], eax
mov eax, dword [esp + 0x30]
mov dword [esi + 0x80], ecx
mov ecx, dword [esp + 0x34]
mov dword [esi + 0x84], edx
mov edx, dword [esp + 0x38]
mov dword [esi + 0x88], eax
mov eax, dword [esp + 0x3c]
mov dword [esi + 0x8c], ecx
lea ecx, [esp + 4]
mov dword [esi + 0x90], edx
mov dword [esi + 0x94], eax
mov dword [esp + 0x48], 0xffffffff
call fcn.100386b0
mov ecx, dword [esp + 0x40]
mov eax, 1
pop esi
mov dword fs:[0], ecx
add esp, 0x48
ret
Function at 0x1003f630
Capabilities:
Get file size

Disassembly:
sub esp, 0x28
push ebx
push esi
push edi
mov edi, dword [esp + 0x38]
test edi, edi
je 0x1003f6f2
mov esi, dword [esp + 0x3c]
test esi, esi
je 0x1003f6f2
push edi
call fcn.1003fcf0
add esp, 4
test eax, eax
jne 0x1003f6f2
push eax
push 0x20
push 7
push 0x100080
push edi
call fcn.1003f2a0
mov ebx, eax
add esp, 0x14
cmp ebx, 0xffffffff
je 0x1003f6f2
mov ecx, 9
xor eax, eax
lea edi, [esp + 0x10]
mov dword [esp + 0xc], 0
rep stosd dword es:[edi], eax
lea eax, [esp + 0xc]
push 0x28
push eax
push ebx
call fcn.1003f490
mov edi, eax
add esp, 0xc
test edi, edi
je 0x1003f6e2
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0xc]
mov dword [esi + 8], edx
mov edx, dword [esp + 0x14]
mov dword [esi], ecx
mov ecx, dword [esp + 0x18]
mov dword [esi + 0xc], edx
lea edx, [esi + 0x1c]
mov dword [esi + 4], eax
mov eax, dword [esp + 0x20]
mov dword [esi + 0x10], ecx
mov ecx, dword [esp + 0x1c]
push edx
push ebx
mov dword [esi + 0x18], eax
mov dword [esi + 0x14], ecx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [esi + 0x20], eax
push ebx
call dword [0x102fa5d0]
mov eax, edi
pop edi
pop esi
pop ebx
add esp, 0x28
ret
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x28
ret

Function at 0x10042ab0
Capabilities:
Get common file path

Disassembly:
mov eax, dword [0x102e8ec8]
test eax, eax
jne 0x10042b0c
mov dword [0x102e8ec8], 1
call fcn.1009af60
test eax, eax
je 0x10042afc
push 0
push 0x104
push 0x102e8ecc
call fcn.100a2300
add esp, 0xc
test eax, eax
je 0x10042b0c
push str.SysWow64
push 0x102e8ecc
call fcn.1006bf56
add esp, 8
mov eax, 0x102e8ecc
ret
push 0x104
push 0x102e8ecc
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov eax, 0x102e8ecc
ret

Function at 0x10042e30
Capabilities:
Get common file path

Disassembly:
mov eax, dword [0x102e9f28]
test eax, eax
jne 0x10042e8c
mov dword [0x102e9f28], 1
call fcn.1009af60
test eax, eax
je 0x10042e7c
push 0
push 0x104
push 0x102e9f2c
call fcn.100a24f0
add esp, 0xc
test eax, eax
je 0x10042e8c
push str.SysWow64
push 0x102e9f2c
call fcn.1006bf56
add esp, 8
mov eax, 0x102e9f2c
ret
push 0x104
push 0x102e9f2c
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov eax, 0x102e9f2c
ret