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

Disassembly:
mov ecx, dword [esp + 8]
sub esp, 0x198
push ebx
mov ebx, dword [esp + 0x1a0]
push ebp
push esi
push edi
xor edi, edi
cmp ecx, edi
je 0x46d68d
mov eax, dword [ecx]
mov edx, dword [eax + 0x30]
push 0x16
call edx
mov ebp, eax
cmp ebp, edi
mov dword [esp + 0x14], ebp
je 0x46d68d
mov eax, 0x7b
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov eax, dword [ebx]
mov edx, dword [eax + 0x15c]
mov ecx, ebx
mov dword [esp + 0x28], 0x78
mov dword [esp + 0x2c], 0x79
mov dword [esp + 0x38], 0x72
mov dword [esp + 0x3c], 0x7c
mov dword [esp + 0x40], 0x73
mov dword [esp + 0x44], 0x7d
mov dword [esp + 0x48], 0x74
mov dword [esp + 0x4c], 0x7e
mov dword [esp + 0x50], 0x75
mov dword [esp + 0x54], 0x7f
mov dword [esp + 0x58], 0x7a
mov dword [esp + 0x5c], 0x80
mov dword [esp + 0x60], 0x76
mov dword [esp + 0x64], 0x82
call edx
xor ecx, ecx
cmp eax, dword [esp + ecx*8 + 0x28]
je 0x46ce9c
add ecx, 1
cmp ecx, 8
jb 0x46ce81
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x198
ret 0xc
mov eax, dword [esp + ecx*8 + 0x2c]
cmp eax, edi
je 0x46d68d
mov esi, 5
mov edx, 4
mov ecx, 6
mov dword [esp + 0x68], 0xfb
mov dword [esp + 0x6c], edi
mov dword [esp + 0x70], 0xcb
mov dword [esp + 0x74], 1
mov dword [esp + 0x78], 0xcc
mov dword [esp + 0x7c], 2
mov dword [esp + 0x80], 0xcd
mov dword [esp + 0x84], 3
mov dword [esp + 0x88], 0xfc
mov dword [esp + 0x8c], edi
mov dword [esp + 0x90], 0xce
mov dword [esp + 0x94], esi
mov dword [esp + 0x98], 0xcf
mov dword [esp + 0x9c], edx
mov dword [esp + 0xa0], 0xd0
mov dword [esp + 0xa4], ecx
mov dword [esp + 0xa8], 0xd1
mov dword [esp + 0xac], 7
mov dword [esp + 0xb0], 0xfe
mov dword [esp + 0xb4], edi
mov dword [esp + 0xb8], 0xd6
mov dword [esp + 0xbc], esi
mov dword [esp + 0xc0], 0xd7
mov dword [esp + 0xc4], edx
mov dword [esp + 0xc8], 0xd8
mov dword [esp + 0xcc], ecx
mov dword [esp + 0xd0], 0xd9
mov dword [esp + 0xd4], 7
mov dword [esp + 0xd8], 0xff
mov dword [esp + 0xdc], edi
mov dword [esp + 0xe0], 0xda
mov dword [esp + 0xe4], esi
mov dword [esp + 0xe8], 0xdb
mov dword [esp + 0xec], edx
mov dword [esp + 0xf0], 0xdc
mov dword [esp + 0xf4], ecx
mov dword [esp + 0xf8], 0xdd
mov dword [esp + 0xfc], 7
mov dword [esp + 0x100], 0x100
mov dword [esp + 0x104], edi
mov dword [esp + 0x108], 0xde
mov dword [esp + 0x10c], esi
mov dword [esp + 0x110], 0xdf
mov dword [esp + 0x114], edx
mov dword [esp + 0x118], 0xe0
mov dword [esp + 0x11c], ecx
mov dword [esp + 0x120], 0xe1
mov dword [esp + 0x124], 7
mov dword [esp + 0x128], 0x101
mov dword [esp + 0x12c], edi
mov dword [esp + 0x130], 0xe2
mov dword [esp + 0x134], esi
mov dword [esp + 0x138], 0xe3
mov dword [esp + 0x13c], edx
mov dword [esp + 0x140], 0xe4
mov dword [esp + 0x144], ecx
mov dword [esp + 0x148], 0xe5
mov dword [esp + 0x14c], 7
mov dword [esp + 0x150], 0x102
mov dword [esp + 0x154], edi
mov dword [esp + 0x158], 0xe6
mov dword [esp + 0x15c], esi
mov dword [esp + 0x160], 0xe7
mov dword [esp + 0x164], edx
mov dword [esp + 0x168], 0xe8
mov dword [esp + 0x16c], ecx
mov dword [esp + 0x170], 0xe9
mov dword [esp + 0x174], 7
mov dword [esp + 0x178], 0x103
mov dword [esp + 0x17c], edi
mov dword [esp + 0x180], 0xea
mov dword [esp + 0x184], esi
mov dword [esp + 0x188], 0xeb
mov dword [esp + 0x18c], edx
mov dword [esp + 0x190], 0xec
mov dword [esp + 0x194], ecx
mov dword [esp + 0x198], 0xed
mov dword [esp + 0x19c], 7
mov ecx, dword [ebx + 0x3ac]
push ecx
call fcn.005a73a0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x15c]
call eax
xor ecx, ecx
cmp eax, dword [esp + ecx*8 + 0x68]
je 0x46d1c0
add ecx, 1
cmp ecx, 0x27
jb 0x46d1a5
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x198
ret 0xc
mov ecx, dword [esp + ecx*8 + 0x6c]
cmp ecx, 0xffffffff
mov dword [esp + 0x1c], ecx
je 0x46d68d
xor edi, edi
mov dword [esp + 0x18], edi
lea esi, [ebx + 0x4e8]
lea ecx, [ecx]
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x46d65f
mov eax, dword [esi + 8]
sub eax, ecx
sar eax, 2
cmp edi, eax
jae 0x46d65f
test ecx, ecx
je 0x46d20b
mov eax, dword [esi + 8]
sub eax, ecx
sar eax, 2
cmp edi, eax
jb 0x46d211
call dword [0x6105e8]
mov ecx, dword [esi + 4]
mov ecx, dword [ecx + edi*4]
mov edx, dword [ecx]
mov eax, dword [edx + 0xc8]
call eax
test al, al
je 0x46d2ba
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x46d23c
mov eax, dword [esi + 8]
sub eax, ecx
sar eax, 2
cmp edi, eax
jb 0x46d242
call dword [0x6105e8]
mov ecx, dword [esi + 4]
mov ecx, dword [ecx + edi*4]
mov edx, dword [ecx]
mov eax, dword [edx + 0x15c]
call eax
cmp eax, 0xb3
je 0x46d2ba
mov ecx, dword [esp + 0x18]
cmp ecx, dword [esp + 0x1b4]
jb case.default.0x46d271
cmp dword [esp + 0x1c], 7
ja case.default.0x46d271
mov edx, dword [esp + 0x1c]
jmp dword [edx*4 + 0x46d69c]
mov ecx, dword [esi + 4]
test ecx, ecx
mov ebx, dword [ebp + 0x4e4]
je 0x46d291
mov eax, dword [esi + 8]
sub eax, ecx
sar eax, 2
cmp edi, eax
jb 0x46d297
call dword [0x6105e8]
mov eax, dword [esi + 4]
mov ecx, dword [eax + edi*4]
cmp ebx, dword [ecx + 0x4e4]
setb al
test al, al
jne 0x46d65f
mov ebx, dword [esp + 0x1ac]
add dword [esp + 0x18], 1
add edi, 1
jmp 0x46d1e0
mov eax, dword [ebx + 0x58c]
push ebp
call fcn.0040c5a0
test eax, eax
je 0x46d2e0
mov ebp, dword [eax + 0x108]
mov ebx, dword [eax + 0x10c]
jmp 0x46d2e4
xor ebp, ebp
xor ebx, ebx
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x46d2f7
mov eax, dword [esi + 8]
sub eax, ecx
sar eax, 2
cmp edi, eax
jb 0x46d2fd
call dword [0x6105e8]
mov edx, dword [esi + 4]
mov ecx, dword [edx + edi*4]
mov eax, dword [esp + 0x1ac]
mov eax, dword [eax + 0x58c]
push ecx
call fcn.0040c5a0
test eax, eax
je 0x46d328
mov ecx, dword [eax + 0x108]
mov eax, dword [eax + 0x10c]
jmp 0x46d32c
xor ecx, ecx
xor eax, eax
cmp ebx, eax
jg 0x46d65f
jl 0x46d33e
cmp ebp, ecx
ja 0x46d65f
add dword [esp + 0x18], 1
mov ebp, dword [esp + 0x14]
mov ebx, dword [esp + 0x1ac]
add edi, 1
jmp 0x46d1e0
mov eax, dword [ebx + 0x58c]
push ebp
call fcn.0040c5a0
test eax, eax
je 0x46d36e
mov ebx, dword [eax + 0x110]
jmp 0x46d370
xor ebx, ebx
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x46d383
mov eax, dword [esi + 8]
sub eax, ecx
sar eax, 2
cmp edi, eax
jb 0x46d389
call dword [0x6105e8]
mov ecx, dword [esi + 4]
mov ecx, dword [ecx + edi*4]
mov edx, dword [esp + 0x1ac]
mov eax, dword [edx + 0x58c]
push ecx
call fcn.0040c5a0
test eax, eax
je 0x46d3b6
mov eax, dword [eax + 0x110]
cmp ebx, eax
seta al
jmp 0x46d2a6
xor eax, eax
cmp ebx, eax
seta al
jmp 0x46d2a6
mov eax, dword [ebx + 0x58c]
push ebp
call fcn.0040c5a0
test eax, eax
je 0x46d3e0
mov ebp, dword [eax + 0x100]
mov ebx, dword [eax + 0x104]
jmp 0x46d3e4
xor ebp, ebp
xor ebx, ebx
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x46d3f7
mov eax, dword [esi + 8]
sub eax, ecx
sar eax, 2
cmp edi, eax
jb 0x46d3fd
call dword [0x6105e8]
mov eax, dword [esi + 4]
mov ecx, dword [eax + edi*4]
mov edx, dword [esp + 0x1ac]
mov eax, dword [edx + 0x58c]
push ecx
call fcn.0040c5a0
test eax, eax
je 0x46d328
mov ecx, dword [eax + 0x100]
mov eax, dword [eax + 0x104]
jmp 0x46d32c
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x46d442
mov eax, dword [esi + 8]
sub eax, ecx
sar eax, 2
cmp edi, eax
jb 0x46d448
call dword [0x6105e8]
mov eax, dword [esi + 4]
mov ecx, dword [eax + edi*4]
mov eax, dword [ecx + 0x508]
test eax, eax
je 0x46d45d
mov ecx, dword [eax + 0x68]
jmp 0x46d45f
xor ecx, ecx
mov eax, ebp
call fcn.00469d00
cmp eax, ecx
je 0x46d621
call fcn.00448340
mov eax, dword [eax]
mov eax, dword [eax + 0x508]
test eax, eax
je 0x46d493
mov ecx, dword [eax + 0x68]
mov eax, ebp
call fcn.00469d00
cmp eax, ecx
seta al
jmp 0x46d2a6
mov eax, ebp
xor ecx, ecx
call fcn.00469d00
cmp eax, ecx
seta al
jmp 0x46d2a6
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x46d4b9
mov eax, dword [esi + 8]
sub eax, ecx
sar eax, 2
cmp edi, eax
jb 0x46d4bf
call dword [0x6105e8]
mov edx, dword [esi + 4]
mov eax, dword [edx + edi*4]
mov eax, dword [eax + 0x508]
test eax, eax
je 0x46d4d4
mov ecx, dword [eax + 0x64]
jmp 0x46d4d6
xor ecx, ecx
mov eax, ebp
call fcn.00469d20
cmp eax, ecx
je 0x46d621
call fcn.00448340
mov eax, dword [eax]
mov eax, dword [eax + 0x508]
test eax, eax
je 0x46d50a
mov ecx, dword [eax + 0x64]
mov eax, ebp
call fcn.00469d20
cmp eax, ecx
seta al
jmp 0x46d2a6
mov eax, ebp
xor ecx, ecx
call fcn.00469d20
cmp eax, ecx
seta al
jmp 0x46d2a6
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x46d530
mov eax, dword [esi + 8]
sub eax, ecx
sar eax, 2
cmp edi, eax
jb 0x46d536
call dword [0x6105e8]
mov ecx, dword [esi + 4]
mov edx, dword [ecx + edi*4]
mov eax, dword [edx + 0x508]
test eax, eax
je 0x46d554
mov ebx, dword [eax + 0x100]
mov ebp, dword [eax + 0x104]
jmp 0x46d558
xor ebx, ebx
xor ebp, ebp
mov eax, dword [esp + 0x14]
call fcn.00469cc0
cmp eax, ebx
jne 0x46d589
cmp edx, ebp
jne 0x46d589
mov eax, dword [esp + 0x14]
mov ebx, dword [eax + 0x4e4]
call fcn.00448340
mov eax, dword [eax]
cmp ebx, dword [eax + 0x4e4]
mov ebp, dword [esp + 0x14]
jmp 0x46d2a3
call fcn.00448340
mov ebp, eax
mov eax, dword [esp + 0x14]
call fcn.00469cc0
mov dword [esp + 0x1a0], eax
mov eax, dword [ebp]
mov ebx, edx
call fcn.00469cc0
cmp ebx, edx
ja 0x46d65f
jb 0x46d5c1
cmp dword [esp + 0x1a0], eax
ja 0x46d65f
add dword [esp + 0x18], 1
mov ebp, dword [esp + 0x14]
mov ebx, dword [esp + 0x1ac]
add edi, 1
jmp 0x46d1e0
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x46d5ec
mov eax, dword [esi + 8]
sub eax, ecx
sar eax, 2
cmp edi, eax
jb 0x46d5f2
call dword [0x6105e8]
mov ecx, dword [esi + 4]
mov edx, dword [ecx + edi*4]
mov eax, dword [edx + 0x508]
test eax, eax
je 0x46d607
fld dword [eax + 0x60]
jmp 0x46d609
fldz
mov eax, ebp
fstp dword [esp + 0x20]
call fcn.00469ce0
fld dword [esp + 0x20]
fucompp
fnstsw ax
test ah, 0x44
jp 0x46d639
mov ebx, dword [ebp + 0x4e4]
call fcn.00448340
mov eax, dword [eax]
cmp ebx, dword [eax + 0x4e4]
jmp 0x46d2a3
mov eax, ebp
call fcn.00469ce0
fstp qword [esp + 0x20]
call fcn.00448340
mov eax, dword [eax]
call fcn.00469ce0
fcomp qword [esp + 0x20]
fnstsw ax
test ah, 5
jp case.default.0x46d271
mov esi, dword [esp + 0x1ac]
mov ecx, dword [esi + 0x4cc]
imul ecx, dword [esi + 0x4c8]
mov eax, dword [esp + 0x18]
xor edx, edx
div ecx
push 1
push edx
push eax
mov eax, dword [esp + 0x1bc]
push eax
push esi
call fcn.0046c9c0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x198
ret 0xc