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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x128
mov eax, dword [ebp + 0x10]
xor ecx, ecx
push esi
push edi
mov edi, dword [ebp + 8]
xor edx, edx
mov dword [esp + 0x70], ecx
mov dword [esp + 0x30], ecx
mov dword [esp + 0x5c], edx
mov cl, byte [edi + 0x15]
and cl, 2
mov byte [esp + 0x1f], cl
je 0x404ee6
mov edx, dword [eax]
mov dword [esp + 0x5c], edx
cmp byte [esp + 0x1f], 0
lea ecx, [eax + 4]
mov esi, dword [ebp + 0xc]
cmove ecx, eax
mov dword [esp + 0x2c], ecx
movsx ecx, byte [esi]
test ecx, ecx
je case.default.0x4053b2
movsd xmm0, qword [0x4e5d00]
lea edx, [edi + 0x10]
movsd qword [esp + 0xd0], xmm0
lea eax, [edi + 8]
xorps xmm0, xmm0
mov dword [esp + 0x20], edx
movsd qword [esp + 0x80], xmm0
movsd xmm0, qword [0x4e5b78]
movsd qword [esp + 0xe0], xmm0
movsd xmm0, qword [0x4e5b70]
movsd qword [esp + 0xe8], xmm0
movsd xmm0, qword [0x4e5ba0]
movsd qword [esp + 0xf0], xmm0
movsd xmm0, qword [0x4e5c70]
movsd qword [esp + 0xf8], xmm0
movsd xmm0, qword [0x4e5c38]
movsd qword [esp + 0x100], xmm0
movsd xmm0, qword [0x4e5bb0]
movsd qword [esp + 0x78], xmm0
movsd xmm0, qword [0x4e5b80]
movsd qword [esp + 0x108], xmm0
movsd xmm0, qword [0x4e5c18]
movsd qword [esp + 0x110], xmm0
movsd xmm0, qword [0x4e5b90]
mov dword [esp + 0x18], eax
movsd qword [esp + 0x118], xmm0
cmp ecx, 0x25
je 0x405043
mov edx, esi
mov dword [esp + 0x30], edx
nop
mov al, byte [esi + 1]
inc esi
test al, al
je 0x404fdc
cmp al, 0x25
jne 0x404fd0
mov eax, esi
lea ecx, [edi + 0x10]
sub eax, edx
mov dword [esp + 0x20], ecx
mov dword [esp + 0x40], eax
mov eax, dword [ecx]
lea ecx, [edi + 8]
add eax, dword [esp + 0x40]
cmp eax, dword [ecx]
mov dword [esp + 0x18], ecx
lea ecx, [edi + 0x10]
mov dword [esp + 0x38], eax
jb 0x405013
push dword [esp + 0x40]
mov ecx, edi
call fcn.00406d70
add esp, 4
jmp 0x40503a
mov eax, dword [esp + 0x40]
test eax, eax
je 0x40503a
mov edi, dword [esp + 0x38]
mov dword [ecx], edi
mov edi, dword [ebp + 8]
push eax
push edx
mov eax, dword [edi + 4]
sub eax, dword [esp + 0x48]
add eax, dword [esp + 0x40]
push eax
call fcn.004bbbe0
add esp, 0xc
cmp byte [esi], 0
je case.default.0x4053b2
movsx ecx, byte [esi + 1]
inc esi
mov dword [esp + 0x60], esi
test ecx, ecx
je 0x4069c1
xor al, al
mov dword [esp + 0x28], 0
or edi, 0xffffffff
mov byte [esp + 0x47], al
mov byte [esp + 0x25], al
mov byte [esp + 0x37], al
mov byte [esp + 0x27], al
mov byte [esp + 0x1e], al
mov byte [esp + 0x17], al
mov byte [esp + 0x26], al
mov dword [esp + 0x20], edi
mov edx, dword [esp + 0x2c]
lea eax, [ecx - 0x20]
cmp eax, 0x4c
ja case.0x405098.34
movzx eax, byte [eax + 0x406a28]
jmp dword [eax*4 + 0x4069f8]
mov byte [esp + 0x17], 1
jmp 0x40531b
mov byte [esp + 0x1e], 0x2b
jmp 0x40531b
mov byte [esp + 0x1e], 0x20
jmp 0x40531b
mov byte [esp + 0x37], 1
jmp 0x40531b
mov byte [esp + 0x25], 1
jmp 0x40531b
mov byte [esp + 0x47], 1
jmp 0x40531b
mov byte [esp + 0x27], 0x2c
jmp 0x40531b
inc esi
lea eax, [ecx - 0x30]
mov dword [esp + 0x28], eax
mov dword [esp + 0x60], esi
movsx ecx, byte [esi]
cmp ecx, 0x30
jl 0x405127
mov edi, eax
nop dword [eax + eax]
cmp ecx, 0x39
ja 0x405117
lea edi, [edi + edi*4]
inc esi
lea edi, [edi - 0x18]
lea edi, [ecx + edi*2]
movsx ecx, byte [esi]
cmp ecx, 0x30
jge 0x405100
mov dword [esp + 0x28], edi
mov edi, dword [esp + 0x20]
mov eax, dword [esp + 0x28]
mov dword [esp + 0x60], esi
and eax, 0x7fffffff
mov dword [esp + 0x28], eax
cmp ecx, 0x2e
je 0x40531a
jmp 0x405315
cmp byte [esp + 0x1f], 0
je 0x4051c5
mov eax, dword [esp + 0x5c]
mov edx, dword [eax + 4]
cmp dword [eax], edx
jg 0x405163
xorps xmm0, xmm0
movlpd qword [esp + 0x48], xmm0
mov eax, dword [esp + 0x48]
jmp 0x4051cc
mov eax, dword [eax + 8]
mov ecx, dword [eax + edx*4]
lea eax, [edx + 1]
mov edx, dword [esp + 0x5c]
mov dword [edx + 4], eax
movzx eax, word [ecx + 0x10]
test al, 0x24
je 0x405186
mov edx, dword [ecx + 4]
mov eax, dword [ecx]
mov dword [esp + 0x4c], edx
jmp 0x4051cc
test al, 8
je 0x405199
movsd xmm0, qword [ecx]
call fcn.00426f70
mov dword [esp + 0x4c], edx
jmp 0x4051cc
test al, 0x12
je 0x4051ae
cmp dword [ecx + 8], 0
je 0x4051ae
call fcn.00426fa0
mov dword [esp + 0x4c], edx
jmp 0x4051cc
xorps xmm0, xmm0
movlpd qword [esp + 0x48], xmm0
mov edx, dword [esp + 0x4c]
mov eax, dword [esp + 0x48]
mov dword [esp + 0x4c], edx
jmp 0x4051cc
add dword [esp + 0x2c], 4
mov eax, dword [edx]
mov dword [esp + 0x28], eax
test eax, eax
jns 0x4051f0
mov byte [esp + 0x17], 1
cmp eax, 0x80000001
jl 0x4051e8
neg eax
mov dword [esp + 0x28], eax
jmp 0x4051f0
mov dword [esp + 0x28], 0
mov al, byte [esi + 1]
lea edx, [esi + 1]
movsx ecx, al
cmp al, 0x2e
je 0x40531b
cmp al, 0x6c
je 0x40531b
mov dword [esp + 0x60], edx
jmp case.0x405098.34
movsx ecx, byte [esi + 1]
inc esi
mov dword [esp + 0x60], esi
cmp ecx, 0x2a
jne 0x4052e5
cmp byte [esp + 0x1f], 0
je 0x4052ab
mov edi, dword [esp + 0x5c]
mov edx, dword [edi + 4]
cmp dword [edi], edx
jg 0x405249
xorps xmm0, xmm0
movlpd qword [esp + 0x48], xmm0
mov edi, dword [esp + 0x48]
jmp 0x4052b2
mov eax, dword [edi + 8]
mov ecx, dword [eax + edx*4]
lea eax, [edx + 1]
mov dword [edi + 4], eax
movzx eax, word [ecx + 0x10]
test al, 0x24
je 0x405268
mov edx, dword [ecx + 4]
mov edi, dword [ecx]
mov dword [esp + 0x4c], edx
jmp 0x4052b2
test al, 8
je 0x40527d
movsd xmm0, qword [ecx]
call fcn.00426f70
mov edi, eax
mov dword [esp + 0x4c], edx
jmp 0x4052b2
test al, 0x12
je 0x405294
cmp dword [ecx + 8], 0
je 0x405294
call fcn.00426fa0
mov edi, eax
mov dword [esp + 0x4c], edx
jmp 0x4052b2
xorps xmm0, xmm0
movlpd qword [esp + 0x48], xmm0
mov edx, dword [esp + 0x4c]
mov edi, dword [esp + 0x48]
mov dword [esp + 0x4c], edx
jmp 0x4052b2
add dword [esp + 0x2c], 4
mov edi, dword [edx]
mov dword [esp + 0x20], edi
test edi, edi
jns 0x4052da
cmp edi, 0x80000001
jl 0x4052d3
movsx ecx, byte [esi + 1]
neg edi
inc esi
mov dword [esp + 0x20], edi
mov dword [esp + 0x60], esi
jmp 0x405315
or edi, 0xffffffff
mov dword [esp + 0x20], edi
movsx ecx, byte [esi + 1]
inc esi
mov dword [esp + 0x60], esi
jmp 0x405315
xor edi, edi
cmp ecx, 0x30
jl 0x40530b
nop dword [eax]
cmp ecx, 0x39
ja 0x405307
lea edi, [edi + edi*4]
inc esi
lea edi, [edi - 0x18]
lea edi, [ecx + edi*2]
movsx ecx, byte [esi]
cmp ecx, 0x30
jge 0x4052f0
mov dword [esp + 0x60], esi
and edi, 0x7fffffff
mov dword [esp + 0x20], edi
cmp ecx, 0x6c
jne case.0x405098.34
dec esi
movsx ecx, byte [esi + 1]
inc esi
mov dword [esp + 0x60], esi
test ecx, ecx
jne 0x405081
jmp case.0x405098.34
movsx ecx, byte [esi + 1]
inc esi
mov byte [esp + 0x26], 1
mov dword [esp + 0x60], esi
cmp ecx, 0x6c
jne case.0x405098.34
movsx ecx, byte [esi + 1]
inc esi
mov dword [esp + 0x60], esi
mov byte [esp + 0x26], 2
mov eax, dword [esp + 0x2c]
xor esi, esi
mov dword [esp + 0x18], eax
mov edx, 0x4e15d0
mov dword [esp + 0x40], 0x4e15d0
mov byte [esp + 0x1d], 0x11
nop dword [eax + eax]
movsx eax, byte [edx]
cmp ecx, eax
je 0x40538d
add edx, 6
inc esi
cmp edx, 0x4e165a
jl 0x405370
mov dl, byte [esp + 0x1d]
mov ecx, dword [esp + 0x40]
jmp 0x4053a6
lea eax, [esi + esi*2]
mov dl, byte [eax*2 + 0x4e15d3]
lea ecx, [eax*2 + 0x4e15d0]
mov dword [esp + 0x40], ecx
mov byte [esp + 0x1d], dl
movzx eax, dl
cmp eax, 0x10
ja case.default.0x4053b2
jmp dword [eax*4 + 0x406a78]
mov byte [esp + 0x26], 1
mov byte [esp + 0x27], 0
test byte [ecx + 2], 1
je 0x4054d1
cmp byte [esp + 0x1f], 0
je 0x405483
mov esi, dword [esp + 0x5c]
mov edx, dword [esi + 4]
cmp dword [esi], edx
jg 0x405405
xorps xmm0, xmm0
movlpd qword [esp + 0x48], xmm0
mov ecx, dword [esp + 0x4c]
mov eax, dword [esp + 0x48]
mov dl, byte [esp + 0x1e]
mov dword [esp + 0x18], eax
mov dword [esp + 0x3c], ecx
jmp 0x40559f
mov eax, dword [esi + 8]
mov ecx, dword [eax + edx*4]
lea eax, [edx + 1]
mov dword [esi + 4], eax
movzx eax, word [ecx + 0x10]
test al, 0x24
je 0x405430
mov eax, dword [ecx]
mov dword [esp + 0x18], eax
mov eax, dword [ecx + 4]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x3c]
jmp 0x4054a9
test al, 8
je 0x405449
movsd xmm0, qword [ecx]
call fcn.00426f70
mov dword [esp + 0x3c], edx
mov ecx, edx
mov dword [esp + 0x18], eax
jmp 0x4054a9
test al, 0x12
je 0x405464
cmp dword [ecx + 8], 0
je 0x405464
call fcn.00426fa0
mov dword [esp + 0x3c], edx
mov ecx, edx
mov dword [esp + 0x18], eax
jmp 0x4054a9
xorps xmm0, xmm0
movlpd qword [esp + 0x48], xmm0
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x18], eax
jmp 0x4054a9
mov al, byte [esp + 0x26]
mov ecx, dword [esp + 0x18]
test al, al
je 0x40549f
cmp al, 2
mov eax, dword [ecx]
jne 0x4054a1
add dword [esp + 0x2c], 8
mov ecx, dword [ecx + 4]
jmp 0x4054a9
mov eax, dword [ecx]
add dword [esp + 0x2c], 4
cdq
mov ecx, edx
test ecx, ecx
jg 0x4053f4
jl 0x4054bb
test eax, eax
jae 0x4053f4
neg eax
mov dl, 0x2d
mov dword [esp + 0x18], eax
adc ecx, 0
neg ecx
mov dword [esp + 0x3c], ecx
jmp 0x40559b
cmp byte [esp + 0x1f], 0
je 0x405568
mov esi, dword [esp + 0x5c]
mov edx, dword [esi + 4]
cmp dword [esi], edx
jle 0x405549
mov eax, dword [esi + 8]
mov ecx, dword [eax + edx*4]
lea eax, [edx + 1]
mov dword [esi + 4], eax
movzx eax, word [ecx + 0x10]
test al, 0x24
je 0x405515
mov eax, dword [ecx]
mov dword [esp + 0x18], eax
mov eax, dword [ecx + 4]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x3c]
jmp 0x405599
test al, 8
je 0x40552e
movsd xmm0, qword [ecx]
call fcn.00426f70
mov dword [esp + 0x3c], edx
mov ecx, edx
mov dword [esp + 0x18], eax
jmp 0x405599
test al, 0x12
je 0x405549
cmp dword [ecx + 8], 0
je 0x405549
call fcn.00426fa0
mov dword [esp + 0x3c], edx
mov ecx, edx
mov dword [esp + 0x18], eax
jmp 0x405599
xorps xmm0, xmm0
movlpd qword [esp + 0x48], xmm0
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x18], eax
jmp 0x405599
mov al, byte [esp + 0x26]
mov ecx, dword [esp + 0x18]
test al, al
je 0x405588
cmp al, 2
mov eax, dword [ecx]
mov dword [esp + 0x18], eax
jne 0x40558e
add dword [esp + 0x2c], 8
mov ecx, dword [ecx + 4]
jmp 0x405595
mov eax, dword [ecx]
mov dword [esp + 0x18], eax
add dword [esp + 0x2c], 4
xor ecx, ecx
mov dword [esp + 0x3c], ecx
xor dl, dl
mov byte [esp + 0x1e], dl
or eax, ecx
jne 0x4055a7
mov byte [esp + 0x37], al
cmp byte [esp + 0x47], 0
je 0x4055c4
mov ecx, dword [esp + 0x28]
xor eax, eax
test dl, dl
setne al
sub ecx, eax
cmp edi, ecx
cmovl edi, ecx
mov dword [esp + 0x20], edi
cmp edi, 0x25
jge 0x4055df
mov esi, 0x46
lea eax, [esp + 0x88]
mov dword [esp + 0x64], esi
mov dword [esp + 0x38], eax
jmp 0x40562d
mov eax, edi
cdq
mov esi, eax
mov ecx, edx
add esi, 0xa
mov dword [esp + 0x64], esi
adc ecx, 0
cmp byte [esp + 0x27], 0
je 0x40560e
mov eax, 0x55555556
imul edi
mov eax, edx
shr eax, 0x1f
add eax, edx
cdq
add esi, eax
mov dword [esp + 0x64], esi
adc ecx, edx
push ecx
mov ecx, dword [ebp + 8]
push esi
call fcn.00404dd0
mov ecx, eax
mov dword [esp + 0x40], eax
add esp, 8
mov dword [esp + 0x70], ecx
test ecx, ecx
je case.default.0x4053b2
dec esi
add esi, eax
cmp byte [esp + 0x1d], 0xf
mov dword [esp + 0x30], esi
jne 0x4056f2
mov eax, dword [esp + 0x18]
mov edx, 0xcccccccd
mov ecx, 0xcccccccd
lea edi, [edx - 1]
mul edx
mov dword [esp + 0x48], eax
mov esi, edx
mov eax, dword [esp + 0x18]
mul edi
mov edi, eax
mov dword [esp + 0x68], edx
mov eax, dword [esp + 0x3c]
mul ecx
mov ecx, eax
mov dword [esp + 0x50], edx
mov eax, dword [esp + 0x3c]
mov edx, 0xcccccccc
mul edx
add ecx, esi
mov dword [esp + 0x48], edx
mov edx, dword [esp + 0x50]
adc edx, 0
mov dword [esp + 0x74], eax
mov esi, eax
add edi, ecx
mov ecx, dword [esp + 0x68]
adc ecx, 0
mov dword [esp + 0x50], edi
mov edi, dword [esp + 0x18]
xor eax, eax
add edx, ecx
mov ecx, dword [esp + 0x48]
adc eax, eax
add esi, edx
adc ecx, eax
shrd esi, ecx, 3
shr ecx, 3
lea eax, [esi + esi*4]
add eax, eax
sub edi, eax
cmp edi, 4
jge 0x4056d4
push 0
push 0xa
push ecx
push esi
call fcn.004d1610
cmp eax, 1
jne 0x4056d6
test edx, edx
jne 0x4056d6
xor edi, edi
mov esi, dword [esp + 0x30]
movzx eax, byte [edi*2 + 0x4e0fad]
mov byte [esi - 1], al
sub esi, 2
movzx eax, byte [edi*2 + str.thstndrd]
mov byte [esi], al
mov ecx, dword [esp + 0x40]
mov edi, dword [esp + 0x18]
movzx eax, byte [ecx + 4]
add eax, str.0123456789ABCDEF0123456789abcdef
mov dword [esp + 0x48], eax
movzx eax, byte [ecx + 1]
cdq
mov ecx, edx
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x30], ecx
nop word [eax + eax]
push ecx
push dword [esp + 0x54]
dec esi
push eax
push edi
call fcn.004d1610
push dword [esp + 0x30]
mov ecx, dword [esp + 0x4c]
push dword [esp + 0x54]
push dword [esp + 0x44]
mov al, byte [eax + ecx]
push edi
mov byte [esi], al
call fcn.004d15a0
mov ecx, dword [esp + 0x30]
mov edi, eax
mov eax, edx
mov dword [esp + 0x3c], eax
test eax, eax
ja 0x405720
jb 0x40575e
test edi, edi
jne 0x405720
mov eax, dword [esp + 0x38]
mov edx, esi
mov edi, dword [esp + 0x20]
sub eax, edx
mov dword [esp + 0x30], esi
mov esi, dword [esp + 0x64]
lea ecx, [esi - 1]
add ecx, eax
cmp ecx, edi
jge 0x40578e
mov eax, edi
sub eax, ecx
mov ecx, edi
dec edx
mov byte [edx], 0x30
sub eax, 1
jne 0x405781
mov dword [esp + 0x30], edx
cmp byte [esp + 0x27], 0
je 0x4057e6
dec ecx
mov eax, 0x55555556
imul ecx
mov eax, ecx
mov ecx, 3
mov esi, edx
shr esi, 0x1f
add esi, edx
cdq
idiv ecx
xor ecx, ecx
lea edi, [edx + 1]
mov edx, dword [esp + 0x30]
sub edx, esi
mov dword [esp + 0x30], edx
test esi, esi
jle 0x4057e2
lea eax, [esi + ecx]
mov al, byte [eax + edx]
mov byte [ecx + edx], al
sub edi, 1
jne 0x4057dd
mov al, byte [esp + 0x27]
inc ecx
dec esi
mov edi, 3
mov byte [ecx + edx], al
inc ecx
test esi, esi
jg 0x4057c1
mov esi, dword [esp + 0x64]
mov al, byte [esp + 0x1e]
test al, al
je 0x4057f5
dec edx
mov dword [esp + 0x30], edx
mov byte [edx], al
cmp byte [esp + 0x37], 0
je 0x405825
mov eax, dword [esp + 0x40]
mov al, byte [eax + 5]
test al, al
je 0x405825
movzx eax, al
add eax, 0x4e5810
mov cl, byte [eax]
test cl, cl
je 0x405825
dec edx
lea eax, [eax + 1]
mov byte [edx], cl
mov cl, byte [eax]
test cl, cl
jne 0x405815
mov dword [esp + 0x30], edx
mov eax, dword [esp + 0x38]
dec esi
sub eax, edx
add esi, eax
mov edi, dword [esp + 0x28]
mov al, byte [esp + 0x17]
sub edi, esi
mov dword [esp + 0x28], edi
test edi, edi
jle 0x405f2d
test al, al
jne 0x4065a0
mov eax, dword [ebp + 8]
xor ecx, ecx
mov dword [esp + 0x50], edi
mov eax, dword [eax + 0x10]
mov dword [esp + 0x38], eax
mov eax, edi
cdq
add dword [esp + 0x38], eax
adc ecx, edx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 8]
js 0x40588e
jg 0x405875
cmp dword [esp + 0x38], eax
jb 0x40588e
mov ecx, dword [ebp + 8]
mov edx, edi
call fcn.00406ac0
mov edx, dword [ebp + 8]
mov dword [esp + 0x50], eax
test eax, eax
jle 0x4065a3
mov edi, dword [esp + 0x50]
mov ecx, dword [edx + 0x10]
dec edi
mov eax, dword [edx + 4]
mov byte [ecx + eax], 0x20
inc dword [edx + 0x10]
test edi, edi
jg 0x405892
mov edi, dword [esp + 0x28]
jmp 0x4065a3
cmp byte [esp + 0x1f], 0
je 0x40592d
mov esi, dword [esp + 0x5c]
mov edx, dword [esi + 4]
cmp dword [esi], edx
jle 0x405918
mov eax, dword [esi + 8]
mov ecx, dword [eax + edx*4]
lea eax, [edx + 1]
mov dword [esi + 4], eax
movzx eax, word [ecx + 0x10]
test al, 8
je 0x4058e3
movsd xmm1, qword [ecx]
mov dl, byte [esp + 0x1d]
movsd qword [esp + 0x68], xmm1
jmp 0x405940
test al, 0x24
je 0x405900
mov edx, dword [ecx + 4]
mov ecx, dword [ecx]
call fcn.004d1cc0
mov dl, byte [esp + 0x1d]
movaps xmm1, xmm0
movsd qword [esp + 0x68], xmm1
jmp 0x405940
test al, 0x12
je 0x405918
call fcn.00427020
mov dl, byte [esp + 0x1d]
movaps xmm1, xmm0
movsd qword [esp + 0x68], xmm0
jmp 0x405940
movsd xmm1, qword [esp + 0x80]
mov dl, byte [esp + 0x1d]
movsd qword [esp + 0x68], xmm1
jmp 0x405940
mov ecx, dword [esp + 0x18]
add dword [esp + 0x2c], 8
movsd xmm1, qword [ecx]
movsd qword [esp + 0x68], xmm1
test edi, edi
jns 0x40594b
mov edi, 6
jmp 0x405959
cmp edi, 0x5f5e100
mov eax, 0x5f5e100
cmovg edi, eax
movsd xmm2, qword [esp + 0x80]
comisd xmm2, xmm1
jbe 0x40597b
xorps xmm1, xmmword [esp + 0xd0]
movsd qword [esp + 0x68], xmm1
mov byte [esp + 0x1e], 0x2d
cmp dl, 3
jne 0x405985
test edi, edi
jle 0x405985
dec edi
mov esi, edi
mov eax, 0xcccccccd
and esi, 0xfff
mul esi
mov eax, esi
shr edx, 3
lea ecx, [edx + edx*4]
add ecx, ecx
sub eax, ecx
movsd xmm3, qword [eax*8 + 0x4e57b0]
cmp esi, 0xa
jb 0x4059c0
movsd xmm0, qword [esp + 0xe0]
mulsd xmm3, xmm0
sub edx, 1
jne 0x4059b7
cmp byte [esp + 0x1d], 1
jne 0x405a12
movsd qword [esp + 0x48], xmm1
mov eax, 0x55555556
mov ecx, dword [esp + 0x4c]
shr ecx, 0x14
and ecx, 0x7ff
sub ecx, 0x3ff
imul ecx
mov eax, edx
shr eax, 0x1f
add eax, edx
add eax, edi
cmp eax, 0xf
jge 0x405a05
movaps xmm0, xmm1
mulsd xmm0, qword [esp + 0xe8]
addsd xmm3, xmm0
movaps xmm0, xmm3
addsd xmm1, xmm0
movsd qword [esp + 0x68], xmm1
movsd qword [esp + 0x48], xmm1
xor eax, eax
mov ecx, dword [esp + 0x4c]
mov edx, ecx
and edx, 0x7ff00000
mov dword [esp + 0x20], eax
cmp edx, 0x7ff00000
jne 0x405a56
mov eax, dword [esp + 0x48]
and ecx, 0xfffff
or eax, ecx
je 0x405a52
mov dword [esp + 0x30], 0x4d9c38
mov esi, 3
jmp 0x40582e
mov eax, dword [esp + 0x20]
comisd xmm1, xmm2
jbe 0x405b8c
movsd xmm4, qword [esp + 0xf8]
comisd xmm1, xmm4
movsd xmm5, qword [esp + 0xf0]
movaps xmm2, xmm5
jb 0x405a9f
nop dword [eax + eax]
cmp eax, 0x15e
jg 0x405a9b
mulsd xmm2, xmm4
add eax, 0x64
movaps xmm0, xmm2
mulsd xmm0, xmm4
comisd xmm1, xmm0
jae 0x405a80
mov dword [esp + 0x20], eax
movsd xmm4, qword [esp + 0x100]
movaps xmm0, xmm2
mulsd xmm0, xmm4
comisd xmm1, xmm0
jb 0x405ad0
cmp eax, 0x15e
jg 0x405acc
movaps xmm2, xmm0
add eax, 0xa
mulsd xmm0, xmm4
comisd xmm1, xmm0
jae 0x405ab5
mov dword [esp + 0x20], eax
movsd xmm4, qword [esp + 0x78]
movaps xmm0, xmm2
mulsd xmm0, xmm4
comisd xmm1, xmm0
jb 0x405afc
cmp eax, 0x15e
jg 0x405af8
movaps xmm2, xmm0
inc eax
mulsd xmm0, xmm4
comisd xmm1, xmm0
jae 0x405ae3
mov dword [esp + 0x20], eax
divsd xmm1, xmm2
movsd xmm0, qword [esp + 0x108]
comisd xmm0, xmm1
movsd qword [esp + 0x68], xmm1
jbe 0x405b37
movsd xmm2, qword [esp + 0x110]
nop
mulsd xmm1, xmm2
sub eax, 8
comisd xmm0, xmm1
ja 0x405b20
mov dword [esp + 0x20], eax
movsd qword [esp + 0x68], xmm1
comisd xmm5, xmm1
jbe 0x405b55
nop dword [eax]
mulsd xmm1, xmm4
dec eax
comisd xmm5, xmm1
ja 0x405b40
mov dword [esp + 0x20], eax
movsd qword [esp + 0x68], xmm1
cmp eax, 0x15e
jle 0x405b92
lea ecx, [esp + 0x88]
xor eax, eax
mov dword [esp + 0x30], ecx
mov cl, byte [esp + 0x1e]
test cl, cl
mov byte [esp + 0x88], cl
setne al
mov dword [esp + eax + 0x88], 0x666e49
lea esi, [eax + 3]
jmp 0x40582e
movsd xmm4, qword [esp + 0x78]
mov dl, byte [esp + 0x1d]
lea esi, [esp + 0x88]
cmp dl, 1
je 0x405bf0
addsd xmm1, xmm3
comisd xmm1, xmm4
movsd qword [esp + 0x68], xmm1
jb 0x405bc6
mulsd xmm1, qword [esp + 0x118]
inc eax
mov dword [esp + 0x20], eax
movsd qword [esp + 0x68], xmm1
cmp dl, 3
jne 0x405bf0
cmp byte [esp + 0x37], 0
sete byte [esp + 0x27]
cmp eax, 0xfffffffc
jl 0x405be8
cmp eax, edi
jg 0x405be8
mov dl, 1
sub edi, eax
mov byte [esp + 0x1d], dl
jmp 0x405bf8
mov dl, 2
mov byte [esp + 0x1d], dl
jmp 0x405bf8
mov cl, byte [esp + 0x25]
mov byte [esp + 0x27], cl
xor ecx, ecx
cmp dl, 2
cmovne ecx, eax
xor eax, eax
test ecx, ecx
mov dword [esp + 0x74], ecx
cmovg eax, ecx
cdq
mov ecx, eax
mov dword [esp + 0x38], edx
mov eax, edi
cdq
add ecx, eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x48], ecx
adc dword [esp + 0x38], edx
cdq
add ecx, eax
mov eax, dword [esp + 0x38]
adc eax, edx
add ecx, 0xf
adc eax, 0
js 0x405c58
jg 0x405c3b
cmp ecx, 0x46
jbe 0x405c58
push eax
push ecx
mov ecx, dword [ebp + 8]
call fcn.00404dd0
mov ecx, eax
add esp, 8
mov dword [esp + 0x70], ecx
mov esi, ecx
test ecx, ecx
je case.default.0x4053b2
movzx eax, byte [esp + 0x25]
test edi, edi
mov dl, byte [esp + 0x1e]
mov dword [esp + 0x30], esi
lea eax, [eax + eax*4]
lea ecx, [eax*2 + 0x10]
setg al
or al, byte [esp + 0x25]
or al, byte [esp + 0x37]
mov dword [esp + 0x50], ecx
mov byte [esp + 0x26], al
test dl, dl
je 0x405c8b
mov byte [esi], dl
inc esi
mov edx, dword [esp + 0x74]
test edx, edx
jns 0x405c99
mov byte [esi], 0x30
inc esi
jmp 0x405cda
movsd xmm1, qword [esp + 0x68]
movsd xmm2, qword [esp + 0x78]
test ecx, ecx
jg 0x405cad
mov al, 0x30
jmp 0x405cc4
cvttsd2si eax, xmm1
dec ecx
movd xmm0, eax
add al, 0x30
cvtdq2pd xmm0, xmm0
subsd xmm1, xmm0
mulsd xmm1, xmm2
mov byte [esi], al
inc esi
sub edx, 1
jns 0x405ca5
mov al, byte [esp + 0x26]
mov dword [esp + 0x50], ecx
movsd qword [esp + 0x68], xmm1
test al, al
je 0x405ce2
mov byte [esi], 0x2e
inc esi
inc edx
mov eax, edx
neg eax
test edx, edx
jns 0x405d8d
cmp eax, 8
jb 0x405d6b
and eax, 0x80000007
jns 0x405d00
dec eax
or eax, 0xfffffff8
inc eax
movaps xmm0, xmmword [0x4e5cf0]
neg eax
movaps xmm3, xmmword [0x4e5cc0]
xorps xmm1, xmm1
movaps xmmword [esp + 0x120], xmm0
xorps xmm2, xmm2
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x120]
nop dword [eax]
mov dword [esi], eax
add edx, 8
mov dword [esi + 4], eax
psubd xmm1, xmm3
add esi, 8
psubd xmm2, xmm3
cmp edx, dword [esp + 0x48]
jl 0x405d30
paddd xmm1, xmm2
movaps xmm0, xmm1
psrldq xmm0, 8
paddd xmm1, xmm0
movups xmm0, xmm1
psrldq xmm0, 4
paddd xmm1, xmm0
movd eax, xmm1
add edi, eax
test edx, edx
jns 0x405d8d
neg edx
push edx
push 0x30
push esi
mov dword [esp + 0x54], edx
call fcn.004bb940
add esi, dword [esp + 0x54]
add esp, 0xc
sub edi, dword [esp + 0x48]
mov ecx, dword [esp + 0x50]
test edi, edi
jle 0x405dc6
dec edi
test ecx, ecx
jg 0x405d9a
mov al, 0x30
jmp 0x405dbf
movsd xmm1, qword [esp + 0x68]
dec ecx
cvttsd2si eax, xmm1
movd xmm0, eax
add al, 0x30
cvtdq2pd xmm0, xmm0
subsd xmm1, xmm0
mulsd xmm1, qword [esp + 0x78]
movsd qword [esp + 0x68], xmm1
mov byte [esi], al
inc esi
test edi, edi
jg 0x405d91
cmp byte [esp + 0x27], 0
je 0x405e01
cmp byte [esp + 0x26], 0
je 0x405e01
cmp byte [esi - 1], 0x30
jne 0x405dea
nop word [eax + eax]
dec esi
mov byte [esi], 0
cmp byte [esi - 1], 0x30
je 0x405de0
cmp byte [esi - 1], 0x2e
jne 0x405e01
cmp byte [esp + 0x25], 0
je 0x405dfd
mov byte [esi], 0x30
inc esi
jmp 0x405e01
dec esi
mov byte [esi], 0
cmp byte [esp + 0x1d], 2
jne 0x405e9e
mov eax, dword [esp + 0x40]
lea edi, [esi + 2]
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x48], edi
movzx eax, byte [eax + 4]
mov al, byte [eax + str.0123456789ABCDEF0123456789abcdef]
mov byte [esi], al
mov eax, ecx
cdq
xor eax, edx
sub eax, edx
test ecx, ecx
mov dword [esp + 0x40], eax
sets cl
lea ecx, [ecx*2 + 0x2b]
mov byte [esi + 1], cl
mov esi, edi
mov edi, dword [esp + 0x40]
cmp eax, 0x64
jl 0x405e70
mov esi, dword [esp + 0x48]
mov eax, 0x51eb851f
imul edi
sar edx, 5
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
lea eax, [ecx + 0x30]
mov byte [esi], al
inc esi
imul eax, ecx, 0x64
sub edi, eax
mov dword [esp + 0x40], edi
mov eax, 0x66666667
imul edi
sar edx, 2
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
lea eax, [ecx + 0x30]
mov byte [esi], al
mov al, cl
shl cl, 2
add al, cl
mov ecx, dword [esp + 0x40]
add al, al
sub cl, al
add cl, 0x30
mov byte [esi + 1], cl
add esi, 2
mov edx, dword [esp + 0x30]
mov al, byte [esp + 0x17]
mov edi, dword [esp + 0x28]
mov byte [esi], 0
sub esi, edx
cmp byte [esp + 0x47], 0
je 0x405836
test al, al
jne 0x405836
cmp esi, edi
jge 0x405836
mov eax, edi
mov ecx, edi
sub eax, esi
mov esi, eax
mov dword [esp + 0x48], eax
cmp edi, esi
jl 0x405eef
mov edi, edx
sub edi, esi
nop
mov al, byte [edi + ecx]
mov byte [ecx + edx], al
dec ecx
cmp ecx, esi
jge 0x405ee0
mov edi, dword [esp + 0x28]
xor eax, eax
cmp byte [esp + 0x1e], al
setne al
test esi, esi
je 0x405f0a
push esi
add eax, edx
push 0x30
push eax
call fcn.004bb940
add esp, 0xc
mov esi, edi
jmp 0x405832
cmp byte [esp + 0x1f], 0
jne 0x405f2b
mov ecx, dword [esp + 0x18]
mov eax, dword [ebp + 8]
add dword [esp + 0x2c], 4
mov ecx, dword [ecx]
mov eax, dword [eax + 0x10]
mov dword [ecx], eax
xor esi, esi
mov edi, dword [ebp + 8]
mov edx, dword [edi + 0x10]
lea ecx, [edi + 0x10]
lea eax, [edi + 8]
mov dword [esp + 0x20], ecx
add edx, esi
mov dword [esp + 0x18], eax
cmp edx, dword [eax]
jb 0x40691b
mov edx, dword [esp + 0x30]
mov ecx, edi
push esi
call fcn.00406d70
add esp, 4
jmp 0x406936
lea eax, [esp + 0x88]
mov byte [esp + 0x88], 0x25
mov dword [esp + 0x30], eax
mov esi, 1
jmp 0x40582e
cmp byte [esp + 0x1f], 0
je 0x40603b
mov esi, dword [esp + 0x5c]
mov edx, dword [esi + 4]
cmp dword [esi], edx
jle 0x406025
mov eax, dword [esi + 8]
mov ecx, dword [eax + edx*4]
lea eax, [edx + 1]
mov dword [esi + 4], eax
test ecx, ecx
je 0x406025
movzx edx, word [ecx + 0x10]
mov eax, edx
and eax, 0x202
cmp eax, 0x202
jne 0x405fc3
cmp byte [ecx + 0x12], 1
jne 0x405fc3
mov edx, dword [ecx + 8]
jmp 0x405fd1
test dl, 1
jne 0x406025
mov dl, 1
call fcn.00427bc0
mov edx, eax
mov esi, 1
mov dword [esp + 0x18], esi
test edx, edx
je 0x40602e
mov cl, byte [edx]
mov byte [esp + 0x88], cl
movsx ecx, cl
and ecx, 0xc0
cmp cl, 0xc0
jne 0x406105
nop dword [eax]
mov cl, byte [edx + esi]
mov al, cl
and al, 0xc0
cmp al, 0x80
jne 0x406105
mov byte [esp + esi + 0x88], cl
inc esi
mov dword [esp + 0x18], esi
cmp esi, 4
jl 0x406000
jmp 0x406105
mov esi, 1
mov dword [esp + 0x18], esi
mov byte [esp + 0x88], 0
jmp 0x406105
mov ecx, dword [esp + 0x18]
add dword [esp + 0x2c], 4
mov ecx, dword [ecx]
cmp ecx, 0x80
jae 0x40605f
mov byte [esp + 0x88], cl
mov esi, 1
jmp 0x406101
mov eax, ecx
cmp ecx, 0x800
jae 0x40608b
shr eax, 6
and cl, 0x3f
and al, 0x1f
mov esi, 2
sub al, 0x40
add cl, 0x80
mov byte [esp + 0x88], al
mov byte [esp + 0x89], cl
jmp 0x406101
mov dl, cl
and dl, 0x3f
add dl, 0x80
cmp ecx, 0x10000
jae 0x4060c7
shr eax, 0xc
mov esi, 3
shr ecx, 6
and al, 0xf
sub al, 0x20
mov byte [esp + 0x8a], dl
and cl, 0x3f
mov byte [esp + 0x88], al
add cl, 0x80
mov byte [esp + 0x89], cl
jmp 0x406101
shr eax, 0x12
mov esi, 4
and al, 7
mov byte [esp + 0x8b], dl
sub al, 0x10
mov byte [esp + 0x88], al
mov eax, ecx
shr eax, 0xc
shr ecx, 6
and al, 0x3f
add al, 0x80
and cl, 0x3f
add cl, 0x80
mov byte [esp + 0x89], al
mov byte [esp + 0x8a], cl
mov dword [esp + 0x18], esi
cmp edi, 1
jle 0x4061d4
mov eax, dword [esp + 0x28]
sub eax, edi
mov edx, eax
inc eax
mov dword [esp + 0x40], edx
mov dword [esp + 0x28], eax
cmp eax, 1
jle 0x40618c
cmp byte [esp + 0x17], 0
jne 0x40618c
mov eax, dword [ebp + 8]
xor ecx, ecx
mov eax, dword [eax + 0x10]
mov dword [esp + 0x38], eax
mov eax, edx
cdq
add dword [esp + 0x38], eax
adc ecx, edx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 8]
js 0x406167
jg 0x406150
cmp dword [esp + 0x38], eax
jb 0x406167
mov edx, dword [esp + 0x40]
mov ecx, dword [ebp + 8]
call fcn.00406ac0
mov dword [esp + 0x40], eax
test eax, eax
jle 0x406186
mov edx, dword [ebp + 8]
mov edi, dword [esp + 0x40]
nop dword [eax + eax]
mov ecx, dword [edx + 0x10]
dec edi
mov eax, dword [edx + 4]
mov byte [ecx + eax], 0x20
inc dword [edx + 0x10]
test edi, edi
jg 0x406170
mov edi, dword [esp + 0x20]
xor ecx, ecx
mov dword [esp + 0x28], ecx
mov ecx, dword [ebp + 8]
dec edi
mov edx, dword [ecx + 0x10]
add edx, esi
cmp edx, dword [ecx + 8]
jb 0x4061ac
push esi
lea edx, [esp + 0x8c]
call fcn.00406d70
add esp, 4
jmp 0x4061cc
test esi, esi
je 0x4061cf
push esi
lea eax, [esp + 0x8c]
mov dword [ecx + 0x10], edx
push eax
mov eax, dword [ecx + 4]
sub eax, esi
add eax, edx
push eax
call fcn.004bbbe0
add esp, 0xc
mov ecx, dword [ebp + 8]
sub edi, 1
jne 0x406190
lea edx, [esp + 0x88]
mov dword [esp + 0x30], edx
jmp 0x406564
cmp byte [esp + 0x1f], 0
je 0x40625d
mov esi, dword [esp + 0x5c]
mov edx, dword [esi + 4]
cmp dword [esi], edx
jg 0x406200
xor edx, edx
mov al, 5
mov dword [esp + 0x30], edx
jmp 0x406270
mov eax, dword [esi + 8]
mov ecx, dword [eax + edx*4]
lea eax, [edx + 1]
mov dword [esi + 4], eax
test ecx, ecx
jne 0x40621a
xor edx, edx
mov al, 5
mov dword [esp + 0x30], edx
jmp 0x406270
movzx edx, word [ecx + 0x10]
mov eax, edx
and eax, 0x202
cmp eax, 0x202
jne 0x40623d
cmp byte [ecx + 0x12], 1
jne 0x40623d
mov edx, dword [ecx + 8]
mov al, 5
mov dword [esp + 0x30], edx
jmp 0x406270
test dl, 1
je 0x40624c
xor edx, edx
mov al, 5
mov dword [esp + 0x30], edx
jmp 0x406270
mov dl, 1
call fcn.00427bc0
mov edx, eax
mov dword [esp + 0x30], eax
mov al, 5
jmp 0x406270
mov ecx, dword [esp + 0x18]
add dword [esp + 0x2c], 4
mov al, byte [esp + 0x1d]
mov edx, dword [ecx]
mov dword [esp + 0x30], edx
test edx, edx
jne 0x406282
mov edx, 0x4d9c3c
mov dword [esp + 0x30], edx
jmp 0x406311
cmp al, 6
jne 0x406311
mov esi, dword [ebp + 8]
cmp dword [esi + 0x10], 0
jne 0x40630d
cmp dword [esi + 0xc], 0
je 0x40630d
cmp dword [esp + 0x28], 0
jne 0x40630d
test edi, edi
jns 0x40630d
cmp byte [esi + 0x14], 0
jne 0x40630d
mov eax, dword [esi]
mov dword [esi + 4], edx
test eax, eax
je 0x4062db
cmp edx, dword [eax + 0x164]
jae 0x4062db
cmp edx, dword [eax + 0x15c]
jb 0x4062ca
mov eax, 0x80
jmp 0x4062e9
cmp edx, dword [eax + 0x160]
jb 0x4062db
movzx eax, word [eax + 0x136]
jmp 0x4062e9
push edx
call dword [0x4e8b34]
mov edx, dword [esp + 0x34]
add esp, 4
mov dword [esi + 8], eax
lea ecx, [edx + 1]
nop
mov al, byte [edx]
inc edx
test al, al
jne 0x4062f0
or byte [esi + 0x15], 4
sub edx, ecx
and edx, 0x7fffffff
mov dword [esi + 0x10], edx
xor esi, esi
jmp 0x40582e
mov dword [esp + 0x70], edx
test edi, edi
js 0x406374
cmp byte [esp + 0x25], 0
je 0x40634f
mov esi, edx
test edi, edi
jle 0x406344
mov al, byte [esi]
dec edi
test al, al
je 0x406344
inc esi
cmp al, 0xc0
jb 0x406340
mov al, byte [esi]
and al, 0xc0
cmp al, 0x80
jne 0x406340
mov al, byte [esi + 1]
inc esi
and al, 0xc0
cmp al, 0x80
je 0x406336
test edi, edi
jg 0x406322
sub esi, edx
mov dword [esp + 0x18], esi
jmp 0x406564
xor esi, esi
test edi, edi
jle 0x40582e
nop dword [eax]
cmp byte [esi + edx], 0
je 0x40582e
inc esi
cmp esi, edi
jl 0x406360
jmp 0x40582e
mov esi, edx
lea ecx, [esi + 1]
nop dword [eax]
mov al, byte [esi]
inc esi
test al, al
jne 0x406380
sub esi, ecx
and esi, 0x7fffffff
mov dword [esp + 0x18], esi
jmp 0x406559
cmp dl, 0xe
mov eax, 0x27
mov ecx, 0x22
cmove eax, ecx
cmp byte [esp + 0x1f], 0
mov dword [esp + 0x3c], eax
je 0x406411
mov esi, dword [esp + 0x5c]
mov edx, dword [esi + 4]
cmp dword [esi], edx
jg 0x4063c8
mov dword [esp + 0x50], 0
jmp 0x406428
mov eax, dword [esi + 8]
mov ecx, dword [eax + edx*4]
lea eax, [edx + 1]
mov dword [esi + 4], eax
test ecx, ecx
jne 0x4063dc
xor esi, esi
jmp 0x40641c
movzx edx, word [ecx + 0x10]
mov eax, edx
and eax, 0x202
cmp eax, 0x202
jne 0x4063f9
cmp byte [ecx + 0x12], 1
jne 0x4063f9
mov esi, dword [ecx + 8]
jmp 0x40641c
test dl, 1
je 0x406402
xor esi, esi
jmp 0x40641c
mov dl, 1
call fcn.00427bc0
mov esi, eax
mov dword [esp + 0x20], eax
jmp 0x406420
mov ecx, dword [esp + 0x18]
add dword [esp + 0x2c], 4
mov esi, dword [ecx]
mov dword [esp + 0x20], esi
mov dword [esp + 0x50], esi
test esi, esi
jne 0x40643e
cmp byte [esp + 0x1d], 0xa
mov esi, str.NULL
mov eax, str._NULL_
cmovne esi, eax
mov dword [esp + 0x20], esi
xor eax, eax
xor edx, edx
mov dword [esp + 0x40], eax
mov dword [esp + 0x64], edx
test edi, edi
je 0x40649c
nop
mov cl, byte [edx + esi]
test cl, cl
je 0x406498
inc eax
cmp cl, byte [esp + 0x3c]
cmovne eax, dword [esp + 0x40]
cmp byte [esp + 0x25], 0
mov dword [esp + 0x40], eax
je 0x406492
and cl, 0xc0
cmp cl, 0xc0
jne 0x406492
lea ecx, [esi + 1]
add ecx, edx
mov al, byte [ecx]
and al, 0xc0
cmp al, 0x80
jne 0x40648e
mov al, byte [ecx + 1]
lea ecx, [ecx + 1]
and al, 0xc0
inc edx
cmp al, 0x80
je 0x406481
mov eax, dword [esp + 0x40]
inc edx
sub edi, 1
jne 0x406450
mov dword [esp + 0x64], edx
cmp dword [esp + 0x50], 0
je 0x4064b1
cmp byte [esp + 0x1d], 0xa
jne 0x4064b1
mov edi, 1
jmp 0x4064b3
xor edi, edi
add eax, 3
mov dword [esp + 0x50], edi
add eax, edx
cmp eax, 0x46
jle 0x4064e5
mov ecx, dword [ebp + 8]
cdq
push edx
push eax
call fcn.00404dd0
mov ecx, eax
add esp, 8
mov dword [esp + 0x70], ecx
mov edx, ecx
mov dword [esp + 0x30], ecx
test ecx, ecx
je case.default.0x4053b2
jmp 0x4064f0
lea edx, [esp + 0x88]
mov dword [esp + 0x30], edx
xor esi, esi
mov dword [esp + 0x18], esi
test edi, edi
je 0x406509
mov eax, dword [esp + 0x3c]
mov esi, 1
mov byte [edx], al
mov dword [esp + 0x18], esi
mov eax, dword [esp + 0x64]
xor ecx, ecx
test eax, eax
jle 0x406545
mov edi, dword [esp + 0x20]
mov al, byte [ecx + edi]
mov byte [esi + edx], al
inc esi
cmp al, byte [esp + 0x3c]
mov byte [esp + 0x47], al
mov eax, dword [esp + 0x64]
jne 0x406538
mov al, byte [esp + 0x47]
mov byte [esi + edx], al
inc esi
mov eax, dword [esp + 0x64]
inc ecx
cmp ecx, eax
jl 0x406517
mov edi, dword [esp + 0x50]
mov dword [esp + 0x18], esi
test edi, edi
je 0x406555
mov eax, dword [esp + 0x3c]
mov byte [esi + edx], al
inc esi
mov dword [esp + 0x18], esi
mov byte [esi + edx], 0
cmp byte [esp + 0x25], 0
je 0x40582e
mov edi, dword [esp + 0x28]
test edi, edi
jle 0x405832
lea eax, [esi - 1]
mov dword [esp + 0x48], eax
test eax, eax
js 0x405832
mov esi, eax
lea eax, [esi + edx]
mov al, byte [eax]
lea ecx, [edi + 1]
and al, 0xc0
cmp al, 0x80
cmovne ecx, edi
sub esi, 1
mov edi, ecx
jns 0x406581
mov esi, dword [esp + 0x18]
jmp 0x405832
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x10]
lea ecx, [edx + 0x10]
add eax, esi
mov dword [esp + 0x20], ecx
mov dword [esp + 0x38], eax
lea eax, [edx + 8]
mov ecx, dword [esp + 0x38]
cmp ecx, dword [eax]
lea ecx, [edx + 0x10]
mov dword [esp + 0x18], eax
jb 0x4065dd
mov edx, dword [esp + 0x30]
push esi
mov esi, dword [ebp + 8]
mov ecx, esi
call fcn.00406d70
mov ecx, dword [esp + 0x24]
add esp, 4
jmp 0x406605
test esi, esi
je 0x406602
mov eax, dword [esp + 0x38]
mov dword [ecx], eax
mov eax, dword [edx + 4]
push esi
push dword [esp + 0x34]
sub eax, esi
add eax, dword [esp + 0x40]
push eax
call fcn.004bbbe0
mov ecx, dword [esp + 0x2c]
add esp, 0xc
mov esi, dword [ebp + 8]
cmp byte [esp + 0x17], 0
je 0x406650
mov eax, dword [ecx]
xor ecx, ecx
mov dword [esp + 0x38], eax
mov eax, edi
cdq
add dword [esp + 0x38], eax
mov eax, dword [esp + 0x18]
adc ecx, edx
mov eax, dword [eax]
js 0x40663c
jg 0x40662d
cmp dword [esp + 0x38], eax
jb 0x40663c
mov edx, edi
mov ecx, esi
call fcn.00406ac0
mov edi, eax
test edi, edi
jle 0x406650
mov edx, dword [esp + 0x20]
mov ecx, dword [edx]
dec edi
mov eax, dword [esi + 4]
mov byte [ecx + eax], 0x20
inc dword [edx]
test edi, edi
jg 0x406640
mov edi, dword [ebp + 8]
jmp 0x406946
mov edi, dword [ebp + 8]
test byte [edi + 0x15], 1
je case.default.0x4053b2
add dword [esp + 0x2c], 4
cmp byte [esp + 0x37], 0
mov ecx, dword [esp + 0x18]
je 0x406713
mov esi, dword [ecx]
test esi, esi
je 0x4067a3
test dword [esi + 4], 0x800
jne 0x4067a3
mov eax, dword [esi + 8]
mov dword [esp + 0x50], eax
test eax, eax
jne 0x40669f
xor ecx, ecx
jmp 0x4066b3
mov ecx, eax
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4066a4
sub ecx, edx
and ecx, 0x3fffffff
mov edx, dword [edi + 0x10]
add edx, ecx
cmp edx, dword [edi + 8]
jb 0x4066ce
mov edx, dword [esp + 0x50]
push ecx
mov ecx, edi
call fcn.00406d70
add esp, 4
jmp 0x4066ea
test ecx, ecx
je 0x4066ea
mov eax, dword [edi + 4]
push ecx
push dword [esp + 0x54]
sub eax, ecx
mov dword [edi + 0x10], edx
add eax, edx
push eax
call fcn.004bbbe0
add esp, 0xc
mov ecx, dword [edi]
nop dword [eax]
test byte [esi + 4], 3
jne 0x4066fd
mov eax, dword [esi + 0x24]
test eax, eax
jg 0x406709
mov esi, dword [esi + 0xc]
test esi, esi
jne 0x4066f0
jmp 0x405f30
mov dword [ecx + 0x44], eax
xor esi, esi
jmp 0x405f30
mov eax, dword [ecx]
mov dword [esp + 0x48], eax
test eax, eax
je 0x4067a3
mov ecx, dword [eax + 4]
test ecx, ecx
je 0x4067a3
mov esi, dword [edi + 0x10]
mov edx, dword [eax]
add esi, ecx
push ecx
cmp esi, dword [edi + 8]
jb 0x406741
mov ecx, edi
call fcn.00406d70
add esp, 4
jmp 0x406755
mov eax, dword [edi + 4]
sub eax, ecx
mov dword [edi + 0x10], esi
push edx
add eax, esi
push eax
call fcn.004bbbe0
add esp, 0xc
mov eax, dword [edi]
mov dword [esp + 0x74], eax
test eax, eax
je 0x4067a3
cmp dword [eax + 0x44], 0xfffffffe
jne 0x4067a3
mov esi, dword [eax + 0x10c]
test esi, esi
je 0x4067a3
mov esi, dword [esi + 0xe8]
test esi, esi
je 0x4067a3
mov ecx, esi
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x406780
sub ecx, edx
mov edx, dword [esp + 0x48]
mov edx, dword [edx]
cmp edx, esi
jb 0x4067a3
lea eax, [esi + ecx]
cmp edx, eax
jae 0x4067a3
mov eax, dword [esp + 0x74]
sub edx, esi
mov dword [eax + 0x44], edx
xor esi, esi
jmp 0x405f30
mov edi, dword [ebp + 8]
test byte [edi + 0x15], 1
je case.default.0x4053b2
mov ecx, dword [esp + 0x18]
add dword [esp + 0x2c], 4
mov esi, dword [ecx]
mov edx, dword [esi + 0xc]
test edx, edx
je 0x406824
cmp byte [esp + 0x25], 0
jne 0x406824
mov ecx, edx
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4067d5
sub ecx, esi
and ecx, 0x3fffffff
mov esi, dword [edi + 0x10]
add esi, ecx
cmp esi, dword [edi + 8]
jb 0x406800
push ecx
mov ecx, edi
call fcn.00406d70
add esp, 4
xor esi, esi
jmp 0x405f30
test ecx, ecx
je 0x406914
mov eax, dword [edi + 4]
push ecx
sub eax, ecx
mov dword [edi + 0x10], esi
push edx
add eax, esi
push eax
call fcn.004bbbe0
add esp, 0xc
xor esi, esi
jmp 0x405f30
cmp dword [esi + 8], 0
je 0x4068cc
mov eax, dword [esi + 4]
mov dword [esp + 0x50], eax
test eax, eax
je 0x4068ad
mov ecx, eax
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x406840
sub ecx, edx
mov edx, dword [edi + 0x10]
and ecx, 0x3fffffff
add edx, ecx
cmp edx, dword [edi + 8]
jb 0x40686a
mov edx, dword [esp + 0x50]
push ecx
mov ecx, edi
call fcn.00406d70
add esp, 4
jmp 0x406886
test ecx, ecx
je 0x406886
mov eax, dword [edi + 4]
push ecx
push dword [esp + 0x54]
sub eax, ecx
mov dword [edi + 0x10], edx
add eax, edx
push eax
call fcn.004bbbe0
add esp, 0xc
mov ecx, dword [edi + 0x10]
inc ecx
cmp ecx, dword [edi + 8]
jb 0x4068a2
push 1
mov edx, 0x4d9c50
mov ecx, edi
call fcn.00406d70
add esp, 4
jmp 0x4068ad
mov eax, dword [edi + 4]
mov dword [edi + 0x10], ecx
mov byte [eax + ecx - 1], 0x2e
mov edx, dword [esi + 8]
test edx, edx
jne 0x4068bb
xor ecx, ecx
jmp 0x4067e4
mov ecx, edx
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4068c0
jmp 0x4067dc
test edx, edx
je 0x4068e1
mov ecx, edx
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4068d5
jmp 0x4067dc
mov eax, dword [esi + 0x14]
test dword [eax + 4], 0x800
mov ecx, dword [eax + 0x10]
push ecx
je 0x406906
push str._join__u_
push edi
call fcn.00407420
add esp, 0xc
xor esi, esi
jmp 0x405f30
push str._subquery__u_
push edi
call fcn.00407420
add esp, 0xc
xor esi, esi
jmp 0x405f30
test esi, esi
je 0x406946
mov eax, dword [edi + 4]
push esi
push dword [esp + 0x34]
sub eax, esi
mov dword [ecx], edx
add eax, edx
push eax
call fcn.004bbbe0
add esp, 0xc
mov eax, dword [esp + 0x20]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x18], eax
mov edx, dword [esp + 0x70]
test edx, edx
je 0x4069ab
mov ecx, dword [edi]
test ecx, ecx
je 0x40699c
cmp dword [ecx + 0x210], 0
je 0x406964
call fcn.00404550
jmp 0x4069a5
cmp edx, dword [ecx + 0x164]
jae 0x40699c
cmp edx, dword [ecx + 0x15c]
jb 0x406984
mov eax, dword [ecx + 0x158]
mov dword [edx], eax
mov dword [ecx + 0x158], edx
jmp 0x4069a5
cmp edx, dword [ecx + 0x160]
jb 0x40699c
mov eax, dword [ecx + 0x150]
mov dword [edx], eax
mov dword [ecx + 0x150], edx
jmp 0x4069a5
push edx
call fcn.004044e0
add esp, 4
xor ecx, ecx
mov dword [esp + 0x70], ecx
mov esi, dword [esp + 0x60]
inc esi
movsx ecx, byte [esi]
test ecx, ecx
jne 0x404fc4
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x18]
mov esi, dword [edx]
inc esi
cmp esi, dword [eax]
jb 0x4069e7
push 1
mov edx, 0x4d9c34
mov ecx, edi
call fcn.00406d70
add esp, 4
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov eax, dword [edi + 4]
mov dword [edx], esi
mov byte [eax + esi - 1], 0x25
pop edi
pop esi
mov esp, ebp
pop ebp
ret