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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x552bfb
mov eax, dword fs:[0]
push eax
sub esp, 0x160
mov eax, dword [0x57f7c4]
xor eax, esp
mov dword [esp + 0x158], eax
push ebx
push esi
push edi
mov eax, dword [0x57f7c4]
xor eax, esp
push eax
lea eax, [esp + 0x170]
mov dword fs:[0], eax
mov edi, ecx
mov edx, 1
cmp dword [edi + 0x1444], edx
je 0x465e12
xor ecx, ecx
mov dword [edi + 0x1478], 5
cmp dword [edi + 0x5958], ecx
jne 0x46554b
mov eax, dword [edi + 0x594c]
cmp eax, edx
jne 0x465539
mov dword [edi + 0x1478], edx
jmp 0x465551
cmp eax, 2
jne 0x465546
mov dword [edi + 0x1478], edx
jmp 0x465551
cmp eax, 3
jne 0x465551
mov dword [edi + 0x1478], ecx
mov dword [edi + 0x1444], edx
mov dword [edi + 0x1448], ecx
mov dword [edi + 0x1238], ecx
mov dword [edi + 0x123c], ecx
mov dword [edi + 0x1234], ecx
call fcn.00456610
lea ecx, [edi + 0x1634]
call fcn.00487030
call fcn.00456550
lea esi, [edi + 0x1590]
lea ebx, [esp + 0x48]
mov dword [esp + 0x38], esi
call fcn.004d0f00
test al, al
je 0x465bd3
cmp byte [esp + 0x50], 1
jne 0x465b37
lea esi, [esp + 0xdc]
call fcn.00467f60
mov eax, 0x303
mov word [esp + 0xdc], ax
mov eax, dword [esp + 0x54]
xor ecx, ecx
mov dword [esp + 0x133], eax
mov byte [esp + 0x137], 0
mov word [esp + 0x14c], cx
cmp eax, dword [edi + 0xdc]
jne 0x465654
lea eax, [edi + 0x184]
lea edx, [esp + 0x137]
sub edx, eax
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x4655f7
cmp byte [ebp + 0x10], cl
je 0x465af1
cmp dword [edi + 0x558c], 4
mov dword [edi + 0x1478], 0xffffffff
jne 0x46563f
mov edx, dword [edi + 0x5594]
mov ecx, dword [edi + 0xe0]
push edx
call fcn.0041c6e0
test eax, eax
je 0x465af1
push eax
push 4
jmp 0x465aea
cmp dword [edi + 0x55a4], 0
je 0x465af1
push edi
push 5
jmp 0x465aea
mov dword [esp + 0x10], eax
mov eax, dword [edi + 0xe0]
lea ecx, [esp + 0x10]
push ecx
lea esi, [eax + 0x64]
call fcn.00415480
mov esi, eax
mov dword [esp + 0x28], esi
test esi, esi
je 0x465af1
lea eax, [esi + 0x184]
lea edx, [esp + 0x137]
sub edx, eax
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x465688
cmp byte [ebp + 0x10], cl
je 0x4656e7
cmp dword [edi + 0x558c], 4
mov dword [edi + 0x1478], 0xffffffff
jne 0x4656d0
mov edx, dword [esi + 0x5594]
cmp edx, dword [edi + 0xdc]
jne 0x4656d0
mov eax, dword [edi + 0x5594]
cmp eax, dword [esi + 0xdc]
jne 0x4656d0
mov ecx, esi
push ecx
push 4
jmp 0x465aea
cmp dword [edi + 0x55a4], 0
je 0x465af1
mov edx, esi
push edx
push 5
jmp 0x465aea
mov eax, edi
call fcn.00489ee0
cmp eax, 3
jne 0x465adc
mov ebx, dword [esi + 0x17f4]
xor eax, eax
mov dword [esp + 0x1c], ebx
cmp ebx, eax
jne 0x46577d
movzx ecx, word [esi + 0x136]
mov eax, edi
call fcn.00465010
mov dword [esp + 0x10], eax
fild dword [esp + 0x10]
fmul qword [0x5741d8]
call fcn.005250c0
mov cl, byte [edi + 0x1441]
mov dword [esp + 0x10], eax
test cl, cl
je 0x465754
fild dword [esp + 0x10]
movzx eax, cl
mov dword [esp + 0x10], eax
fild dword [esp + 0x10]
fmul st(1)
fdiv qword [0x573f48]
faddp st(1)
call fcn.005250c0
test eax, eax
je 0x465764
mov ecx, dword [ebp + 0xc]
push 0
push eax
push ecx
call fcn.00465060
mov ecx, esi
mov esi, edi
call fcn.00467ee0
mov ecx, dword [esp + 0x28]
push ecx
push edi
call fcn.004670a0
jmp 0x465af1
mov dword [esp + 0x34], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], eax
mov dword [esp + 0x90], eax
mov dword [esp + 0x94], eax
mov dword [esp + 0x98], eax
mov dword [esp + 0x9c], eax
mov dword [esp + 0xa0], eax
mov dword [esp + 0xa4], eax
mov dword [esp + 0xa8], eax
mov dword [esp + 0xac], eax
mov dword [esp + 0xb0], eax
mov dword [esp + 0xb4], eax
mov dword [esp + 0xb8], eax
mov dword [esp + 0xbc], eax
mov dword [esp + 0xc0], eax
mov dword [esp + 0xc4], eax
mov dword [esp + 0xc8], eax
mov dword [esp + 0xcc], eax
mov dword [esp + 0xd0], eax
lea eax, [ebx + 0x118]
push eax
mov dword [esp + 0x24], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov al, byte [ebx + 0x114]
test al, al
jne 0x465979
mov esi, dword [ebx + 0x10]
xor eax, eax
cmp esi, eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x10], eax
jle 0x465a95
mov edx, ebx
add edx, 0x18
mov dword [esp + 0x18], edx
lea esp, [esp]
mov eax, dword [esp + 0x18]
mov ebx, dword [eax]
mov ecx, dword [esp + 0x28]
push 0x64
mov eax, ebx
call fcn.0046ad40
test al, al
je 0x465957
cmp esi, 0x1e
jle 0x4658a4
fld1
jmp 0x4658ab
fld qword [esi*8 + 0x581b10]
movzx esi, word [ebx + 0x136]
fstp qword [esp + 0x3c]
mov ecx, esi
mov eax, edi
call fcn.00465010
mov dword [esp + 0x14], eax
fild dword [esp + 0x14]
fmul qword [esp + 0x3c]
call fcn.005250c0
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x14], eax
mov eax, dword [ecx + 0x10c]
sub eax, esi
cmp eax, 7
jg 0x4658e9
fld1
jmp 0x4658ee
call fcn.0044e230
fimul dword [esp + 0x14]
call fcn.005250c0
mov cl, byte [edi + 0x1441]
mov dword [esp + 0x14], eax
test cl, cl
je 0x465923
fild dword [esp + 0x14]
movzx edx, cl
mov dword [esp + 0x14], edx
fild dword [esp + 0x14]
fmul st(1)
fdiv qword [0x573f48]
faddp st(1)
call fcn.005250c0
test eax, eax
je 0x465935
push 0
push eax
mov eax, dword [ebp + 0xc]
push eax
mov esi, ebx
call fcn.00465060
cmp dword [esp + 0x2c], 0
jne 0x46594a
mov dword [esp + 0x34], ebx
mov dword [esp + 0x2c], 1
jmp 0x465957
mov eax, dword [esp + 0x30]
mov dword [esp + eax*4 + 0x5c], ebx
inc eax
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x1c]
mov esi, dword [ecx + 0x10]
add dword [esp + 0x18], 8
inc eax
cmp eax, esi
mov dword [esp + 0x10], eax
jl 0x465880
jmp 0x465a95
cmp al, 1
jne 0x465a95
xor eax, eax
mov edx, ebx
mov esi, dword [edx + 0x10]
cmp esi, eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x2c], eax
jle 0x465a95
mov eax, edx
add eax, 0x18
mov dword [esp + 0x14], eax
mov ecx, dword [esp + 0x14]
mov ebx, dword [ecx]
mov ecx, dword [esp + 0x28]
push 0x64
mov eax, ebx
call fcn.0046ad40
test al, al
je 0x465a78
cmp esi, 0x1e
jle 0x4659c5
fld1
jmp 0x4659cc
fld qword [esi*8 + 0x581b50]
movzx esi, word [ebx + 0x136]
fstp qword [esp + 0x3c]
mov ecx, esi
mov eax, edi
call fcn.00465010
mov dword [esp + 0x18], eax
fild dword [esp + 0x18]
fmul qword [esp + 0x3c]
call fcn.005250c0
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x18], eax
mov eax, dword [edx + 0x10c]
sub eax, esi
cmp eax, 7
jg 0x465a0a
fld1
jmp 0x465a0f
call fcn.0044e230
fimul dword [esp + 0x18]
call fcn.005250c0
mov cl, byte [edi + 0x1441]
mov dword [esp + 0x18], eax
test cl, cl
je 0x465a44
fild dword [esp + 0x18]
movzx eax, cl
mov dword [esp + 0x18], eax
fild dword [esp + 0x18]
fmul st(1)
fdiv qword [0x573f48]
faddp st(1)
call fcn.005250c0
test eax, eax
je 0x465a56
mov ecx, dword [ebp + 0xc]
push 0
push eax
push ecx
mov esi, ebx
call fcn.00465060
cmp dword [esp + 0x10], 0
jne 0x465a6b
mov dword [esp + 0x34], ebx
mov dword [esp + 0x10], 1
jmp 0x465a78
mov eax, dword [esp + 0x30]
mov dword [esp + eax*4 + 0x5c], ebx
inc eax
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x2c]
mov edx, dword [esp + 0x1c]
mov esi, dword [edx + 0x10]
add dword [esp + 0x14], 8
inc eax
cmp eax, esi
mov dword [esp + 0x2c], eax
jl 0x4659a1
mov eax, dword [esp + 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp dword [esp + 0x34], 0
je 0x465ab2
mov ecx, dword [esp + 0x34]
mov esi, edi
call fcn.00467ee0
mov ebx, dword [esp + 0x30]
xor esi, esi
test ebx, ebx
jle 0x465acf
lea esp, [esp]
mov ecx, dword [esp + esi*4 + 0x5c]
push edi
call fcn.00467ce0
inc esi
cmp esi, ebx
jl 0x465ac0
mov ecx, dword [esp + 0x28]
push ecx
push edi
call fcn.004670a0
jmp 0x465af1
mov edx, esi
push edx
mov dword [edi + 0x1478], 0xffffffff
push eax
mov ebx, edi
call fcn.00489f30
mov eax, dword [edi + 0x148]
mov ecx, dword [edi + 0x14c]
mov edx, dword [edi + 0x150]
mov dword [esp + 0x14e], eax
mov eax, dword [edi + 0x154]
mov dword [esp + 0x152], ecx
push 0x82
lea ecx, [esp + 0xe0]
mov dword [esp + 0x15a], edx
mov dword [esp + 0x15e], eax
push ecx
jmp 0x465bb7
lea esi, [esp + 0x5c]
call fcn.00467f60
xor ecx, ecx
xor eax, eax
mov edx, 0x301
mov word [esp + 0xb5], ax
mov eax, dword [edi + 0xe0]
mov word [esp + 0xb3], cx
mov byte [esp + 0xb7], cl
mov word [esp + 0x5c], dx
mov edx, dword [esp + 0x54]
lea ecx, [esp + 0x20]
push ecx
lea esi, [eax + 0xac]
mov dword [esp + 0x24], edx
call fcn.0041e1d0
test eax, eax
je 0x465bb0
mov dx, word [eax + 0x2a4]
mov word [esp + 0xb3], dx
mov eax, dword [eax + 0xd4]
add eax, 2
lea edx, [esp + 0xb7]
mov cl, byte [eax]
mov byte [edx], cl
inc eax
inc edx
test cl, cl
jne 0x465ba6
push 0x7b
lea eax, [esp + 0x60]
push eax
mov ecx, dword [0x587974]
call fcn.004ed210
movzx ecx, byte [esp + 0x50]
mov ebx, dword [esp + 0x54]
mov dword [ebp + 8], ecx
jmp 0x465d2c
cmp dword [ebp + 8], 1
jne 0x465c9f
lea esi, [esp + 0xdc]
call fcn.00467f60
mov eax, dword [esp + 0x54]
mov ebx, dword [ebp + 0xc]
mov edx, 0x303
mov word [esp + 0xdc], dx
mov dword [esp + 0x133], eax
mov eax, dword [edi + 0xe0]
lea edx, [esp + 0x20]
xor ecx, ecx
push edx
lea esi, [eax + 0x64]
mov byte [esp + 0x13b], 0
mov word [esp + 0x150], cx
mov dword [esp + 0x24], ebx
call fcn.00415480
test eax, eax
je 0x465c4a
lea ecx, [eax + 0x184]
lea esi, [esp + 0x137]
sub esi, ecx
mov dl, byte [ecx]
mov byte [ecx + esi], dl
inc ecx
test dl, dl
jne 0x465c40
cmp ebx, dword [edi + 0xdc]
je 0x465c59
push eax
push edi
call fcn.004670a0
mov eax, dword [edi + 0x148]
mov ecx, dword [edi + 0x14c]
mov edx, dword [edi + 0x150]
mov dword [esp + 0x14e], eax
mov eax, dword [edi + 0x154]
mov dword [esp + 0x152], ecx
push 0x82
lea ecx, [esp + 0xe0]
mov dword [esp + 0x15a], edx
mov dword [esp + 0x15e], eax
push ecx
jmp 0x465d21
lea esi, [esp + 0x5c]
call fcn.00467f60
mov ebx, dword [ebp + 0xc]
xor eax, eax
mov edx, 0x301
mov word [esp + 0x5c], dx
mov word [esp + 0xb5], ax
mov eax, dword [edi + 0xe0]
xor ecx, ecx
lea edx, [esp + 0x20]
push edx
lea esi, [eax + 0xac]
mov word [esp + 0xb7], cx
mov byte [esp + 0xbb], cl
mov dword [esp + 0x24], ebx
call fcn.0041e1d0
test eax, eax
je 0x465d1a
mov cx, word [eax + 0x2a4]
mov word [esp + 0xb3], cx
mov eax, dword [eax + 0xd4]
add eax, 2
lea edx, [esp + 0xb7]
lea ecx, [ecx]
mov cl, byte [eax]
mov byte [edx], cl
inc eax
inc edx
test cl, cl
jne 0x465d10
push 0x7b
lea edx, [esp + 0x60]
push edx
mov ecx, dword [0x587974]
call fcn.004ed210
push edi
call fcn.0048a1d0
mov eax, edi
call fcn.004983e0
mov esi, dword [esp + 0x38]
call fcn.004d0db0
call fcn.004652f0
xor esi, esi
mov dword [edi + 0x58b8], esi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
add eax, 0x2d2a8
mov dword [edi + 0x1470], eax
mov eax, dword [ebp + 8]
push ebx
push eax
mov ecx, edi
mov dword [edi + 0x1474], esi
call fcn.00465290
mov esi, dword [edi + 0x17f4]
mov dword [esp + 0x38], esi
test esi, esi
je 0x465da3
lea ebx, [esi + 0x118]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [edi + 0x17f4], 0
jne 0x465da3
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor esi, esi
mov dword [esp + 0x38], esi
mov dword [esp + 0x178], 0
mov ebx, dword [edi + 0x17f4]
test ebx, ebx
je 0x465e01
mov al, byte [ebx + 0x114]
test al, al
jne 0x465dce
mov ecx, 0xc06
mov word [esp + 0x20], cx
jmp 0x465ddc
cmp al, 1
jne 0x465ddc
mov edx, 0xc11
mov word [esp + 0x20], dx
mov eax, dword [edi + 0xdc]
mov dword [esp + 0x22], eax
push edi
mov eax, 6
lea ecx, [esp + 0x24]
call fcn.0044ea00
mov eax, dword [edi + 0x17f4]
push edi
call fcn.00450690
test esi, esi
je 0x465e12
add esi, 0x118
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [esp + 0x170]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x158]
xor ecx, esp
call fcn.0051a8be
mov esp, ebp
pop ebp
ret 0xc