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

Disassembly:
sub esp, 0x14
push ebx
mov ebx, dword [edi]
push ebp
push esi
mov esi, dword [esp + 0x24]
push esi
call fcn.0046dcc0
lea ebx, [esi + 4]
mov eax, ebx
xor ebp, ebp
call fcn.00488e80
test eax, eax
jle 0x46ca1d
mov ecx, dword [ebx + 4]
test ecx, ecx
je 0x46c989
mov eax, dword [ebx + 8]
sub eax, ecx
sar eax, 2
cmp ebp, eax
jb 0x46c98e
call fcn.00500ad0
mov ecx, dword [ebx + 4]
cmp dword [ecx + ebp*4], 0
je 0x46ca0b
test ecx, ecx
je 0x46c9a7
mov eax, dword [ebx + 8]
sub eax, ecx
sar eax, 2
cmp ebp, eax
jb 0x46c9ac
call fcn.00500ad0
mov eax, dword [ebx + 4]
mov esi, dword [eax + ebp*4]
test esi, esi
je 0x46c9e9
mov eax, dword [esi + 8]
test eax, eax
je 0x46c9cb
push eax
call dword [0x5310c4]
mov dword [esi + 8], 0
mov eax, dword [esi + 0xc]
test eax, eax
je 0x46c9e0
push eax
call dword [0x5310c4]
mov dword [esi + 0xc], 0
push esi
call fcn.004ffbbe
add esp, 4
mov ecx, dword [ebx + 4]
test ecx, ecx
je 0x46c9fc
mov eax, dword [ebx + 8]
sub eax, ecx
sar eax, 2
cmp ebp, eax
jb 0x46ca01
call fcn.00500ad0
mov ecx, dword [ebx + 4]
mov dword [ecx + ebp*4], 0
mov eax, ebx
add ebp, 1
call fcn.00488e80
cmp ebp, eax
jl 0x46c976
mov eax, ebx
call fcn.0046bc10
xor ebp, ebp
mov ecx, dword [edi + 8]
test ecx, ecx
mov dword [esp + 0x14], ebp
jne 0x46ca35
xor eax, eax
jmp 0x46ca3d
mov eax, dword [edi + 0xc]
sub eax, ecx
sar eax, 2
cmp ebp, eax
jge 0x46cb48
test ecx, ecx
mov dword [esp + 0x10], 0
je 0x46ca5d
mov eax, dword [edi + 0xc]
sub eax, ecx
sar eax, 2
cmp ebp, eax
jb 0x46ca62
call fcn.00500ad0
mov edx, dword [edi + 8]
cmp dword [edx + ebp*4], 0
je 0x46cae7
push 0x10
call fcn.00500104
add esp, 4
test eax, eax
je 0x46ca8b
xor ebp, ebp
mov dword [eax], ebp
mov byte [eax + 4], 0xff
mov dword [eax + 8], ebp
mov dword [eax + 0xc], ebp
mov esi, eax
jmp 0x46ca8f
xor esi, esi
xor ebp, ebp
mov ecx, dword [edi + 8]
cmp ecx, ebp
mov dword [esp + 0x10], esi
je 0x46caa8
mov eax, dword [edi + 0xc]
sub eax, ecx
sar eax, 2
cmp dword [esp + 0x14], eax
jb 0x46caad
call fcn.00500ad0
mov eax, dword [edi + 8]
mov ecx, dword [esp + 0x14]
mov eax, dword [eax + ecx*4]
mov cl, byte [eax + 4]
mov edx, dword [eax]
mov eax, dword [esi + 8]
cmp eax, ebp
mov dword [esi], edx
mov byte [esi + 4], cl
je 0x46cad2
push eax
call dword [0x5310c4]
mov dword [esi + 8], ebp
mov eax, dword [esi + 0xc]
cmp eax, ebp
je 0x46cae3
push eax
call dword [0x5310c4]
mov dword [esi + 0xc], ebp
mov ebp, dword [esp + 0x14]
mov edx, dword [ebx + 4]
test edx, edx
jne 0x46caf2
xor ecx, ecx
jmp 0x46cafa
mov ecx, dword [ebx + 8]
sub ecx, edx
sar ecx, 2
test edx, edx
je 0x46cb21
mov eax, dword [ebx + 0xc]
sub eax, edx
sar eax, 2
cmp ecx, eax
jae 0x46cb21
mov eax, dword [ebx + 8]
mov ecx, dword [esp + 0x10]
mov dword [eax], ecx
add eax, 4
mov dword [ebx + 8], eax
add ebp, 1
jmp 0x46ca26
mov esi, dword [ebx + 8]
cmp edx, esi
jbe 0x46cb2d
call fcn.00500ad0
push esi
push ebx
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x24]
push eax
mov eax, ebx
call fcn.00488f00
add ebp, 1
jmp 0x46ca26
mov ecx, dword [edi + 0x30]
mov edx, dword [edi + 0x2c]
mov eax, dword [edi + 0x28]
mov ebx, dword [esp + 0x24]
push ecx
mov ecx, dword [edi + 0x24]
push edx
mov edx, dword [edi + 0x20]
push eax
mov eax, dword [edi + 0x1c]
push ecx
mov ecx, dword [edi + 0x18]
push edx
push eax
mov eax, dword [edi + 0x14]
push ecx
lea esi, [ebx + 0x14]
call fcn.0046bf00
mov edx, dword [edi + 0x58]
mov eax, dword [edi + 0x54]
mov ecx, dword [edi + 0x50]
push edx
mov edx, dword [edi + 0x4c]
push eax
mov eax, dword [edi + 0x48]
push ecx
mov ecx, dword [edi + 0x44]
push edx
mov edx, dword [edi + 0x40]
push eax
mov eax, dword [edi + 0x3c]
push ecx
push edx
lea esi, [ebx + 0x3c]
call fcn.0046bf00
mov eax, dword [edi + 0x80]
mov ecx, dword [edi + 0x7c]
mov edx, dword [edi + 0x78]
push eax
mov eax, dword [edi + 0x74]
push ecx
mov ecx, dword [edi + 0x70]
push edx
mov edx, dword [edi + 0x6c]
push eax
mov eax, dword [edi + 0x68]
push ecx
push edx
push eax
mov eax, dword [edi + 0x64]
lea esi, [ebx + 0x64]
call fcn.0046bf00
mov ecx, dword [edi + 0xa8]
mov edx, dword [edi + 0xa4]
mov eax, dword [edi + 0xa0]
push ecx
mov ecx, dword [edi + 0x9c]
push edx
mov edx, dword [edi + 0x98]
push eax
mov eax, dword [edi + 0x94]
push ecx
mov ecx, dword [edi + 0x90]
push edx
push eax
mov eax, dword [edi + 0x8c]
push ecx
lea esi, [ebx + 0x8c]
call fcn.0046bf00
mov edx, dword [edi + 0xd0]
mov eax, dword [edi + 0xcc]
mov ecx, dword [edi + 0xc8]
push edx
mov edx, dword [edi + 0xc4]
push eax
mov eax, dword [edi + 0xc0]
push ecx
mov ecx, dword [edi + 0xbc]
push edx
push eax
push ecx
mov edx, dword [edi + 0xb8]
mov eax, dword [edi + 0xb4]
push edx
lea esi, [ebx + 0xb4]
call fcn.0046bf00
add ebx, 0xdc
mov eax, ebx
xor ebp, ebp
call fcn.00488e80
test eax, eax
jle 0x46cd07
nop
mov ecx, dword [ebx + 4]
test ecx, ecx
je 0x46cc73
mov eax, dword [ebx + 8]
sub eax, ecx
sar eax, 2
cmp ebp, eax
jb 0x46cc78
call fcn.00500ad0
mov ecx, dword [ebx + 4]
cmp dword [ecx + ebp*4], 0
je 0x46ccf5
test ecx, ecx
je 0x46cc91
mov eax, dword [ebx + 8]
sub eax, ecx
sar eax, 2
cmp ebp, eax
jb 0x46cc96
call fcn.00500ad0
mov eax, dword [ebx + 4]
mov esi, dword [eax + ebp*4]
test esi, esi
je 0x46ccd3
mov eax, dword [esi + 8]
test eax, eax
je 0x46ccb5
push eax
call dword [0x5310c4]
mov dword [esi + 8], 0
mov eax, dword [esi + 0xc]
test eax, eax
je 0x46ccca
push eax
call dword [0x5310c4]
mov dword [esi + 0xc], 0
push esi
call fcn.004ffbbe
add esp, 4
mov ecx, dword [ebx + 4]
test ecx, ecx
je 0x46cce6
mov eax, dword [ebx + 8]
sub eax, ecx
sar eax, 2
cmp ebp, eax
jb 0x46cceb
call fcn.00500ad0
mov ecx, dword [ebx + 4]
mov dword [ecx + ebp*4], 0
mov eax, ebx
add ebp, 1
call fcn.00488e80
cmp ebp, eax
jl 0x46cc60
mov eax, ebx
call fcn.0046bc10
xor esi, esi
xor ebp, ebp
mov ecx, dword [edi + 0xe0]
cmp ecx, esi
jne 0x46cd20
xor eax, eax
jmp 0x46cd2b
mov eax, dword [edi + 0xe4]
sub eax, ecx
sar eax, 2
cmp ebp, eax
jge 0x46ce3e
cmp ecx, esi
mov dword [esp + 0x10], esi
je 0x46cd4a
mov eax, dword [edi + 0xe4]
sub eax, ecx
sar eax, 2
cmp ebp, eax
jb 0x46cd4f
call fcn.00500ad0
mov edx, dword [edi + 0xe0]
cmp dword [edx + ebp*4], esi
je 0x46cdd9
push 0x10
call fcn.00500104
add esp, 4
cmp eax, esi
je 0x46cd7a
mov dword [eax], esi
mov dword [eax + 8], esi
mov dword [eax + 0xc], esi
mov byte [eax + 4], 0xff
mov esi, eax
mov ecx, dword [edi + 0xe0]
test ecx, ecx
mov dword [esp + 0x10], esi
je 0x46cd97
mov eax, dword [edi + 0xe4]
sub eax, ecx
sar eax, 2
cmp ebp, eax
jb 0x46cd9c
call fcn.00500ad0
mov eax, dword [edi + 0xe0]
mov eax, dword [eax + ebp*4]
mov cl, byte [eax + 4]
mov edx, dword [eax]
mov eax, dword [esi + 8]
test eax, eax
mov dword [esi], edx
mov byte [esi + 4], cl
je 0x46cdc4
push eax
call dword [0x5310c4]
mov dword [esi + 8], 0
mov eax, dword [esi + 0xc]
test eax, eax
je 0x46cdd9
push eax
call dword [0x5310c4]
mov dword [esi + 0xc], 0
mov edx, dword [ebx + 4]
test edx, edx
jne 0x46cde4
xor ecx, ecx
jmp 0x46cdec
mov ecx, dword [ebx + 8]
sub ecx, edx
sar ecx, 2
test edx, edx
je 0x46ce15
mov eax, dword [ebx + 0xc]
sub eax, edx
sar eax, 2
cmp ecx, eax
jae 0x46ce15
mov eax, dword [ebx + 8]
mov ecx, dword [esp + 0x10]
mov dword [eax], ecx
add eax, 4
add ebp, 1
mov dword [ebx + 8], eax
xor esi, esi
jmp 0x46cd12
mov esi, dword [ebx + 8]
cmp edx, esi
jbe 0x46ce21
call fcn.00500ad0
push esi
push ebx
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x24]
push eax
mov eax, ebx
call fcn.00488f00
add ebp, 1
xor esi, esi
jmp 0x46cd12
mov eax, dword [esp + 0x24]
mov ecx, dword [edi + 0xec]
lea esi, [eax + 0xf0]
mov dword [eax + 0xec], ecx
mov eax, esi
lea ebp, [edi + 0xf0]
call fcn.00468ff0
mov eax, ebp
mov dword [esp + 0x14], 0
call fcn.00488e80
test eax, eax
jle 0x46ceb3
mov ecx, dword [ebp + 4]
test ecx, ecx
je 0x46ce89
mov eax, dword [ebp + 8]
sub eax, ecx
sar eax, 2
cmp dword [esp + 0x14], eax
jb 0x46ce8e
call fcn.00500ad0
mov edx, dword [ebp + 4]
mov eax, dword [esp + 0x14]
lea ebx, [edx + eax*4]
call fcn.0046ee10
mov ebx, dword [esp + 0x14]
add ebx, 1
mov eax, ebp
mov dword [esp + 0x14], ebx
call fcn.00488e80
cmp ebx, eax
jl 0x46ce74
mov esi, dword [esp + 0x24]
add esi, 0x100
mov eax, esi
lea ebp, [edi + 0x100]
call fcn.00468ff0
mov eax, ebp
mov dword [esp + 0x14], 0
call fcn.00488e80
test eax, eax
jle 0x46cf1f
lea ecx, [ecx]
mov ecx, dword [ebp + 4]
test ecx, ecx
je 0x46cef5
mov eax, dword [ebp + 8]
sub eax, ecx
sar eax, 2
cmp dword [esp + 0x14], eax
jb 0x46cefa
call fcn.00500ad0
mov ecx, dword [ebp + 4]
mov edx, dword [esp + 0x14]
lea ebx, [ecx + edx*4]
call fcn.0046ee10
mov ebx, dword [esp + 0x14]
add ebx, 1
mov eax, ebp
mov dword [esp + 0x14], ebx
call fcn.00488e80
cmp ebx, eax
jl 0x46cee0
fld qword [edi + 0x110]
mov eax, dword [esp + 0x24]
fstp qword [eax + 0x110]
pop esi
fld qword [edi + 0x118]
pop ebp
fstp qword [eax + 0x118]
pop ebx
fld qword [edi + 0x120]
fstp qword [eax + 0x120]
add esp, 0x14
ret 4