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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x228
push esi
mov esi, dword [ebp + 8]
push edi
xor edi, edi
mov dword [esp + 0x64], edx
mov dword [esp + 0x34], ecx
movsx eax, byte [esi]
test eax, eax
je case.default.0x4866aa
movsd xmm0, qword [0x526de0]
xorps xmm2, xmm2
movsd xmm3, qword [0x524978]
movsd xmm7, qword [0x5249d8]
movsd xmm5, qword [0x5249b0]
movsd xmm6, qword [0x524970]
movsd xmm4, qword [0x524990]
mov ecx, dword [ebp + 0xc]
movsd qword [esp + 0xa0], xmm0
movsd xmm0, qword [0x524980]
movsd qword [esp + 0xb8], xmm0
movsd xmm0, qword [0x524968]
movsd qword [esp + 0xc0], xmm0
movsd xmm0, qword [0x524988]
movsd qword [esp + 0x68], xmm2
movsd qword [esp + 0x78], xmm3
movsd qword [esp + 0x98], xmm7
movsd qword [esp + 0x88], xmm5
movsd qword [esp + 0x90], xmm6
movsd qword [esp + 0x80], xmm4
movsd qword [esp + 0xc8], xmm0
mov dword [esp + 0x18], ecx
nop dword [eax]
mov dword [esp + 0x38], ecx
cmp eax, 0x25
je 0x48644d
movsx eax, byte [esi + 1]
mov edi, esi
inc esi
mov dword [esp + 0x20], eax
mov ecx, 1
cmp eax, 0x25
je 0x486403
nop
test eax, eax
je 0x486403
movsx eax, byte [esi + 1]
inc esi
inc ecx
mov dword [esp + 0x20], eax
cmp eax, 0x25
jne 0x4863f0
push ecx
mov ecx, dword [esp + 0x38]
mov edx, edi
call fcn.004871a0
add esp, 4
cmp dword [esp + 0x20], 0
je case.default.0x4866aa
movsd xmm3, qword [esp + 0x78]
movsd xmm4, qword [esp + 0x80]
movsd xmm5, qword [esp + 0x88]
movsd xmm6, qword [esp + 0x90]
movsd xmm7, qword [esp + 0x98]
movsd xmm2, qword [esp + 0x68]
movsx ecx, byte [esi + 1]
inc esi
test ecx, ecx
je 0x48710c
mov byte [esp + 0x33], 0
mov byte [esp + 0x32], 0
mov byte [esp + 0x1f], 0
mov byte [esp + 0xe], 0
mov byte [esp + 0x31], 0
mov byte [esp + 0x54], 0
lea eax, [ecx - 0x20]
cmp eax, 0x10
ja case.0x486487.34
movzx eax, byte [eax + 0x487144]
jmp dword [eax*4 + 0x487128]
mov byte [esp + 0x54], 1
jmp 0x4864b6
mov byte [esp + 0x31], 1
jmp 0x4864b6
mov byte [esp + 0xe], 1
jmp 0x4864b6
mov byte [esp + 0x1f], 1
jmp 0x4864b6
mov byte [esp + 0x32], 1
jmp 0x4864b6
mov byte [esp + 0x33], 1
movsx ecx, byte [esi + 1]
inc esi
test ecx, ecx
jne 0x486478
xor edx, edx
mov dword [esp + 0x3c], esi
mov dword [esp + 0x24], edx
cmp ecx, 0x2a
jne 0x4864fd
mov eax, dword [esp + 0x38]
mov edx, 1
add dword [esp + 0x18], 4
mov ecx, dword [esp + 0x54]
movzx ecx, cl
mov eax, dword [eax]
test eax, eax
cmovs ecx, edx
inc esi
mov edx, eax
mov dword [esp + 0x54], ecx
neg edx
test eax, eax
movsx ecx, byte [esi]
cmovns edx, eax
jmp 0x486519
cmp ecx, 0x30
jl 0x48652f
cmp ecx, 0x39
ja 0x486519
lea edx, [edx + edx*4]
inc esi
lea edx, [edx - 0x18]
lea edx, [ecx + edx*2]
movsx ecx, byte [esi]
cmp ecx, 0x30
jge 0x486502
cmp edx, 0x154
mov dword [esp + 0x3c], esi
mov eax, 0x154
cmovg edx, eax
mov dword [esp + 0x24], edx
mov eax, dword [esp + 0x18]
cmp ecx, 0x2e
jne 0x4865f7
movsx ecx, byte [esi + 1]
inc esi
xor edx, edx
mov dword [esp + 0x3c], esi
mov dword [esp + 0x28], edx
cmp ecx, 0x2a
jne 0x48656f
mov eax, dword [eax]
inc esi
add dword [esp + 0x18], 4
cdq
xor eax, edx
mov dword [esp + 0x3c], esi
movsx ecx, byte [esi]
sub eax, edx
mov dword [esp + 0x28], eax
mov edx, eax
jmp 0x4865fe
cmp ecx, 0x30
jl 0x4865fe
nop dword [eax + eax]
cmp ecx, 0x39
ja 0x4865fe
inc esi
lea edx, [edx + edx*4]
lea edx, [edx - 0x18]
mov dword [esp + 0x3c], esi
lea edx, [ecx + edx*2]
mov dword [esp + 0x28], edx
movsx ecx, byte [esi]
cmp ecx, 0x30
jge 0x486580
mov eax, dword [esp + 0x18]
mov dword [esp + 0x10], eax
mov byte [esp + 0x1e], 0
mov byte [esp + 0x17], 0
xor eax, eax
mov dword [esp + 0x40], 0x51eb08
mov byte [esp + 0xf], 0
mov esi, 0x51eb08
mov dword [esp + 0x38], eax
nop dword [eax]
movsx eax, byte [esi]
cmp ecx, eax
je 0x48664f
inc dword [esp + 0x38]
add esi, 6
cmp esi, 0x51eb92
jl 0x4865d0
mov cl, byte [esp + 0xf]
mov esi, dword [esp + 0x40]
jmp 0x486679
or edx, 0xffffffff
mov dword [esp + 0x28], edx
mov eax, dword [esp + 0x18]
mov dword [esp + 0x10], eax
mov dword [esp + 0x20], esi
cmp ecx, 0x6c
jne 0x4865ab
mov al, byte [esi + 1]
inc esi
mov byte [esp + 0x17], 1
mov dword [esp + 0x3c], esi
cmp al, cl
jne 0x48663e
mov eax, dword [esp + 0x20]
add eax, 2
mov dword [esp + 0x3c], eax
mov cl, byte [eax]
mov al, byte [esi]
cmp al, 0x6c
movsx ecx, cl
sete byte [esp + 0x1e]
jmp 0x4865b5
cmp al, 0x6c
mov cl, al
movsx ecx, cl
sete byte [esp + 0x1e]
jmp 0x4865b5
cmp dword [esp + 0x64], 0
mov eax, dword [esp + 0x38]
lea eax, [eax + eax*2]
lea esi, [eax*2 + 0x51eb08]
mov dword [esp + 0x40], esi
jne 0x486672
test byte [esi + 2], 2
jne case.default.0x4866aa
mov cl, byte [esi + 3]
mov byte [esp + 0xf], cl
mov byte [esp + 0x47], cl
mov dword [esp + 0x38], 0
cmp edx, 0x136
jle 0x48669d
test byte [esi + 2], 4
mov eax, 0x136
cmove edx, eax
mov dword [esp + 0x28], edx
movzx eax, cl
dec eax
cmp eax, 0xf
ja case.default.0x4866aa
jmp dword [eax*4 + 0x487158]
xor al, al
mov cl, 1
jmp 0x4866bf
mov al, byte [esp + 0x1e]
mov cl, byte [esp + 0x17]
test byte [esi + 2], 1
je 0x48673d
test al, al
je 0x4866dd
mov eax, dword [esp + 0x10]
add dword [esp + 0x18], 8
mov esi, dword [eax]
mov ecx, dword [eax + 4]
jmp 0x4866ff
mov eax, dword [esp + 0x18]
add eax, 4
mov dword [esp + 0x18], eax
test cl, cl
jne 0x4866f0
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x10]
mov eax, dword [eax]
cdq
mov ecx, edx
mov esi, eax
mov edx, dword [esp + 0x28]
test ecx, ecx
jg 0x486717
jl 0x486709
test esi, esi
jae 0x486717
neg esi
mov byte [esp + 0xe], 0x2d
adc ecx, 0
neg ecx
jmp 0x48676f
cmp byte [esp + 0x31], 0
mov dword [esp + 0x2c], esi
mov dword [esp + 0x10], ecx
je 0x48672d
mov byte [esp + 0xe], 0x2b
jmp 0x486777
mov al, byte [esp + 0xe]
neg al
sbb al, al
and al, 0x20
mov byte [esp + 0xe], al
jmp 0x486777
test al, al
je 0x48674f
mov eax, dword [esp + 0x10]
add dword [esp + 0x18], 8
mov ecx, dword [eax + 4]
jmp 0x486768
mov eax, dword [esp + 0x18]
add eax, 4
mov dword [esp + 0x18], eax
test cl, cl
jne 0x486762
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x10]
xor ecx, ecx
mov esi, dword [eax]
mov byte [esp + 0xe], 0
mov dword [esp + 0x10], ecx
mov dword [esp + 0x2c], esi
mov eax, esi
or eax, ecx
jne 0x486781
mov byte [esp + 0x1f], al
cmp byte [esp + 0x33], 0
je 0x4867a4
mov ecx, dword [esp + 0x24]
xor eax, eax
cmp byte [esp + 0xe], al
setne al
sub ecx, eax
cmp edx, ecx
cmovl edx, ecx
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x28], edx
cmp byte [esp + 0xf], 0x10
lea edi, [esp + 0x22d]
jne 0x486876
mov edx, 0xcccccccd
mov eax, esi
lea edi, [edx - 1]
mul edx
mov dword [esp + 0x58], eax
mov esi, edx
mov eax, dword [esp + 0x2c]
mul edi
mov edi, eax
mov dword [esp + 0x48], edx
mov eax, ecx
mov ecx, 0xcccccccd
mul ecx
mov ecx, eax
mov dword [esp + 0x70], edx
mov eax, dword [esp + 0x10]
mov edx, 0xcccccccc
mul edx
add ecx, esi
mov dword [esp + 0x58], edx
mov edx, dword [esp + 0x70]
adc edx, 0
mov dword [esp + 0x20], eax
mov esi, eax
add edi, ecx
mov ecx, dword [esp + 0x48]
adc ecx, 0
mov dword [esp + 0x70], edi
xor eax, eax
add edx, ecx
mov ecx, dword [esp + 0x58]
adc eax, eax
add esi, edx
adc ecx, eax
shrd esi, ecx, 3
mov dword [esp + 0x20], esi
shr ecx, 3
lea eax, [esi + esi*4]
mov esi, dword [esp + 0x2c]
add eax, eax
mov edi, esi
sub edi, eax
cmp edi, 4
jge 0x486851
mov eax, dword [esp + 0x20]
push 0
push 0xa
push ecx
push eax
call fcn.004ba370
cmp eax, 1
jne 0x486853
test edx, edx
jne 0x486853
xor edi, edi
mov al, byte [edi*2 + str.thstndrd]
mov byte [esp + 0x22b], al
mov al, byte [edi*2 + 0x51efb5]
lea edi, [esp + 0x22b]
mov byte [esp + 0x22c], al
mov ecx, dword [esp + 0x40]
movzx eax, byte [ecx + 4]
add eax, str.0123456789ABCDEF0123456789abcdef
mov dword [esp + 0x58], eax
movzx eax, byte [ecx + 1]
cdq
mov ecx, edx
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x20], ecx
nop word [eax + eax]
push ecx
push dword [esp + 0x30]
dec edi
push eax
push esi
call fcn.004ba370
push dword [esp + 0x20]
mov ecx, dword [esp + 0x5c]
push dword [esp + 0x30]
push dword [esp + 0x18]
mov al, byte [eax + ecx]
push esi
mov byte [edi], al
call fcn.004ba300
mov ecx, dword [esp + 0x20]
mov esi, eax
mov eax, edx
mov dword [esp + 0x10], eax
test eax, eax
ja 0x4868a0
jb 0x4868de
test esi, esi
jne 0x4868a0
mov ecx, dword [esp + 0x28]
lea eax, [esp + 0xd0]
sub ecx, eax
lea eax, [ecx - 0x15d]
add eax, edi
test eax, eax
jle 0x486900
dec edi
dec eax
mov byte [edi], 0x30
test eax, eax
jg 0x4868f7
mov al, byte [esp + 0xe]
test al, al
je 0x48690b
dec edi
mov byte [edi], al
cmp byte [esp + 0x1f], 0
je 0x48693c
mov eax, dword [esp + 0x40]
mov al, byte [eax + 5]
test al, al
je 0x48693c
movzx eax, al
add eax, 0x51f5ec
mov cl, byte [eax]
test cl, cl
je 0x48693c
nop dword [eax + eax]
dec edi
lea eax, [eax + 1]
mov byte [edi], cl
mov cl, byte [eax]
test cl, cl
jne 0x486930
lea esi, [esp + 0x22d]
sub esi, edi
mov edx, dword [esp + 0x24]
cmp byte [esp + 0x54], 0
jne 0x48695f
sub edx, esi
test edx, edx
jle 0x48695f
mov ecx, dword [esp + 0x34]
call fcn.004862b0
test esi, esi
jle 0x486972
mov ecx, dword [esp + 0x34]
mov edx, edi
push esi
call fcn.004871a0
add esp, 4
cmp byte [esp + 0x54], 0
je 0x48698e
mov ecx, dword [esp + 0x24]
sub ecx, esi
test ecx, ecx
jle 0x48698e
mov edx, ecx
mov ecx, dword [esp + 0x34]
call fcn.004862b0
mov eax, dword [esp + 0x38]
test eax, eax
je 0x48699f
push eax
call fcn.00485df0
add esp, 4
mov esi, dword [esp + 0x3c]
inc esi
movsx eax, byte [esi]
test eax, eax
je case.default.0x4866aa
movsd xmm3, qword [esp + 0x78]
movsd xmm4, qword [esp + 0x80]
movsd xmm5, qword [esp + 0x88]
movsd xmm6, qword [esp + 0x90]
movsd xmm7, qword [esp + 0x98]
movsd xmm2, qword [esp + 0x68]
mov ecx, dword [esp + 0x18]
jmp 0x4863d0
mov eax, dword [esp + 0x10]
add dword [esp + 0x18], 8
movsd xmm1, qword [eax]
movsd qword [esp + 0x48], xmm1
test edx, edx
jns 0x486a06
mov edx, 6
jmp 0x486a14
cmp edx, 0xa5
mov eax, 0xa5
cmovg edx, eax
comisd xmm2, xmm1
mov dword [esp + 0x28], edx
jbe 0x486a33
xorps xmm1, xmmword [esp + 0xa0]
movsd qword [esp + 0x48], xmm1
mov byte [esp + 0xe], 0x2d
jmp 0x486a4f
cmp byte [esp + 0x31], 0
je 0x486a41
mov byte [esp + 0xe], 0x2b
jmp 0x486a4f
mov al, byte [esp + 0xe]
neg al
sbb al, al
and al, 0x20
mov byte [esp + 0xe], al
cmp cl, 4
jne 0x486a5d
test edx, edx
jle 0x486a5d
dec edx
mov dword [esp + 0x28], edx
movsd xmm2, qword [esp + 0xb8]
mov ecx, edx
cmp edx, 8
jl 0x486aa5
lea esi, [edx - 8]
shr esi, 3
inc esi
lea eax, [esi*8]
sub ecx, eax
nop dword [eax]
mulsd xmm2, xmm3
mulsd xmm2, xmm3
mulsd xmm2, xmm3
mulsd xmm2, xmm3
mulsd xmm2, xmm3
mulsd xmm2, xmm3
mulsd xmm2, xmm3
mulsd xmm2, xmm3
sub esi, 1
jne 0x486a80
test ecx, ecx
jle 0x486ab9
nop dword [eax]
dec ecx
mulsd xmm2, xmm3
test ecx, ecx
jg 0x486ab0
cmp byte [esp + 0xf], 2
jne 0x486acd
movaps xmm0, xmm2
addsd xmm1, xmm0
movsd qword [esp + 0x48], xmm1
xor ecx, ecx
movaps xmm0, xmm1
mov dword [esp + 0x10], ecx
call fcn.00487bb0
test eax, eax
je 0x486aee
mov edi, 0x522804
mov esi, 3
jmp 0x486945
comisd xmm1, xmmword [esp + 0x68]
mov eax, dword [esp + 0x10]
jbe 0x486bfa
comisd xmm1, xmm7
jb 0x486b2e
movsd xmm0, qword [esp + 0xc0]
nop dword [eax]
cmp eax, 0x15e
jg 0x486b2a
mulsd xmm1, xmm0
add eax, 0x20
comisd xmm1, xmm7
movsd qword [esp + 0x48], xmm1
jae 0x486b10
mov dword [esp + 0x10], eax
comisd xmm1, xmm5
jb 0x486b52
cmp eax, 0x15e
jg 0x486b4e
mulsd xmm1, xmm6
add eax, 8
comisd xmm1, xmm5
movsd qword [esp + 0x48], xmm1
jae 0x486b34
mov dword [esp + 0x10], eax
comisd xmm1, xmm4
jb 0x486b74
cmp eax, 0x15e
jg 0x486b70
mulsd xmm1, xmm3
inc eax
comisd xmm1, xmm4
movsd qword [esp + 0x48], xmm1
jae 0x486b58
mov dword [esp + 0x10], eax
comisd xmm6, xmm1
jbe 0x486b97
nop word [eax + eax]
mulsd xmm1, xmm5
sub eax, 8
comisd xmm6, xmm1
ja 0x486b80
movsd qword [esp + 0x48], xmm1
mov dword [esp + 0x10], eax
movsd xmm0, qword [esp + 0xc8]
comisd xmm0, xmm1
jbe 0x486bbb
mulsd xmm1, xmm4
dec eax
comisd xmm0, xmm1
ja 0x486ba6
movsd qword [esp + 0x48], xmm1
mov dword [esp + 0x10], eax
cmp eax, 0x15e
jle 0x486bfa
mov al, byte [esp + 0xe]
cmp al, 0x2d
jne 0x486bdd
mov edi, str._Inf
mov ecx, edi
call fcn.00487bf0
mov esi, eax
jmp 0x486945
cmp al, 0x2b
mov edi, str.Inf
mov eax, 0x522818
cmovne edi, eax
mov ecx, edi
call fcn.00487bf0
mov esi, eax
jmp 0x486945
mov cl, byte [esp + 0xf]
cmp cl, 2
je 0x486c54
addsd xmm2, xmm1
comisd xmm2, xmm4
movsd qword [esp + 0x48], xmm2
jb 0x486c22
mulsd xmm2, xmm3
inc eax
mov dword [esp + 0x10], eax
movsd qword [esp + 0x48], xmm2
cmp cl, 4
jne 0x486c54
cmp byte [esp + 0x1f], 0
sete byte [esp + 0x17]
cmp eax, 0xfffffffc
jl 0x486c4c
mov ecx, dword [esp + 0x28]
cmp eax, ecx
jg 0x486c4c
sub ecx, eax
mov dword [esp + 0x28], ecx
mov cl, 2
mov byte [esp + 0xf], cl
jmp 0x486c59
mov cl, 3
mov byte [esp + 0xf], cl
jmp 0x486c59
mov byte [esp + 0x17], 0
mov edi, dword [esp + 0x28]
lea esi, [esp + 0xd0]
xor edx, edx
mov dword [esp + 0x2c], 0
cmp cl, 3
movzx ecx, byte [esp + 0xd0]
cmovne edx, eax
test edi, edi
mov dword [esp + 0x20], edx
setg al
or al, byte [esp + 0x32]
or al, byte [esp + 0x1f]
cmp byte [esp + 0xe], 0
mov byte [esp + 0x1e], al
movzx eax, byte [esp + 0xe]
cmovne ecx, eax
lea eax, [esp + 0xd1]
cmovne esi, eax
mov byte [esp + 0xd0], cl
test edx, edx
jns 0x486cb9
mov byte [esi], 0x30
inc esi
jmp 0x486ce1
mov edi, dword [esp + 0x20]
nop dword [eax]
lea edx, [esp + 0x2c]
lea ecx, [esp + 0x48]
call fcn.00486270
mov byte [esi], al
inc esi
sub edi, 1
jns 0x486cc0
mov dword [esp + 0x20], edi
mov edi, dword [esp + 0x28]
mov edx, dword [esp + 0x20]
cmp byte [esp + 0x1e], 0
je 0x486cec
mov byte [esi], 0x2e
inc esi
lea eax, [edx + 1]
test eax, eax
jns 0x486d0b
neg eax
push eax
push 0x30
push esi
mov dword [esp + 0x64], eax
sub edi, eax
call fcn.004d1ee0
add esp, 0xc
add esi, dword [esp + 0x58]
test edi, edi
jle 0x486d25
nop
lea edx, [esp + 0x2c]
dec edi
lea ecx, [esp + 0x48]
call fcn.00486270
mov byte [esi], al
inc esi
test edi, edi
jg 0x486d10
cmp byte [esp + 0x17], 0
je 0x486d61
cmp byte [esp + 0x1e], 0
je 0x486d61
cmp byte [esi - 1], 0x30
jne 0x486d4a
nop dword [eax]
dec esi
mov byte [esi], 0
cmp byte [esi - 1], 0x30
je 0x486d40
cmp byte [esi - 1], 0x2e
jne 0x486d61
cmp byte [esp + 0x32], 0
je 0x486d5d
mov byte [esi], 0x30
inc esi
jmp 0x486d61
dec esi
mov byte [esi], 0
cmp byte [esp + 0x47], 3
je 0x486d73
cmp byte [esp + 0xf], 3
jne 0x486e00
mov eax, dword [esp + 0x40]
lea edx, [esi + 1]
mov ecx, dword [esp + 0x10]
movzx eax, byte [eax + 4]
mov al, byte [eax + str.0123456789ABCDEF0123456789abcdef]
mov byte [esi], al
add esi, 2
mov eax, ecx
test ecx, ecx
jns 0x486d99
neg ecx
mov dword [esp + 0x10], ecx
test eax, eax
sets al
lea eax, [eax*2 + 0x2b]
mov byte [edx], al
cmp ecx, 0x64
jl 0x486dd1
mov eax, 0x51eb851f
imul ecx
sar edx, 5
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov al, cl
add al, 0x30
mov byte [esi], al
inc esi
imul eax, ecx, 0xffffff9c
mov ecx, dword [esp + 0x10]
add ecx, eax
mov dword [esp + 0x10], ecx
mov eax, 0x66666667
imul ecx
sar edx, 2
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov al, cl
add al, 0x30
mov byte [esi], al
mov al, cl
shl cl, 2
add al, cl
mov ecx, dword [esp + 0x10]
add al, al
sub cl, al
add cl, 0x30
mov byte [esi + 1], cl
add esi, 2
lea eax, [esp + 0xd0]
mov byte [esi], 0
sub esi, eax
mov edi, eax
cmp byte [esp + 0x33], 0
je 0x486945
cmp byte [esp + 0x54], 0
jne 0x48695f
mov edx, dword [esp + 0x24]
cmp esi, edx
jge 0x486950
mov eax, edx
mov ecx, edx
sub eax, esi
mov esi, eax
mov dword [esp + 0x58], eax
cmp edx, esi
jl 0x486e57
mov edx, edi
sub edx, esi
mov al, byte [edx + ecx]
mov byte [esp + ecx + 0xd0], al
dec ecx
cmp ecx, esi
jge 0x486e44
mov edx, dword [esp + 0x24]
xor eax, eax
cmp byte [esp + 0xe], al
setne al
test esi, esi
je 0x486e7d
lea ecx, [esp + 0xd0]
push esi
add eax, ecx
push 0x30
push eax
call fcn.004d1ee0
mov edx, dword [esp + 0x30]
add esp, 0xc
mov esi, edx
jmp 0x486950
mov eax, dword [esp + 0x10]
xor edx, edx
add dword [esp + 0x18], 4
xor esi, esi
mov dword [esp + 0x24], edx
mov ecx, dword [eax]
mov eax, dword [esp + 0x34]
mov eax, dword [eax + 0xc]
mov dword [ecx], eax
jmp 0x486949
mov byte [esp + 0xd0], 0x25
lea edi, [esp + 0xd0]
mov esi, 1
jmp 0x486945
mov eax, dword [esp + 0x10]
add dword [esp + 0x18], 4
mov cl, byte [eax]
mov byte [esp + 0xd0], cl
test edx, edx
js 0x486f00
cmp edx, 1
jle 0x486ef2
lea eax, [edx - 1]
push eax
push ecx
lea eax, [esp + 0xd9]
push eax
call fcn.004d1ee0
mov edx, dword [esp + 0x34]
add esp, 0xc
mov esi, edx
lea edi, [esp + 0xd0]
jmp 0x486945
mov esi, 1
lea edi, [esp + 0xd0]
jmp 0x486945
mov eax, dword [esp + 0x10]
add dword [esp + 0x18], 4
mov edi, dword [eax]
test edi, edi
jne 0x486f27
mov edi, 0x51959c
jmp 0x486f35
mov eax, dword [esp + 0x38]
cmp cl, 7
cmove eax, edi
mov dword [esp + 0x38], eax
test edx, edx
js 0x486bec
xor esi, esi
test edx, edx
jle 0x486945
nop word [eax + eax]
cmp byte [edi + esi], 0
je 0x486945
inc esi
cmp esi, edx
jl 0x486f50
jmp 0x486945
cmp cl, 0xf
mov eax, 0x27
mov ecx, 0x22
cmove eax, ecx
add dword [esp + 0x18], 4
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x10]
mov edi, dword [eax]
mov ecx, edi
mov dword [esp + 0x20], edi
test edi, edi
jne 0x486fa3
cmp byte [esp + 0xf], 0xb
mov ecx, str.NULL
mov eax, str._NULL_
cmovne ecx, eax
mov dword [esp + 0x20], ecx
mov al, byte [ecx]
xor edx, edx
xor esi, esi
mov byte [esp + 0x17], al
test al, al
je 0x486fd1
mov ecx, dword [esp + 0x40]
lea eax, [edx + 1]
cmp byte [esp + 0x17], cl
mov ecx, dword [esp + 0x20]
cmovne eax, edx
inc esi
mov edx, eax
mov al, byte [esi + ecx]
mov byte [esp + 0x17], al
test al, al
jne 0x486fb1
test edi, edi
je 0x486fe3
cmp byte [esp + 0xf], 0xb
jne 0x486fe3
mov eax, 1
jmp 0x486fe5
xor eax, eax
mov dword [esp + 0x2c], eax
lea eax, [eax*2 + 1]
add eax, esi
add eax, edx
cmp eax, 0x15e
jle 0x487018
push eax
call fcn.00485b70
add esp, 4
mov dword [esp + 0x38], eax
mov edi, eax
test eax, eax
je 0x4870fe
mov ecx, dword [esp + 0x20]
jmp 0x48701f
lea edi, [esp + 0xd0]
mov edx, dword [esp + 0x40]
xor esi, esi
cmp dword [esp + 0x2c], esi
je 0x487032
mov byte [edi], dl
mov esi, 1
mov al, byte [ecx]
test al, al
je 0x48704c
mov byte [esi + edi], al
inc esi
cmp al, dl
jne 0x487044
mov byte [esi + edi], al
inc esi
mov al, byte [ecx + 1]
inc ecx
test al, al
jne 0x487038
cmp dword [esp + 0x2c], 0
je 0x487057
mov byte [esi + edi], dl
inc esi
mov byte [esi + edi], 0
jmp 0x486945
mov eax, dword [esp + 0x10]
add dword [esp + 0x18], 4
mov edx, dword [eax]
test edx, edx
je 0x487080
push dword [edx + 4]
mov edx, dword [edx]
mov ecx, dword [esp + 0x38]
call fcn.004871a0
add esp, 4
xor edx, edx
xor esi, esi
mov dword [esp + 0x24], edx
jmp 0x486949
mov ecx, dword [esp + 0x18]
lea eax, [ecx + 8]
mov dword [esp + 0x48], eax
mov eax, dword [eax - 4]
lea esi, [eax*8]
sub esi, eax
mov eax, dword [ecx]
mov dword [esp + 0x58], eax
mov edx, dword [eax + esi*8 + 8]
test edx, edx
je 0x4870d7
mov ecx, dword [esp + 0x34]
push 0xffffffffffffffff
call fcn.004871a0
mov ecx, dword [esp + 0x38]
add esp, 4
mov edx, 0x52067c
push 1
call fcn.004871a0
mov eax, dword [esp + 0x5c]
add esp, 4
mov edx, dword [eax + esi*8 + 0xc]
mov ecx, dword [esp + 0x34]
push 0xffffffffffffffff
call fcn.004871a0
mov eax, dword [esp + 0x4c]
xor edx, edx
add esp, 4
mov dword [esp + 0x24], edx
xor esi, esi
mov dword [esp + 0x18], eax
jmp 0x486949
mov eax, dword [esp + 0x34]
mov byte [eax + 0x18], 1
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x34]
mov edx, 0x522800
push 1
call fcn.004871a0
add esp, 4
pop edi
pop esi
mov esp, ebp
pop ebp
ret