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

Disassembly:
sub esp, 0xa0
push edi
mov edi, dword [esp + 0xa8]
test edi, edi
mov cl, 0xff
mov al, 0x28
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 0x43190000
mov dword [esp + 0x60], 0x40000000
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 0x41b00000
mov dword [esp + 0x6c], 0x43190000
mov dword [esp + 0x70], 0x40000000
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0x42300000
mov dword [esp + 0x7c], 0x43190000
mov dword [esp + 0x80], 0x40000000
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0x40000000
mov dword [esp + 0x8c], 0x40000000
mov dword [esp + 0x90], 0x42280000
mov dword [esp + 0x94], 0x43170000
mov dword [esp + 0x98], 0x40000000
mov dword [esp + 0x9c], 0x40000000
mov dword [esp + 0xa0], 0x42280000
mov byte [esp + 0x28], 0
mov byte [esp + 0x29], 0
mov byte [esp + 0x2a], 0
mov byte [esp + 0x2b], cl
mov dword [esp + 0x34], 0x40000000
mov dword [esp + 0x38], 0x40000000
mov dword [esp + 0x3c], 0x43150000
mov dword [esp + 0x40], 0x41a00000
mov dword [esp + 0x44], 0x40000000
mov dword [esp + 0x48], 0x41c00000
mov dword [esp + 0x4c], 0x43150000
mov dword [esp + 0x50], 0x41a00000
mov byte [esp + 0x2c], 0xe
mov byte [esp + 0x2d], 0x50
mov byte [esp + 0x2e], 0xa0
mov byte [esp + 0x2f], cl
mov byte [esp + 0x30], al
mov byte [esp + 0x31], al
mov byte [esp + 0x32], al
mov byte [esp + 0x33], cl
je 0x7cb653
mov eax, dword [0x8d5304]
mov ecx, dword [0x8d5308]
mov edx, dword [0x8d530c]
mov dword [esp + 4], eax
mov eax, dword [0x8d5310]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0xac]
mov dword [esp + 8], ecx
movsx ecx, word [eax]
mov dword [esp + 0x14], ecx
mov dword [esp + 0xc], edx
movsx edx, word [eax + 2]
fild dword [esp + 0x14]
mov eax, dword [edi + 8]
fstp dword [esp + 4]
mov dword [esp + 0x14], edx
push eax
fild dword [esp + 0x18]
fstp dword [esp + 0xc]
call fcn.0045cca0
mov al, byte [esp + 0xc0]
xor ecx, ecx
mov edx, edi
mov dword [edx], ecx
mov dword [edx + 4], ecx
add esp, 4
test al, al
mov dword [edx + 8], ecx
mov dword [edx + 0xc], ecx
je 0x7cb339
fld dword [esp + 8]
fsub dword [esp + 0x10]
fstp dword [esp + 8]
push ebx
push ebp
push esi
call fcn.0045cce0
mov esi, eax
mov eax, dword [esp + 0xbc]
push eax
push esi
mov dword [edi + 8], esi
call fcn.00460520
push 0
lea ecx, [esp + 0x1c]
push ecx
push esi
call fcn.004602c0
push 1
push esi
call fcn.00460450
mov edx, dword [0x8d5304]
mov eax, dword [0x8d5308]
mov ecx, dword [0x8d530c]
mov dword [esp + 0x2c], edx
mov edx, dword [0x8d5310]
push esi
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], ecx
mov dword [esp + 0x3c], edx
call fcn.0085cf30
mov esi, eax
push 0
lea eax, [esp + 0x34]
push eax
push esi
mov dword [esp + 0x50], esi
call fcn.004602c0
push 1
push esi
call fcn.00460450
push esi
call fcn.0085d050
push 0
lea ecx, [esp + 0x4c]
mov edi, eax
push ecx
push edi
call fcn.004602c0
add esp, 0x44
push 1
push edi
call fcn.00460450
push 0
push edi
call fcn.0085d040
add esp, 0x10
lea ebx, [esp + 0x60]
mov ebp, 5
push edi
call fcn.0085cfb0
mov esi, eax
push 1
push esi
call fcn.004654b0
push ebx
push esi
call fcn.004655b0
lea edx, [esp + 0x48]
push edx
push esi
call fcn.00465950
add esp, 0x1c
add ebx, 0x10
dec ebp
jne 0x7cb3e5
lea ebx, [esp + 0x38]
lea ebp, [esp + 0x40]
mov dword [esp + 0x20], 2
push edi
call fcn.0085cfb0
mov esi, eax
push 1
push esi
call fcn.004654b0
push ebp
push esi
call fcn.004655b0
push ebx
push esi
call fcn.00465950
mov eax, dword [esp + 0x3c]
add esp, 0x1c
add ebp, 0x10
add ebx, 4
dec eax
mov dword [esp + 0x20], eax
jne 0x7cb420
mov eax, dword [esp + 0x40]
fld dword [esp + 0x44]
mov ecx, dword [esp + 0x44]
fadd dword [0x870770]
mov edx, dword [esp + 0x48]
mov ebp, dword [esp + 0x24]
mov dword [esp + 0x14], ecx
fstp dword [esp + 0x14]
mov ecx, dword [0xedabb8]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], eax
mov edx, dword [ecx + 0x4c]
mov eax, dword [edx]
push eax
lea ecx, [esp + 0x30]
push ecx
push 0x16
push ebp
call fcn.004629a0
mov esi, eax
push 1
push esi
call fcn.00460450
push 0
lea edx, [esp + 0x2c]
push edx
push esi
call fcn.004602c0
push 1
push esi
call fcn.00462880
mov eax, dword [0x8d5304]
mov ecx, dword [0x8d5308]
mov edx, dword [0x8d530c]
mov dword [esp + 0x3c], eax
mov eax, dword [0x8d5310]
push ebp
mov dword [esp + 0x44], ecx
mov dword [esp + 0x48], edx
mov dword [esp + 0x4c], eax
mov dword [esp + 0x5c], 0x40800000
mov dword [esp + 0x60], 0x41d00000
call fcn.0085d050
push 0
lea ecx, [esp + 0x44]
mov edi, eax
push ecx
push edi
call fcn.004602c0
push 1
push edi
call fcn.00460450
add esp, 0x44
push 1
push edi
call fcn.0085d040
movzx esi, byte [esp + 0xc8]
mov ebx, dword [esp + 0xcc]
mov eax, dword [ebx + esi*4 + 0x2b4]
add esp, 8
test eax, eax
je 0x7cb5ae
push edi
call fcn.0085cfb0
mov edi, eax
push 1
push edi
call fcn.004654b0
mov eax, dword [esp + 0x3c]
mov edx, dword [esp + 0x38]
mov dword [esp + 0x20], eax
mov eax, dword [ebx + esi*4 + 0x2b4]
mov dword [esp + 0x1c], edx
movzx ecx, word [eax + 0x14]
mov dword [esp + 0x30], ecx
fild dword [esp + 0x30]
fstp dword [esp + 0x24]
movzx edx, word [eax + 0x16]
mov dword [esp + 0x30], edx
lea eax, [esp + 0x1c]
push eax
fild dword [esp + 0x34]
push edi
fstp dword [esp + 0x30]
call fcn.004655b0
mov ecx, dword [ebx + esi*4 + 0x2b4]
mov edx, dword [ecx + 0xc]
push edx
push edi
call fcn.00465f10
mov eax, dword [ebx + esi*4 + 0x2b4]
add eax, 0x1c
push eax
push edi
call fcn.00465a20
add esp, 0x24
mov bl, byte [esi + ebx + 0x82]
cmp bl, 1
jb 0x7cb5d7
cmp bl, 0x63
ja 0x7cb5d7
movzx ecx, bl
push ecx
lea edx, [esp + 0x2c]
push 0x8850c4
push edx
call fcn.0043bcd5
add esp, 0xc
jmp 0x7cb5ec
mov ax, word [0x8cb87c]
mov cl, byte [0x8cb87e]
mov word [esp + 0x28], ax
mov byte [esp + 0x2a], cl
lea edx, [esp + 0x28]
push edx
lea eax, [esp + 0x30]
push eax
push 0x15
push ebp
mov dword [esp + 0x20], 0x42fa0000
mov dword [esp + 0x24], 0x41e00000
mov dword [esp + 0x28], 0x41c00000
mov dword [esp + 0x2c], 0x41b00000
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], 0
call fcn.004629a0
mov esi, eax
push 1
push esi
call fcn.00460450
push 0
lea ecx, [esp + 0x2c]
push ecx
push esi
call fcn.004602c0
push 2
push esi
call fcn.00462880
add esp, 0x2c
pop esi
pop ebp
pop ebx
pop edi
add esp, 0xa0
ret