Function at 0x1001e1a0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x24c
mov eax, dword [0x10049200]
xor eax, esp
mov dword [esp + 0x248], eax
mov ecx, dword [esp + 0x260]
mov eax, dword [esp + 0x254]
push ebx
push ebp
mov ebp, dword [esp + 0x258]
or ebx, 0xffffffff
push esi
push edi
mov edi, dword [esp + 0x26c]
mov dword [esp + 0x64], ecx
lea ecx, [esp + 0x3c]
push ecx
lea ecx, [esp + 0x34]
mov dword [esp + 0x3c], eax
push ecx
push 0xc
push dword [esp + 0x274]
mov dword [esp + 0x5c], edi
push eax
mov dword [esp + 0x3c], 0xffff
mov dword [esp + 0x34], 0xfcfcfcfc
mov dword [esp + 0x50], 0
mov dword [esp + 0x30], 0
mov dword [esp + 0x44], 0
call fcn.1002a290
mov esi, eax
test esi, esi
js 0x1001e2fd
test edi, edi
je 0x1001e250
push edi
lea eax, [esp + 0x1d8]
push eax
call fcn.10018e30
movzx eax, ax
mov dword [esp + 0x28], eax
test ax, ax
je 0x1001e2f8
mov ecx, 0x48
lea edi, [esp + 0xb4]
mov esi, 0x100024b8
rep movsd dword es:[edi], dword [esi]
mov edi, dword [esp + 0x38]
movzx eax, word [edi + 0x16]
mov dword [esp + 0x1c8], eax
mov dword [esp + 0xc0], eax
lea eax, [esp + 0x84]
push eax
lea eax, [esp + 0x80]
push eax
push 8
push 0xc
lea eax, [esp + 0xc4]
push eax
push ebp
call fcn.10033b40
mov esi, eax
test esi, esi
js 0x1001e2fd
cmp dword [esp + 0x4c], 0
lea eax, [esp + 0x1c]
mov ecx, dword [edi + 0x114]
mov ebx, dword [esp + 0x7c]
mov dword [esp + 0x78], 0x3c
mov dword [esp + 0x44], ecx
push eax
je 0x1001e347
movzx eax, word [esp + 0x2c]
push eax
lea eax, [esp + 0x1dc]
push eax
mov eax, dword [esp + 0x274]
push eax
movzx eax, word [edi + 0xee]
push eax
push ecx
call fcn.10078c67
mov esi, eax
test esi, esi
js 0x1001e2fd
cmp dword [esp + 0x1c], 0
jne 0x1001e363
mov esi, 0xfffffa84
push dword [esp + 0x1c]
call fcn.10012040
test eax, eax
js 0x1001e32c
push dword [esp + 0x3c]
push dword [esp + 0x34]
call fcn.1002a040
cmp ebx, 0xffffffff
je 0x1001e32a
mov eax, dword [0x1006c2a4]
push ebx
push dword [ebp]
mov eax, dword [eax + 0x10]
call eax
mov eax, esi
mov ecx, dword [esp + 0x258]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.1003de00
add esp, 0x24c
ret 0x18
mov eax, dword [esp + 0x26c]
push eax
movzx eax, word [edi + 0xee]
push eax
push ecx
call fcn.10019680
mov esi, eax
test esi, esi
js 0x1001e2fd
mov eax, dword [edi + 0x110]
mov dword [esp + 0x74], eax
xor eax, eax
mov dword [esp + 0x40], eax
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x14]
push eax
push dword [esp + 0x24]
call fcn.10010ca0
mov esi, eax
test esi, esi
js 0x1001e2fd
mov eax, dword [esp + 0x10]
test eax, eax
je 0x1001e84c
lea ecx, [esp + 0x14]
push ecx
push dword [edi + 0xbc]
push eax
call fcn.1000e470
test eax, eax
je 0x1001e83b
movzx esi, byte [eax]
test si, si
je 0x1001e3c6
cmp esi, 1
jne 0x1001e7fd
push dword [esp + 0x20]
call fcn.1000c630
lea eax, [esp + 0x14]
push eax
push dword [edi + 0xa4]
push dword [esp + 0x18]
call fcn.1000e470
test eax, eax
je 0x1001e821
movzx eax, word [eax]
mov dword [esp + 0x34], eax
lea eax, [esp + 0x14]
push eax
push dword [edi + 0xc0]
push dword [esp + 0x18]
call fcn.1000e470
movzx edx, word [esp + 0x14]
mov ecx, edx
mov dword [esp + 0x2c], eax
shr ecx, 3
mov dword [esp + 0x48], ecx
test eax, eax
je 0x1001e821
shl ecx, 3
cmp edx, ecx
jne 0x1001e821
push dword [edi + 0xa0]
mov dword [esp + 0x1c], 0
push dword [esp + 0x14]
call fcn.1000e400
test eax, eax
je 0x1001e44b
or dword [esp + 0x18], 1
push dword [edi + 0x9c]
push dword [esp + 0x14]
call fcn.1000e400
test eax, eax
je 0x1001e463
or dword [esp + 0x18], 2
push dword [edi + 0x90]
push dword [esp + 0x14]
call fcn.1000e400
test eax, eax
je 0x1001e47b
or dword [esp + 0x18], 4
push dword [edi + 0x98]
push dword [esp + 0x14]
call fcn.1000e400
test eax, eax
mov eax, dword [esp + 0x18]
je 0x1001e499
or eax, 8
mov dword [esp + 0x18], eax
cmp esi, 1
jne 0x1001e4a7
or eax, 0x80000000
mov dword [esp + 0x18], eax
lea eax, [esp + 0x28]
push eax
push dword [edi + 0xb0]
push dword [esp + 0x18]
call fcn.1000e470
movzx ecx, word [esp + 0x28]
push ecx
push eax
lea eax, [esp + 0x1dc]
push eax
call fcn.1003e4e0
add esp, 0xc
lea eax, [esp + 0x6c]
push eax
lea eax, [esp + 0x64]
push eax
lea eax, [esp + 0x78]
push eax
push dword [esp + 0x40]
push dword [esp + 0x40]
call fcn.1001ea00
mov esi, eax
test esi, esi
js 0x1001e82d
mov ecx, dword [esp + 0x48]
xor eax, eax
mov dword [esp + 0x58], ecx
mov dword [esp + 0x34], eax
test ecx, ecx
je 0x1001e7ed
mov edi, dword [esp + 0x2c]
add edi, 6
jmp 0x1001e520
mov dword [esp + 0x68], eax
lea ecx, [esp + 0x10]
movzx eax, byte [edi - 2]
mov dword [esp + 0x2c], eax
shl eax, 0xc
or eax, dword [edi - 6]
mov dword [esp + 0x54], eax
movzx eax, word [edi]
shr eax, 0xf
push ecx
mov dword [esp + 0x60], eax
movzx eax, byte [edi - 4]
push eax
push dword [esp + 0x270]
push dword [esp + 0x80]
call fcn.100190a0
mov esi, eax
test esi, esi
js 0x1001e82d
mov esi, dword [esp + 0x38]
lea eax, [esp + 0x14]
push eax
push dword [esi + 0x68]
push dword [esp + 0x18]
call fcn.1000e470
mov eax, dword [esp + 0x2c]
cmp eax, 0xa
je 0x1001e58a
cmp eax, 0xc
jne 0x1001e5b3
lea eax, [esp + 0x14]
push eax
push dword [esi + 0x7c]
push dword [esp + 0x18]
call fcn.1000e470
movzx eax, word [eax]
mov dword [esp + 0x50], eax
lea eax, [esp + 0x14]
push eax
push dword [esi + 0x60]
push dword [esp + 0x18]
call fcn.1000e470
lea eax, [esp + 0x24]
push eax
push dword [esi + 0x80]
push dword [esp + 0x18]
call fcn.1000e470
movzx ecx, word [esp + 0x24]
push ecx
push eax
lea eax, [esp + 0x220]
push eax
call fcn.1003e4e0
mov eax, dword [0x1006c2a4]
add esp, 0xc
mov eax, dword [eax + 0x14]
push 0
push ebx
push dword [ebp]
call eax
mov esi, eax
test esi, esi
jne 0x1001e82d
push eax
push eax
movzx eax, word [esp + 0x30]
push eax
lea eax, [esp + 0x1e0]
push eax
push dword [esp + 0x94]
push ebx
push dword [ebp]
call fcn.1003b640
mov esi, eax
test esi, esi
jne 0x1001e82d
push eax
push eax
push 4
lea eax, [esp + 0x24]
push eax
push dword [esp + 0x98]
push ebx
push dword [ebp]
call fcn.1003b640
mov esi, eax
test esi, esi
jne 0x1001e82d
push eax
push eax
push 4
lea eax, [esp + 0x64]
push eax
push dword [esp + 0xa8]
push ebx
push dword [ebp]
call fcn.1003b640
mov esi, eax
test esi, esi
jne 0x1001e82d
push eax
push eax
push 4
lea eax, [esp + 0x7c]
push eax
push dword [esp + 0x9c]
push ebx
push dword [ebp]
call fcn.1003b640
mov esi, eax
test esi, esi
jne 0x1001e82d
push eax
push eax
push 4
lea eax, [esp + 0x6c]
push eax
push dword [esp + 0xa0]
push ebx
push dword [ebp]
call fcn.1003b640
mov esi, eax
test esi, esi
jne 0x1001e82d
push eax
push eax
push 4
lea eax, [esp + 0x78]
push eax
push dword [esp + 0xa4]
push ebx
push dword [ebp]
call fcn.1003b640
mov esi, eax
test esi, esi
jne 0x1001e82d
push eax
push eax
push 4
lea eax, [esp + 0x74]
push eax
push dword [esp + 0xac]
push ebx
push dword [ebp]
call fcn.1003b640
mov esi, eax
test esi, esi
jne 0x1001e82d
push eax
push eax
push 4
lea eax, [esp + 0x38]
push eax
push dword [esp + 0xb4]
push ebx
push dword [ebp]
call fcn.1003b640
mov esi, eax
test esi, esi
jne 0x1001e82d
mov eax, dword [esp + 0x2c]
cmp eax, 0xa
je 0x1001e725
cmp eax, 0xc
jne 0x1001e74a
push 0
push 0
push 4
lea eax, [esp + 0x5c]
push eax
push dword [esp + 0xb8]
push ebx
push dword [ebp]
call fcn.1003b640
mov esi, eax
test esi, esi
jne 0x1001e82d
push 0
push 0
push 4
lea eax, [esp + 0x60]
push eax
push dword [esp + 0xb0]
push ebx
push dword [ebp]
call fcn.1003b640
mov esi, eax
test esi, esi
jne 0x1001e82d
push eax
push eax
push 4
lea eax, [esp + 0x68]
push eax
push dword [esp + 0xbc]
push ebx
push dword [ebp]
call fcn.1003b640
mov esi, eax
test esi, esi
jne 0x1001e82d
push eax
push eax
movzx eax, word [esp + 0x2c]
push eax
lea eax, [esp + 0x224]
push eax
push dword [esp + 0xc0]
push ebx
push dword [ebp]
call fcn.1003b640
mov esi, eax
test esi, esi
jne 0x1001e82d
push eax
push eax
push eax
mov eax, dword [0x1006c2a4]
push ebx
push dword [ebp]
mov eax, dword [eax + 0x40]
call eax
mov esi, eax
test esi, esi
js 0x1001e82d
mov eax, dword [esp + 0x34]
add edi, 8
inc dword [esp + 0x40]
inc eax
mov dword [esp + 0x34], eax
cmp eax, dword [esp + 0x48]
jb 0x1001e520
mov edi, dword [esp + 0x38]
push dword [esp + 0x20]
call fcn.1000ca30
cmp dword [esp + 0x4c], 0
jne 0x1001e84c
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x14]
push eax
push 0
push dword [esp + 0x28]
call fcn.10010690
mov esi, eax
test esi, esi
jns 0x1001e390
jmp 0x1001e2fd
push dword [esp + 0x44]
push edi
call fcn.1002b1e0
mov esi, eax
push dword [esp + 0x20]
call fcn.1000ca30
jmp 0x1001e2fd
push dword [esp + 0x44]
push edi
call fcn.1002b1e0
mov esi, eax
jmp 0x1001e2fd
test esi, esi
js 0x1001e2fd
push dword [esp + 0x1c]
call fcn.10011fa0
mov esi, eax
test esi, esi
js 0x1001e2fd
push dword [esp + 0x3c]
mov dword [esp + 0x20], 0
push dword [esp + 0x34]
call fcn.10029da0
mov eax, dword [0x1006c2a4]
push 0
push 0x80000000
push ebx
push dword [ebp]
mov eax, dword [eax + 0x4c]
call eax
mov eax, dword [esp + 0x40]
mov ecx, 0x3c
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x274]
cmp eax, ecx
cmova eax, ecx
push eax
lea eax, [esp + 0x7c]
push eax
push dword [esp + 0x6c]
call fcn.1003e4e0
add esp, 0xc
xor eax, eax
jmp 0x1001e32c