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

Disassembly:
sub esp, 0x60
cmp dword [esp + 0x64], 0
jne 0xf4172
mov eax, dword [0x4e73e0]
mov ecx, dword [eax + 0x2520]
cmp dword [ecx + 0x21d0], 6
jge 0xf460f
push esi
mov esi, dword [esp + 0x84]
test esi, esi
je 0xf460e
cmp dword [esp + 0x88], 0
je 0xf460e
push ebp
mov eax, 1
call fcn.000f40f0
mov ebp, dword [0x4e73e0]
mov eax, dword [ebp + 0x54b0]
add ebp, 0x54b0
test eax, eax
mov dword [esp + 0xc], ebp
je 0xf41c0
mov edx, dword [eax + 0x88]
mov eax, dword [edx + 0x40]
jmp 0xf41c2
xor eax, eax
shr eax, 1
sub eax, 0x40
xor edx, edx
div esi
push ebx
mov ebx, eax
imul ebx, esi
mov dword [esp + 0x20], eax
lea eax, [esp + 0xc]
push eax
push 1
lea ecx, [ebx + ebx + 0x80]
push ecx
push ebp
call fcn.000cad30
test eax, eax
jl 0xf460c
push edi
mov ecx, 0x10
xor eax, eax
lea edi, [esp + 0x30]
rep stosd dword es:[edi], eax
lea edi, [esp + 0x3c]
mov dword [esp + 0x18], 2
jmp 0xf4212
mov ebp, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
add edx, 0x3f
and edx, 0xffffffc0
mov eax, ebp
mov dword [esp + 0x10], edx
call fcn.000cac80
add eax, dword [esp + 0x10]
mov dword [edi - 4], eax
mov eax, dword [ebp]
mov ecx, dword [eax + 0x98]
mov edx, dword [eax + 0x9c]
add eax, 0x88
mov ebp, ecx
or ebp, edx
jne 0xf4250
mov eax, dword [eax]
mov ecx, dword [eax + 0x68]
mov edx, dword [eax + 0x6c]
mov eax, dword [esp + 0x10]
add ecx, eax
mov dword [edi], ecx
add eax, ebx
mov ecx, 1
add edi, 0x20
sub dword [esp + 0x18], ecx
mov dword [esp + 0x20], edx
mov dword [esp + 0x10], eax
jne 0xf420e
mov edi, dword [0x4e73e0]
test byte [edi + 0x2484], 0x20
je 0xf42ad
mov edx, dword [edi + 0x360]
lea eax, [edi + 8]
mov edi, dword [eax + 0x154]
mov dword [eax + edx*4 + 0x158], edi
add dword [eax + 0x358], ecx
mov ecx, dword [esp + 0x84]
call fcn.000b6350
mov edi, dword [0x4e73e0]
mov ebp, dword [esp + 0x94]
mov dword [esp + 0x94], ebp
jmp 0xf42c0
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0
lea ebx, [esp + 0x38]
cmp dword [ebx - 8], 0
je 0xf434f
mov eax, dword [ebx + 0x14]
mov edx, dword [ebx + 0x10]
mov ecx, dword [edi + 0xb80]
push 0
push eax
push edx
call fcn.0014bad0
test eax, eax
je 0xf4519
cmp dword [ebx + 0xc], 0
mov ebp, dword [ebx]
mov edi, dword [ebx - 4]
jbe 0xf433b
mov eax, dword [ebx + 0xc]
mov dword [esp + 0x84], eax
lea esp, [esp]
mov ecx, dword [0x4e73e0]
mov edx, dword [ecx + 0x23a4]
push edx
push esi
push ebp
push edi
call fcn.0038adb0
add edi, dword [esp + 0x9c]
add esp, 0x10
add ebp, esi
sub dword [esp + 0x84], 1
jne 0xf4310
mov edi, dword [0x4e73e0]
mov ebp, dword [esp + 0x94]
mov dword [ebx - 8], 0
test ebp, ebp
je 0xf451f
mov eax, dword [esp + 0x88]
mov ecx, dword [esp + 0x24]
cmp ebp, ecx
mov dword [ebx - 4], eax
mov eax, dword [esp + 0x78]
mov dword [ebx + 8], eax
jb 0xf4372
mov ebp, ecx
mov ecx, dword [esp + 0x74]
test ecx, ecx
mov dword [ebx + 0xc], ebp
mov dword [ebx - 8], 1
jne 0xf43b9
mov edx, dword [ebx + 4]
push ecx
mov ecx, dword [esp + 0x84]
push ebp
push esi
push esi
push ecx
push 0
push edx
push 0
push eax
mov eax, dword [esp + 0x38]
call fcn.000cacc0
push eax
push 0xdd001010
push 7
lea eax, [edi + 8]
mov ecx, 0xd3d03902
call fcn.000c6e80
jmp 0xf442f
mov eax, dword [esp + 0x14]
mov eax, dword [eax]
mov edx, dword [eax + 0x98]
mov edi, dword [eax + 0x9c]
or edx, edi
je 0xf43d7
mov edx, dword [eax + 0x98]
jmp 0xf43e3
mov edi, dword [eax + 0x88]
mov edx, dword [edi + 0x68]
mov edi, dword [edi + 0x6c]
test eax, eax
mov dword [esp + 0x2c], edi
je 0xf43fa
mov eax, dword [eax + 0x88]
test eax, eax
je 0xf43fa
add eax, 0x38
jmp 0xf43fc
xor eax, eax
push 0
push ebp
push esi
push esi
mov esi, dword [esp + 0x90]
push esi
mov esi, dword [ebx + 4]
sub esi, edx
mov edx, dword [esp + 0x8c]
sub edx, dword [ecx + 0x30]
push esi
push eax
mov eax, dword [0x4e73e0]
push ecx
push 0xd3d03902
push 7
add eax, 8
call fcn.000cbda0
mov ecx, dword [0x4e73e0]
mov esi, dword [ecx + 0xb80]
mov eax, 1
add dword [esi + 0x18], eax
adc dword [esi + 0x1c], 0
cmp dword [esi + 0x18], 0xfffffff0
jbe 0xf4476
add dword [esi + 0x1c], eax
mov edx, dword [esi + 0x1c]
push edx
push eax
mov dword [esi + 0x18], eax
call fcn.0014b830
mov edi, dword [esi]
mov ecx, dword [edi + 0x8c]
mov dword [esi + 0x30], ecx
mov edx, dword [edi + 0xa8]
mov dword [esi + 0x34], edx
call fcn.000b57c0
mov eax, dword [esi + 0x1c]
mov ecx, dword [esi + 0x18]
push eax
push ecx
call fcn.0014b830
mov eax, dword [esi]
mov edx, dword [eax + 0x8c]
mov edi, dword [0x4e73e0]
mov dword [esi + 0x30], edx
mov eax, dword [eax + 0xa8]
mov dword [esi + 0x34], eax
test byte [edi + 0xc0], 8
mov eax, dword [esi + 0x18]
mov esi, dword [esi + 0x1c]
mov dword [ebx + 0x10], eax
lea eax, [edi + 8]
mov dword [ebx + 0x14], esi
jne 0xf44de
mov edx, dword [eax + 0x90]
mov ecx, dword [eax + 0x8c]
cmp edx, ecx
je 0xf44de
sub ecx, edx
cmp ecx, 0x400
sbb ecx, ecx
add ecx, 1
push ecx
call fcn.000b5bd0
mov edi, dword [0x4e73e0]
mov esi, dword [esp + 0x90]
mov edx, ebp
imul edx, dword [esp + 0x8c]
add dword [esp + 0x88], edx
mov eax, ebp
imul eax, dword [esp + 0x80]
add dword [esp + 0x78], eax
adc dword [esp + 0x7c], 0
sub dword [esp + 0x94], ebp
mov ebp, dword [esp + 0x94]
jmp 0xf451f
mov edi, dword [0x4e73e0]
mov ecx, dword [esp + 0x18]
or ecx, dword [ebx - 8]
mov eax, dword [edi + 0x20]
test eax, eax
mov dword [esp + 0x18], ecx
je 0xf453f
cmp word [eax + 0xe], 0xffff
jne 0xf453f
cmp dword [eax + 8], 0
jne 0xf455e
mov eax, dword [esp + 0x1c]
add eax, 1
add ebx, 0x20
cmp eax, 2
mov dword [esp + 0x1c], eax
jb 0xf42d4
test ecx, ecx
jne 0xf42c0
test byte [edi + 0x2484], 0x20
je 0xf45b7
lea eax, [edi + 8]
or edx, 0xffffffff
add dword [eax + 0x358], edx
mov ecx, dword [eax + 0x358]
mov ecx, dword [eax + ecx*4 + 0x158]
cmp ecx, edx
jne 0xf45b2
mov ecx, dword [eax + 0x8c]
mov dword [eax + 0x154], edx
mov dword [ecx], 0x1fff0
add dword [eax + 0x8c], 4
mov ecx, dword [eax + 0x8c]
cmp ecx, dword [eax + 0xa4]
jb 0xf45b7
call fcn.000b5d70
jmp 0xf45b7
call fcn.000b63b0
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov ebx, dword [eax + 8]
mov ecx, edx
push ecx
mov dword [eax + 0x10], edx
mov dword [eax + 0x14], 0
call fcn.0014bff0
mov eax, dword [0x4e73e0]
test byte [eax + 0x2485], 0x20
pop edi
je 0xf460c
mov edx, dword [eax + 0x2330]
mov ecx, dword [eax + 0x2338]
push 0
push 0x20f
push edx
mov edx, dword [eax + 0x233c]
lea esi, [esp + 0x90]
call fcn.00035540
add esp, 0xc
pop ebx
pop ebp
pop esi
add esp, 0x60
ret 0x24