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

Disassembly:
sub esp, 0x64
push ebx
push ebp
mov ebp, dword [esp + 0x78]
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 8]
mov dword [esp + 0xc], eax
push edi
mov edi, dword [ebp + 4]
mov eax, dword [edi + 0x10]
mov ebx, dword [edi + 0x24]
mov dword [esp + 0x18], eax
cdq
sub eax, edx
mov edx, dword [ecx + 0xc]
sar eax, 1
mov dword [esp + 0x30], eax
mov eax, dword [ecx + 0x2c]
mov dword [esp + 0x14], edx
mov edx, dword [edi + 0x28]
mov dword [esp + 0x2c], eax
mov eax, dword [ecx + 0x1c]
mov ecx, dword [ecx + 0x3c]
mov dword [esp + 0x38], edx
lea edx, [esp + 0x44]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x18]
push edx
mov dword [esp + 0x44], ecx
mov ecx, dword [esp + 0x7c]
push eax
push ecx
mov dword [esp + 0x34], 0
mov dword [esp + 0x40], ebx
call fcn.30152880
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x88]
lea edx, [esp + 0x68]
push edx
push eax
push ecx
call fcn.30152880
mov edx, dword [esp + 0x28]
push 0
push edx
push esi
mov dword [edi + 4], 0
call fcn.30152250
mov eax, dword [esi + 0x10]
mov ecx, dword [esp + 0x34]
push eax
push ecx
push edi
call fcn.30151140
mov ecx, dword [edi + 0x14]
xor eax, eax
add esp, 0x30
cmp ecx, eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x20], eax
jle 0x3014be74
push esi
call fcn.302277c0
mov eax, dword [edi + 0x10]
add esp, 4
xor ebp, ebp
test eax, eax
jle 0x3014bdca
lea esp, [esp]
lea edx, [esp + 0x1c]
push edx
push esi
mov dword [esp + 0x24], 3
call fcn.301523a0
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x1c]
push eax
mov eax, dword [esp + 0x3c]
push 0
push ecx
mov ecx, dword [esp + 0x2c]
push edx
push eax
mov eax, dword [esp + 0x38]
push ecx
lea edx, [esp + 0x64]
push edx
push eax
mov eax, esi
lea ebx, [esp + 0x84]
call fcn.3014b720
add esp, 0x28
test eax, eax
mov dword [esp + 0x28], eax
jne 0x3014be98
push esi
call fcn.30152420
mov ebx, dword [esp + 0x48]
mov edx, dword [esp + 0x4c]
mov eax, dword [esp + 0x50]
mov ecx, 0x10
add ebx, ecx
mov dword [esp + 0x48], ebx
mov ebx, dword [esp + 0x54]
add edx, ecx
add ebx, ecx
mov dword [esp + 0x4c], edx
mov edx, dword [esp + 0x58]
mov dword [esp + 0x54], ebx
mov ebx, dword [esp + 0x5c]
add eax, ecx
mov dword [esp + 0x50], eax
mov eax, 8
add edx, eax
add ebx, eax
mov dword [esp + 0x58], edx
mov edx, dword [esp + 0x60]
mov dword [esp + 0x5c], ebx
mov ebx, dword [esp + 0x64]
add edx, ecx
add ebx, ecx
mov dword [esp + 0x60], edx
mov edx, dword [esp + 0x68]
mov dword [esp + 0x64], ebx
mov ebx, dword [esp + 0x6c]
add edx, ecx
add ebx, ecx
mov dword [esp + 0x68], edx
mov edx, dword [esp + 0x70]
mov dword [esp + 0x6c], ebx
mov ebx, dword [esp + 0x74]
add edx, eax
add ebx, eax
add ebp, ecx
mov ecx, dword [esp + 0x24]
add esp, 4
mov dword [esp + 0x6c], edx
mov dword [esp + 0x70], ebx
mov eax, dword [edi + 0x10]
inc ecx
cmp ebp, eax
mov dword [esp + 0x20], ecx
jl 0x3014bcd0
mov ebx, dword [esp + 0x34]
push esi
call fcn.30152440
mov ecx, dword [esp + 0x48]
mov eax, dword [esp + 0x4c]
mov ebp, dword [esp + 0x50]
mov edx, dword [esp + 0x54]
add ecx, ebx
add ebp, ebx
add eax, ebx
mov dword [esp + 0x48], ecx
mov ecx, dword [esp + 0x58]
mov dword [esp + 0x50], ebp
mov ebp, dword [esp + 0x5c]
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x3c]
add ecx, eax
add ebp, eax
mov eax, dword [esp + 0x40]
add edx, ebx
mov dword [esp + 0x54], edx
mov edx, dword [esp + 0x60]
add edx, eax
mov dword [esp + 0x58], ecx
mov ecx, dword [esp + 0x64]
mov dword [esp + 0x5c], ebp
mov ebp, dword [esp + 0x68]
add ecx, eax
add ebp, eax
mov dword [esp + 0x60], edx
mov edx, dword [esp + 0x6c]
add edx, eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0x64], ecx
mov ecx, dword [esp + 0x70]
mov dword [esp + 0x68], ebp
mov ebp, dword [esp + 0x74]
add ecx, eax
add ebp, eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x6c], edx
mov dword [esp + 0x70], ecx
mov dword [esp + 0x74], ebp
mov ecx, dword [edi + 0x14]
add eax, 0x10
add esp, 4
cmp eax, ecx
mov dword [esp + 0x24], eax
jl 0x3014bcb3
mov ebp, dword [esp + 0x80]
mov ecx, dword [esp + 0x10]
push ecx
call fcn.3014fc20
push esi
call fcn.301524f0
mov edx, dword [ebp + 0x30]
mov eax, dword [edi + 0x20]
push edx
push eax
call fcn.30152660
mov eax, dword [esp + 0x38]
add esp, 0x10
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x64
ret