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

Disassembly:
sub esp, 0x48
lea edx, [esp + 0x30]
push ebx
push ebp
push esi
mov esi, ecx
lea ecx, [esp + 0x2c]
push edi
mov eax, dword [esi]
push ecx
push edx
lea ecx, [esp + 0x20]
lea edx, [esp + 0x34]
push ecx
push edx
mov ecx, esi
call dword [eax + 0x278]
mov eax, dword [esi + 0xb0]
xor edi, edi
cmp eax, edi
je 0x1416a4b
mov ebx, dword [esi]
push eax
mov ecx, esi
call fcn.0140cd90
push eax
mov ecx, esi
call dword [ebx + 0x244]
mov eax, dword [esi + 0xb0]
push eax
call fcn.0142e090
add esp, 4
mov dword [esi + 0xb0], edi
lea ecx, [esp + 0x44]
lea edx, [esp + 0x48]
push ecx
push edx
mov ecx, esi
call fcn.0140ba20
mov ebx, dword [esi + 0x94]
mov ecx, dword [esp + 0x18]
mov eax, dword [esi + 0x88]
mov ebp, dword [esp + 0x2c]
add ebx, ecx
xor ecx, ecx
cmp eax, edi
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ecx
jle 0x1416c98
mov dword [esp + 0x14], edi
mov eax, dword [esi + 0x7c]
mov edi, dword [esp + 0x14]
add eax, edi
mov dword [esp + 0x20], eax
mov edi, dword [eax]
test edi, edi
je 0x1416c7a
movsx edx, word [eax + 4]
add ebp, edx
mov edx, dword [esi + 0xa4]
cmp ecx, edx
mov dword [esp + 0x10], ebp
jne 0x1416abd
add ebp, dword [esi + 0x90]
mov dword [esp + 0x10], ebp
mov ax, word [eax + 6]
test ax, ax
jl 0x1416acd
movsx ebp, ax
mov dword [esp + 0x10], ebp
mov eax, dword [edi]
push ebx
push ebp
mov ecx, edi
call dword [eax + 4]
mov eax, dword [esi + 0x74]
cmp eax, 3
je 0x1416ae8
cmp eax, 4
je 0x1416ae8
cmp eax, 5
jne 0x1416b26
mov edx, dword [edi]
lea eax, [esp + 0x1c]
lea ecx, [esp + 0x4c]
push eax
push ecx
mov ecx, edi
call dword [edx + 0xc]
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x18]
mov edx, eax
sub edx, ecx
cmp dword [esp + 0x1c], edx
jge 0x1416b26
sub eax, dword [esp + 0x1c]
sub eax, ecx
mov ecx, dword [esp + 0x24]
cdq
sub eax, edx
mov edx, dword [edi]
sar eax, 1
lea ebx, [eax + ecx]
mov ecx, edi
push ebx
push ebp
call dword [edx + 4]
mov eax, dword [esp + 0x20]
cmp word [eax + 8], 0
jl 0x1416b5f
mov edx, dword [edi]
lea eax, [esp + 0x38]
lea ecx, [esp + 0x34]
push eax
push ecx
mov ecx, edi
call dword [edx + 0xc]
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x34]
movsx eax, word [edx + 8]
cmp ecx, eax
jle 0x1416b5f
mov ecx, dword [esp + 0x38]
mov edx, dword [edi]
push ecx
push eax
mov ecx, edi
call dword [edx + 0x10]
cmp edi, dword [esi + 0x78]
jne 0x1416c55
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0xb8]
test al, al
je 0x1416bfd
mov eax, dword [esi + 0xac]
test eax, eax
je 0x1416bd3
call fcn.01406010
mov ebx, eax
call fcn.01406060
mov ecx, dword [esi + 0xac]
mov ebp, dword [eax]
mov dword [esp + 0x20], eax
mov eax, dword [ecx]
call dword [eax]
mov edx, dword [ebx]
push eax
mov ecx, ebx
call dword [edx + 0x10]
mov ecx, dword [esp + 0x24]
push eax
call dword [ebp + 0x58]
test al, al
je 0x1416bd3
mov ecx, dword [esi + 0x78]
mov edx, dword [esi + 0xa0]
push edx
mov eax, dword [ecx]
call dword [eax + 0x14]
mov ecx, dword [esi + 0x78]
mov edx, dword [ecx]
call dword [edx]
mov ebp, dword [esp + 0x10]
jmp 0x1416c5b
mov eax, dword [esi]
lea ecx, [esp + 0x50]
push ecx
mov ecx, esi
call dword [eax + 0xd0]
mov edx, dword [esi + 0x78]
mov eax, dword [eax]
mov ecx, dword [esi + 0x78]
push eax
mov edx, dword [edx]
call dword [edx + 0x14]
mov ecx, dword [esi + 0x78]
mov edx, dword [ecx]
call dword [edx]
mov ebp, dword [esp + 0x10]
jmp 0x1416c5b
mov ebp, dword [esp + 0x10]
mov ecx, dword [esi + 0x78]
lea edx, [ebx + 1]
mov eax, dword [ecx]
push edx
lea edx, [ebp + 1]
push edx
call dword [eax + 4]
mov ecx, dword [esi + 0x78]
mov edx, dword [esi + 0x98]
push edx
mov eax, dword [ecx]
call dword [eax + 0x14]
mov ecx, dword [esi + 0x78]
mov eax, dword [ecx]
call dword [eax]
call fcn.01406030
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x54]
mov ecx, dword [esi + 0x78]
push ebx
push ebp
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [esi + 0x78]
mov eax, dword [esi + 0x9c]
push eax
mov edx, dword [ecx]
call dword [edx + 0x14]
mov ecx, dword [esi + 0x78]
mov edx, dword [ecx]
call dword [edx]
jmp 0x1416c5b
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
mov edx, dword [edi]
lea eax, [esp + 0x54]
lea ecx, [esp + 0x3c]
push eax
push ecx
mov ecx, edi
call dword [edx + 0xc]
mov eax, dword [esp + 0x3c]
mov ebx, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
add ebp, eax
mov edx, dword [esp + 0x14]
mov eax, dword [esi + 0x88]
inc ecx
add edx, 0xc
cmp ecx, eax
mov dword [esp + 0x28], ecx
mov dword [esp + 0x14], edx
jl 0x1416a88
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x48
ret