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

Disassembly:
mov ecx, dword [0x5caff0]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0x78]
cmp eax, dword [ecx + 8]
jbe 0x46e7f3
sub esp, 0xf8
mov edx, dword [esp + 0x118]
cmp edx, 0x20
jne 0x46dfab
movsd xmm0, qword [esp + 0x108]
cvtsd2ss xmm0, xmm0
movss dword [esp + 0x48], xmm0
mov ebx, dword [esp + 0x48]
xor ebp, ebp
lea eax, [0x583390]
jmp 0x46dfda
cmp edx, 0x40
jne 0x46e7da
movsd xmm0, qword [esp + 0x108]
movsd qword [esp + 0x98], xmm0
mov ebx, dword [esp + 0x98]
mov ebp, dword [esp + 0x9c]
lea eax, [0x5833a0]
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 0x46e270
test eax, eax
setne al
test edx, edx
setne cl
or eax, ecx
test al, al
je 0x46e196
mov eax, 3
lea ecx, [0x4deb27]
jmp 0x46e1b4
xchg edi, eax
test al, al
xchg edi, eax
je 0x46e1a9
mov eax, 4
lea ecx, [0x4dec5c]
jmp 0x46e1b4
mov eax, 4
lea ecx, [0x4dec60]
mov edx, dword [esp + 0x100]
lea ebx, [edx + eax]
mov ebp, dword [esp + 0x104]
cmp ebp, ebx
jb 0x46e1d2
mov esi, dword [esp + 0xfc]
jmp 0x46e224
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, [0x4cb9c0]
mov dword [esp + 0x10], ecx
call fcn.0044ad40
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.00463b00
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 0x46e27b
mov esi, 1
jmp 0x46e286
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 0x46e777
cmp bl, 0x78
je 0x46e2ab
cmp bl, 0x58
jne 0x46e31d
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.0046fbc0
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 [0x583260]
xchg ebp, eax
test al, al
xchg ebp, eax
je 0x46e705
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.0046340b
mov ecx, dword [esp + 0x114]
test ecx, ecx
jl 0x46e579
cmp bl, 0x66
je 0x46e4f2
mov dword [esp + 0x40], edx
cmp bl, 0x47
ja 0x46e385
cmp bl, 0x45
je 0x46e38a
cmp bl, 0x47
jne 0x46e377
test ecx, ecx
jmp 0x46e3aa
mov edi, edx
mov edx, dword [esp + 0x118]
cmp edx, 0x20
jmp 0x46e3df
cmp bl, 0x65
jne 0x46e3a3
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 0x46e3e8
cmp bl, 0x67
jne 0x46e3d3
test ecx, ecx
jne 0x46e3bf
mov edi, edx
mov edx, dword [esp + 0x118]
cmp edx, 0x20
mov edx, 1
jmp 0x46e3cd
mov edi, edx
mov edx, dword [esp + 0x118]
cmp edx, 0x20
mov edx, ecx
mov dword [esp + 0x68], edx
jmp 0x46e3e8
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.0046340a
jne 0x46e465
cmp edx, 9
jg 0x46e465
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.00470490
movzx ebx, byte [esp + 0x110]
movzx ebp, byte [esp + 0x3b]
mov esi, dword [esp + 0x4c]
mov eax, 1
jmp 0x46e4df
cmp edx, 0x12
jg 0x46e4dc
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.004707f0
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 0x46e4f6
mov eax, ecx
xor edi, edi
xchg edi, eax
test al, al
xchg edi, eax
je 0x46e503
test eax, eax
jmp 0x46e68b
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.0046e800
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.00463408
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.004712c0
movzx ecx, byte [esp + 0x110]
cmp cl, 0x47
ja 0x46e604
cmp cl, 0x45
je 0x46e609
cmp cl, 0x47
jne 0x46e5f9
mov eax, dword [esp + 0x114]
test eax, eax
jmp 0x46e670
mov eax, dword [esp + 0x114]
test eax, eax
jmp 0x46e682
cmp cl, 0x65
jne 0x46e630
mov eax, dword [esp + 0xf0]
dec eax
test eax, eax
jle 0x46e620
mov edx, dword [esp + 0x114]
test edx, edx
jmp 0x46e682
mov edx, dword [esp + 0x114]
test edx, edx
mov eax, 0
jmp 0x46e682
cmp cl, 0x66
jne 0x46e662
mov eax, dword [esp + 0xf0]
sub eax, dword [esp + 0xf4]
test eax, eax
jle 0x46e652
mov edx, dword [esp + 0x114]
test edx, edx
jmp 0x46e682
mov edx, dword [esp + 0x114]
test edx, edx
mov eax, 0
jmp 0x46e682
cmp cl, 0x67
jne 0x46e679
mov eax, dword [esp + 0x114]
test eax, eax
mov eax, dword [esp + 0xf0]
jmp 0x46e682
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.004638ee
mov eax, dword [esp + 0x68]
mov dword [esp + 0x24], eax
mov byte [esp + 0x28], bl
call fcn.0046eb40
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.0046e800
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.0046fa20
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, [0x4cb680]
mov dword [esp], eax
lea eax, [0x506270]
mov dword [esp + 4], eax
call fcn.004366b0
nop
call fcn.00461dc0
jmp fcn.0046df60