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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x104
mov eax, edx
mov dword [esp + 0x20], eax
mov eax, ecx
xor ecx, ecx
mov dword [esp + 0x30], eax
mov edx, ecx
mov dword [esp + 0x44], ecx
push ebx
push esi
mov esi, dword [ebp + 8]
mov dword [esp + 0x50], edx
mov dh, byte [eax + 0x19]
push edi
mov edi, ecx
test dh, dh
je 0x406e40
mov dl, dh
and dl, 2
mov byte [esp + 0x14], dl
je 0x406e37
mov eax, dword [esi]
add esi, 4
mov dword [esp + 0x50], eax
and dh, 1
mov byte [esp + 0x43], dh
jmp 0x406e48
mov byte [esp + 0x43], cl
mov byte [esp + 0x14], cl
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x18], esi
movsx eax, byte [ecx]
test eax, eax
je case.default.0x407170
movsd xmm0, qword [0x49dce0]
movsd qword [esp + 0x80], xmm0
xorps xmm0, xmm0
movsd qword [esp + 0x70], xmm0
movsd xmm0, qword [0x49d500]
movsd qword [esp + 0x90], xmm0
movsd xmm0, qword [0x49d4f8]
movsd qword [esp + 0x78], xmm0
movsd xmm0, qword [0x49d508]
movsd qword [esp + 0x98], xmm0
movsd xmm0, qword [0x49d5d8]
movsd qword [esp + 0xa0], xmm0
movsd xmm0, qword [0x49d5b0]
movsd qword [esp + 0xa8], xmm0
movsd xmm0, qword [0x49d518]
movsd qword [esp + 0x68], xmm0
movsd xmm0, qword [0x49d4e8]
movsd qword [esp + 0xb0], xmm0
movsd xmm0, qword [0x49d598]
movsd qword [esp + 0xb8], xmm0
cmp eax, 0x25
je 0x406f2b
mov edi, ecx
inc ecx
mov al, byte [ecx]
test al, al
je 0x406f09
cmp al, 0x25
jne 0x406efe
mov eax, ecx
mov dword [esp + 0x2c], ecx
mov ecx, dword [esp + 0x3c]
sub eax, edi
push eax
mov edx, edi
call fcn.00407e6b
pop ecx
mov ecx, dword [esp + 0x2c]
cmp byte [ecx], 0
je case.default.0x407170
inc ecx
mov dword [esp + 0x2c], ecx
movsx edx, byte [ecx]
test edx, edx
je 0x407c9b
xor al, al
mov byte [esp + 0x3b], al
xor eax, eax
mov byte [esp + 0x16], al
mov byte [esp + 0x21], al
mov byte [esp + 0x3a], al
mov byte [esp + 0x17], al
mov byte [esp + 0x13], al
mov eax, edx
sub eax, 0x20
je 0x406f9c
sub eax, 1
je 0x406f95
dec eax
sub eax, 1
je 0x406f8e
sub eax, 8
je 0x406f87
dec eax
sub eax, 1
je 0x406f80
sub eax, 3
jne 0x406fa9
mov byte [esp + 0x3b], 1
jmp 0x406fa1
mov byte [esp + 0x13], 1
jmp 0x406fa1
mov byte [esp + 0x17], 1
jmp 0x406fa1
mov byte [esp + 0x21], 1
jmp 0x406fa1
mov byte [esp + 0x16], 1
jmp 0x406fa1
mov byte [esp + 0x3a], 1
inc ecx
movsx edx, byte [ecx]
test edx, edx
jne 0x406f57
mov dword [esp + 0x2c], ecx
cmp edx, 0x2a
jne 0x407001
cmp byte [esp + 0x14], 0
je 0x406fc8
mov ecx, dword [esp + 0x50]
call fcn.00406dac
mov ecx, dword [esp + 0x2c]
jmp 0x406fd1
mov eax, dword [esi]
add esi, 4
mov dword [esp + 0x18], esi
mov dword [esp + 0x28], eax
test eax, eax
jns 0x406ff7
mov ecx, eax
mov byte [esp + 0x13], 1
neg ecx
xor eax, eax
cmp dword [esp + 0x28], 0x80000001
cmovge eax, ecx
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x28], eax
inc ecx
mov dword [esp + 0x2c], ecx
movsx edx, byte [ecx]
jmp 0x40702b
xor eax, eax
cmp edx, 0x30
jl 0x407022
cmp edx, 0x39
jg 0x40701e
imul eax, eax, 0xa
add edx, 0xffffffd0
add eax, edx
inc ecx
movsx edx, byte [ecx]
cmp edx, 0x30
jge 0x407008
mov dword [esp + 0x2c], ecx
and eax, 0x7fffffff
mov dword [esp + 0x28], eax
cmp edx, 0x2e
jne 0x4070b4
inc ecx
mov dword [esp + 0x2c], ecx
movsx edx, byte [ecx]
cmp edx, 0x2a
jne 0x40708b
cmp byte [esp + 0x14], 0
je 0x40705d
mov ecx, dword [esp + 0x50]
call fcn.00406dac
mov ecx, dword [esp + 0x2c]
mov esi, eax
mov dword [esp + 0x34], eax
jmp 0x40706b
add esi, 4
mov dword [esp + 0x18], esi
mov esi, dword [esi - 4]
mov dword [esp + 0x34], esi
inc ecx
mov dword [esp + 0x2c], ecx
movsx edx, byte [ecx]
test esi, esi
jns 0x4070bb
mov ecx, esi
or eax, 0xffffffff
neg ecx
cmp esi, 0x80000001
cmovge eax, ecx
mov esi, eax
jmp 0x4070b7
xor esi, esi
cmp edx, 0x30
jl 0x4070ac
cmp edx, 0x39
jg 0x4070a8
imul eax, esi, 0xa
lea esi, [edx - 0x30]
add esi, eax
inc ecx
movsx edx, byte [ecx]
cmp edx, 0x30
jge 0x407092
mov dword [esp + 0x2c], ecx
and esi, 0x7fffffff
jmp 0x4070b7
or esi, 0xffffffff
mov dword [esp + 0x34], esi
mov eax, dword [esp + 0x2c]
mov ecx, eax
mov dword [esp + 0x58], eax
cmp edx, 0x6c
jne 0x4070fb
inc eax
mov byte [esp + 0x22], 1
mov al, byte [eax]
cmp al, dl
jne 0x4070db
mov cl, byte [ecx + 2]
jmp 0x4070dd
mov cl, al
cmp al, 0x6c
movsx edx, cl
sete cl
mov byte [esp + 0x23], cl
xor ecx, ecx
cmp al, 0x6c
sete cl
inc ecx
add ecx, dword [esp + 0x58]
mov dword [esp + 0x2c], ecx
jmp 0x407107
xor cl, cl
xor al, al
mov byte [esp + 0x23], cl
mov byte [esp + 0x22], al
mov ecx, 0x49be78
mov byte [esp + 0x15], 0x10
xor eax, eax
mov dword [esp + 0x44], ecx
mov dword [esp + 0x24], eax
movsx eax, byte [ecx]
cmp edx, eax
je 0x40713d
inc dword [esp + 0x24]
push 6
pop eax
add ecx, eax
cmp ecx, 0x49bf02
jl 0x40711b
mov ch, byte [esp + 0x15]
mov edx, dword [esp + 0x44]
jmp 0x407164
imul edx, dword [esp + 0x24], 6
add edx, 0x49be78
cmp byte [esp + 0x43], 0
mov dword [esp + 0x44], edx
jne 0x40715d
test byte [edx + 2], 2
jne case.default.0x407170
mov ch, byte [edx + 3]
mov byte [esp + 0x15], ch
movzx eax, ch
cmp eax, 0xf
ja case.default.0x407170
jmp dword [eax*4 + 0x407cb4]
xor al, al
mov cl, 1
jmp 0x407185
mov al, byte [esp + 0x23]
mov cl, byte [esp + 0x22]
test byte [edx + 2], 1
je 0x407209
cmp byte [esp + 0x14], 0
je 0x40719d
mov ecx, dword [esp + 0x50]
call fcn.00406dac
jmp 0x4071c5
mov edx, dword [esp + 0x18]
test al, al
je 0x4071b3
mov edi, dword [edx]
add edx, 8
mov dword [esp + 0x18], edx
mov esi, dword [edx - 4]
jmp 0x4071c9
mov eax, dword [edx]
add edx, 4
mov dword [esp + 0x18], edx
test cl, cl
jne 0x4071c4
mov dword [esp + 0x18], edx
cdq
mov edi, eax
mov esi, edx
test esi, esi
jg 0x4071ef
jl 0x4071d3
test edi, edi
jae 0x4071ef
test edi, edi
jne 0x4071e4
mov eax, 0x80000000
cmp esi, eax
jne 0x4071e4
mov esi, eax
jmp 0x4071eb
neg edi
adc esi, 0
neg esi
mov cl, 0x2d
jmp 0x407246
cmp byte [esp + 0x17], 0
je 0x4071fa
mov cl, 0x2b
jmp 0x407246
cmp byte [esp + 0x3a], 0
sete cl
dec cl
and cl, 0x20
jmp 0x407246
cmp byte [esp + 0x14], 0
je 0x40721f
mov ecx, dword [esp + 0x50]
call fcn.00406dac
mov edi, eax
mov esi, edx
jmp 0x407244
mov edx, dword [esp + 0x18]
test al, al
je 0x407231
mov edi, dword [edx]
add edx, 8
mov esi, dword [edx - 4]
jmp 0x407240
mov edi, dword [edx]
add edx, 4
xor esi, esi
mov dword [esp + 0x18], edx
test cl, cl
jne 0x407244
mov dword [esp + 0x18], edx
xor cl, cl
mov eax, edi
mov byte [esp + 0x16], cl
or eax, esi
jne 0x407254
mov byte [esp + 0x21], al
cmp byte [esp + 0x3b], 0
je 0x407277
xor eax, eax
test cl, cl
mov ecx, dword [esp + 0x28]
setne al
sub ecx, eax
mov eax, dword [esp + 0x34]
cmp eax, ecx
cmovl eax, ecx
mov dword [esp + 0x34], eax
jmp 0x40727b
mov eax, dword [esp + 0x34]
cmp eax, 0x3c
jge 0x407295
lea eax, [esp + 0xc0]
mov dword [esp + 0x24], 0x46
mov dword [esp + 0x58], eax
jmp 0x4072b8
add eax, 0xa
mov dword [esp + 0x24], eax
cdq
push edx
push eax
call fcn.00406641
pop ecx
pop ecx
mov ecx, eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x54], ecx
test ecx, ecx
je 0x407c8d
mov ecx, dword [esp + 0x24]
dec ecx
add ecx, eax
cmp byte [esp + 0x15], 0xf
mov dword [esp + 0x1c], ecx
jne 0x407325
push 0
push 0xa
pop eax
push eax
push esi
push edi
call fcn.00486b60
mov dword [esp + 0x30], eax
cmp eax, 4
jge 0x407303
push 0
push 0xa
pop eax
push eax
push esi
push edi
call fcn.004862f0
push 0
push 0xa
pop ecx
push ecx
push edx
push eax
call fcn.00486b60
cmp eax, 1
jne 0x407307
test edx, edx
jne 0x407307
xor edx, edx
jmp 0x40730b
mov edx, dword [esp + 0x30]
mov ecx, dword [esp + 0x1c]
mov al, byte [edx*2 + 0x49c299]
mov byte [ecx - 1], al
sub ecx, 2
mov al, byte [edx*2 + str.thstndrd]
mov byte [ecx], al
mov edx, dword [esp + 0x44]
movzx eax, byte [edx + 4]
add eax, str.0123456789ABCDEF0123456789abcdef
mov dword [esp + 0x48], eax
movzx eax, byte [edx + 1]
cdq
mov dword [esp + 0x30], eax
mov dword [esp + 0x60], edx
push ebx
push edx
push eax
push esi
dec ecx
push edi
mov dword [esp + 0x30], ecx
call fcn.00486160
mov dword [esp + 0x110], ebx
pop ebx
mov edi, eax
mov esi, edx
mov eax, dword [esp + 0x48]
mov edx, dword [esp + 0x60]
mov al, byte [ecx + eax]
mov ecx, dword [esp + 0x1c]
mov byte [ecx], al
mov eax, dword [esp + 0x30]
test esi, esi
ja 0x407343
jb 0x40737d
test edi, edi
jne 0x407343
mov eax, dword [esp + 0x34]
mov esi, dword [esp + 0x58]
sub eax, esi
mov edi, dword [esp + 0x24]
sub eax, edi
inc eax
add eax, ecx
test eax, eax
jle 0x4073a1
dec ecx
dec eax
mov byte [ecx], 0x30
test eax, eax
jg 0x407394
mov dword [esp + 0x1c], ecx
mov al, byte [esp + 0x16]
test al, al
je 0x4073b0
dec ecx
mov dword [esp + 0x1c], ecx
mov byte [ecx], al
cmp byte [esp + 0x21], 0
je 0x4073de
mov eax, dword [esp + 0x44]
mov al, byte [eax + 5]
test al, al
je 0x4073de
movzx eax, al
add eax, 0x49983c
mov dl, byte [eax]
test dl, dl
je 0x4073de
dec ecx
inc eax
mov byte [ecx], dl
mov dl, byte [eax]
test dl, dl
jne 0x4073d0
mov dword [esp + 0x1c], ecx
sub esi, ecx
dec edi
add esi, edi
mov edi, dword [esp + 0x1c]
mov dl, byte [esp + 0x13]
mov eax, dword [esp + 0x28]
sub eax, esi
mov dword [esp + 0x28], eax
test eax, eax
jle 0x40740b
test dl, dl
jne 0x40740b
mov ecx, dword [esp + 0x3c]
mov edx, eax
push 0x20
call fcn.00407df4
pop ecx
push esi
mov esi, dword [esp + 0x40]
mov edx, edi
mov ecx, esi
call fcn.00407e6b
mov eax, dword [esp + 0x2c]
pop ecx
test eax, eax
jle 0x407435
cmp byte [esp + 0x13], 0
je 0x407435
push 0x20
mov edx, eax
mov ecx, esi
call fcn.00407df4
pop ecx
mov edx, dword [esp + 0x54]
test edx, edx
je 0x407449
mov ecx, dword [esi]
call fcn.0040690a
and dword [esp + 0x54], 0
mov ecx, dword [esp + 0x2c]
inc ecx
movsx eax, byte [ecx]
test eax, eax
je case.default.0x407170
mov esi, dword [esp + 0x18]
jmp 0x406ef7
cmp byte [esp + 0x14], 0
je 0x407496
mov edi, dword [esp + 0x50]
mov edx, dword [edi + 4]
cmp dword [edi], edx
jg 0x40747c
movsd xmm1, qword [esp + 0x70]
jmp 0x4074a6
mov eax, dword [edi + 8]
mov ecx, dword [eax + edx*4]
lea eax, [edx + 1]
mov dword [edi + 4], eax
call fcn.0041c1d1
mov ch, byte [esp + 0x15]
movaps xmm1, xmm0
jmp 0x4074a6
mov edx, dword [esp + 0x18]
add edx, 8
mov dword [esp + 0x18], edx
movsd xmm1, qword [edx - 8]
movsd xmm2, qword [esp + 0x70]
test esi, esi
push 6
pop eax
cmovs esi, eax
movsd qword [esp + 0x48], xmm1
comisd xmm2, xmm1
mov dword [esp + 0x34], esi
jbe 0x4074d6
xorps xmm1, xmmword [esp + 0x80]
mov dl, 0x2d
movsd qword [esp + 0x48], xmm1
jmp 0x4074ee
cmp byte [esp + 0x17], 0
je 0x4074e1
mov dl, 0x2b
jmp 0x4074ee
cmp byte [esp + 0x3a], 0
sete dl
dec dl
and dl, 0x20
mov byte [esp + 0x17], dl
cmp ch, 3
jne 0x407500
test esi, esi
jle 0x407500
dec esi
mov dword [esp + 0x34], esi
movsd xmm3, qword [esp + 0x90]
mov eax, esi
movsd xmm6, qword [esp + 0x78]
and eax, 0xfff
jbe 0x407521
dec eax
mulsd xmm3, xmm6
test eax, eax
jg 0x407518
cmp ch, 1
jne 0x407533
movaps xmm0, xmm3
addsd xmm1, xmm0
movsd qword [esp + 0x48], xmm1
movsd qword [esp + 0x58], xmm1
xor ecx, ecx
movsd xmm0, qword [esp + 0x58]
movsd qword [esp + 0x60], xmm0
movsd xmm0, qword [esp + 0x58]
ucomisd xmm0, qword [esp + 0x60]
mov dword [esp + 0x24], ecx
lahf
test ah, 0x44
jnp 0x40756a
push 3
mov edi, 0x494368
pop esi
jmp 0x4073e7
comisd xmm1, xmm2
jbe 0x40768b
movsd xmm4, qword [esp + 0xa0]
mov esi, 0x15e
comisd xmm1, xmm4
movsd xmm5, qword [esp + 0x98]
movaps xmm2, xmm5
jb 0x4075b2
push 0x64
pop eax
cmp ecx, esi
jg 0x4075ae
mulsd xmm2, xmm4
add ecx, eax
movaps xmm0, xmm2
mulsd xmm0, xmm4
comisd xmm1, xmm0
jae 0x407597
mov dword [esp + 0x24], ecx
movsd xmm4, qword [esp + 0xa8]
movaps xmm0, xmm2
mulsd xmm0, xmm4
comisd xmm1, xmm0
jb 0x4075e2
push 0xa
pop eax
cmp ecx, esi
jg 0x4075de
movaps xmm2, xmm0
add ecx, eax
mulsd xmm0, xmm4
comisd xmm1, xmm0
jae 0x4075cb
mov dword [esp + 0x24], ecx
movsd xmm4, qword [esp + 0x68]
movaps xmm0, xmm2
mulsd xmm0, xmm4
comisd xmm1, xmm0
jb 0x40760b
cmp ecx, esi
jg 0x407607
movaps xmm2, xmm0
inc ecx
mulsd xmm0, xmm4
comisd xmm1, xmm0
jae 0x4075f5
mov dword [esp + 0x24], ecx
divsd xmm1, xmm2
movsd xmm0, qword [esp + 0xb0]
comisd xmm0, xmm1
movsd qword [esp + 0x48], xmm1
jbe 0x407644
movsd xmm2, qword [esp + 0xb8]
mulsd xmm1, xmm2
sub ecx, 8
comisd xmm0, xmm1
ja 0x40762d
mov dword [esp + 0x24], ecx
movsd qword [esp + 0x48], xmm1
comisd xmm5, xmm1
jbe 0x40765f
mulsd xmm1, xmm4
dec ecx
comisd xmm5, xmm1
ja 0x40764a
mov dword [esp + 0x24], ecx
movsd qword [esp + 0x48], xmm1
cmp ecx, esi
jle 0x407691
xor eax, eax
mov byte [esp + 0xc0], dl
test dl, dl
lea edi, [esp + 0xc0]
setne al
mov dword [esp + eax + 0xc0], 0x666e49
lea esi, [eax + 3]
jmp 0x4073e7
movsd xmm4, qword [esp + 0x68]
mov al, byte [esp + 0x15]
lea esi, [esp + 0xc0]
cmp al, 1
je 0x4076bf
addsd xmm1, xmm3
comisd xmm1, xmm4
movsd qword [esp + 0x48], xmm1
jb 0x4076bf
mulsd xmm1, xmm6
inc ecx
mov dword [esp + 0x24], ecx
movsd qword [esp + 0x48], xmm1
cmp al, 3
jne 0x4076ec
cmp byte [esp + 0x21], 0
sete byte [esp + 0x22]
cmp ecx, 0xfffffffc
jl 0x4076e4
mov eax, dword [esp + 0x34]
cmp ecx, eax
jg 0x4076e4
sub eax, ecx
mov dword [esp + 0x34], eax
mov al, 1
jmp 0x4076e6
mov al, 2
mov byte [esp + 0x15], al
jmp 0x4076f4
mov dl, byte [esp + 0x16]
mov byte [esp + 0x22], dl
xor edi, edi
cmp al, 2
cmovne edi, ecx
xor eax, eax
test edi, edi
cmovg eax, edi
cdq
mov ecx, eax
mov dword [esp + 0x1c], edx
mov eax, dword [esp + 0x34]
cdq
add ecx, eax
mov eax, dword [esp + 0x28]
adc dword [esp + 0x1c], edx
cdq
add ecx, eax
mov eax, dword [esp + 0x1c]
adc eax, edx
js 0x407747
jg 0x40772a
cmp ecx, 0x37
jbe 0x407747
add ecx, 0xf
adc eax, 0
push eax
push ecx
call fcn.00406641
mov dword [esp + 0x5c], eax
mov esi, eax
pop ecx
pop ecx
test eax, eax
je 0x407c8d
movzx eax, byte [esp + 0x16]
mov ecx, esi
mov dh, byte [esp + 0x17]
imul eax, eax, 0xa
mov dword [esp + 0x1c], ecx
add eax, 0x10
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x34]
test eax, eax
setg dl
or dl, byte [esp + 0x16]
or dl, byte [esp + 0x21]
mov byte [esp + 0x23], dl
test dh, dh
je 0x40777c
mov byte [esi], dh
inc esi
test edi, edi
jns 0x407786
mov byte [esi], 0x30
inc esi
jmp 0x4077d0
movsd xmm1, qword [esp + 0x48]
movsd xmm2, qword [esp + 0x68]
mov ecx, dword [esp + 0x30]
test ecx, ecx
jg 0x40779e
mov dl, 0x30
jmp 0x4077b6
cvttsd2si edx, xmm1
dec ecx
movd xmm0, edx
add dl, 0x30
cvtdq2pd xmm0, xmm0
subsd xmm1, xmm0
mulsd xmm1, xmm2
mov byte [esi], dl
inc esi
sub edi, 1
jns 0x407796
mov dl, byte [esp + 0x23]
mov dword [esp + 0x30], ecx
mov ecx, dword [esp + 0x1c]
movsd qword [esp + 0x48], xmm1
test dl, dl
je 0x4077d8
mov byte [esi], 0x2e
inc esi
add edi, 1
jns 0x4077f7
neg edi
push edi
push 0x30
push esi
call fcn.004693e0
mov eax, dword [esp + 0x40]
add esp, 0xc
mov ecx, dword [esp + 0x1c]
add esi, edi
sub eax, edi
test eax, eax
jle 0x407835
mov edi, dword [esp + 0x30]
dec eax
test edi, edi
jg 0x407808
mov dl, 0x30
jmp 0x40782e
movsd xmm1, qword [esp + 0x48]
dec edi
cvttsd2si edx, xmm1
movd xmm0, edx
add dl, 0x30
cvtdq2pd xmm0, xmm0
subsd xmm1, xmm0
mulsd xmm1, qword [esp + 0x68]
movsd qword [esp + 0x48], xmm1
mov byte [esi], dl
inc esi
test eax, eax
jg 0x4077ff
cmp byte [esp + 0x22], 0
je 0x40786a
cmp byte [esp + 0x23], 0
je 0x40786a
jmp 0x40784a
mov esi, eax
mov byte [esi], 0
lea eax, [esi - 1]
cmp byte [eax], 0x30
je 0x407845
cmp byte [esi - 1], 0x2e
jne 0x40786a
mov dl, byte [esp + 0x16]
test dl, dl
je 0x407866
mov byte [esi], 0x30
inc esi
jmp 0x40786a
dec esi
mov byte [esi], 0
cmp byte [esp + 0x15], 2
jne 0x4078da
mov eax, dword [esp + 0x44]
push 0x64
movzx eax, byte [eax + 4]
mov al, byte [eax + str.0123456789ABCDEF0123456789abcdef]
mov byte [esi], al
lea eax, [esi + 2]
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x28]
cdq
mov edi, eax
xor edi, edx
sub edi, edx
cmp dword [esp + 0x28], 0
setl al
lea eax, [eax*2 + 0x2b]
mov byte [esi + 1], al
mov esi, dword [esp + 0x5c]
pop eax
cmp edi, eax
jl 0x4078c5
mov eax, edi
push 0x64
cdq
pop esi
idiv esi
mov edi, edx
add al, 0x30
mov edx, dword [esp + 0x58]
mov byte [edx], al
lea esi, [edx + 1]
mov eax, edi
push 0xa
cdq
pop edi
idiv edi
add al, 0x30
add dl, 0x30
mov byte [esi], al
mov byte [esi + 1], dl
add esi, 2
mov byte [esi], 0
sub esi, ecx
cmp byte [esp + 0x3b], 0
je 0x4073e3
mov dl, byte [esp + 0x13]
test dl, dl
jne 0x407c84
mov edi, dword [esp + 0x28]
cmp esi, edi
jge 0x407c84
mov edx, edi
sub edx, esi
mov esi, edi
cmp edi, edx
jl 0x40791f
mov edi, ecx
sub edi, edx
mov al, byte [edi + esi]
mov byte [esi + ecx], al
dec esi
cmp esi, edx
jge 0x407910
mov edi, dword [esp + 0x28]
xor eax, eax
cmp byte [esp + 0x17], al
setne al
test edx, edx
je 0x40793a
push edx
add eax, ecx
push 0x30
push eax
call fcn.004693e0
add esp, 0xc
mov esi, edi
jmp 0x4073e3
cmp byte [esp + 0x14], 0
jne 0x40795f
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x3c]
add edx, 4
mov dword [esp + 0x18], edx
mov ecx, dword [edx - 4]
mov eax, dword [eax + 0xc]
mov dword [ecx], eax
and dword [esp + 0x28], 0
xor esi, esi
jmp 0x4073e7
xor esi, esi
mov byte [esp + 0xc0], 0x25
lea edi, [esp + 0xc0]
inc esi
jmp 0x4073e7
cmp byte [esp + 0x14], 0
je 0x40799f
mov ecx, dword [esp + 0x50]
call fcn.00406dce
test eax, eax
je 0x40799b
movsx eax, byte [eax]
jmp 0x4079ad
xor eax, eax
jmp 0x4079ad
mov edx, dword [esp + 0x18]
add edx, 4
mov dword [esp + 0x18], edx
mov eax, dword [edx - 4]
mov dword [esp + 0x30], eax
cmp esi, 1
jle 0x4079fa
mov edi, dword [esp + 0x28]
sub edi, esi
mov edx, edi
inc edi
mov dword [esp + 0x28], edi
cmp edi, 1
jle 0x4079e0
cmp byte [esp + 0x13], 0
jne 0x4079e0
mov ecx, dword [esp + 0x3c]
push 0x20
call fcn.00407df4
and dword [esp + 0x2c], 0
pop ecx
mov al, byte [esp + 0x30]
lea edx, [esi - 1]
mov ecx, dword [esp + 0x3c]
push eax
mov dword [esp + 0x4c], eax
call fcn.00407df4
mov eax, dword [esp + 0x4c]
pop ecx
xor esi, esi
mov byte [esp + 0xc0], al
inc esi
lea edi, [esp + 0xc0]
jmp 0x4073e7
cmp byte [esp + 0x14], 0
je 0x407a2a
mov ecx, dword [esp + 0x50]
call fcn.00406dce
mov ecx, eax
mov dword [esp + 0x1c], eax
mov al, 5
jmp 0x407a40
mov edx, dword [esp + 0x18]
mov al, byte [esp + 0x15]
add edx, 4
mov dword [esp + 0x18], edx
mov ecx, dword [edx - 4]
mov dword [esp + 0x1c], ecx
test ecx, ecx
jne 0x407a4f
mov ecx, 0x494070
mov dword [esp + 0x1c], ecx
jmp 0x407a5c
mov edx, dword [esp + 0x54]
cmp al, 6
cmove edx, ecx
mov dword [esp + 0x54], edx
test esi, esi
js 0x407a82
mov eax, dword [esp + 0x34]
xor esi, esi
test eax, eax
jle 0x4073e3
cmp byte [esi + ecx], 0
je 0x4073e3
inc esi
cmp esi, eax
jl 0x407a6e
jmp 0x4073e3
test ecx, ecx
jne 0x407a8d
xor esi, esi
jmp 0x4073e3
mov esi, ecx
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x407a92
sub esi, ecx
and esi, 0x3fffffff
jmp 0x4073e3
push 0x27
pop eax
push 0x22
cmp ch, 0xe
pop edx
cmove eax, edx
cmp byte [esp + 0x14], 0
mov dword [esp + 0x44], eax
je 0x407ace
mov ecx, dword [esp + 0x50]
call fcn.00406dce
mov ch, byte [esp + 0x15]
mov edi, eax
jmp 0x407adc
mov edx, dword [esp + 0x18]
add edx, 4
mov dword [esp + 0x18], edx
mov edi, dword [edx - 4]
mov dword [esp + 0x48], edi
test edi, edi
jne 0x407af4
cmp ch, 0xa
mov edi, str.NULL
mov eax, str._NULL_
cmovne edi, eax
xor eax, eax
xor edx, edx
mov dword [esp + 0x58], eax
mov dword [esp + 0x30], edx
test esi, esi
je 0x407b23
mov cl, byte [edx + edi]
test cl, cl
je 0x407b1f
inc edx
inc eax
cmp cl, byte [esp + 0x44]
cmovne eax, dword [esp + 0x58]
mov dword [esp + 0x58], eax
sub esi, 1
jne 0x407b04
mov dword [esp + 0x30], edx
cmp dword [esp + 0x48], 0
je 0x407b39
cmp ch, 0xa
jne 0x407b39
mov dword [esp + 0x24], 1
jmp 0x407b3e
and dword [esp + 0x24], 0
add eax, 3
add eax, edx
cmp eax, 0x46
jle 0x407b6a
cdq
push edx
push eax
call fcn.00406641
mov dword [esp + 0x5c], eax
mov dword [esp + 0x24], eax
pop ecx
pop ecx
mov ecx, eax
test eax, eax
je 0x407c8d
mov edx, dword [esp + 0x30]
jmp 0x407b75
lea ecx, [esp + 0xc0]
mov dword [esp + 0x1c], ecx
xor esi, esi
cmp dword [esp + 0x24], esi
je 0x407b84
mov eax, dword [esp + 0x44]
inc esi
mov byte [ecx], al
xor eax, eax
test edx, edx
jle 0x407ba2
mov dl, byte [eax + edi]
mov byte [esi + ecx], dl
inc esi
cmp dl, byte [esp + 0x44]
jne 0x407b9b
mov byte [esi + ecx], dl
inc esi
inc eax
cmp eax, dword [esp + 0x30]
jl 0x407b8a
cmp dword [esp + 0x24], 0
je 0x407bb1
mov eax, dword [esp + 0x44]
mov byte [esi + ecx], al
inc esi
mov byte [esi + ecx], 0
jmp 0x4073e3
mov edx, dword [esp + 0x18]
add edx, 4
mov dword [esp + 0x18], edx
mov edx, dword [edx - 4]
test edx, edx
je 0x40795f
cmp dword [edx + 4], 0
je 0x40795f
push dword [edx + 4]
mov edx, dword [edx]
mov ecx, dword [esp + 0x40]
call fcn.00407e6b
pop ecx
jmp 0x40795f
mov edx, dword [esp + 0x18]
lea eax, [edx + 8]
imul esi, dword [eax - 4], 0x50
mov dword [esp + 0x60], eax
mov eax, dword [edx]
mov dword [esp + 0x58], eax
mov edx, dword [esi + eax + 0xc]
test edx, edx
je 0x407c45
mov ecx, edx
lea eax, [ecx + 1]
mov dword [esp + 0x48], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x407c14
sub ecx, dword [esp + 0x48]
and ecx, 0x3fffffff
push ecx
mov ecx, dword [esp + 0x40]
call fcn.00407e6b
pop ecx
mov ecx, dword [esp + 0x3c]
mov edx, 0x494144
push 1
call fcn.00407e6b
mov eax, dword [esp + 0x5c]
pop ecx
mov edx, dword [esi + eax + 0x10]
test edx, edx
jne 0x407c51
xor ecx, ecx
jmp 0x407c65
mov ecx, edx
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x407c56
sub ecx, esi
and ecx, 0x3fffffff
push ecx
mov ecx, dword [esp + 0x40]
call fcn.00407e6b
and dword [esp + 0x2c], 0
xor esi, esi
mov edx, dword [esp + 0x64]
pop ecx
mov dword [esp + 0x18], edx
jmp 0x4073e7
mov edi, dword [esp + 0x1c]
jmp 0x4073eb
mov eax, dword [esp + 0x3c]
and dword [eax + 0x10], 0
mov byte [eax + 0x18], 1
jmp case.default.0x407170
mov ecx, dword [esp + 0x3c]
mov edx, 0x494364
push 1
call fcn.00407e6b
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret