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

Disassembly:
mov ecx, dword [0x592b24]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0x78]
cmp eax, dword [ecx + 8]
jbe 0x46be23
sub esp, 0xf8
mov edx, dword [esp + 0x118]
cmp edx, 0x20
jne 0x46b5db
movsd xmm0, qword [esp + 0x108]
cvtsd2ss xmm0, xmm0
movss dword [esp + 0x48], xmm0
mov ebx, dword [esp + 0x48]
xor ebp, ebp
lea eax, [0x563278]
jmp 0x46b60a
cmp edx, 0x40
jne 0x46be0a
movsd xmm0, qword [esp + 0x108]
movsd qword [esp + 0x98], xmm0
mov ebx, dword [esp + 0x98]
mov ebp, dword [esp + 0x9c]
lea eax, [0x563288]
mov dword [esp + 0xdc], eax
mov dword [esp + 0x54], ebx
mov dword [esp + 0x58], ebp
mov ecx, dword [eax + 4]
mov dword [esp + 0x94], ecx
mov esi, dword [eax]
lea edi, [esi + ecx - 0x20]
mov ecx, edi
shr ebp, cl
mov dword [esp + 0x90], ebp
neg ecx
mov dword [esp + 0x8c], ecx
mov edx, dword [esp + 0x58]
shl edx, cl
mov dword [esp + 0x88], edx
mov edx, dword [esp + 0x94]
lea eax, [edx + esi]
mov ecx, eax
mov ebp, dword [esp + 0x58]
shr ebp, cl
mov dword [esp + 0x84], ebp
shr ebx, cl
mov dword [esp + 0x80], ebx
mov ecx, esi
mov ebp, dword [esp + 0x54]
shr ebp, cl
mov dword [esp + 0x7c], ebp
lea ebp, [ecx - 0x20]
mov dword [esp + 0x78], ebp
mov ecx, ebp
mov ebx, dword [esp + 0x58]
shr ebx, cl
mov dword [esp + 0x74], ebx
neg ecx
mov dword [esp + 0x70], ecx
mov ebx, dword [esp + 0x58]
shl ebx, cl
mov dword [esp + 0x6c], ebx
mov ecx, edx
mov ebx, 1
shl ebx, cl
mov dword [esp + 0x68], ebx
mov ecx, dword [esp + 0x70]
mov ebx, 1
shr ebx, cl
mov dword [esp + 0x64], ebx
mov ecx, ebp
mov ebx, 1
shl ebx, cl
mov ecx, esi
mov edx, 1
shl edx, cl
mov dword [esp + 0x60], edx
cmp edi, 0x20
sbb edi, edi
mov edx, dword [esp + 0x90]
and edi, edx
cmp eax, 0x20
sbb edx, edx
mov dword [esp + 0x90], edx
mov eax, ebx
mov ebx, dword [esp + 0x80]
and ebx, edx
mov ebp, dword [esp + 0x8c]
cmp ebp, 0x20
sbb ebp, ebp
mov edx, dword [esp + 0x88]
and ebp, edx
or ebx, ebp
or edi, ebx
mov edx, dword [esp + 0x84]
mov ebx, dword [esp + 0x90]
test ebx, edx
setne dl
test edi, edi
setne bl
or edx, ebx
mov ebx, dword [esp + 0x78]
cmp ebx, 0x20
sbb ebx, ebx
mov ebp, dword [esp + 0x74]
and ebp, ebx
and eax, ebx
mov ebx, dword [esp + 0x94]
cmp ebx, 0x20
sbb ebx, ebx
mov edi, edx
mov edx, dword [esp + 0x68]
and ebx, edx
lea edx, [ebx - 1]
cmp ecx, 0x20
sbb ebx, ebx
mov ecx, edx
mov edx, dword [esp + 0x7c]
and edx, ebx
mov esi, ebp
mov ebp, dword [esp + 0x60]
and ebp, ebx
mov dword [esp + 0x90], ebp
mov ebx, dword [esp + 0x70]
cmp ebx, 0x20
sbb ebx, ebx
mov ebp, dword [esp + 0x6c]
and ebp, ebx
or edx, ebp
or esi, edx
and esi, ecx
mov edx, dword [esp + 0x64]
and edx, ebx
or eax, edx
mov edx, dword [esp + 0x90]
add edx, 0xffffffff
mov ebp, eax
adc eax, 0xffffffff
mov ebx, dword [esp + 0x54]
and edx, ebx
mov ebx, dword [esp + 0x58]
and eax, ebx
cmp esi, ecx
jne 0x46b8a0
test eax, eax
setne al
test edx, edx
setne cl
or eax, ecx
test al, al
je 0x46b7c6
mov eax, 3
lea ecx, [0x4c89bf]
jmp 0x46b7e4
xchg edi, eax
test al, al
xchg edi, eax
je 0x46b7d9
mov eax, 4
lea ecx, [0x4c8afb]
jmp 0x46b7e4
mov eax, 4
lea ecx, [0x4c8aff]
mov edx, dword [esp + 0x100]
lea ebx, [edx + eax]
mov ebp, dword [esp + 0x104]
cmp ebp, ebx
jb 0x46b802
mov esi, dword [esp + 0xfc]
jmp 0x46b854
mov dword [esp + 0xd8], ecx
mov dword [esp + 0x3c], eax
mov ecx, dword [esp + 0xfc]
mov dword [esp], ecx
mov dword [esp + 4], ebx
mov dword [esp + 8], ebp
mov dword [esp + 0xc], eax
lea ecx, [0x4b7460]
mov dword [esp + 0x10], ecx
call fcn.0044c110
mov eax, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x100]
mov esi, eax
mov ebp, ecx
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0xd8]
mov dword [esp + 0x68], ebx
mov dword [esp + 0xe0], esi
mov dword [esp + 0x5c], ebp
add edx, esi
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call fcn.004657a0
mov eax, dword [esp + 0xe0]
mov dword [esp + 0x11c], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 0x120], eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x124], eax
add esp, 0xf8
ret
test esi, esi
jne 0x46b8ab
mov esi, 1
jmp 0x46b8b6
or eax, ebp
mov ecx, dword [esp + 0x90]
or edx, ecx
mov ecx, dword [esp + 0xdc]
add esi, dword [ecx + 8]
movzx ebx, byte [esp + 0x110]
cmp bl, 0x62
je 0x46bda7
cmp bl, 0x78
je 0x46b8db
cmp bl, 0x58
jne 0x46b94d
mov ebp, dword [esp + 0xfc]
mov dword [esp], ebp
mov ebp, dword [esp + 0x100]
mov dword [esp + 4], ebp
mov ebp, dword [esp + 0x104]
mov dword [esp + 8], ebp
mov ebp, dword [esp + 0x114]
mov dword [esp + 0xc], ebp
mov byte [esp + 0x10], bl
xchg edi, eax
mov byte [esp + 0x11], al
xchg edi, eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], edx
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], ecx
call fcn.0046d1f0
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x11c], eax
mov dword [esp + 0x120], ecx
mov dword [esp + 0x124], edx
add esp, 0xf8
ret
movzx ebp, byte [0x5631e0]
xchg ebp, eax
test al, al
xchg ebp, eax
je 0x46bd35
xchg edi, eax
mov byte [esp + 0x3b], al
xchg edi, eax
mov dword [esp + 0x44], eax
mov ebp, edi
lea edi, [esp + 0xe4]
xor eax, eax
call fcn.004650ab
mov ecx, dword [esp + 0x114]
test ecx, ecx
jl 0x46bba9
cmp bl, 0x66
je 0x46bb22
mov dword [esp + 0x40], edx
cmp bl, 0x47
ja 0x46b9b5
cmp bl, 0x45
je 0x46b9ba
cmp bl, 0x47
jne 0x46b9a7
test ecx, ecx
jmp 0x46b9da
mov edi, edx
mov edx, dword [esp + 0x118]
cmp edx, 0x20
jmp 0x46ba0f
cmp bl, 0x65
jne 0x46b9d3
lea edi, [ecx + 1]
mov edx, dword [esp + 0x118]
cmp edx, 0x20
mov edx, edi
mov dword [esp + 0x68], ecx
mov edi, dword [esp + 0x40]
jmp 0x46ba18
cmp bl, 0x67
jne 0x46ba03
test ecx, ecx
jne 0x46b9ef
mov edi, edx
mov edx, dword [esp + 0x118]
cmp edx, 0x20
mov edx, 1
jmp 0x46b9fd
mov edi, edx
mov edx, dword [esp + 0x118]
cmp edx, 0x20
mov edx, ecx
mov dword [esp + 0x68], edx
jmp 0x46ba18
mov edi, edx
mov edx, dword [esp + 0x118]
cmp edx, 0x20
mov edx, 1
mov dword [esp + 0x68], ecx
mov dword [esp + 0x4c], esi
lea edi, [esp + 0xa0]
call fcn.004650aa
jne 0x46ba95
cmp edx, 9
jg 0x46ba95
lea eax, [esp + 0xa0]
mov dword [esp + 0xe4], eax
mov dword [esp + 0xe8], 0x18
mov dword [esp + 0xec], 0x18
mov eax, dword [esp + 0xdc]
mov ecx, dword [eax]
lea ebx, [esp + 0xe4]
mov dword [esp], ebx
mov ebx, dword [esp + 0x40]
mov dword [esp + 4], ebx
sub esi, ecx
mov dword [esp + 8], esi
mov dword [esp + 0xc], edx
call fcn.0046dac0
movzx ebx, byte [esp + 0x110]
movzx ebp, byte [esp + 0x3b]
mov esi, dword [esp + 0x4c]
mov eax, 1
jmp 0x46bb0f
cmp edx, 0x12
jg 0x46bb0c
mov dword [esp + 0x50], edx
lea eax, [esp + 0xa0]
mov dword [esp + 0xe4], eax
mov dword [esp + 0xe8], 0x18
mov dword [esp + 0xec], 0x18
mov eax, dword [esp + 0xdc]
mov ecx, dword [eax]
lea ebx, [esp + 0xe4]
mov dword [esp], ebx
mov ebx, dword [esp + 0x44]
mov dword [esp + 8], ebx
mov ebp, dword [esp + 0x40]
mov dword [esp + 4], ebp
sub esi, ecx
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], edx
call fcn.0046de20
mov eax, dword [esp + 0x50]
cmp eax, 0x12
movzx ebx, byte [esp + 0x110]
movzx ebp, byte [esp + 0x3b]
mov esi, dword [esp + 0x4c]
setle al
mov edx, dword [esp + 0x40]
mov edi, eax
mov ecx, dword [esp + 0x68]
mov eax, dword [esp + 0x114]
jmp 0x46bb26
mov eax, ecx
xor edi, edi
xchg edi, eax
test al, al
xchg edi, eax
je 0x46bb33
test eax, eax
jmp 0x46bcbb
mov eax, dword [esp + 0xfc]
mov dword [esp], eax
mov eax, dword [esp + 0x100]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x104]
mov dword [esp + 8], eax
mov dword [esp + 0xc], ecx
mov byte [esp + 0x10], bl
xchg ebp, eax
mov byte [esp + 0x11], al
xchg ebp, eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], edx
mov dword [esp + 0x1c], esi
mov eax, dword [esp + 0xdc]
mov dword [esp + 0x20], eax
call fcn.0046be30
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x11c], eax
mov dword [esp + 0x120], ecx
mov dword [esp + 0x124], edx
add esp, 0xf8
ret
lea edi, [esp + 0xb8]
call fcn.004650a8
lea ecx, [esp + 0xb8]
mov dword [esp + 0xe4], ecx
mov dword [esp + 0xe8], 0x20
mov dword [esp + 0xec], 0x20
mov ecx, dword [esp + 0xdc]
mov ebx, dword [ecx]
lea ebp, [esp + 0xe4]
mov dword [esp], ebp
mov ebp, dword [esp + 0x44]
mov dword [esp + 8], ebp
mov dword [esp + 4], edx
sub esi, ebx
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], ecx
call fcn.0046e8f0
movzx ecx, byte [esp + 0x110]
cmp cl, 0x47
ja 0x46bc34
cmp cl, 0x45
je 0x46bc39
cmp cl, 0x47
jne 0x46bc29
mov eax, dword [esp + 0x114]
test eax, eax
jmp 0x46bca0
mov eax, dword [esp + 0x114]
test eax, eax
jmp 0x46bcb2
cmp cl, 0x65
jne 0x46bc60
mov eax, dword [esp + 0xf0]
dec eax
test eax, eax
jle 0x46bc50
mov edx, dword [esp + 0x114]
test edx, edx
jmp 0x46bcb2
mov edx, dword [esp + 0x114]
test edx, edx
mov eax, 0
jmp 0x46bcb2
cmp cl, 0x66
jne 0x46bc92
mov eax, dword [esp + 0xf0]
sub eax, dword [esp + 0xf4]
test eax, eax
jle 0x46bc82
mov edx, dword [esp + 0x114]
test edx, edx
jmp 0x46bcb2
mov edx, dword [esp + 0x114]
test edx, edx
mov eax, 0
jmp 0x46bcb2
cmp cl, 0x67
jne 0x46bca9
mov eax, dword [esp + 0x114]
test eax, eax
mov eax, dword [esp + 0xf0]
jmp 0x46bcb2
mov eax, dword [esp + 0x114]
test eax, eax
mov ebx, ecx
movzx ebp, byte [esp + 0x3b]
mov ecx, eax
mov dword [esp + 0x68], ecx
setl al
mov edx, dword [esp + 0xfc]
mov dword [esp], edx
mov edx, dword [esp + 0x100]
mov dword [esp + 4], edx
mov edx, dword [esp + 0x104]
mov dword [esp + 8], edx
mov byte [esp + 0xc], al
xchg ebp, eax
mov byte [esp + 0xd], al
xchg ebp, eax
lea edi, [esp + 0x10]
lea esi, [esp + 0xe4]
call fcn.0046558e
mov eax, dword [esp + 0x68]
mov dword [esp + 0x24], eax
mov byte [esp + 0x28], bl
call fcn.0046c170
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x34]
mov dword [esp + 0x11c], eax
mov dword [esp + 0x120], ecx
mov dword [esp + 0x124], edx
add esp, 0xf8
ret
mov ebp, dword [esp + 0xfc]
mov dword [esp], ebp
mov ebp, dword [esp + 0x100]
mov dword [esp + 4], ebp
mov ebp, dword [esp + 0x104]
mov dword [esp + 8], ebp
mov ebp, dword [esp + 0x114]
mov dword [esp + 0xc], ebp
mov byte [esp + 0x10], bl
xchg edi, eax
mov byte [esp + 0x11], al
xchg edi, eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], edx
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], ecx
call fcn.0046be30
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x11c], eax
mov dword [esp + 0x120], ecx
mov dword [esp + 0x124], edx
add esp, 0xf8
ret
mov ebx, dword [esp + 0xfc]
mov dword [esp], ebx
mov ebx, dword [esp + 0x100]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0x104]
mov dword [esp + 8], ebx
xchg edi, eax
mov byte [esp + 0xc], al
xchg edi, eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], edx
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], ecx
call fcn.0046d050
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x28]
mov dword [esp + 0x11c], eax
mov dword [esp + 0x120], ecx
mov dword [esp + 0x124], edx
add esp, 0xf8
ret
lea eax, [0x4b7120]
mov dword [esp], eax
lea eax, [0x4ecb48]
mov dword [esp + 4], eax
call fcn.00436a70
nop
call fcn.00463af0
jmp fcn.0046b590