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

Disassembly:
sub esp, 0xc4
mov eax, dword [0x10049200]
xor eax, esp
mov dword [esp + 0xc0], eax
cmp dword [0x1004a364], 0
mov eax, dword [esp + 0xd0]
mov ecx, dword [esp + 0xc8]
push ebx
mov ebx, dword [esp + 0xd0]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0xe4]
push esi
mov esi, dword [esp + 0xdc]
mov dword [esp + 0x38], ecx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x50], eax
je 0x10013ddc
mov eax, 0xfffffbd7
jmp 0x100145cd
push ebx
mov dword [0x1006c724], ecx
mov eax, dword [ecx + 0x2c]
push ecx
mov dword [0x1006c2b0], eax
call fcn.10023480
test byte [ebx + 0x65], 8
je 0x10013e01
mov eax, 0xfffff8ef
jmp 0x100145cd
cmp dword [esi], 0x18
jae 0x10013e10
mov eax, 0xfffffc15
jmp 0x100145cd
mov ebx, dword [ebx + 0x10]
mov ecx, dword [esi + 8]
movzx eax, word [esi + 0xc]
push ebp
mov ebp, dword [ebx + 0x14]
push edi
xor edi, edi
mov dword [esp + 0x14], ebp
mov dword [esp + 0x28], ecx
mov dword [esp + 0x44], 1
mov dword [esp + 0x4c], eax
cmp ecx, 0xa
je 0x10013e45
cmp ecx, 0xc
je 0x10013e45
mov dword [esp + 0x34], edi
jmp 0x10013e61
test ax, ax
jne 0x10013e50
movzx eax, word [ebp + 0x18]
jmp 0x10013e5d
push eax
call fcn.1002af20
mov ecx, dword [esp + 0x28]
movzx eax, ax
mov dword [esp + 0x34], eax
mov eax, dword [esi + 0x10]
mov edx, dword [esi + 0x14]
mov dword [esp + 0x10], eax
lea eax, [ecx - 1]
mov dword [esp + 0x18], edx
cmp eax, 0xe
ja 0x100145c6
cmp ecx, 0xfe
je 0x100145c6
cmp ecx, 0xff
je 0x100145c6
cmp ecx, 0xf
je 0x100145c6
cmp cx, 9
jae 0x10013ebd
cmp ecx, 1
jne 0x10013ead
or edx, ecx
mov dword [esp + 0x18], edx
movzx eax, cx
mov eax, dword [eax*4 + 0x100010a8]
mov dword [esp + 0x10], eax
jmp 0x10013f01
cmp cx, 0xb
je 0x10013ee2
cmp cx, 0xc
je 0x10013ee2
mov eax, dword [esp + 0x10]
test eax, eax
je 0x10013ef9
cmp eax, 0xff
jbe 0x10013f01
mov eax, 0xfffffa1e
jmp 0x100145cb
test dl, 1
jne 0x10013eed
cmp dword [esp + 0x10], edi
je 0x10013ef9
and edx, 0xfffffffe
mov edi, 1
mov dword [esp + 0x18], edx
mov dword [esp + 0x10], 0xff
cmp ecx, 0xa
je 0x10013f0b
cmp ecx, 0xc
jne 0x10013f3d
mov eax, dword [esp + 0x34]
movzx eax, ax
push eax
mov eax, dword [esp + 0x50]
movzx eax, ax
push eax
mov eax, dword [esp + 0x4c]
movzx eax, ax
push eax
call fcn.1002c390
cmp eax, 0xff
jne 0x10013f39
mov eax, 0xfffffbd9
jmp 0x100145cb
mov edx, dword [esp + 0x18]
test edx, 0x10000
mov eax, 1
cmovne edi, eax
mov dword [esp + 0x48], edi
test dl, 6
jne 0x10013f5e
cmp dword [esp + 0xec], 0
je 0x10013f62
mov dword [esp + 0x48], eax
mov edi, edx
and edi, 8
mov dword [esp + 0x5c], edi
je 0x10013f7c
test dl, 0x10
je 0x10013f7c
mov eax, 0xfffffc15
jmp 0x100145cb
mov eax, dword [esp + 0x30]
test byte [eax + 0x65], 4
jne 0x10013f90
mov eax, 0xfffffae3
jmp 0x100145cb
push ebx
call fcn.1002c050
test eax, eax
js 0x100145cb
push dword [esp + 0x1c]
lea eax, [esp + 0x90]
mov dword [esp + 0x3c], 0
push eax
mov dword [esp + 0x2c], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x38], 0
call fcn.10018e30
mov dword [esp + 0x60], eax
test eax, eax
jne 0x10013fe1
mov esi, 0xfffffc16
jmp 0x100140be
cmp word [ebx + 0x54], 0
jne 0x10013ff8
push ebx
call fcn.1002bb30
mov esi, eax
test esi, esi
js 0x100140be
push dword [esp + 0x40]
call fcn.10023590
mov esi, eax
test esi, esi
js 0x100140be
mov dword [esp + 0x30], 1
test edi, edi
je 0x1001403c
cmp dword [ebx + 0x30], 0xf000f000
je 0x1001402a
mov esi, 0xfffffa1a
jmp 0x100140be
cmp word [esp + 0x28], 4
je 0x10014053
mov esi, 0xfffffc15
jmp 0x100140be
test byte [esp + 0x18], 0x10
je 0x10014053
cmp dword [ebx + 0x34], 0xf000f000
je 0x1001402a
mov esi, 0xfffffa1a
jmp 0x100140be
push 0x800
call fcn.1003b030
mov edi, eax
test edi, edi
jne 0x1001406a
mov esi, 0xfffffc0d
jmp 0x100140be
mov ecx, dword [ebx + 0x18]
lea eax, [esp + 0x54]
push eax
lea eax, [esp + 0x3c]
mov dword [esp + 0x40], ecx
mov edx, dword [ebp + 0x10c]
push eax
push 1
lea eax, [esp + 0x5c]
mov dword [esp + 0x28], edx
push eax
movzx eax, word [ebp + 0xea]
push eax
push ecx
push edx
call fcn.10018fc0
mov esi, eax
test esi, esi
js 0x100140b4
push dword [esp + 0x50]
push ebp
call fcn.10012590
test eax, eax
jne 0x100140ee
mov esi, 0xfffffbad
test edi, edi
je 0x100140be
push edi
call fcn.1003afb0
push dword [esp + 0x20]
call fcn.10012040
cmp dword [esp + 0x30], 0
je 0x100140d3
call fcn.100252f0
push ebx
call fcn.100174f0
mov eax, 0xfffffa1c
cmp esi, 0xfffff9bb
cmove esi, eax
mov eax, esi
jmp 0x100145cb
push edi
push dword [esp + 0x58]
push dword [esp + 0x40]
push dword [esp + 0x28]
call fcn.1002cd60
mov esi, eax
test esi, esi
js 0x100140b4
lea eax, [esp + 0x6c]
push eax
call fcn.10018350
lea eax, [esp + 0x2c]
push eax
push dword [esp + 0x14]
mov eax, dword [esp + 0x20]
push dword [esp + 0x30]
and eax, 1
push eax
push dword [esp + 0x4c]
push ebx
push ebp
call fcn.10013bf0
mov esi, eax
test esi, esi
js 0x100140b4
mov eax, dword [ebp + 0x34]
lea ecx, [ebx + 0x54]
push 2
push ecx
push eax
lea ebp, [edi + 4]
mov dword [esp + 0x1c], eax
push ebp
call fcn.1000df90
mov esi, eax
test esi, esi
js 0x100140b4
mov eax, dword [esp + 0x10]
shr eax, 0x10
and eax, 0xff
push 1
inc eax
push eax
lea eax, [esp + 0x74]
push eax
call fcn.1003b14d
mov eax, dword [esp + 0x14]
push 1
mov ecx, dword [eax + 0x38]
lea eax, [ebx + 0x56]
push eax
push ecx
push ebp
mov dword [esp + 0x20], ecx
call fcn.1000df90
mov esi, eax
test esi, esi
js 0x100140b4
mov eax, dword [esp + 0x10]
shr eax, 0x10
and eax, 0xff
push 1
inc eax
push eax
lea eax, [esp + 0x74]
push eax
call fcn.1003b14d
mov eax, dword [esp + 0x14]
push 1
mov ecx, dword [eax + 0x3c]
lea eax, [ebx + 0x57]
push eax
push ecx
push ebp
mov dword [esp + 0x20], ecx
call fcn.1000df90
mov esi, eax
test esi, esi
js 0x100140b4
mov eax, dword [esp + 0x10]
shr eax, 0x10
and eax, 0xff
push 1
inc eax
push eax
lea eax, [esp + 0x74]
push eax
call fcn.1003b14d
lea eax, [esp + 0x64]
push eax
call fcn.1003b2b0
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x64]
push 8
push ecx
mov eax, dword [eax + 0x44]
push eax
push ebp
mov dword [esp + 0x20], eax
call fcn.1000df90
mov esi, eax
test esi, esi
js 0x100140b4
mov eax, dword [esp + 0x10]
shr eax, 0x10
and eax, 0xff
push 1
inc eax
push eax
lea eax, [esp + 0x74]
push eax
call fcn.1003b14d
lea eax, [esp + 0x6c]
push eax
push ebp
push dword [esp + 0x58]
push dword [esp + 0x28]
call fcn.1002fe50
mov esi, eax
test esi, esi
js 0x100140b4
mov eax, dword [esp + 0x14]
mov dword [esp + 0x38], 0
push edi
mov eax, dword [eax + 0x110]
push eax
mov dword [esp + 0x24], eax
call fcn.1002ea00
mov esi, eax
test esi, esi
js 0x100140b4
push 4
lea eax, [esp + 0x40]
push eax
mov eax, dword [esp + 0x1c]
push dword [eax + 0x84]
push ebp
call fcn.1000df90
mov esi, eax
test esi, esi
js 0x100140b4
push 1
lea eax, [esp + 0x2c]
push eax
mov eax, dword [esp + 0x1c]
push dword [eax + 0x64]
push ebp
call fcn.1000df90
mov esi, eax
test esi, esi
js 0x100140b4
push 2
lea eax, [esp + 0x48]
push eax
mov eax, dword [esp + 0x1c]
push dword [eax + 0x68]
push ebp
call fcn.1000df90
mov esi, eax
test esi, esi
js 0x100140b4
mov eax, dword [esp + 0x28]
cmp eax, 0xa
je 0x100142e3
cmp eax, 0xc
jne 0x1001431f
push 2
lea eax, [esp + 0x38]
push eax
mov eax, dword [esp + 0x1c]
push dword [eax + 0x60]
push ebp
call fcn.1000df90
mov esi, eax
test esi, esi
js 0x100140b4
push 2
lea eax, [esp + 0x50]
push eax
mov eax, dword [esp + 0x1c]
push dword [eax + 0x7c]
push ebp
call fcn.1000df90
mov esi, eax
test esi, esi
js 0x100140b4
mov eax, dword [esp + 0x18]
shr eax, 4
and eax, 1
push eax
mov eax, dword [esp + 0x18]
push dword [eax + 0x6c]
push ebp
call fcn.1000dec0
mov esi, eax
test esi, esi
js 0x100140b4
mov eax, dword [esp + 0x18]
shr eax, 3
and eax, 1
push eax
mov eax, dword [esp + 0x18]
push dword [eax + 0x74]
push ebp
call fcn.1000dec0
mov esi, eax
test esi, esi
js 0x100140b4
mov eax, dword [esp + 0x18]
shr eax, 2
and eax, 1
push eax
mov eax, dword [esp + 0x18]
push dword [eax + 0x70]
push ebp
call fcn.1000dec0
mov esi, eax
test esi, esi
js 0x100140b4
push 4
lea eax, [esp + 0x30]
push eax
mov eax, dword [esp + 0x1c]
push dword [eax + 0x78]
push ebp
call fcn.1000df90
mov esi, eax
test esi, esi
js 0x100140b4
push dword [esp + 0x60]
lea eax, [esp + 0x90]
push eax
mov eax, dword [esp + 0x1c]
push dword [eax + 0x80]
push ebp
call fcn.1000df90
mov esi, eax
test esi, esi
js 0x100140b4
push 0
push ebp
push dword [esp + 0x24]
call fcn.1002fbe0
mov esi, eax
test esi, esi
js 0x100140b4
push edi
call fcn.1003afb0
xor edi, edi
test byte [esp + 0x18], 0x10
je 0x1001455f
mov eax, dword [esp + 0x2c]
mov dword [ebx + 0x34], eax
lea eax, [esp + 0x24]
push eax
push 5
push dword [ebx + 0x18]
push edi
push dword [esp + 0x24]
call fcn.1000b390
mov esi, eax
test esi, esi
js 0x100140be
push 1
push dword [esp + 0x28]
call fcn.1000da90
mov esi, eax
test esi, esi
js 0x100140be
push 0x800
call fcn.1003b030
mov edi, eax
test edi, edi
jne 0x10014446
mov esi, 0xfffffc0d
jmp 0x100140be
lea eax, [esp + 0x20]
push eax
push 1
push 0xff
push ebx
call fcn.100106e0
mov esi, eax
test esi, esi
js 0x100140b4
push dword [esp + 0x24]
call fcn.1000c630
lea eax, [esp + 0x1c]
mov dword [esp + 0x18], 1
push eax
lea eax, [esp + 0x14]
push eax
push 0
push dword [esp + 0x2c]
call fcn.10010690
mov esi, eax
test esi, esi
js 0x10014520
cmp dword [esp + 0x10], 0
je 0x1001452e
push 0
lea eax, [esp + 0x14]
push eax
push dword [esp + 0x28]
call fcn.10010ed0
mov esi, eax
test esi, esi
js 0x10014520
push edi
push dword [esp + 0x20]
push dword [esp + 0x18]
push ebx
call fcn.1002cd60
mov esi, eax
test esi, esi
js 0x10014520
push 4
lea eax, [esp + 0x1c]
push eax
push dword [esp + 0x34]
lea ebp, [edi + 4]
push ebp
call fcn.1000df90
mov esi, eax
test esi, esi
js 0x10014520
mov eax, dword [esp + 0x20]
inc dword [esp + 0x18]
push ebp
push dword [eax + 0xc]
push dword [esp + 0x2c]
push dword [esp + 0x20]
call fcn.10012c30
mov esi, eax
test esi, esi
js 0x10014520
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x14]
push eax
push 0
push dword [esp + 0x2c]
call fcn.10010690
mov esi, eax
test esi, esi
jns 0x10014492
push dword [esp + 0x24]
call fcn.1000ca30
jmp 0x100140b4
test esi, esi
js 0x10014520
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x18]
mov dword [ecx + 0x28], eax
push dword [esp + 0x24]
call fcn.1000ca30
push dword [esp + 0x20]
call fcn.10011fa0
mov esi, eax
test esi, esi
js 0x100140b4
push edi
call fcn.1003afb0
cmp dword [esp + 0x5c], 0
je 0x1001456d
mov eax, dword [esp + 0x2c]
mov dword [ebx + 0x30], eax
push 1
push dword [esp + 0x44]
call fcn.100236a0
mov esi, eax
test esi, esi
js 0x100140b4
mov eax, dword [0x1006c724]
cmp dword [eax + 0x28], 0
jbe 0x100145a1
cmp dword [ebx + 0x44], 0
jne 0x100145a1
mov dword [ebx + 0x44], eax
mov eax, dword [0x1006c724]
mov eax, dword [eax + 0x28]
mov dword [ebx + 0x48], eax
mov eax, dword [esp + 0x58]
test eax, eax
je 0x100145b7
movzx ecx, word [esp + 0x28]
shl ecx, 0xc
or ecx, dword [esp + 0x2c]
mov dword [eax], ecx
mov eax, dword [esp + 0x48]
neg eax
sbb eax, eax
and eax, 0x1393
jmp 0x100145cb
mov eax, 0xfffffa19
pop edi
pop ebp
mov ecx, dword [esp + 0xc8]
pop esi
pop ebx
xor ecx, esp
call fcn.1003de00
add esp, 0xc4
ret 0x1c