Function at 0x1000189b
Capabilities:
Access peb ldr_data
Get process heap flags
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x33c
mov dword [ebp - 0x10], 0x1000e6f8
mov dword [ebp - 0x1b8], 0
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xc]
lea ecx, [ebp - 0x1b8]
mov dword [ebp - 0x328], ecx
mov dword [ebp - 0x1c8], eax
mov eax, dword fs:[0x18]
mov dword [ebp - 0x1c0], eax
mov eax, dword [ebp - 0x1c0]
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x1bc], eax
mov eax, dword [ebp - 0x1bc]
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x1c4], eax
mov eax, dword [ebp - 0x1c4]
add eax, 0xc
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x13c], eax
mov eax, dword [ebp - 0x13c]
mov eax, dword [eax]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x54]
cmp eax, dword [ebp - 0x13c]
je 0x1000195e
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x138], eax
mov esi, dword [ebp - 0x1c8]
mov eax, dword [ebp - 0x138]
mov ecx, dword [eax + 0x30]
call fcn.100017fb
cmp esi, eax
jne 0x10001954
mov eax, dword [ebp - 0x138]
mov eax, dword [eax + 0x18]
mov dword [ebp - 0x140], eax
jmp 0x10001968
mov eax, dword [ebp - 0x54]
mov eax, dword [eax]
mov dword [ebp - 0x54], eax
jmp 0x10001917
mov dword [ebp - 0x140], 0
mov eax, dword [ebp - 0x140]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x24]
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx + 0x2c]
mov edx, dword [ebp - 0x40]
mov esi, dword [ebp - 0x10]
mov esi, dword [esi + 4]
mov dword [ebp - 0x2a8], eax
mov dword [ebp - 0x2a4], ecx
mov dword [ebp - 0x38], edx
mov dword [ebp - 0x2a0], esi
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x38]
add eax, dword [ecx + 0x3c]
mov dword [ebp - 0x29c], eax
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x29c]
mov edx, dword [ebp - 0x2a0]
add eax, dword [ecx + edx*8 + 0x78]
mov dword [ebp - 0x98], eax
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x98]
add eax, dword [ecx + 0x24]
mov dword [ebp - 0x298], eax
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x98]
add eax, dword [ecx + 0x20]
mov dword [ebp - 0x294], eax
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x98]
add eax, dword [ecx + 0x1c]
mov dword [ebp - 0x290], eax
mov dword [ebp - 0x70], 0
mov eax, dword [ebp - 0x70]
mov ecx, dword [ebp - 0x98]
cmp eax, dword [ecx + 0x18]
jae 0x10001b48
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x294]
mov edx, dword [ebp - 0x70]
add eax, dword [ecx + edx*4]
mov dword [ebp - 0x28c], eax
mov eax, dword [ebp - 0x28c]
mov ecx, dword [ebp - 0x2a8]
mov dword [ebp - 0x160], eax
mov dword [ebp - 0x2b0], ecx
mov dword [ebp - 0xc8], 0
mov ecx, dword [ebp - 0x160]
call fcn.1000185b
mov dword [ebp - 0x2ac], eax
mov dword [ebp - 0x9c], 0
mov eax, dword [ebp - 0x9c]
cmp eax, dword [ebp - 0x2ac]
jae 0x10001b0b
mov eax, dword [ebp - 0x160]
mov ecx, dword [ebp - 0x9c]
mov al, byte [eax + ecx]
mov byte [ebp - 0x41], al
mov eax, dword [ebp - 0x2b0]
mov ecx, dword [ebp - 0xc8]
mov dword [ebp - 0x318], eax
mov dword [ebp - 0x314], ecx
mov dword [ebp - 0x118], 0
mov dword [ebp - 0x114], 0
mov eax, dword [ebp - 0x114]
cmp eax, dword [ebp - 0x318]
jae 0x10001ae5
mov eax, dword [ebp - 0x314]
add eax, dword [ebp - 0x118]
mov dword [ebp - 0x118], eax
mov eax, dword [ebp - 0x114]
add eax, 1
mov dword [ebp - 0x114], eax
jmp 0x10001ab4
mov eax, dword [ebp - 0x118]
movzx ecx, byte [ebp - 0x41]
add eax, ecx
mov dword [ebp - 0xc8], eax
mov eax, dword [ebp - 0x9c]
add eax, 1
mov dword [ebp - 0x9c], eax
jmp 0x10001a64
mov eax, dword [ebp - 0xc8]
cmp eax, dword [ebp - 0x2a4]
jne 0x10001b3a
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x290]
mov edx, dword [ebp - 0x298]
mov esi, dword [ebp - 0x70]
movzx edx, word [edx + esi*2]
add eax, dword [ecx + edx*4]
mov dword [ebp - 0x15c], eax
jmp 0x10001b52
mov eax, dword [ebp - 0x70]
add eax, 1
mov dword [ebp - 0x70], eax
jmp 0x10001a00
mov dword [ebp - 0x15c], 0
mov eax, dword [ebp - 0x15c]
mov dword [ebp - 0x1b4], eax
mov eax, dword [ebp - 0x1b4]
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx + 0x44]
xor edx, edx
mov dword [esp], 0
mov dword [esp + 4], ecx
call eax
sub esp, 8
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x24]
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx + 0x3c]
mov edx, dword [ebp - 0x40]
mov esi, dword [ebp - 0x10]
mov esi, dword [esi + 4]
mov dword [ebp - 0x288], eax
mov dword [ebp - 0x284], ecx
mov dword [ebp - 0x34], edx
mov dword [ebp - 0x280], esi
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x34]
add eax, dword [ecx + 0x3c]
mov dword [ebp - 0x27c], eax
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x27c]
mov edx, dword [ebp - 0x280]
add eax, dword [ecx + edx*8 + 0x78]
mov dword [ebp - 0x94], eax
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x94]
add eax, dword [ecx + 0x24]
mov dword [ebp - 0x278], eax
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x94]
add eax, dword [ecx + 0x20]
mov dword [ebp - 0x274], eax
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x94]
add eax, dword [ecx + 0x1c]
mov dword [ebp - 0x270], eax
mov dword [ebp - 0x6c], 0
mov eax, dword [ebp - 0x6c]
mov ecx, dword [ebp - 0x94]
cmp eax, dword [ecx + 0x18]
jae 0x10001d56
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x274]
mov edx, dword [ebp - 0x6c]
add eax, dword [ecx + edx*4]
mov dword [ebp - 0x26c], eax
mov eax, dword [ebp - 0x26c]
mov ecx, dword [ebp - 0x288]
mov dword [ebp - 0x164], eax
mov dword [ebp - 0x2b8], ecx
mov dword [ebp - 0xcc], 0
mov ecx, dword [ebp - 0x164]
call fcn.1000185b
mov dword [ebp - 0x2b4], eax
mov dword [ebp - 0xa0], 0
mov eax, dword [ebp - 0xa0]
cmp eax, dword [ebp - 0x2b4]
jae 0x10001d19
mov eax, dword [ebp - 0x164]
mov ecx, dword [ebp - 0xa0]
mov al, byte [eax + ecx]
mov byte [ebp - 0x42], al
mov eax, dword [ebp - 0x2b8]
mov ecx, dword [ebp - 0xcc]
mov dword [ebp - 0x310], eax
mov dword [ebp - 0x30c], ecx
mov dword [ebp - 0x110], 0
mov dword [ebp - 0x10c], 0
mov eax, dword [ebp - 0x10c]
cmp eax, dword [ebp - 0x310]
jae 0x10001cf3
mov eax, dword [ebp - 0x30c]
add eax, dword [ebp - 0x110]
mov dword [ebp - 0x110], eax
mov eax, dword [ebp - 0x10c]
add eax, 1
mov dword [ebp - 0x10c], eax
jmp 0x10001cc2
mov eax, dword [ebp - 0x110]
movzx ecx, byte [ebp - 0x42]
add eax, ecx
mov dword [ebp - 0xcc], eax
mov eax, dword [ebp - 0xa0]
add eax, 1
mov dword [ebp - 0xa0], eax
jmp 0x10001c72
mov eax, dword [ebp - 0xcc]
cmp eax, dword [ebp - 0x284]
jne 0x10001d48
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x270]
mov edx, dword [ebp - 0x278]
mov esi, dword [ebp - 0x6c]
movzx edx, word [edx + esi*2]
add eax, dword [ecx + edx*4]
mov dword [ebp - 0x158], eax
jmp 0x10001d60
mov eax, dword [ebp - 0x6c]
add eax, 1
mov dword [ebp - 0x6c], eax
jmp 0x10001c0e
mov dword [ebp - 0x158], 0
mov eax, dword [ebp - 0x158]
mov dword [ebp - 0x1b0], eax
mov eax, dword [ebp - 0x1b0]
mov ecx, dword [ebp - 0x50]
xor edx, edx
mov dword [esp], 0
mov dword [esp + 4], ecx
mov dword [esp + 8], 0x104