Function at 0x1009d9d4
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x10027438
push 0x1000f9c0
mov eax, dword fs:[0]
push eax
add esp, 0xfffffe8c
mov eax, dword [0x10029580]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov dword [ebp - 0x130], 0
push 0x10020800
call dword [0x10020034]
mov dword [ebp - 0xfc], eax
mov eax, dword [ebp - 0xfc]
mov dword [ebp - 0x158], eax
mov ecx, dword [ebp - 0x158]
movzx edx, word [ecx]
cmp edx, 0x5a4d
je 0x1009da4a
jmp 0x1009e372
mov eax, dword [ebp - 0x158]
mov ecx, dword [ebp - 0x158]
add ecx, dword [eax + 0x3c]
mov dword [ebp - 0x11c], ecx
mov edx, dword [ebp - 0x11c]
mov dword [ebp - 0x160], edx
mov eax, dword [ebp - 0x11c]
cmp dword [eax], 0x4550
je 0x1009da7e
jmp 0x1009e372
mov ecx, dword [ebp - 0x11c]
movzx edx, word [ecx + 4]
cmp edx, 0x8664
je 0x1009daa2
mov eax, dword [ebp - 0x11c]
movzx ecx, word [eax + 4]
cmp ecx, 0x200
jne 0x1009daae
mov dword [ebp - 0x130], 1
jmp 0x1009dab8
mov dword [ebp - 0x130], 0
cmp dword [ebp - 0x130], 0
je 0x1009dae0
mov edx, 8
imul eax, edx, 0
mov ecx, dword [ebp - 0x160]
cmp dword [ecx + eax + 0x88], 0
jne 0x1009dade
jmp 0x1009e372
jmp 0x1009dafa
mov edx, 8
imul eax, edx, 0
mov ecx, dword [ebp - 0x11c]
cmp dword [ecx + eax + 0x78], 0
jne 0x1009dafa
jmp 0x1009e372
mov dword [ebp - 0x17c], 0
mov dword [ebp - 0x134], 0
cmp dword [ebp - 0x130], 0
je 0x1009db3a
mov edx, 8
imul eax, edx, 0
mov ecx, dword [ebp - 0x160]
mov edx, dword [ecx + eax + 0x88]
add edx, dword [ebp - 0xfc]
mov dword [ebp - 0x134], edx
jmp 0x1009db58
mov eax, 8
imul ecx, eax, 0
mov edx, dword [ebp - 0x11c]
mov eax, dword [edx + ecx + 0x78]
add eax, dword [ebp - 0xfc]
mov dword [ebp - 0x134], eax
mov ecx, dword [ebp - 0x134]
cmp dword [ecx + 0xc], 0
jne 0x1009db69
jmp 0x1009e372
mov edx, dword [ebp - 0x134]
mov dword [ebp - 0x168], edx
mov dword [ebp - 0x180], 0x28
mov eax, dword [ebp - 0x168]
mov dword [ebp - 0x104], eax
mov ecx, dword [ebp - 0x104]
mov edx, dword [ebp - 0xfc]
add edx, dword [ecx + 0xc]
mov dword [ebp - 0x128], edx
mov eax, dword [ebp - 0x104]
mov ecx, dword [ebp - 0xfc]
add ecx, dword [eax + 0x1c]
mov dword [ebp - 0x154], ecx
mov edx, dword [ebp - 0x104]
mov eax, dword [ebp - 0xfc]
add eax, dword [edx + 0x20]
mov dword [ebp - 0x15c], eax
mov ecx, dword [ebp - 0x104]
mov edx, dword [ebp - 0xfc]
add edx, dword [ecx + 0x24]
mov dword [ebp - 0x13c], edx
mov eax, dword [ebp - 0x104]
mov ecx, dword [eax + 0x18]
mov dword [ebp - 0xf8], ecx
mov edx, dword [ebp - 0x104]
mov eax, dword [edx + 0x14]
mov dword [ebp - 0x114], eax
mov ecx, dword [0x10020808]
mov dword [ebp - 0x48], ecx
mov edx, dword [0x1002080c]
mov dword [ebp - 0x44], edx
mov eax, dword [0x10020810]
mov dword [ebp - 0x40], eax
mov ecx, dword [0x10020814]
mov dword [ebp - 0x3c], ecx
mov edx, dword [0x10020818]
mov dword [ebp - 0x38], edx
mov ax, word [0x1002081c]
mov word [ebp - 0x34], ax
mov ecx, dword [0x10020820]
mov dword [ebp - 0x30], ecx
mov edx, dword [0x10020824]
mov dword [ebp - 0x2c], edx
mov eax, dword [0x10020828]
mov dword [ebp - 0x28], eax
mov ecx, dword [0x1002082c]
mov dword [ebp - 0x24], ecx
mov dl, byte [0x10020830]
mov byte [ebp - 0x20], dl
mov eax, dword [ebp - 0x128]
push eax
call fcn.100a9484
add esp, 4
mov ecx, dword [ebp - 0x128]
lea edx, [ecx + eax + 1]
mov dword [ebp - 0x14c], edx
mov dword [ebp - 0x140], 0xffffffff
mov dword [ebp - 0x120], 0
jmp 0x1009dca3
mov eax, dword [ebp - 0x120]
add eax, 1
mov dword [ebp - 0x120], eax
mov ecx, dword [ebp - 0x104]
mov edx, dword [ebp - 0x120]
cmp edx, dword [ecx + 0x18]
jae 0x1009dd39
mov eax, dword [ebp - 0x120]
mov ecx, dword [ebp - 0x15c]
mov edx, dword [ecx + eax*4]
mov dword [ebp - 0x16c], edx
mov eax, dword [ebp - 0xfc]
add eax, dword [ebp - 0x16c]
mov dword [ebp - 0x170], eax
mov ecx, dword [ebp - 0x120]
mov edx, dword [ebp - 0x13c]
mov ax, word [edx + ecx*2]
mov word [ebp - 0x138], ax
movzx ecx, word [ebp - 0x138]
mov edx, dword [ebp - 0x154]
mov eax, dword [edx + ecx*4]
mov dword [ebp - 0x184], eax
mov ecx, dword [ebp - 0x14c]
push ecx
mov edx, dword [ebp - 0x170]
push edx
call fcn.100a9514
add esp, 8
test eax, eax
jne 0x1009dd34
mov eax, dword [ebp - 0x120]
mov dword [ebp - 0x140], eax
jmp 0x1009dd39
jmp 0x1009dc94
cmp dword [ebp - 0x140], 0xffffffff
jne 0x1009dd47
jmp 0x1009e372
mov ecx, dword [ebp - 0x128]
mov dword [ebp - 0x124], ecx
mov byte [ebp - 0xfd], 0
mov dword [ebp - 4], 0
push 0x80
push 0
lea edx, [ebp - 0xc8]
push edx
call fcn.100a3bd4
add esp, 0xc
push 0x80
lea eax, [ebp - 0xc8]
push eax
mov ecx, dword [ebp - 0x124]
push ecx
call fcn.100a43df
add esp, 0xc
test eax, eax
jne 0x1009ddae
mov edx, dword [ebp - 0x124]
add edx, 1
mov dword [ebp - 0x124], edx
mov byte [ebp - 0xfd], 1
jmp 0x1009ddbf
mov eax, dword [ebp - 0x124]
add eax, 1
mov dword [ebp - 0x124], eax
jmp 0x1009dd61
mov dword [ebp - 4], 0xfffffffe
jmp 0x1009ddd8
movzx ecx, byte [ebp - 0xfd]
test ecx, ecx
jne 0x1009dde8
jmp 0x1009e372
mov eax, dword [ebp - 0x114]
add eax, 2
mov edx, 4
mul edx
mov ecx, 0xffffffff
cmovb eax, ecx
push eax
call fcn.100a9841
add esp, 4
mov dword [ebp - 0x10c], eax
mov eax, dword [ebp - 0xf8]
add eax, 2
mov edx, 4
mul edx
mov ecx, 0xffffffff
cmovb eax, ecx
push eax
call fcn.100a9841
add esp, 4
mov dword [ebp - 0x118], eax
mov eax, dword [ebp - 0xf8]
add eax, 2
mov edx, 2
mul edx
mov ecx, 0xffffffff
cmovb eax, ecx
push eax
call fcn.100a9841
add esp, 4
mov dword [ebp - 0x110], eax
mov edx, dword [ebp - 0x154]
mov dword [ebp - 0x150], edx
mov eax, dword [ebp - 0x15c]
add eax, 8
mov dword [ebp - 0x174], eax
mov ecx, dword [ebp - 0x13c]
add ecx, 0x10
mov dword [ebp - 0x178], ecx
mov edx, dword [ebp - 0x124]
mov dword [ebp - 0x12c], edx
mov eax, dword [ebp - 0x128]
push eax
call fcn.100a9484
add esp, 4
mov ecx, dword [ebp - 0x12c]
lea edx, [ecx + eax + 1]
mov dword [ebp - 0x144], edx
lea eax, [ebp - 0x48]
push eax
call fcn.100a9484
add esp, 4
mov ecx, dword [ebp - 0x144]
lea edx, [ecx + eax + 1]
mov dword [ebp - 0x148], edx
lea eax, [ebp - 0x30]
push eax
call fcn.100a9484
add esp, 4
mov ecx, dword [ebp - 0x148]
lea edx, [ecx + eax + 1]
mov dword [ebp - 0x164], edx
xor eax, eax
mov dword [ebp - 0xf4], eax
mov dword [ebp - 0xf0], eax
mov dword [ebp - 0xec], eax
mov dword [ebp - 0xe8], eax
mov dword [ebp - 0xe4], eax
mov dword [ebp - 0xe0], eax
mov dword [ebp - 0xdc], eax
mov dword [ebp - 0xd8], eax
mov dword [ebp - 0xd4], eax
mov dword [ebp - 0xd0], eax
cmp dword [ebp - 0x10c], 0
je 0x1009df43
cmp dword [ebp - 0x118], 0
je 0x1009df43
cmp dword [ebp - 0x110], 0
jne 0x1009df48
jmp 0x1009e372
mov ecx, dword [ebp - 0x114]
shl ecx, 2
push ecx
mov edx, dword [ebp - 0x154]
push edx
mov eax, dword [ebp - 0x10c]
push eax
call fcn.100a3d34
add esp, 0xc
mov ecx, dword [ebp - 0xf8]
shl ecx, 2
push ecx
mov edx, dword [ebp - 0x15c]
push edx
mov eax, dword [ebp - 0x118]
push eax
call fcn.100a3d34
add esp, 0xc
mov ecx, dword [ebp - 0xf8]
shl ecx, 1
push ecx
mov edx, dword [ebp - 0x13c]
push edx
mov eax, dword [ebp - 0x110]
push eax
call fcn.100a3d34
add esp, 0xc
mov ecx, dword [ebp - 0x114]
mov edx, dword [ebp - 0x10c]
mov eax, dword [ebp - 0x114]
mov esi, dword [ebp - 0x10c]
mov eax, dword [esi + eax*4 - 4]
mov dword [edx + ecx*4], eax
mov ecx, dword [ebp - 0x114]
mov edx, dword [ebp - 0x10c]
mov eax, dword [ebp - 0x114]
mov esi, dword [ebp - 0x10c]
mov eax, dword [esi + eax*4 - 4]
mov dword [edx + ecx*4 + 4], eax
mov ecx, dword [ebp - 0x164]
sub ecx, dword [ebp - 0xfc]
mov edx, dword [ebp - 0x140]
mov eax, dword [ebp - 0x118]
mov dword [eax + edx*4], ecx
mov ecx, dword [ebp - 0x144]
sub ecx, dword [ebp - 0xfc]
mov edx, dword [ebp - 0xf8]
mov eax, dword [ebp - 0x118]
mov dword [eax + edx*4], ecx
mov ecx, dword [ebp - 0x148]
sub ecx, dword [ebp - 0xfc]
mov edx, dword [ebp - 0xf8]
mov eax, dword [ebp - 0x118]
mov dword [eax + edx*4 + 4], ecx
mov ecx, dword [ebp - 0xf8]
mov edx, dword [ebp - 0x110]
movzx eax, word [edx + ecx*2 - 2]
add eax, 1
mov ecx, dword [ebp - 0xf8]
mov edx, dword [ebp - 0x110]
mov word [edx + ecx*2], ax
mov eax, dword [ebp - 0xf8]
mov ecx, dword [ebp - 0x110]
movzx edx, word [ecx + eax*2 - 2]
add edx, 2
mov eax, dword [ebp - 0xf8]
mov ecx, dword [ebp - 0x110]
mov word [ecx + eax*2 + 2], dx
mov dword [ebp - 0x108], 0x80
lea edx, [ebp - 0xcc]
push edx
push 4
mov eax, dword [ebp - 0x108]
push eax
mov ecx, dword [ebp - 0x12c]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [0x100200bc]
push 0
mov eax, dword [ebp - 0x128]
push eax
call fcn.100a9484
add esp, 4
push eax
mov ecx, dword [ebp - 0x128]
push ecx
mov edx, dword [ebp - 0x12c]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [0x100200c4]
push 0
lea ecx, [ebp - 0x48]
push ecx
call fcn.100a9484
add esp, 4
push eax
lea edx, [ebp - 0x48]
push edx
mov eax, dword [ebp - 0x144]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [0x100200c4]
push 0
lea edx, [ebp - 0x30]
push edx
call fcn.100a9484
add esp, 4
push eax
lea eax, [ebp - 0x30]
push eax
mov ecx, dword [ebp - 0x148]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [0x100200c4]
push 0
mov eax, dword [ebp - 0x14c]
push eax
call fcn.100a9484
add esp, 4
push eax
mov ecx, dword [ebp - 0x14c]
push ecx
mov edx, dword [ebp - 0x164]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [0x100200c4]
lea ecx, [ebp - 0xcc]
push ecx
mov edx, dword [ebp - 0xcc]
push edx
mov eax, dword [ebp - 0x108]
push eax
mov ecx, dword [ebp - 0x12c]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [0x100200bc]
mov eax, dword [ebp - 0xf8]
lea ecx, [eax*4 + 8]
mov edx, dword [ebp - 0x114]
lea eax, [ecx + edx*4 + 8]
mov ecx, dword [ebp - 0xf8]
lea edx, [eax + ecx*2 + 4]
mov dword [ebp - 0x108], edx
lea eax, [ebp - 0xcc]
push eax
push 4
mov ecx, dword [ebp - 0x108]
push ecx
mov edx, dword [ebp - 0x150]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [0x100200bc]
push 0
mov ecx, dword [ebp - 0x114]
lea edx, [ecx*4 + 8]
push edx
mov eax, dword [ebp - 0x10c]
push eax
mov ecx, dword [ebp - 0x150]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [0x100200c4]
push 0
mov eax, dword [ebp - 0xf8]
lea ecx, [eax*4 + 8]
push ecx
mov edx, dword [ebp - 0x118]
push edx
mov eax, dword [ebp - 0x174]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [0x100200c4]
push 0
mov edx, dword [ebp - 0xf8]
lea eax, [edx + edx + 4]
push eax
mov ecx, dword [ebp - 0x110]
push ecx
mov edx, dword [ebp - 0x178]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [0x100200c4]
lea ecx, [ebp - 0xcc]
push ecx
mov edx, dword [ebp - 0xcc]
push edx
mov eax, dword [ebp - 0x108]
push eax
mov ecx, dword [ebp - 0x150]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [0x100200bc]
push 0x28
mov eax, dword [ebp - 0x104]
push eax
lea ecx, [ebp - 0xf4]
push ecx
call fcn.100a3d34
add esp, 0xc
mov edx, dword [ebp - 0x12c]
sub edx, dword [ebp - 0xfc]
mov dword [ebp - 0xe8], edx
mov eax, dword [ebp - 0xd4]
add eax, 8
mov dword [ebp - 0xd4], eax
mov ecx, dword [ebp - 0xd0]
add ecx, 0x10
mov dword [ebp - 0xd0], ecx
mov edx, dword [ebp - 0xdc]
add edx, 2
mov dword [ebp - 0xdc], edx
mov eax, dword [ebp - 0xe0]
add eax, 2
mov dword [ebp - 0xe0], eax
mov dword [ebp - 0x108], 0x28
lea ecx, [ebp - 0xcc]
push ecx
push 4
mov edx, dword [ebp - 0x108]
push edx
mov eax, dword [ebp - 0x104]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [0x100200bc]
push 0
mov edx, dword [ebp - 0x108]
push edx
lea eax, [ebp - 0xf4]
push eax
mov ecx, dword [ebp - 0x104]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [0x100200c4]
lea eax, [ebp - 0xcc]
push eax
mov ecx, dword [ebp - 0xcc]
push ecx
mov edx, dword [ebp - 0x108]
push edx
mov eax, dword [ebp - 0x104]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [0x100200bc]
nop
cmp dword [ebp - 0x10c], 0
je 0x1009e342
mov edx, dword [ebp - 0x10c]
push edx
call fcn.100a9826
add esp, 4
cmp dword [ebp - 0x118], 0
je 0x1009e35a
mov eax, dword [ebp - 0x118]
push eax
call fcn.100a9826
add esp, 4
cmp dword [ebp - 0x110], 0
je 0x1009e372
mov ecx, dword [ebp - 0x110]
push ecx
call fcn.100a9826
add esp, 4
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.100a2cfb
mov esp, ebp
pop ebp
ret