Function at 0x1416ed0
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 + 0x288]
mov eax, dword [esi + 0xb0]
xor edi, edi
cmp eax, edi
je 0x1416f2b
mov ebx, dword [esi]
push eax
mov ecx, esi
call fcn.0140d330
push eax
mov ecx, esi
call dword [ebx + 0x254]
mov eax, dword [esi + 0xb0]
push eax
call fcn.0142f530
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.0140bf80
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 0x1417178
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 0x141715a
movsx edx, word [eax + 4]
add ebp, edx
mov edx, dword [esi + 0xa4]
cmp ecx, edx
mov dword [esp + 0x10], ebp
jne 0x1416f9d
add ebp, dword [esi + 0x90]
mov dword [esp + 0x10], ebp
mov ax, word [eax + 6]
test ax, ax
jl 0x1416fad
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 0x1416fc8
cmp eax, 4
je 0x1416fc8
cmp eax, 5
jne 0x1417006
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 0x1417006
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 0x141703f
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 0x141703f
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 0x1417135
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0xc0]
test al, al
je 0x14170dd
mov eax, dword [esi + 0xac]
test eax, eax
je 0x14170b3
call fcn.014062e0
mov ebx, eax
call fcn.01406330
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 0x14170b3
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 0x141713b
mov eax, dword [esi]
lea ecx, [esp + 0x50]
push ecx
mov ecx, esi
call dword [eax + 0xd8]
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 0x141713b
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.01406300
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 0x141713b
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 0x1416f68
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x48
ret