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

Disassembly:
sub esp, 0x24c
mov eax, dword [0x10048200]
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.100295a0
mov esi, eax
test esi, esi
js 0x1001d62d
test edi, edi
je 0x1001d580
push edi
lea eax, [esp + 0x1d8]
push eax
call fcn.100181d0
movzx eax, ax
mov dword [esp + 0x28], eax
test ax, ax
je 0x1001d628
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.10032e70
mov esi, eax
test esi, esi
js 0x1001d62d
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 0x1001d677
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.10018930
mov esi, eax
test esi, esi
js 0x1001d62d
cmp dword [esp + 0x1c], 0
jne 0x1001d693
mov esi, 0xfffffa84
push dword [esp + 0x1c]
call fcn.100113e0
test eax, eax
js 0x1001d65c
push dword [esp + 0x3c]
push dword [esp + 0x34]
call fcn.10029350
cmp ebx, 0xffffffff
je 0x1001d65a
mov eax, dword [0x1006b2a4]
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.1003d130
add esp, 0x24c
ret 0x18
mov eax, dword [esp + 0x26c]
push eax
movzx eax, word [edi + 0xee]
push eax
push ecx
call fcn.10018a20
mov esi, eax
test esi, esi
js 0x1001d62d
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.10010040
mov esi, eax
test esi, esi
js 0x1001d62d
mov eax, dword [esp + 0x10]
test eax, eax
je 0x1001db7c
lea ecx, [esp + 0x14]
push ecx
push dword [edi + 0xbc]
push eax
call fcn.1000d810
test eax, eax
je 0x1001db6b
movzx esi, byte [eax]
test si, si
je 0x1001d6f6
cmp esi, 1
jne 0x1001db2d
push dword [esp + 0x20]
call fcn.1000ba80
lea eax, [esp + 0x14]
push eax
push dword [edi + 0xa4]
push dword [esp + 0x18]
call fcn.1000d810
test eax, eax
je 0x1001db51
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.1000d810
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 0x1001db51
shl ecx, 3
cmp edx, ecx
jne 0x1001db51
push dword [edi + 0xa0]
mov dword [esp + 0x1c], 0
push dword [esp + 0x14]
call fcn.1000d7a0
test eax, eax
je 0x1001d77b
or dword [esp + 0x18], 1
push dword [edi + 0x9c]
push dword [esp + 0x14]
call fcn.1000d7a0
test eax, eax
je 0x1001d793
or dword [esp + 0x18], 2
push dword [edi + 0x90]
push dword [esp + 0x14]
call fcn.1000d7a0
test eax, eax
je 0x1001d7ab
or dword [esp + 0x18], 4
push dword [edi + 0x98]
push dword [esp + 0x14]
call fcn.1000d7a0
test eax, eax
mov eax, dword [esp + 0x18]
je 0x1001d7c9
or eax, 8
mov dword [esp + 0x18], eax
cmp esi, 1
jne 0x1001d7d7
or eax, 0x80000000
mov dword [esp + 0x18], eax
lea eax, [esp + 0x28]
push eax
push dword [edi + 0xb0]
push dword [esp + 0x18]
call fcn.1000d810
movzx ecx, word [esp + 0x28]
push ecx
push eax
lea eax, [esp + 0x1dc]
push eax
call fcn.1003d810
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.1001dd30
mov esi, eax
test esi, esi
js 0x1001db5d
mov ecx, dword [esp + 0x48]
xor eax, eax
mov dword [esp + 0x58], ecx
mov dword [esp + 0x34], eax
test ecx, ecx
je 0x1001db1d
mov edi, dword [esp + 0x2c]
add edi, 6
jmp 0x1001d850
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.10018440
mov esi, eax
test esi, esi
js 0x1001db5d
mov esi, dword [esp + 0x38]
lea eax, [esp + 0x14]
push eax
push dword [esi + 0x68]
push dword [esp + 0x18]
call fcn.1000d810
mov eax, dword [esp + 0x2c]
cmp eax, 0xa
je 0x1001d8ba
cmp eax, 0xc
jne 0x1001d8e3
lea eax, [esp + 0x14]
push eax
push dword [esi + 0x7c]
push dword [esp + 0x18]
call fcn.1000d810
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.1000d810
lea eax, [esp + 0x24]
push eax
push dword [esi + 0x80]
push dword [esp + 0x18]
call fcn.1000d810
movzx ecx, word [esp + 0x24]
push ecx
push eax
lea eax, [esp + 0x220]
push eax
call fcn.1003d810
mov eax, dword [0x1006b2a4]
add esp, 0xc
mov eax, dword [eax + 0x14]
push 0
push ebx
push dword [ebp]
call eax
mov esi, eax
test esi, esi
jne 0x1001db5d
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.1003a970
mov esi, eax
test esi, esi
jne 0x1001db5d
push eax
push eax
push 4
lea eax, [esp + 0x24]
push eax
push dword [esp + 0x98]
push ebx
push dword [ebp]
call fcn.1003a970
mov esi, eax
test esi, esi
jne 0x1001db5d
push eax
push eax
push 4
lea eax, [esp + 0x64]
push eax
push dword [esp + 0xa8]
push ebx
push dword [ebp]
call fcn.1003a970
mov esi, eax
test esi, esi
jne 0x1001db5d
push eax
push eax
push 4
lea eax, [esp + 0x7c]
push eax
push dword [esp + 0x9c]
push ebx
push dword [ebp]
call fcn.1003a970
mov esi, eax
test esi, esi
jne 0x1001db5d
push eax
push eax
push 4
lea eax, [esp + 0x6c]
push eax
push dword [esp + 0xa0]
push ebx
push dword [ebp]
call fcn.1003a970
mov esi, eax
test esi, esi
jne 0x1001db5d
push eax
push eax
push 4
lea eax, [esp + 0x78]
push eax
push dword [esp + 0xa4]
push ebx
push dword [ebp]
call fcn.1003a970
mov esi, eax
test esi, esi
jne 0x1001db5d
push eax
push eax
push 4
lea eax, [esp + 0x74]
push eax
push dword [esp + 0xac]
push ebx
push dword [ebp]
call fcn.1003a970
mov esi, eax
test esi, esi
jne 0x1001db5d
push eax
push eax
push 4
lea eax, [esp + 0x38]
push eax
push dword [esp + 0xb4]
push ebx
push dword [ebp]
call fcn.1003a970
mov esi, eax
test esi, esi
jne 0x1001db5d
mov eax, dword [esp + 0x2c]
cmp eax, 0xa
je 0x1001da55
cmp eax, 0xc
jne 0x1001da7a
push 0
push 0
push 4
lea eax, [esp + 0x5c]
push eax
push dword [esp + 0xb8]
push ebx
push dword [ebp]
call fcn.1003a970
mov esi, eax
test esi, esi
jne 0x1001db5d
push 0
push 0
push 4
lea eax, [esp + 0x60]
push eax
push dword [esp + 0xb0]
push ebx
push dword [ebp]
call fcn.1003a970
mov esi, eax
test esi, esi
jne 0x1001db5d
push eax
push eax
push 4
lea eax, [esp + 0x68]
push eax
push dword [esp + 0xbc]
push ebx
push dword [ebp]
call fcn.1003a970
mov esi, eax
test esi, esi
jne 0x1001db5d
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.1003a970
mov esi, eax
test esi, esi
jne 0x1001db5d
push eax
push eax
push eax
mov eax, dword [0x1006b2a4]
push ebx
push dword [ebp]
mov eax, dword [eax + 0x40]
call eax
mov esi, eax
test esi, esi
js 0x1001db5d
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 0x1001d850
mov edi, dword [esp + 0x38]
push dword [esp + 0x20]
call fcn.1000be80
cmp dword [esp + 0x4c], 0
jne 0x1001db7c
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x14]
push eax
push 0
push dword [esp + 0x28]
call fcn.1000fa30
mov esi, eax
test esi, esi
jns 0x1001d6c0
jmp 0x1001d62d
push dword [esp + 0x44]
push edi
call fcn.1002a4f0
mov esi, eax
push dword [esp + 0x20]
call fcn.1000be80
jmp 0x1001d62d
push dword [esp + 0x44]
push edi
call fcn.1002a4f0
mov esi, eax
jmp 0x1001d62d
test esi, esi
js 0x1001d62d
push dword [esp + 0x1c]
call fcn.10011340
mov esi, eax
test esi, esi
js 0x1001d62d
push dword [esp + 0x3c]
mov dword [esp + 0x20], 0
push dword [esp + 0x34]
call fcn.100290b0
mov eax, dword [0x1006b2a4]
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.1003d810
add esp, 0xc
xor eax, eax
jmp 0x1001d65c