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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4a59ab
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x16c
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
mov dword [esp + 0x10], eax
mov eax, 0x7fff
mov word [esp + 4], ax
mov word [esp + 6], ax
push ebx
mov eax, 0xffff8001
push esi
push edi
mov dword [esp + 0x20], ecx
mov word [esp + 0x14], ax
mov word [esp + 0x16], ax
mov edx, dword [ebp + 8]
xor edi, edi
push edx
lea ecx, [esp + 0xa0]
mov dword [esp + 0x184], edi
call fcn.0040f9a0
fld dword [ebp + 0xc]
sub esp, 8
lea edx, [esp + 0xe0]
fstp qword [esp + 0x2c]
fld dword [ebp + 0x10]
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x2c]
fstp qword [esp]
push eax
push ecx
push 0x4c2538
push edx
mov dword [esp + 0x7c], edi
mov dword [esp + 0x98], edi
mov dword [esp + 0x60], edi
mov dword [esp + 0x44], edi
call dword [sym.imp.MSVCRT.dll_sprintf]
mov ecx, dword [esp + 0xbc]
add esp, 0x18
cmp ecx, edi
lea ebx, [esp + eax + 0xd8]
je 0x464977
mov dword [esp + 0xb0], ecx
jmp 0x46497f
mov byte [esp + 0xad], 1
mov byte [esp + 0xb4], 0
mov eax, dword [esp + 0x9c]
cmp dword [eax], edi
je 0x464f00
cmp ecx, dword [esp + 0xb0]
jne 0x4649ae
mov al, byte [esp + 0xb4]
test al, al
jne 0x464f00
movsx edx, word [ecx + 0x14]
mov dword [esp + 0xc], edx
fild dword [esp + 0xc]
fcomp dword [ebp + 0xc]
fnstsw ax
test ah, 0x41
je 0x464ee8
movsx eax, word [ecx + 0x18]
mov dword [esp + 0xc], eax
fild dword [esp + 0xc]
fcomp dword [ebp + 0xc]
fnstsw ax
test ah, 1
jne 0x464ee8
movsx edx, word [ecx + 0x16]
fld dword [ebp + 0x10]
mov dword [esp + 0xc], edx
fild dword [esp + 0xc]
fcompp
fnstsw ax
test ah, 0x41
je 0x464ee8
movsx eax, word [ecx + 0x1a]
fld dword [esp + 0x20]
mov dword [esp + 0xc], eax
fild dword [esp + 0xc]
fcompp
fnstsw ax
test ah, 1
jne 0x464ee8
add ecx, 0x2c
mov dword [esp + 0x64], ecx
mov edx, dword [ecx]
mov dword [esp + 0x68], edx
mov eax, dword [ecx]
cmp eax, edi
je 0x464a32
mov eax, dword [eax]
jmp 0x464a34
xor eax, eax
mov esi, eax
cmp esi, edi
mov dword [esp + 0x6c], esi
je 0x464a42
mov eax, dword [esi]
jmp 0x464a44
xor eax, eax
cmp esi, edi
mov dword [esp + 0x70], eax
mov dword [esp + 0x78], edi
mov byte [esp + 0x74], 0
mov byte [esp + 0x75], 0
je 0x464a60
mov dword [esp + 0x78], esi
jmp 0x464a65
mov byte [esp + 0x75], 1
mov byte [esp + 0x7c], 0
cmp dword [ecx], edi
je 0x464ee8
cmp esi, dword [esp + 0x78]
jne 0x464a84
mov al, byte [esp + 0x7c]
test al, al
jne 0x464ee8
lea eax, [esp + 0xc8]
mov ecx, esi
push eax
call fcn.00405f40
mov ecx, eax
movsx edx, word [ecx]
mov dword [esp + 0xc], edx
fild dword [esp + 0xc]
fcomp dword [ebp + 0xc]
fnstsw ax
test ah, 0x41
je 0x464ed2
movsx eax, word [ecx + 4]
mov dword [esp + 0xc], eax
fild dword [esp + 0xc]
fcomp dword [ebp + 0xc]
fnstsw ax
test ah, 1
jne 0x464ed2
movsx edx, word [ecx + 2]
fld dword [esp + 0x20]
mov dword [esp + 0xc], edx
fild dword [esp + 0xc]
fcompp
fnstsw ax
test ah, 0x41
je 0x464ed2
movsx eax, word [ecx + 6]
fld dword [esp + 0x20]
mov dword [esp + 0xc], eax
fild dword [esp + 0xc]
fcompp
fnstsw ax
test ah, 1
jne 0x464ed2
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x24]
push ecx
push edx
lea ecx, [esi + 0x24]
call fcn.00437ae0
sub esp, 8
fstp qword [esp]
push 0x4c2528
push ebx
call dword [sym.imp.MSVCRT.dll_sprintf]
add ebx, eax
lea eax, [esi + 0x20]
mov dword [esp + 0x90], eax
add esp, 0x10
mov ecx, dword [eax]
mov dword [esp + 0x18], ebx
mov dword [esp + 0x84], ecx
mov ecx, dword [eax]
cmp ecx, edi
je 0x464b4c
mov ecx, dword [ecx]
jmp 0x464b4e
xor ecx, ecx
mov esi, ecx
cmp esi, edi
mov dword [esp + 0x88], esi
je 0x464b5f
mov ecx, dword [esi]
jmp 0x464b61
xor ecx, ecx
cmp esi, edi
mov dword [esp + 0x8c], ecx
mov dword [esp + 0x94], edi
mov byte [esp + 0x90], 0
mov byte [esp + 0x91], 0
je 0x464b8c
mov dword [esp + 0x94], esi
jmp 0x464b94
mov byte [esp + 0x91], 1
mov byte [esp + 0x98], 0
cmp dword [eax], edi
je 0x464ece
cmp esi, dword [esp + 0x94]
jne 0x464bbc
mov al, byte [esp + 0x98]
test al, al
jne 0x464ece
lea edx, [esp + 0xc0]
mov ecx, esi
push edx
call fcn.0043d1f0
mov ecx, dword [eax]
mov dword [esp + 0x10], ecx
mov edx, dword [eax + 4]
movsx ecx, word [esp + 0x10]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x14], edx
fild dword [esp + 0xc]
fcomp dword [ebp + 0xc]
fnstsw ax
test ah, 0x41
je 0x464eaf
mov bx, word [esp + 0x14]
movsx eax, bx
mov dword [esp + 0xc], eax
fild dword [esp + 0xc]
fcomp dword [ebp + 0xc]
fnstsw ax
test ah, 1
jne 0x464eaf
movsx edi, word [esp + 0x12]
fld dword [esp + 0x20]
mov dword [esp + 0xc], edi
fild dword [esp + 0xc]
fcompp
fnstsw ax
test ah, 0x41
je 0x464ead
mov dx, word [esp + 0x16]
fld dword [esp + 0x20]
movsx eax, dx
mov dword [esp + 0xc], eax
fild dword [esp + 0xc]
fcompp
fnstsw ax
test ah, 1
jne 0x464ead
movsx edx, dx
movsx eax, bx
push edx
push eax
push edi
mov edi, dword [esp + 0x24]
push ecx
push 0x4c2510
push edi
call dword [sym.imp.MSVCRT.dll_sprintf]
add edi, eax
mov ax, word [esi + 6]
mov cl, al
add esp, 0x18
shr cl, 6
test cl, 1
mov dword [esp + 0x18], edi
je 0x464dae
add esi, 0x10
mov dword [esp + 0x48], esi
mov edx, dword [esi]
mov dword [esp + 0x4c], edx
mov eax, dword [esi]
test eax, eax
je 0x464c9c
mov eax, dword [eax]
jmp 0x464c9e
xor eax, eax
mov ecx, eax
test ecx, ecx
mov dword [esp + 0x50], ecx
je 0x464cac
mov eax, dword [ecx]
jmp 0x464cae
xor eax, eax
test ecx, ecx
mov dword [esp + 0x54], eax
mov dword [esp + 0x5c], 0
mov byte [esp + 0x58], 0
mov byte [esp + 0x59], 0
je 0x464cce
mov dword [esp + 0x5c], ecx
jmp 0x464cd3
mov byte [esp + 0x59], 1
mov byte [esp + 0x60], 0
cmp dword [esi], 0
je 0x464ead
cmp ecx, dword [esp + 0x5c]
jne 0x464cf3
mov al, byte [esp + 0x60]
test al, al
jne 0x464ead
lea eax, [esp + 0xb8]
push eax
call fcn.00435490
mov ecx, dword [eax]
mov dword [esp + 0x10], ecx
mov edx, dword [eax + 4]
movsx ecx, word [esp + 0x10]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x14], edx
fild dword [esp + 0xc]
fcomp dword [ebp + 0xc]
fnstsw ax
test ah, 0x41
je 0x464d98
mov di, word [esp + 0x14]
movsx eax, di
mov dword [esp + 0xc], eax
fild dword [esp + 0xc]
fcomp dword [ebp + 0xc]
fnstsw ax
test ah, 1
jne 0x464d98
movsx esi, word [esp + 0x12]
fld dword [esp + 0x20]
mov dword [esp + 0xc], esi
fild dword [esp + 0xc]
fcompp
fnstsw ax
test ah, 0x41
je 0x464d98
mov dx, word [esp + 0x16]
fld dword [esp + 0x20]
movsx eax, dx
mov dword [esp + 0xc], eax
fild dword [esp + 0xc]
fcompp
fnstsw ax
test ah, 1
jne 0x464d98
movsx edx, dx
movsx eax, di
push edx
push eax
push esi
mov esi, dword [esp + 0x24]
push ecx
push 0x4c24f8
push esi
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0x18
add esi, eax
mov dword [esp + 0x18], esi
lea ecx, [esp + 0x48]
call fcn.004403e0
mov ecx, dword [esp + 0x50]
mov esi, dword [esp + 0x48]
jmp 0x464cd8
shr al, 7
test al, 1
je 0x464dcb
push 0
push 2
push 0x4b4838
push 0x4dbf30
call fcn.00441210
add esp, 0x10
add esi, 0x10
mov dword [esp + 0x2c], esi
mov ecx, dword [esi]
mov dword [esp + 0x30], ecx
mov eax, dword [esi]
test eax, eax
je 0x464de2
mov eax, dword [eax]
jmp 0x464de4
xor eax, eax
mov ecx, eax
test ecx, ecx
mov dword [esp + 0x34], ecx
je 0x464df2
mov eax, dword [ecx]
jmp 0x464df4
xor eax, eax
test ecx, ecx
mov dword [esp + 0x38], eax
mov dword [esp + 0x40], 0
mov byte [esp + 0x3c], 0
mov byte [esp + 0x3d], 0
je 0x464e14
mov dword [esp + 0x40], ecx
jmp 0x464e19
mov byte [esp + 0x3d], 1
mov byte [esp + 0x44], 0
cmp dword [esi], 0
je 0x464ead
cmp ecx, dword [esp + 0x40]
jne 0x464e35
mov al, byte [esp + 0x44]
test al, al
jne 0x464ead
lea edx, [esp + 0xd0]
push edx
call fcn.0043b8f0
mov ecx, dword [eax]
mov dword [esp + 0x10], ecx
mov edx, dword [eax + 4]
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
push eax
push ecx
lea ecx, [esp + 0x18]
mov dword [esp + 0x1c], edx
call fcn.00412330
test al, al
je 0x464e97
movsx edx, word [esp + 0x16]
movsx eax, word [esp + 0x14]
movsx ecx, word [esp + 0x12]
mov esi, dword [esp + 0x18]
push edx
movsx edx, word [esp + 0x14]
push eax
push ecx
push edx
push 0x4c24e0
push esi
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0x18
add esi, eax
mov dword [esp + 0x18], esi
lea ecx, [esp + 0x2c]
call fcn.004403e0
mov ecx, dword [esp + 0x34]
mov esi, dword [esp + 0x2c]
jmp 0x464e1e
xor edi, edi
lea ecx, [esp + 0x80]
call fcn.004403e0
mov esi, dword [esp + 0x88]
mov eax, dword [esp + 0x80]
jmp 0x464b9c
mov ebx, dword [esp + 0x18]
lea ecx, [esp + 0x64]
call fcn.004403e0
mov esi, dword [esp + 0x6c]
mov ecx, dword [esp + 0x64]
jmp 0x464a6a
lea ecx, [esp + 0x9c]
call fcn.004403e0
mov ecx, dword [esp + 0xa4]
jmp 0x464987
mov ecx, dword [0x4dbf0c]
lea eax, [esp + 0xd8]
push eax
call fcn.0045ea70
mov ecx, dword [esp + 0x178]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret