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

Disassembly:
sub esp, 0x8c
push ebx
push ebp
push esi
push edi
lea eax, [esp + 0x68]
mov esi, ecx
push eax
mov dword [esp + 0x28], esi
call fcn.100b37d0
mov ecx, dword [eax + 8]
mov dword [esp + 0x14], ecx
lea ebp, [esi + 0x290]
mov edx, ebp
mov eax, dword [edx]
mov ecx, dword [edx + 4]
mov edx, dword [edx + 8]
mov dword [esp + 0x30], ecx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x34], edx
lea eax, [esi + 0x170]
mov ecx, eax
mov edx, dword [ecx]
mov dword [esp + 0x38], edx
mov edx, dword [ecx + 4]
mov ecx, dword [ecx + 8]
mov dword [esp + 0x3c], edx
mov edx, dword [eax]
mov dword [esp + 0x40], ecx
mov ecx, dword [eax + 4]
mov dword [esp + 0x5c], edx
mov edx, dword [eax + 8]
mov dword [esp + 0x60], ecx
mov dword [esp + 0x64], edx
lea edi, [esi + 0x164]
mov eax, edi
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov eax, dword [eax + 8]
mov dword [esp + 0x80], ecx
mov dword [esp + 0x84], edx
mov dword [esp + 0x88], eax
lea ecx, [esi + 0x17c]
mov edx, dword [ecx]
mov eax, dword [ecx + 4]
mov ecx, dword [ecx + 8]
mov dword [esp + 0x50], edx
mov dword [esp + 0x54], eax
lea edx, [esi + 0x26c]
mov eax, dword [edx]
mov dword [esp + 0x58], ecx
mov ecx, dword [edx + 4]
mov edx, dword [edx + 8]
mov dword [esp + 0x18], eax
mov eax, dword [0x10212de0]
mov dword [esp + 0x1c], ecx
mov ecx, dword [0x10212de4]
mov dword [esp + 0x68], eax
mov dword [esp + 0x20], edx
mov edx, dword [0x10212de8]
lea eax, [esp + 0x10]
mov dword [esp + 0x6c], ecx
push eax
mov ecx, esi
mov dword [esp + 0x38], 0
mov dword [esp + 0x44], 4
mov dword [esp + 0x68], 2
mov dword [esp + 0x8c], 5
mov dword [esp + 0x74], edx
call fcn.1013cae0
mov ebx, dword [eax]
test bl, 1
je 0x1013ee7c
push 0
push 1
push 1
push 0
lea ecx, [esp + 0x48]
push ecx
mov ecx, dword [esi + 0x54]
lea edx, [esi + 0x278]
push edx
lea eax, [esp + 0x28]
push eax
call fcn.10140300
mov ebx, dword [eax]
test bl, 1
mov ecx, edi
mov edx, dword [ecx]
mov eax, dword [ecx + 4]
mov ecx, dword [ecx + 8]
mov dword [esp + 0x40], ecx
mov ecx, dword [edi + 8]
mov dword [esp + 0x38], edx
mov edx, dword [edi]
mov dword [esp + 0x3c], eax
mov eax, dword [edi + 4]
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x40], 2
mov dword [esp + 0x74], edx
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], 3
je 0x1013eedd
push 0
push 1
lea edx, [esp + 0x7c]
push edx
lea eax, [esp + 0x44]
push eax
lea ecx, [esp + 0x3c]
push ecx
mov ecx, dword [esi + 0x54]
lea edx, [esp + 0x24]
push edx
call fcn.10140660
mov ebx, dword [eax]
test bl, 1
mov edx, dword [ebp + 8]
mov eax, dword [ebp]
mov ecx, dword [ebp + 4]
mov dword [esp + 0x4c], edx
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], ecx
mov dword [esp + 0x4c], 4
je 0x1013ef8c
push 0
push 1
lea eax, [esp + 0x7c]
push eax
lea ecx, [esp + 0x44]
push ecx
mov ecx, dword [esi + 0x54]
lea edx, [esp + 0x54]
push edx
lea eax, [esp + 0x24]
push eax
call fcn.10140660
mov ebx, dword [eax]
test bl, 1
je 0x1013ef8c
push 0
push 1
lea ecx, [esp + 0x64]
push ecx
mov ecx, dword [esi + 0x54]
lea edx, [esp + 0x5c]
push edx
lea eax, [esp + 0x20]
push eax
call fcn.101404c0
mov ebx, dword [eax]
test bl, 1
je 0x1013ef8c
push 1
push 0x40
lea ecx, [esp + 0x58]
push ecx
mov edx, ecx
mov ecx, dword [esi + 0x54]
push edx
lea eax, [esp + 0x20]
push eax
call fcn.101bac80
mov ebx, dword [eax]
test bl, 1
je 0x1013ef8c
push 0
push 1
lea ecx, [esp + 0x58]
push ecx
lea edx, [esp + 0x50]
push edx
mov eax, edx
push eax
lea ecx, [esp + 0x24]
push ecx
mov ecx, dword [esi + 0x54]
call fcn.101b8b00
mov ebx, dword [eax]
xor edi, edi
mov edi, edi
test bl, 1
je 0x1013efb4
push 0
push 8
push edi
lea edx, [esp + 0x38]
push edx
push edi
lea eax, [esp + 0x58]
push eax
lea ecx, [esp + 0x28]
push ecx
mov ecx, dword [esi + 0x54]
call fcn.10140c40
mov ebx, dword [eax]
add edi, 0x20
cmp edi, 0x40
jb 0x1013ef90
cmp dword [esp + 0x14], 7
jne 0x1013efe4
test bl, 1
je 0x1013f049
lea edx, [esp + 0x68]
push edx
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x18]
push ecx
mov ecx, esi
call fcn.1013c030
mov ebx, dword [eax]
test bl, 1
je 0x1013f049
mov ecx, dword [esi + 0x54]
push 0x71f
lea edx, [esp + 0x18]
push edx
call fcn.1014aeb0
mov ebx, dword [esp + 0x14]
test bl, 1
je 0x1013f049
push 0
push 2
push 1
push 0
push 0x1c
lea eax, [esp + 0x40]
push eax
push 0
lea ecx, [esi + 0x278]
push ecx
mov ecx, dword [esi + 0x54]
lea edx, [esp + 0x30]
push edx
call fcn.101423a0
mov ebx, dword [eax]
test bl, 1
je 0x1013f049
mov ecx, dword [esi + 0x54]
push 0x2000
push 0x1f0
lea eax, [esp + 0x18]
push eax
call fcn.101b9e30
mov ebx, dword [eax]
xor edi, edi
mov dword [esp + 0x14], edi
nop
test bl, 1
je 0x1013f294
mov ecx, dword [esi + 8]
mov edx, dword [ecx]
call dword [edx + 0xc]
test byte [eax + 0x14], 0x80
je 0x1013f089
push 0
push 8
lea eax, [esp + 0x20]
push eax
lea ecx, [esi + 0x278]
push ecx
mov ecx, dword [esi + 0x54]
lea edx, [esp + 0xa4]
push edx
call fcn.101404c0
mov ebx, dword [eax]
test bl, 1
mov dword [esp + 0x20], 2
je 0x1013f16a
mov ebx, dword [esi + 0x54]
neg edi
sbb edi, edi
mov ecx, ebx
add edi, 2
call fcn.10130570
mov esi, eax
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov ecx, dword [esi + 8]
lea ebp, [esi + 8]
and ecx, 0xefffff81
or ecx, 0x201
mov dword [ebp], ecx
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x18]
and edx, 0xff
or dh, 1
add eax, eax
add eax, eax
and eax, 0x1f
push 0
push 1
and ecx, 3
shl edx, 5
or edx, eax
mov eax, dword [esi + 0xc]
shl edx, 0x10
and eax, 0xffe0
or edx, eax
or edx, ecx
push 0
push 0
mov ecx, esi
mov dword [esi + 0xc], edx
call fcn.100ea4b0
mov edx, dword [esi + 0xc]
and byte [ebp + 2], 0x1f
push 0x10
and edx, 0xfffffc7f
push ebp
lea eax, [esp + 0x18]
or edx, 0x60
push eax
mov ecx, ebx
mov dword [esi + 0x14], edi
mov dword [esi + 0xc], edx
call fcn.100fd200
mov ebx, dword [esp + 0x10]
test bl, 1
mov edi, dword [esp + 0x14]
mov esi, dword [esp + 0x24]
je 0x1013f16a
push 0
push 1
lea ecx, [esp + 0x88]
push ecx
lea edx, [esp + 0x24]
push edx
mov eax, edx
push eax
lea ecx, [esp + 0xac]
push ecx
mov ecx, dword [esi + 0x54]
call fcn.101bae20
mov ebx, dword [eax]
test bl, 1
mov dword [esp + 0x20], 0
mov dword [esp + 0x6c], 2
je 0x1013f1b7
push 0
push 8
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x74]
push eax
lea ecx, [esp + 0x9c]
push ecx
mov ecx, dword [esi + 0x54]
call fcn.101404c0
mov ebx, dword [eax]
test bl, 1
je 0x1013f1b7
push 3
lea edx, [esp + 0x94]
push edx
mov ecx, esi
call fcn.10139830
mov ebx, dword [eax]
test edi, edi
jne 0x1013f1dd
test bl, 1
je 0x1013f1dd
push edi
push edi
push 1
push 0x40
lea eax, [esp + 0x3c]
push eax
mov ecx, eax
push ecx
mov ecx, dword [esi + 0x54]
lea edx, [esp + 0x40]
push edx
call fcn.10140a70
mov ebx, dword [eax]
add edi, 1
cmp edi, 2
mov dword [esp + 0x14], edi
jl 0x1013f050
test bl, 1
je 0x1013f294
mov ecx, dword [esi + 0x54]
push 0x1f0
lea eax, [esp + 0x28]
push eax
call fcn.1014aeb0
mov ebx, dword [esp + 0x24]
test bl, 1
je 0x1013f294
push 0
push 0x2000
push 1
push 0x40
lea ecx, [esp + 0x3c]
push ecx
mov edx, ecx
mov ecx, dword [esi + 0x54]
push edx
lea eax, [esp + 0x40]
push eax
call fcn.10140a70
mov ebx, dword [eax]
test bl, 1
je 0x1013f294
push 2
push 0x100000
push 1
push 0xffffffffffffffff
lea ecx, [esp + 0x6c]
push ecx
mov edx, ecx
mov ecx, dword [esi + 0x54]
push edx
lea eax, [esp + 0x40]
push eax
call fcn.101408a0
mov ebx, dword [eax]
test bl, 1
je 0x1013f294
push 0x1000
push 0x71f
lea ecx, [esp + 0x30]
push ecx
mov ecx, dword [esi + 0x54]
call fcn.101b9e30
mov eax, dword [eax]
mov ecx, dword [esp + 0xa0]
pop edi
pop esi
pop ebp
mov dword [ecx], eax
mov eax, ecx
pop ebx
add esp, 0x8c
ret 4
mov eax, dword [esp + 0xa0]
pop edi
pop esi
pop ebp
mov dword [eax], ebx
pop ebx
add esp, 0x8c
ret 4