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

Disassembly:
sub esp, 0x2d0
mov eax, dword [0x10049200]
xor eax, esp
mov dword [esp + 0x2cc], eax
mov ecx, dword [esp + 0x2e4]
mov eax, dword [esp + 0x2d8]
push ebx
push ebp
mov ebp, dword [esp + 0x2dc]
or ebx, 0xffffffff
push esi
mov dword [esp + 0x74], ecx
mov ecx, dword [esp + 0x2e8]
mov dword [esp + 0x70], eax
mov dword [esp + 0x28], 0xfcfc
mov dword [esp + 0x1c], 0xfcfcfcfc
mov dword [esp + 0x30], 0xfcfc
mov dword [esp + 0x50], 0
mov dword [esp + 0x48], 0
mov dword [esp + 0x18], 0
push edi
mov edi, dword [esp + 0x2f0]
test ecx, ecx
jne 0x1001f83e
cmp dword [esp + 0x2fc], 1
je 0x1001f85b
mov esi, 0xfffffc15
jmp 0x100201aa
lea edx, [esp + 0x4c]
push edx
lea edx, [esp + 0x58]
push edx
push 0xc
push ecx
push eax
call fcn.1002a290
mov esi, eax
test esi, esi
js 0x100201aa
test edi, edi
je 0x1001f87d
push edi
lea eax, [esp + 0x19c]
push eax
call fcn.10018e30
movzx eax, ax
mov dword [esp + 0x2c], eax
test ax, ax
je 0x100201a5
mov ecx, 0x36
lea edi, [esp + 0xc0]
mov esi, 0x10002290
rep movsd dword es:[edi], dword [esi]
mov edi, dword [esp + 0x74]
movzx eax, word [edi + 0x16]
mov dword [esp + 0x174], eax
mov dword [esp + 0x15c], eax
mov dword [esp + 0x144], eax
mov dword [esp + 0x12c], eax
mov dword [esp + 0xcc], eax
lea eax, [esp + 0x9c]
push eax
lea eax, [esp + 0x98]
push eax
push 8
push 9
lea eax, [esp + 0xd0]
push eax
push ebp
call fcn.10033b40
mov esi, eax
test esi, esi
js 0x100201aa
mov eax, dword [esp + 0x2fc]
mov ecx, dword [edi + 0x114]
mov ebx, dword [esp + 0x94]
mov dword [esp + 0x90], 0x2c
mov dword [esp + 0x18], ecx
test eax, eax
je 0x1001f96e
dec eax
cmp eax, 2
ja 0x1001f9ab
mov eax, dword [esp + 0x2ec]
test eax, eax
jne 0x1001f94e
lea eax, [esp + 0x1c]
push eax
push 1
push 0xff
push ecx
call fcn.100106e0
mov esi, eax
test esi, esi
js 0x100201aa
push 0
push 0
push dword [esp + 0x24]
call fcn.100111f0
jmp 0x1001f962
lea edx, [esp + 0x1c]
push edx
push eax
movzx eax, word [edi + 0xee]
push eax
push ecx
call fcn.10019680
mov esi, eax
test esi, esi
js 0x100201aa
jmp 0x1001f9ab
lea eax, [esp + 0x1c]
push eax
movzx eax, word [esp + 0x30]
push eax
lea eax, [esp + 0x1a0]
push eax
push dword [esp + 0x2f8]
movzx eax, word [edi + 0xee]
push eax
push ecx
call fcn.10019590
mov esi, eax
test esi, esi
js 0x100201aa
cmp dword [esp + 0x1c], 0
je 0x100201a5
mov ecx, dword [esp + 0x2ec]
test ecx, ecx
je 0x1001fa47
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x14]
push eax
movzx eax, word [edi + 0xea]
push 0
push 0
push eax
push ecx
push dword [edi + 0x10c]
call fcn.10018fc0
mov esi, eax
test esi, esi
js 0x100201aa
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x1001f9fe
push dword [esp + 0x18]
push edi
call fcn.1002b1e0
mov esi, eax
mov eax, dword [esp + 0x10]
test esi, esi
js 0x100201aa
lea ecx, [esp + 0x34]
push ecx
push dword [edi + 0x50]
push eax
call fcn.1000e470
mov ecx, eax
test ecx, ecx
jne 0x1001fa28
push dword [esp + 0x18]
push edi
call fcn.1002b1e0
mov esi, eax
jmp 0x1001fa3f
movzx eax, word [esp + 0x34]
push eax
push ecx
lea eax, [esp + 0x1e4]
push eax
call fcn.1003e4e0
add esp, 0xc
test esi, esi
js 0x100201aa
mov eax, dword [edi + 0x110]
mov dword [esp + 0x24], eax
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x14]
mov dword [esp + 0x44], 0
push eax
push dword [esp + 0x24]
call fcn.10010ca0
mov esi, eax
test esi, esi
js 0x100201aa
jmp 0x1001fa80
cmp dword [esp + 0x10], 0
je 0x10020102
push dword [esp + 0x20]
mov dword [esp + 0x74], 0xfcfcfcfc
call fcn.1000c630
lea eax, [esp + 0x14]
push eax
push dword [edi + 0xbc]
push dword [esp + 0x18]
call fcn.1000e470
test eax, eax
je 0x1002018e
movzx eax, byte [eax]
mov ecx, dword [esp + 0x2fc]
mov dword [esp + 0x50], eax
cmp ecx, 3
ja case.default.0x1001facf
jmp dword [ecx*4 + 0x100201f4]
cmp eax, 1
je case.default.0x1001facf
push dword [esp + 0x20]
mov esi, 0xfffffc13
call fcn.1000ca30
jmp 0x100201aa
cmp eax, 1
jne 0x100200c3
mov esi, dword [esp + 0x2ec]
test esi, esi
jne 0x1001fbe6
lea eax, [esp + 0x14]
push eax
push dword [edi + 0xb4]
push dword [esp + 0x18]
call fcn.1000e470
test eax, eax
jne 0x1001fb33
push dword [esp + 0x18]
push edi
call fcn.1002b1e0
mov esi, eax
jmp 0x1001fbc1
mov ecx, dword [eax]
lea eax, [esp + 0x88]
push eax
lea eax, [esp + 0x64]
mov dword [esp + 0x74], ecx
push eax
movzx eax, word [edi + 0xea]
push 0
push 0
push eax
push ecx
push dword [edi + 0x10c]
call fcn.10018fc0
mov esi, eax
test esi, esi
js 0x1002019a
mov eax, dword [esp + 0x60]
test eax, eax
jne 0x1001fb80
push dword [esp + 0x18]
push edi
call fcn.1002b1e0
mov esi, eax
mov eax, dword [esp + 0x60]
test esi, esi
js 0x1002019a
lea ecx, [esp + 0x34]
push ecx
push dword [edi + 0x50]
push eax
call fcn.1000e470
mov ecx, eax
test ecx, ecx
jne 0x1001fbaa
push dword [esp + 0x18]
push edi
call fcn.1002b1e0
mov esi, eax
jmp 0x1001fbc1
movzx eax, word [esp + 0x34]
push eax
push ecx
lea eax, [esp + 0x1e4]
push eax
call fcn.1003e4e0
add esp, 0xc
test esi, esi
js 0x1002019a
jmp case.default.0x1001facf
cmp eax, 2
jne 0x100200c3
jmp case.default.0x1001facf
test ax, ax
je 0x100200c3
mov esi, dword [esp + 0x2ec]
lea eax, [esp + 0x14]
push eax
push dword [edi + 0xb8]
push dword [esp + 0x18]
call fcn.1000e470
test eax, eax
je 0x1002018e
cmp dword [esp + 0x2fc], 3
mov eax, dword [eax]
mov dword [esp + 0x5c], eax
jne 0x1001fc22
cmp eax, esi
jne 0x1001fc22
cmp word [esp + 0x50], 2
je 0x100200c3
lea eax, [esp + 0x2c]
push eax
push dword [edi + 0xb0]
push dword [esp + 0x18]
call fcn.1000e470
mov ecx, eax
test ecx, ecx
jne 0x1001fc42
mov dword [esp + 0x2c], eax
jmp 0x1001fc59
movzx eax, word [esp + 0x2c]
push eax
push ecx
lea eax, [esp + 0x1a0]
push eax
call fcn.1003e4e0
add esp, 0xc
lea eax, [esp + 0x14]
push eax
push dword [edi + 0xc0]
push dword [esp + 0x18]
call fcn.1000e470
movzx ecx, word [esp + 0x14]
mov edx, eax
mov eax, ecx
mov dword [esp + 0x58], edx
shr eax, 3
mov dword [esp + 0x6c], eax
test edx, edx
je 0x1002018e
lea esi, [eax*8]
cmp ecx, esi
jne 0x1002018e
lea eax, [esp + 0x14]
push eax
push dword [edi + 0xc4]
push dword [esp + 0x18]
call fcn.1000e470
mov dword [esp + 0x44], eax
test eax, eax
je 0x1002018e
movzx ecx, word [esp + 0x14]
cmp ecx, esi
jne 0x1002018e
cmp word [esp + 0x50], 1
mov dword [esp + 0x28], 0
jne 0x1001fce1
push dword [edi + 0xa0]
push dword [esp + 0x14]
jmp 0x1001fd2a
lea eax, [esp + 0x14]
push eax
push dword [edi + 0xa8]
push dword [esp + 0x18]
call fcn.1000e470
test eax, eax
je 0x1002018e
movzx eax, word [eax]
lea ecx, [esp + 0x7c]
push ecx
push eax
push dword [esp + 0x64]
push dword [esp + 0x24]
call fcn.10019250
mov esi, eax
test esi, esi
js 0x1002019a
push dword [edi + 0xa0]
push dword [esp + 0x80]
call fcn.1000e400
test eax, eax
je 0x1001fd38
or dword [esp + 0x28], 1
push dword [edi + 0x94]
push dword [esp + 0x14]
call fcn.1000e400
test eax, eax
je 0x1001fd50
or dword [esp + 0x28], 2
lea eax, [esp + 0x8c]
push eax
lea eax, [esp + 0x14]
push eax
movzx eax, word [edi + 0xea]
push 0
push 0
push eax
push dword [esp + 0x70]
push dword [edi + 0x10c]
call fcn.10018fc0
mov esi, eax
test esi, esi
js 0x1002019a
lea eax, [esp + 0x3c]
push eax
push dword [edi + 0x50]
push dword [esp + 0x18]
call fcn.1000e470
movzx ecx, word [esp + 0x3c]
push ecx
push eax
lea eax, [esp + 0x224]
push eax
call fcn.1003e4e0
mov eax, dword [esp + 0x78]
xor ecx, ecx
add esp, 0xc
mov dword [esp + 0x80], eax
mov dword [esp + 0x64], ecx
test eax, eax
je 0x100200b9
mov eax, dword [esp + 0x44]
mov esi, dword [esp + 0x58]
sub esi, eax
mov dword [esp + 0x58], esi
lea edx, [eax + 2]
mov dword [esp + 0x48], edx
jmp 0x1001fde4
mov esi, dword [esp + 0x58]
movzx eax, byte [esi + edx]
mov dword [esp + 0x84], ecx
mov ecx, dword [esp + 0x2ec]
test ecx, ecx
jne 0x1001fe06
lea ecx, [esp + 0x10]
push ecx
push eax
push dword [esp + 0x78]
jmp 0x1001fe0d
lea edx, [esp + 0x10]
push edx
push eax
push ecx
push dword [esp + 0x30]
call fcn.100190a0
mov esi, eax
test esi, esi
js 0x1002019a
mov eax, dword [esp + 0x10]
test eax, eax
je 0x100200f0
lea ecx, [esp + 0x30]
push ecx
push dword [edi + 0x80]
push eax
call fcn.1000e470
test eax, eax
je 0x100200f0
movzx ecx, word [esp + 0x30]
push ecx
push eax
lea eax, [esp + 0x264]
push eax
call fcn.1003e4e0
mov eax, dword [esp + 0x54]
lea ecx, [esp + 0x1c]
add esp, 0xc
movzx eax, byte [eax]
push ecx
push eax
push dword [esp + 0x64]
push dword [esp + 0x30]
call fcn.100190a0
mov esi, eax
test esi, esi
js 0x1002019a
mov eax, dword [esp + 0x10]
test eax, eax
je 0x100200f0
lea ecx, [esp + 0x38]
push ecx
push dword [edi + 0x80]
push eax
call fcn.1000e470
test eax, eax
je 0x100200f0
movzx ecx, word [esp + 0x38]
push ecx
push eax
lea eax, [esp + 0x2a4]
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 0x1002019a
push eax
push eax
push 2
lea eax, [esp + 0x4c]
push eax
push dword [esp + 0xcc]
push ebx
push dword [ebp]
call fcn.1003b640
mov esi, eax
test esi, esi
jne 0x1002019a
push eax
push eax
movzx eax, word [esp + 0x34]
push eax
lea eax, [esp + 0x1a4]
push eax
push dword [esp + 0xac]
push ebx
push dword [ebp]
call fcn.1003b640
mov esi, eax
test esi, esi
jne 0x1002019a
push eax
push eax
push 4
lea eax, [esp + 0x34]
push eax
push dword [esp + 0xb0]
push ebx
push dword [ebp]
call fcn.1003b640
mov esi, eax
test esi, esi
jne 0x1002019a
push eax
push eax
push 4
lea eax, [esp + 0x8c]
push eax
push dword [esp + 0xb4]
push ebx
push dword [ebp]
call fcn.1003b640
mov esi, eax
test esi, esi
jne 0x1002019a
push eax
push eax
push 4
lea eax, [esp + 0x90]
push eax
push dword [esp + 0xb8]
push ebx
push dword [ebp]
call fcn.1003b640
mov esi, eax
test esi, esi
jne 0x1002019a
cmp word [esp + 0x50], 1
jne 0x1001ffbc
mov eax, dword [esp + 0xb4]
mov ecx, dword [esp + 0xac]
mov edi, dword [esp + 0xb0]
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0xb8]
jmp 0x1001ffdc
mov eax, dword [esp + 0xac]
mov ecx, dword [esp + 0xb4]
mov edi, dword [esp + 0xb8]
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0xb0]
push 0
push 0
mov dword [esp + 0x4c], eax
movzx eax, word [esp + 0x3c]
push eax
lea eax, [esp + 0x1e8]
push eax
push ecx
push ebx
push dword [ebp]
call fcn.1003b640
mov esi, eax
test esi, esi
jne 0x1002019a
push eax
push eax
movzx eax, word [esp + 0x38]
push eax
lea eax, [esp + 0x268]
push eax
push edi
push ebx
push dword [ebp]
call fcn.1003b640
mov esi, eax
test esi, esi
jne 0x1002019a
push eax
push eax
movzx eax, word [esp + 0x44]
push eax
lea eax, [esp + 0x228]
push eax
push dword [esp + 0x78]
push ebx
push dword [ebp]
call fcn.1003b640
mov esi, eax
test esi, esi
jne 0x1002019a
push eax
push eax
movzx eax, word [esp + 0x40]
push eax
lea eax, [esp + 0x2a8]
push eax
push dword [esp + 0x54]
push ebx
push dword [ebp]
call fcn.1003b640
mov esi, eax
test esi, esi
jne 0x1002019a
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 0x1002019a
mov ecx, dword [esp + 0x64]
mov edx, dword [esp + 0x48]
inc ecx
inc dword [esp + 0x40]
add edx, 8
mov edi, dword [esp + 0x74]
mov dword [esp + 0x64], ecx
mov dword [esp + 0x48], edx
cmp ecx, dword [esp + 0x6c]
jb 0x1001fde0
cmp dword [esp + 0x2fc], 0
je 0x100200f9
push dword [esp + 0x20]
call fcn.1000ca30
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 0x1001fa80
jmp 0x100201aa
push dword [esp + 0x24]
jmp 0x10020192
push dword [esp + 0x20]
call fcn.1000ca30
test esi, esi
js 0x100201aa
push dword [esp + 0x1c]
call fcn.10011fa0
mov esi, eax
test esi, esi
js 0x100201aa
push dword [esp + 0x4c]
mov dword [esp + 0x20], 0
push dword [esp + 0x58]
call fcn.1002a040
mov eax, dword [0x1006c2a4]
push 0
push 0x80000000
push ebx
push dword [ebp]
mov eax, dword [eax + 0x4c]
call eax
movzx eax, word [esp + 0x40]
mov ecx, dword [esp + 0x78]
mov dword [esp + 0x98], eax
movdqu xmm0, xmmword [esp + 0x90]
mov eax, dword [esp + 0xb8]
movdqu xmmword [ecx], xmm0
movdqu xmm0, xmmword [esp + 0xa0]
movdqu xmmword [ecx + 0x10], xmm0
movq xmm0, qword [esp + 0xb0]
movq qword [ecx + 0x20], xmm0
mov dword [ecx + 0x28], eax
xor eax, eax
jmp 0x100201d9
push dword [esp + 0x18]
push edi
call fcn.1002b1e0
mov esi, eax
push dword [esp + 0x20]
call fcn.1000ca30
jmp 0x100201aa
mov esi, 0xfffffc13
push dword [esp + 0x1c]
call fcn.10012040
test eax, eax
js 0x100201d9
push dword [esp + 0x4c]
push dword [esp + 0x58]
call fcn.1002a040
cmp ebx, 0xffffffff
je 0x100201d7
mov eax, dword [0x1006c2a4]
push ebx
push dword [ebp]
mov eax, dword [eax + 0x10]
call eax
mov eax, esi
mov ecx, dword [esp + 0x2dc]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.1003de00
add esp, 0x2d0
ret 0x1c