Function at 0x1006b360
Capabilities:
Parse credit card information

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
sub esp, 0x2c8
mov eax, dword [0x102100f8]
xor eax, ebp
mov dword [ebp - 4], eax
movsd xmm0, qword [0x101f9440]
mov eax, dword [ebx + 0x10]
movsd qword [ebp - 0x2c0], xmm0
movsd xmm0, qword [0x101f8be0]
push esi
mov dword [ebp - 0x244], eax
xor eax, eax
movsd qword [ebp - 0x2a8], xmm0
movsd xmm0, qword [0x101f8be8]
push edi
mov edi, dword [ebx + 8]
mov dword [ebp - 0x270], edx
mov edx, edi
mov dword [ebp - 0x248], ecx
mov ecx, dword [ebx + 0xc]
mov dword [ebp - 0x250], edi
mov dword [ebp - 0x254], eax
mov dword [ebp - 0x284], 3
movsd qword [ebp - 0x2b0], xmm0
mov dword [ebp - 0x22c], edx
mov dword [ebp - 0x23c], ecx
test cl, 3
jne 0x1006b497
mov esi, dword [ecx]
mov ecx, esi
mov eax, esi
not ecx
xor eax, 0x25252525
and ecx, 0x80808080
sub eax, 0x1010101
test ecx, eax
jne 0x1006b491
mov eax, edi
sub eax, edx
add eax, 0x200
mov dword [ebp - 0x24c], eax
nop dword [eax]
lea eax, [esi - 0x1010101]
test ecx, eax
jne 0x1006b503
cmp dword [ebp - 0x248], 0
mov eax, dword [ebp - 0x24c]
je 0x1006b452
cmp eax, 4
jl 0x1006b491
sub eax, 4
mov dword [edx], esi
mov dword [ebp - 0x24c], eax
add edx, 4
mov eax, dword [ebp - 0x23c]
add eax, 4
mov dword [ebp - 0x22c], edx
mov dword [ebp - 0x23c], eax
mov esi, dword [eax]
mov ecx, esi
mov eax, esi
not ecx
xor eax, 0x25252525
and ecx, 0x80808080
sub eax, 0x1010101
test ecx, eax
je 0x1006b430
mov ecx, dword [ebp - 0x23c]
mov al, byte [ecx]
cmp al, 0x25
je 0x1006b50d
mov esi, dword [ebp - 0x23c]
mov ecx, dword [ebp - 0x248]
test al, al
je 0x1006d3c6
test ecx, ecx
je 0x1006b4f2
mov eax, edx
sub eax, edi
mov dword [ebp - 0x264], eax
inc eax
cmp eax, 0x200
jl 0x1006b4f2
mov eax, dword [ebp - 0x264]
add dword [ebp - 0x254], eax
push eax
push dword [ebp - 0x270]
push edi
call ecx
mov edi, eax
add esp, 0xc
mov dword [ebp - 0x250], edi
mov edx, edi
test edi, edi
je 0x1006d3f6
mov cl, byte [esi]
mov byte [edx], cl
inc edx
mov ecx, dword [ebp - 0x23c]
inc ecx
jmp 0x1006b3ed
mov esi, dword [ebp - 0x23c]
mov al, byte [esi]
jmp 0x1006b4a3
movsx eax, byte [ecx + 1]
inc ecx
or esi, 0xffffffff
mov dword [ebp - 0x23c], ecx
sub eax, 0x20
mov dword [ebp - 0x258], 0
mov dword [ebp - 0x228], esi
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x24c], 0
cmp eax, 0x3f
ja case.0x1006b557.33
nop dword [eax + eax]
movzx eax, byte [eax + 0x1006d438]
jmp dword [eax*4 + 0x1006d414]
or dword [ebp - 0x220], 1
jmp 0x1006b5ca
or dword [ebp - 0x220], 2
jmp 0x1006b5ca
or dword [ebp - 0x220], 4
jmp 0x1006b5ca
or dword [ebp - 0x220], 8
jmp 0x1006b5ca
or dword [ebp - 0x220], 0x40
jmp 0x1006b5ca
mov eax, dword [ebp - 0x220]
test eax, 0x100
je 0x1006b5b3
and eax, 0x800
neg eax
sbb eax, eax
and eax, 0x800
add eax, 0x800
or dword [ebp - 0x220], eax
jmp 0x1006b5ca
or eax, 0x100
mov dword [ebp - 0x220], eax
jmp 0x1006b5ca
or dword [ebp - 0x220], 0x400
movsx eax, byte [ecx + 1]
inc ecx
sub eax, 0x20
mov dword [ebp - 0x23c], ecx
cmp eax, 0x3f
jbe 0x1006b550
jmp 0x1006b5eb
or dword [ebp - 0x220], 0x10
inc ecx
mov dword [ebp - 0x23c], ecx
mov al, byte [ecx]
cmp al, 0x2a
jne 0x1006b61a
mov eax, dword [ebp - 0x244]
add eax, 4
inc ecx
mov dword [ebp - 0x244], eax
mov dword [ebp - 0x23c], ecx
mov eax, dword [eax - 4]
mov dword [ebp - 0x258], eax
mov al, byte [ecx]
jmp 0x1006b656
cmp al, 0x30
jl 0x1006b656
mov edi, dword [ebp - 0x258]
mov ah, al
cmp ah, 0x39
ja 0x1006b64a
movzx eax, ah
lea ecx, [edi - 6]
lea ecx, [edi + ecx*4]
lea edi, [eax + ecx*2]
mov ecx, dword [ebp - 0x23c]
inc ecx
mov dword [ebp - 0x23c], ecx
mov al, byte [ecx]
cmp al, 0x30
jge 0x1006b624
mov dword [ebp - 0x258], edi
mov edi, dword [ebp - 0x250]
cmp al, 0x2e
jne 0x1006b6bd
mov al, byte [ecx + 1]
inc ecx
mov dword [ebp - 0x23c], ecx
cmp al, 0x2a
jne 0x1006b685
mov eax, dword [ebp - 0x244]
add eax, 4
inc ecx
mov dword [ebp - 0x244], eax
mov dword [ebp - 0x23c], ecx
mov esi, dword [eax - 4]
mov al, byte [ecx]
jmp 0x1006b6b7
xor esi, esi
mov dword [ebp - 0x228], esi
cmp al, 0x30
jl 0x1006b6bd
mov ah, al
cmp ah, 0x39
ja 0x1006b6b7
movzx eax, ah
lea ecx, [esi - 6]
lea ecx, [esi + ecx*4]
lea esi, [eax + ecx*2]
mov ecx, dword [ebp - 0x23c]
inc ecx
mov dword [ebp - 0x23c], ecx
mov al, byte [ecx]
cmp al, 0x30
jge 0x1006b691
mov dword [ebp - 0x228], esi
movsx eax, al
add eax, 0xffffffb7
cmp eax, 0x31
ja case.0x1006b6d3.74
movzx eax, byte [eax + 0x1006d48c]
jmp dword [eax*4 + 0x1006d478]
or dword [ebp - 0x220], 0x200
inc ecx
mov dword [ebp - 0x23c], ecx
cmp byte [ecx], 0x68
jne case.0x1006b6d3.74
inc ecx
jmp 0x1006b73f
inc ecx
mov dword [ebp - 0x23c], ecx
cmp byte [ecx], 0x6c
jne case.0x1006b6d3.74
or dword [ebp - 0x220], 0x20
inc ecx
jmp 0x1006b73f
lea eax, [ecx + 1]
mov dword [ebp - 0x264], eax
mov al, byte [eax]
cmp al, 0x36
jne 0x1006b72a
cmp byte [ecx + 2], 0x34
jne 0x1006b739
or dword [ebp - 0x220], 0x20
add ecx, 3
jmp 0x1006b73f
cmp al, 0x33
jne 0x1006b739
cmp byte [ecx + 2], 0x32
jne 0x1006b739
add ecx, 3
jmp 0x1006b73f
mov ecx, dword [ebp - 0x264]
mov dword [ebp - 0x23c], ecx
mov cl, byte [ecx]
movsx eax, cl
add eax, 0xffffffbf
cmp eax, 0x37
ja case.0x1006b75d.67
movzx eax, byte [eax + 0x1006d4f4]
jmp dword [eax*4 + 0x1006d4c0]
mov eax, dword [ebp - 0x244]
mov esi, 0x101e7470
add eax, 4
mov dword [ebp - 0x244], eax
mov eax, dword [eax - 4]
test eax, eax
cmovne esi, eax
mov dword [ebp - 0x230], esi
mov edi, esi
mov edx, esi
nop word [eax + eax]
mov ecx, edx
test dl, 3
jne 0x1006b813
mov ecx, dword [ebp - 0x228]
or eax, 0xffffffff
mov dword [ebp - 0x21c], eax
test ecx, ecx
js 0x1006b7c9
mov eax, edx
sub eax, esi
mov dword [ebp - 0x264], eax
cmp eax, ecx
jae 0x1006b82a
mov eax, ecx
sub eax, dword [ebp - 0x264]
shr eax, 2
mov dword [ebp - 0x21c], eax
mov ecx, edx
test eax, eax
je 0x1006b813
mov esi, dword [ebp - 0x21c]
nop word [eax + eax]
mov ecx, dword [edi]
mov dword [ebp - 0x264], edx
lea eax, [ecx - 0x1010101]
not ecx
and eax, ecx
test eax, 0x80808080
jne 0x1006b807
lea edi, [edx + 4]
mov edx, edi
mov ecx, edi
sub esi, 1
jne 0x1006b7e0
jmp 0x1006b80d
mov ecx, dword [ebp - 0x264]
mov esi, dword [ebp - 0x230]
cmp byte [edi], 0
mov edx, ecx
je 0x1006b824
lea edi, [ecx + 1]
mov edx, edi
jmp 0x1006b790
mov ecx, dword [ebp - 0x228]
sub edx, esi
cmp edx, ecx
cmova edx, ecx
xor ch, ch
xor eax, eax
mov dword [ebp - 0x234], edx
mov dword [ebp - 0x238], edx
mov edi, edx
mov byte [ebp - 0xc], ch
mov byte [ebp - 0x14], ch
mov dword [ebp - 0x240], eax
mov dword [ebp - 0x21c], eax
jmp 0x1006ca4c
mov eax, dword [ebp - 0x244]
add eax, 4
mov dword [ebp - 0x244], eax
mov al, byte [eax - 4]
mov byte [ebp - 0x19], al
jmp 0x1006ca7b
mov esi, dword [ebp - 0x244]
mov ecx, edx
add esi, 4
sub ecx, edi
add ecx, dword [ebp - 0x254]
mov dword [ebp - 0x244], esi
mov eax, dword [esi - 4]
mov dword [eax], ecx
mov ecx, dword [ebp - 0x23c]
inc ecx
jmp 0x1006b3f3
cmp cl, 0x41
mov eax, str.0123456789ABCDEFXP
mov ecx, str.0123456789abcdefxp
cmovne eax, ecx
mov dword [ebp - 0x224], eax
mov eax, dword [ebp - 0x244]
add eax, 8
cmp esi, 0xffffffff
mov dword [ebp - 0x244], eax
movsd xmm0, qword [eax - 8]
mov eax, 6
cmove esi, eax
movsd qword [ebp - 0x298], xmm0
mov eax, dword [ebp - 0x294]
mov edi, eax
mov edx, dword [ebp - 0x298]
mov ecx, eax
sar ecx, 0x14
and edi, 0xfffff
mov dword [ebp - 0x29c], eax
and ecx, 0x7ff
shr eax, 0x1f
sub ecx, 0x3ff
test eax, eax
mov dword [ebp - 0x2a0], edx
mov eax, dword [ebp - 0x220]
mov dword [ebp - 0x21c], ecx
je 0x1006b92a
or eax, 0x80
mov dword [ebp - 0x220], eax
mov byte [ebp - 0xc], 0
test al, al
jns 0x1006b93a
mov word [ebp - 0xc], 0x2d01
jmp 0x1006b950
test al, 4
je 0x1006b946
mov word [ebp - 0xc], 0x2001
jmp 0x1006b950
test al, 2
je 0x1006b950
mov word [ebp - 0xc], 0x2b01
cmp ecx, 0xfffffc01
jne 0x1006b976
mov eax, edx
or eax, edi
je 0x1006b96a
mov dword [ebp - 0x21c], 0xfffffc02
jmp 0x1006b97c
mov dword [ebp - 0x21c], 0
jmp 0x1006b97c
or edi, 0x100000
shld edi, edx, 8
shl edx, 8
mov dword [ebp - 0x240], edi
mov dword [ebp - 0x24c], edx
cmp esi, 0xf
jge 0x1006b9cb
lea eax, [esi*4]
xor edx, edx
mov ecx, 0x3b
sub ecx, eax
xor eax, eax
bts eax, ecx
cmp ecx, 0x20
cmovae edx, eax
xor eax, edx
cmp ecx, 0x40
cmovae edx, eax
add dword [ebp - 0x24c], eax
adc edi, edx
mov edx, dword [ebp - 0x24c]
mov dword [ebp - 0x240], edi
movsx eax, byte [ebp - 0xc]
mov byte [ebp + eax - 0xb], 0x30
movsx eax, byte [ebp - 0xc]
mov byte [ebp + eax - 0xa], 0x78
mov eax, edi
mov edi, dword [ebp - 0x224]
mov ch, byte [ebp - 0xc]
shr eax, 0x1c
add ch, 2
mov byte [ebp - 0xc], ch
mov al, byte [eax + edi]
mov edi, dword [ebp - 0x240]
shld edi, edx, 4
mov byte [ebp - 0x1d8], al
movzx eax, byte [ebp - 0x1d7]
mov dword [ebp - 0x240], edi
mov edi, 0x2e
shl edx, 4
test esi, esi
cmovne eax, edi
lea edi, [ebp - 0x1d7]
mov byte [ebp - 0x1d7], al
lea eax, [ebp - 0x1d6]
cmovne edi, eax
mov eax, esi
mov dword [ebp - 0x274], edi
cmp esi, 0xd
jbe 0x1006ba52
mov eax, 0xd
jle 0x1006ba52
add esi, 0xfffffff3
mov dword [ebp - 0x24c], esi
jmp 0x1006ba60
mov dword [ebp - 0x24c], 0
test eax, eax
je 0x1006ba9b
mov esi, dword [ebp - 0x240]
dec eax
mov dword [ebp - 0x264], eax
mov eax, esi
mov esi, dword [ebp - 0x224]
shr eax, 0x1c
mov al, byte [eax + esi]
mov esi, dword [ebp - 0x240]
shld esi, edx, 4
mov byte [edi], al
inc edi
mov eax, dword [ebp - 0x264]
shl edx, 4
mov dword [ebp - 0x240], esi
test eax, eax
jne 0x1006ba66
mov eax, dword [ebp - 0x224]
mov al, byte [eax + 0x11]
mov byte [ebp - 0x13], al
mov eax, dword [ebp - 0x21c]
test eax, eax
jns 0x1006babf
neg eax
mov byte [ebp - 0x12], 0x2d
mov dword [ebp - 0x21c], eax
jmp 0x1006bac3
mov byte [ebp - 0x12], 0x2b
cmp eax, 0x3e8
jl 0x1006bad1
mov edx, 6
jmp 0x1006bae8
cmp eax, 0x64
jl 0x1006badd
mov edx, 5
jmp 0x1006bae8
xor edx, edx
cmp eax, 0xa
setge dl
add edx, 3
mov dword [ebp - 0x240], edx
mov eax, 0x66666667
mov byte [ebp - 0x14], dl
imul dword [ebp - 0x21c]
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, eax
mov dword [ebp - 0x224], eax
mov al, dl
mov cl, dl
shl al, 2
add cl, al
mov eax, dword [ebp - 0x21c]
add cl, cl
sub al, cl
add al, 0x30
mov dword [ebp - 0x21c], eax
mov eax, dword [ebp - 0x240]
mov edx, dword [ebp - 0x21c]
mov byte [ebp + eax - 0x14], dl
mov edx, dword [ebp - 0x224]
cmp eax, 3
jbe 0x1006bb97
dec eax
mov ecx, edx
mov dword [ebp - 0x240], eax
mov eax, 0x66666667
imul ecx
mov dword [ebp - 0x264], ecx
sar edx, 2
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov edx, dword [ebp - 0x240]
mov al, cl
mov dword [ebp - 0x224], ecx
shl al, 2
add cl, al
mov eax, dword [ebp - 0x264]
add cl, cl
sub al, cl
add al, 0x30
mov byte [ebp + edx - 0x14], al
mov eax, edx
mov edx, dword [ebp - 0x224]
cmp eax, 3
ja 0x1006bb44
mov ch, byte [ebp - 0xc]
mov eax, edi
mov dword [ebp - 0x21c], 0x3000001
sub eax, dword [ebp - 0x274]
lea esi, [ebp - 0x1d8]
mov dword [ebp - 0x240], eax
lea eax, [ebp - 0x218]
sub edi, eax
mov dword [ebp - 0x230], esi
sub edi, 0x40
xor eax, eax
mov dword [ebp - 0x234], edi
mov dword [ebp - 0x238], edi
jmp 0x1006ca52
cmp cl, 0x47
mov eax, str.0123456789ABCDEFXP
mov ecx, str.0123456789abcdefxp
cmovne eax, ecx
mov dword [ebp - 0x21c], eax
mov eax, dword [ebp - 0x244]
add eax, 8
mov dword [ebp - 0x244], eax
movsd xmm0, qword [eax - 8]
cmp esi, 0xffffffff
jne 0x1006bc0f
mov esi, 6
jmp 0x1006bc19
test esi, esi
mov eax, 1
cmove esi, eax
sub esp, 8
mov dword [ebp - 0x228], esi
lea eax, [esi - 1]
or eax, 0x80000000
lea edx, [ebp - 0x238]
lea ecx, [ebp - 0x224]
movsd qword [esp], xmm0
push eax
lea eax, [ebp - 0x240]
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.1006dcf0
add esp, 0x14
test eax, eax
je 0x1006bc60
or dword [ebp - 0x220], 0x80
mov edi, dword [ebp - 0x238]
mov ecx, esi
mov eax, dword [ebp - 0x228]
cmp edi, esi
cmova edi, esi
mov esi, dword [ebp - 0x224]
mov dword [ebp - 0x234], edi
mov dword [ebp - 0x238], edi
mov dword [ebp - 0x230], esi
cmp edi, 1
jbe 0x1006bcb4
test eax, eax
je 0x1006bca8
cmp byte [esi + edi - 1], 0x30
jne 0x1006bca8
dec edi
dec eax
mov dword [ebp - 0x238], edi
cmp edi, 1
ja 0x1006bc90
mov dword [ebp - 0x228], eax
mov dword [ebp - 0x234], edi
mov edx, dword [ebp - 0x240]
mov dword [ebp - 0x224], edx
cmp edx, 0xfffffffc
jle 0x1006bd10
cmp edx, ecx
jg 0x1006bd10
test edx, edx
jle 0x1006bd09
cmp edx, edi
jge 0x1006bcfd
mov eax, edi
sub eax, edx
mov dword [ebp - 0x228], eax
mov eax, dword [ebp - 0x220]
xor ch, ch
mov byte [ebp - 0x14], 0
mov byte [ebp - 0xc], ch
test al, al
jns 0x1006c377
mov word [ebp - 0xc], 0x2d01
jmp 0x1006c38d
mov dword [ebp - 0x228], 0
jmp 0x1006bcdb
cmp eax, edi
cmovg eax, edi
jmp 0x1006bcd3
cmp eax, edi
jle 0x1006bd22
lea eax, [edi - 1]
mov dword [ebp - 0x228], eax
jmp 0x1006bdd5
test eax, eax
je 0x1006bdd5
dec eax
mov dword [ebp - 0x228], eax
jmp 0x1006bdd5
cmp cl, 0x45
lea edx, [ebp - 0x238]
mov ecx, str.0123456789abcdefxp
mov eax, str.0123456789ABCDEFXP
cmovne eax, ecx
lea ecx, [ebp - 0x224]
mov dword [ebp - 0x21c], eax
mov eax, dword [ebp - 0x244]
add eax, 8
cmp esi, 0xffffffff
mov dword [ebp - 0x244], eax
movsd xmm0, qword [eax - 8]
mov eax, 6
cmove esi, eax
sub esp, 8
mov eax, esi
mov dword [ebp - 0x228], esi
or eax, 0x80000000
movsd qword [esp], xmm0
push eax
lea eax, [ebp - 0x240]
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.1006dcf0
mov esi, dword [ebp - 0x224]
add esp, 0x14
mov edi, dword [ebp - 0x238]
mov edx, dword [ebp - 0x240]
mov dword [ebp - 0x230], esi
mov dword [ebp - 0x234], edi
mov dword [ebp - 0x224], edx
test eax, eax
je 0x1006bdd5
or dword [ebp - 0x220], 0x80
mov eax, dword [ebp - 0x220]
xor ch, ch
mov byte [ebp - 0x14], 0
mov byte [ebp - 0xc], ch
test al, al
jns 0x1006bdf0
mov word [ebp - 0xc], 0x2d01
jmp 0x1006be06
test al, 4
je 0x1006bdfc
mov word [ebp - 0xc], 0x2001
jmp 0x1006be06
test al, 2
je 0x1006be08
mov word [ebp - 0xc], 0x2b01
mov ch, 1
cmp edx, 0x7000
jne 0x1006be21
mov dword [ebp - 0x21c], 0
xor eax, eax
jmp 0x1006ca4c
mov al, byte [esi]
mov edi, 0x2e
mov ecx, dword [ebp - 0x228]
test ecx, ecx
mov ecx, dword [ebp - 0x234]
mov byte [ebp - 0x1d8], al
movzx eax, byte [ebp - 0x1d7]
cmovne eax, edi
lea edi, [ebp - 0x1d7]
mov byte [ebp - 0x1d7], al
lea eax, [ebp - 0x1d6]
cmovne edi, eax
lea eax, [ecx - 1]
cmp eax, dword [ebp - 0x228]
jbe 0x1006be6d
mov ecx, dword [ebp - 0x228]
inc ecx
mov dword [ebp - 0x264], 1
cmp ecx, 1
jbe 0x1006be93
mov edx, dword [ebp - 0x264]
mov al, byte [edx + esi]
inc edx
mov byte [edi], al
inc edi
cmp edx, ecx
jb 0x1006be82
mov edx, dword [ebp - 0x224]
mov eax, dword [ebp - 0x228]
sub eax, ecx
inc eax
sub edx, 1
mov dword [ebp - 0x24c], eax
mov eax, dword [ebp - 0x21c]
mov dword [ebp - 0x224], edx
mov al, byte [eax + 0xe]
mov byte [ebp - 0x13], al
jns 0x1006bec7
neg edx
mov byte [ebp - 0x12], 0x2d
mov dword [ebp - 0x224], edx
jmp 0x1006becb
mov byte [ebp - 0x12], 0x2b
xor eax, eax
cmp edx, 0x64
setge al
add eax, 4
mov dword [ebp - 0x21c], eax
mov byte [ebp - 0x14], al
mov eax, 0x66666667
imul edx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, eax
mov dword [ebp - 0x238], eax
mov al, dl
mov cl, dl
shl al, 2
add cl, al
mov eax, dword [ebp - 0x224]
add cl, cl
sub al, cl
mov ecx, dword [ebp - 0x21c]
add al, 0x30
mov byte [ebp + ecx - 0x14], al
nop word [eax + eax]
dec ecx
mov eax, 0x66666667
mov dword [ebp - 0x21c], ecx
mov ecx, edx
imul ecx
mov dword [ebp - 0x264], ecx
mov dword [ebp - 0x240], ecx
sar edx, 2
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov al, cl
mov dword [ebp - 0x238], ecx
mov edx, ecx
shl al, 2
add cl, al
mov eax, dword [ebp - 0x264]
add cl, cl
sub al, cl
mov ecx, dword [ebp - 0x21c]
add al, 0x30
mov byte [ebp + ecx - 0x14], al
cmp ecx, 3
ja 0x1006bf20
mov dword [ebp - 0x21c], 0x3000001
jmp 0x1006c79f
mov edi, dword [ebp - 0x244]
add edi, 8
mov dword [ebp - 0x244], edi
movsd xmm1, qword [edi - 8]
jmp 0x1006c2a4
cmp cl, 0x42
mov eax, str.0123456789abcdefxp
mov esi, str.0123456789ABCDEFXP
cmovne esi, eax
xor al, al
test byte [ebp - 0x220], 8
mov dword [ebp - 0x224], esi
mov byte [ebp - 0xc], al
je 0x1006bfc8
mov al, byte [esi + 0xb]
mov word [ebp - 0xc], 0x3002
mov byte [ebp - 0xa], al
mov ecx, dword [ebp - 0x220]
mov eax, 0x180
mov dword [ebp - 0x21c], eax
jmp 0x1006c05d
xor al, al
mov dword [ebp - 0x224], str.0123456789ABCDEFXP
test byte [ebp - 0x220], 8
mov byte [ebp - 0xc], al
je 0x1006bffc
mov word [ebp - 0xc], 0x3001
mov ecx, dword [ebp - 0x220]
mov eax, 0x330
mov dword [ebp - 0x21c], eax
jmp 0x1006c05d
and dword [ebp - 0x220], 0xffffffef
mov dword [ebp - 0x228], 8
cmp cl, 0x58
mov eax, str.0123456789abcdefxp
mov ecx, dword [ebp - 0x220]
mov esi, str.0123456789ABCDEFXP
cmovne esi, eax
mov eax, 0x440
mov dword [ebp - 0x21c], eax
xor al, al
mov dword [ebp - 0x224], esi
mov byte [ebp - 0xc], al
test cl, 8
je 0x1006c05d
mov al, byte [esi + 0x10]
mov word [ebp - 0xc], 0x3002
mov byte [ebp - 0xa], al
test cl, 0x20
je 0x1006c079
mov edi, dword [ebp - 0x244]
add edi, 8
mov dword [ebp - 0x244], edi
mov eax, dword [edi - 8]
mov ecx, dword [edi - 4]
jmp 0x1006c08d
mov eax, dword [ebp - 0x244]
add eax, 4
xor ecx, ecx
mov dword [ebp - 0x244], eax
mov eax, dword [eax - 4]
mov edi, dword [ebp - 0x228]
lea esi, [ebp - 0x18]
mov dword [ebp - 0x280], eax
mov dword [ebp - 0x238], eax
or eax, ecx
mov dword [ebp - 0x27c], ecx
mov dword [ebp - 0x230], esi
mov dword [ebp - 0x240], 0
mov byte [ebp - 0x14], 0
jne 0x1006c0e0
xor ch, ch
mov byte [ebp - 0xc], ch
test edi, edi
jne 0x1006c0e0
mov dword [ebp - 0x234], edi
mov dword [ebp - 0x238], edi
mov dword [ebp - 0x21c], edi
jmp 0x1006cab7
mov edx, dword [ebp - 0x21c]
xor ecx, ecx
nop dword [eax + eax]
movq xmm1, qword [ebp - 0x280]
inc ecx
mov dword [ebp - 0x21c], ecx
mov eax, 1
mov ecx, edx
dec esi
shr ecx, 8
shl eax, cl
dec eax
mov dword [ebp - 0x264], ecx
and eax, dword [ebp - 0x238]
mov ecx, dword [ebp - 0x224]
mov al, byte [eax + ecx]
mov ecx, dword [ebp - 0x264]
mov byte [esi], al
movd xmm0, ecx
mov ecx, dword [ebp - 0x21c]
psrlq xmm1, xmm0
movq qword [ebp - 0x280], xmm1
mov eax, dword [ebp - 0x280]
mov dword [ebp - 0x238], eax
or eax, dword [ebp - 0x27c]
jne 0x1006c158
cmp ecx, edi
jge 0x1006c17a
test byte [ebp - 0x220], 0x40
je 0x1006c0f0
inc edx
mov eax, edx
shr eax, 4
xor eax, edx
test al, 0xf
jne 0x1006c0f0
dec esi
and edx, 0xfffffff0
inc ecx
mov byte [esi], 0x2c
jmp 0x1006c0f0
mov ch, byte [ebp - 0xc]
lea eax, [ebp - 0x18]
and edx, 0xf0
mov dword [ebp - 0x230], esi
shl edx, 0x14
lea edi, [ebp - 0x18]
sub edx, esi
add eax, edx
sub edi, esi
mov dword [ebp - 0x21c], eax
mov eax, dword [ebp - 0x228]
mov dword [ebp - 0x234], edi
mov dword [ebp - 0x238], edi
jmp 0x1006ca58
test byte [ebp - 0x220], 0x20
je 0x1006c221
mov edi, dword [ebp - 0x244]
add edi, 8
mov dword [ebp - 0x244], edi
mov eax, dword [edi - 8]
mov edx, dword [edi - 4]
mov dword [ebp - 0x234], eax
mov dword [ebp - 0x21c], edx
cmp cl, 0x75
je 0x1006c26c
test edx, edx
jg 0x1006c26c
jl 0x1006c1fa
test eax, eax
jae 0x1006c26c
mov ecx, dword [ebp - 0x220]
neg eax
mov dword [ebp - 0x234], eax
adc edx, 0
neg edx
or ecx, 0x80
mov dword [ebp - 0x21c], edx
mov dword [ebp - 0x220], ecx
jmp 0x1006c272
mov eax, dword [ebp - 0x244]
xor edx, edx
add eax, 4
mov dword [ebp - 0x21c], edx
mov dword [ebp - 0x244], eax
mov eax, dword [eax - 4]
mov dword [ebp - 0x234], eax
cmp cl, 0x75
je 0x1006c26c
mov ecx, dword [ebp - 0x220]
test eax, eax
jns 0x1006c272
neg eax
mov dword [ebp - 0x21c], edx
or ecx, 0x80
mov dword [ebp - 0x234], eax
mov dword [ebp - 0x220], ecx
jmp 0x1006c272
mov ecx, dword [ebp - 0x220]
test ecx, 0x100
je 0x1006c7cc
test edx, edx
ja 0x1006c28f
jb 0x1006c28b
cmp eax, 0x400
jae 0x1006c28f
xor esi, esi
jmp 0x1006c29a
cmp esi, 0xffffffff
mov ecx, 1
cmove esi, ecx
mov ecx, eax
call fcn.10156de0
movaps xmm1, xmm0
mov eax, dword [ebp - 0x220]
test eax, 0x100
je 0x1006c2ff
movsd xmm2, qword [ebp - 0x2a8]
test eax, 0x800
je 0x1006c2c8
movsd xmm2, qword [ebp - 0x2b0]
cmp eax, 0x4000000
jae 0x1006c2ff
movsd xmm3, qword [ebp - 0x2c0]
comisd xmm2, xmm1
jbe 0x1006c2e9
movaps xmm0, xmm2
xorps xmm0, xmm3
comisd xmm1, xmm0
ja 0x1006c2f9
add eax, 0x1000000
divsd xmm1, xmm2
cmp eax, 0x4000000
jb 0x1006c2d7
mov dword [ebp - 0x220], eax
cmp esi, 0xffffffff
lea edx, [ebp - 0x238]
mov eax, 6
lea ecx, [ebp - 0x224]
cmove esi, eax
sub esp, 8
lea eax, [ebp - 0x240]
mov dword [ebp - 0x228], esi
movsd qword [esp], xmm1
push esi
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.1006dcf0
mov esi, dword [ebp - 0x224]
add esp, 0x14
mov edi, dword [ebp - 0x238]
mov edx, dword [ebp - 0x240]
mov dword [ebp - 0x234], edi
mov dword [ebp - 0x224], edx
test eax, eax
je 0x1006bcdb
mov eax, dword [ebp - 0x220]
or eax, 0x80
mov dword [ebp - 0x220], eax
jmp 0x1006bce1
test al, 4
je 0x1006c383
mov word [ebp - 0xc], 0x2001
jmp 0x1006c38d
test al, 2
je 0x1006c38f
mov word [ebp - 0xc], 0x2b01
mov ch, 1
cmp edx, 0x7000
jne 0x1006c3ae
mov dword [ebp - 0x230], esi
xor eax, eax
mov dword [ebp - 0x21c], 0
jmp 0x1006ca4c
mov ecx, dword [ebp - 0x224]
lea edx, [ebp - 0x1d8]
mov dword [ebp - 0x230], edx
test ecx, ecx
jg 0x1006c4f7
mov edi, dword [ebp - 0x228]
mov edx, 0x2e
movzx eax, byte [ebp - 0x1d7]
test edi, edi
mov byte [ebp - 0x1d8], 0x30
cmovne eax, edx
lea edx, [ebp - 0x1d7]
mov byte [ebp - 0x1d7], al
lea eax, [ebp - 0x1d6]
cmovne edx, eax
neg ecx
cmp ecx, edi
mov dword [ebp - 0x230], edx
cmovg ecx, edi
mov dword [ebp - 0x224], ecx
mov edi, ecx
mov dword [ebp - 0x24c], edi
test ecx, ecx
je 0x1006c43a
mov dword [ebp - 0x230], edx
test dl, 3
je 0x1006c42e
mov byte [edx], 0x30
inc edx
sub edi, 1
jne 0x1006c420
mov dword [ebp - 0x24c], edi
mov dword [ebp - 0x230], edx
cmp edi, 4
jl 0x1006c470
mov edx, edi
mov eax, 0x30303030
mov edi, dword [ebp - 0x230]
shr edx, 2
mov ecx, edx
rep stosd dword es:[edi], eax
mov edi, dword [ebp - 0x24c]
lea eax, [edx*4]
mov edx, dword [ebp - 0x230]
add edx, eax
sub edi, eax
mov dword [ebp - 0x230], edx
test edi, edi
je 0x1006c48e
push edi
push 0x30
push edx
call fcn.101583f0
mov edx, dword [ebp - 0x230]
add esp, 0xc
add edx, edi
mov dword [ebp - 0x230], edx
mov ecx, dword [ebp - 0x234]
mov edi, dword [ebp - 0x224]
lea eax, [ecx + edi]
cmp eax, dword [ebp - 0x228]
jle 0x1006c4b3
mov ecx, dword [ebp - 0x228]
sub ecx, edi
mov dword [ebp - 0x234], ecx
mov eax, ecx
mov dword [ebp - 0x264], eax
test eax, eax
je 0x1006c4d8
sub esi, edx
mov al, byte [esi + edx]
mov byte [edx], al
inc edx
sub ecx, 1
jne 0x1006c4c1
mov ecx, dword [ebp - 0x234]
mov dword [ebp - 0x230], edx
mov edx, dword [ebp - 0x228]
sub edx, ecx
mov dword [ebp - 0x21c], 0x3000001
sub edx, edi
mov dword [ebp - 0x24c], edx
jmp 0x1006c735
and eax, 0x40
mov dword [ebp - 0x238], eax
je 0x1006c521
mov eax, 0x258
xor edx, edx
sub eax, ecx
div dword [ebp - 0x284]
mov eax, edx
mov dword [ebp - 0x21c], edx
mov edx, dword [ebp - 0x230]
jmp 0x1006c529
xor eax, eax
mov dword [ebp - 0x21c], eax
cmp ecx, edi
jb 0x1006c676
xor ecx, ecx
cmp dword [ebp - 0x238], 0
je 0x1006c556
inc eax
mov dword [ebp - 0x21c], eax
cmp eax, 4
jne 0x1006c556
xor eax, eax
mov byte [edx], 0x2c
mov dword [ebp - 0x21c], eax
inc edx
jmp 0x1006c533
mov al, byte [ecx + esi]
inc ecx
mov byte [edx], al
inc edx
mov eax, dword [ebp - 0x21c]
cmp ecx, edi
jb 0x1006c533
mov dword [ebp - 0x264], ecx
mov ecx, dword [ebp - 0x224]
mov eax, dword [ebp - 0x264]
mov dword [ebp - 0x230], edx
cmp eax, ecx
jae 0x1006c63e
mov esi, dword [ebp - 0x238]
sub ecx, eax
mov dword [ebp - 0x224], ecx
test esi, esi
jne 0x1006c5ee
test ecx, ecx
je 0x1006c5ba
nop dword [eax]
test dl, 3
je 0x1006c5ae
mov byte [edx], 0x30
inc edx
sub ecx, 1
jne 0x1006c5a0
mov dword [ebp - 0x224], ecx
mov dword [ebp - 0x230], edx
cmp ecx, 4
jb 0x1006c5ee
mov esi, ecx
mov edi, edx
shr esi, 2
mov eax, 0x30303030
mov ecx, esi
rep stosd dword es:[edi], eax
mov ecx, dword [ebp - 0x224]
lea edx, [edx + esi*4]
mov dword [ebp - 0x230], edx
nop
sub ecx, 4
sub esi, 1
jne 0x1006c5e0
mov esi, dword [ebp - 0x238]
test ecx, ecx
je 0x1006c63e
mov eax, dword [ebp - 0x21c]
test esi, esi
je 0x1006c619
inc eax
mov dword [ebp - 0x21c], eax
cmp eax, 4
jne 0x1006c619
xor eax, eax
mov byte [ebp - 0x269], 0x2c
mov dword [ebp - 0x21c], eax
jmp 0x1006c621
dec ecx
mov byte [ebp - 0x269], 0x30
mov al, byte [ebp - 0x269]
lea edi, [edx + 1]
mov byte [edx], al
mov edx, edi
mov eax, dword [ebp - 0x21c]
test ecx, ecx
jne 0x1006c5f8
mov dword [ebp - 0x230], edx
mov eax, edx
lea ecx, [ebp - 0x218]
sub eax, ecx
add eax, 0x2ffffc0
mov dword [ebp - 0x21c], eax
mov eax, dword [ebp - 0x228]
test eax, eax
je 0x1006c735
mov byte [edx], 0x2e
inc edx
mov dword [ebp - 0x230], edx
mov dword [ebp - 0x24c], eax
jmp 0x1006c735
xor edi, edi
nop dword [eax + eax]
cmp dword [ebp - 0x238], 0
je 0x1006c6a3
inc eax
mov dword [ebp - 0x21c], eax
cmp eax, 4
jne 0x1006c6a3
xor eax, eax
mov byte [edx], 0x2c
mov dword [ebp - 0x21c], eax
inc edx
jmp 0x1006c680
mov al, byte [edi + esi]
inc edi
mov byte [edx], al
inc edx
mov eax, dword [ebp - 0x21c]
cmp edi, ecx
jb 0x1006c680
mov dword [ebp - 0x24c], edi
mov eax, edx
lea edi, [ebp - 0x218]
mov dword [ebp - 0x230], edx
sub eax, edi
mov edi, dword [ebp - 0x234]
add eax, 0x2ffffc0
cmp dword [ebp - 0x228], 0
mov dword [ebp - 0x21c], eax
je 0x1006c6ee
mov byte [edx], 0x2e
inc edx
mov dword [ebp - 0x230], edx
mov eax, edi
sub eax, ecx
cmp eax, dword [ebp - 0x228]
jbe 0x1006c702
mov edi, dword [ebp - 0x228]
add edi, ecx
cmp dword [ebp - 0x24c], edi
jae 0x1006c727
mov ecx, dword [ebp - 0x24c]
mov al, byte [ecx + esi]
inc ecx
mov byte [edx], al
inc edx
cmp ecx, edi
jb 0x1006c710
mov ecx, dword [ebp - 0x224]
mov dword [ebp - 0x230], edx
sub ecx, edi
add ecx, dword [ebp - 0x228]
mov dword [ebp - 0x24c], ecx
mov eax, dword [ebp - 0x220]
test eax, 0x100
je 0x1006c799
mov edx, eax
mov byte [ebp - 0x13], 0x20
shr edx, 0xa
mov esi, eax
not dl
shr esi, 0x18
and dl, 1
mov byte [ebp - 0x14], dl
test esi, esi
je 0x1006c799
test eax, 0x800
movzx ecx, dl
mov eax, str._kMGT
mov edi, str._KMGT
cmovne eax, edi
inc dl
mov al, byte [eax + esi]
mov byte [ebp + ecx - 0x13], al
mov eax, dword [ebp - 0x220]
and eax, 0x1800
cmp eax, 0x800
jne 0x1006c796
movzx eax, dl
inc dl
mov byte [ebp + eax - 0x13], 0x69
mov byte [ebp - 0x14], dl
mov edi, dword [ebp - 0x230]
mov ch, byte [ebp - 0xc]
lea eax, [ebp - 0x218]
sub edi, eax
lea esi, [ebp - 0x1d8]
sub edi, 0x40
mov dword [ebp - 0x230], esi
mov dword [ebp - 0x234], edi
xor eax, eax
mov dword [ebp - 0x238], edi
jmp 0x1006ca52
mov ecx, dword [ebp - 0x220]
lea esi, [ebp - 0x18]
xor edi, edi
and ecx, 0x40
mov dword [ebp - 0x274], ecx
mov dword [ebp - 0x224], edi
mov dword [ebp - 0x230], esi
nop dword [eax]
cmp dword [ebp - 0x21c], 0
lea edx, [esi - 8]
mov ecx, eax
mov dword [ebp - 0x238], edx
mov dword [ebp - 0x25c], ecx
ja 0x1006c839
cmp eax, 0x5f5e100
jae 0x1006c839
xorps xmm0, xmm0
movlpd qword [ebp - 0x280], xmm0
mov eax, dword [ebp - 0x27c]
mov dword [ebp - 0x21c], eax
mov eax, dword [ebp - 0x280]
mov dword [ebp - 0x234], eax
jmp 0x1006c8eb
mov ecx, 0x8461cefd
mov edi, 0xabcc7711
mul ecx
mov esi, edx
mov dword [ebp - 0x290], eax
mov eax, dword [ebp - 0x234]
mul edi
mov dword [ebp - 0x28c], edx
mov edi, eax
mov eax, dword [ebp - 0x21c]
mul ecx
mov dword [ebp - 0x264], edx
mov ecx, eax
mov eax, dword [ebp - 0x21c]
mov edx, 0xabcc7711
mul edx
add ecx, esi
mov esi, dword [ebp - 0x230]
mov dword [ebp - 0x21c], edx
mov edx, dword [ebp - 0x264]
adc edx, 0
mov dword [ebp - 0x234], eax
add edi, ecx
mov ecx, dword [ebp - 0x28c]
mov dword [ebp - 0x268], edi
mov edi, dword [ebp - 0x224]
adc ecx, 0
xor eax, eax
add edx, ecx
mov ecx, dword [ebp - 0x234]
adc eax, eax
add ecx, edx
mov edx, dword [ebp - 0x21c]
adc edx, eax
shrd ecx, edx, 0x1a
imul eax, ecx, 0x5f5e100
shr edx, 0x1a
mov dword [ebp - 0x234], ecx
mov ecx, dword [ebp - 0x25c]
mov dword [ebp - 0x21c], edx
mov edx, dword [ebp - 0x238]
sub ecx, eax
cmp dword [ebp - 0x274], 0
jne 0x1006c919
mov eax, 0x51eb851f
sub esi, 2
mul ecx
shr edx, 5
imul eax, edx, 0x64
sub ecx, eax
mov ax, word [ecx*2 + 0x102c3b92]
mov ecx, edx
mov word [esi], ax
test ecx, ecx
jne 0x1006c8f4
jmp 0x1006c964
test ecx, ecx
je 0x1006c96a
nop dword [eax]
mov eax, edi
inc edi
cmp eax, 3
jne 0x1006c935
xor edi, edi
mov ah, 0x2c
dec edx
mov dword [ebp - 0x238], edx
jmp 0x1006c957
mov eax, 0xcccccccd
mul ecx
mov ah, cl
shr edx, 3
mov al, dl
mov ecx, edx
shl dl, 2
add al, dl
mov edx, dword [ebp - 0x238]
add al, al
sub ah, al
add ah, 0x30
dec esi
mov byte [esi], ah
test ecx, ecx
jne 0x1006c920
mov dword [ebp - 0x224], edi
mov dword [ebp - 0x230], esi
mov eax, dword [ebp - 0x234]
or eax, dword [ebp - 0x21c]
je 0x1006c9bc
mov ecx, dword [ebp - 0x238]
mov eax, dword [ebp - 0x234]
cmp esi, ecx
je 0x1006c7f0
nop dword [eax]
cmp dword [ebp - 0x274], 0
je 0x1006c9a8
mov eax, edi
inc edi
cmp eax, 3
jne 0x1006c9a8
xor edi, edi
mov al, 0x2c
dec ecx
jmp 0x1006c9aa
mov al, 0x30
dec esi
mov byte [esi], al
cmp esi, ecx
jne 0x1006c990
mov eax, dword [ebp - 0x234]
jmp 0x1006c7e0
cmp byte [esi], 0x30
jne 0x1006c9cf
lea eax, [ebp - 0x18]
cmp esi, eax
je 0x1006c9cf
inc esi
mov dword [ebp - 0x230], esi
mov eax, dword [ebp - 0x220]
xor ch, ch
mov byte [ebp - 0x14], 0
mov byte [ebp - 0xc], ch
test al, al
jns 0x1006c9ea
mov word [ebp - 0xc], 0x2d01
jmp 0x1006ca00
test al, 4
je 0x1006c9f6
mov word [ebp - 0xc], 0x2001
jmp 0x1006ca00
test al, 2
je 0x1006ca02
mov word [ebp - 0xc], 0x2b01
mov ch, 1
lea edi, [ebp - 0x18]
sub edi, esi
mov dword [ebp - 0x234], edi
mov eax, edi
mov dword [ebp - 0x238], edi
jne 0x1006ca34
dec esi
mov edi, 1
mov dword [ebp - 0x230], esi
mov eax, edi
mov dword [ebp - 0x234], edi
mov dword [ebp - 0x238], edi
mov byte [esi], 0x30
add eax, 0x3000000
xor edx, edx
mov dword [ebp - 0x21c], eax
mov eax, dword [ebp - 0x228]
test eax, eax
cmovs eax, edx
mov esi, dword [ebp - 0x230]
mov dword [ebp - 0x228], eax
mov edx, dword [ebp - 0x22c]
cmp eax, edi
jge 0x1006cab7
jmp 0x1006cab1
mov byte [ebp - 0x19], cl
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x258], 0
xor ch, ch
mov dword [ebp - 0x21c], 0
mov edi, 1
mov dword [ebp - 0x240], 0
lea esi, [ebp - 0x19]
mov byte [ebp - 0x14], ch
mov byte [ebp - 0xc], ch
mov dword [ebp - 0x238], edi
mov dword [ebp - 0x234], edi
mov dword [ebp - 0x230], esi
mov dword [ebp - 0x228], edi
movsx eax, byte [ebp - 0x14]
add eax, dword [ebp - 0x24c]
mov edi, dword [ebp - 0x258]
movsx ecx, ch
add ecx, eax
mov eax, dword [ebp - 0x228]
add ecx, eax
cmp edi, ecx
cmovl edi, ecx
sub eax, dword [ebp - 0x234]
sub edi, ecx
mov dword [ebp - 0x228], eax
mov ecx, dword [ebp - 0x220]
mov dword [ebp - 0x258], edi
test cl, 1
jne 0x1006cb1b
test cl, 0x10
je 0x1006cb12
cmp edi, eax
cmovg eax, edi
xor ecx, ecx
mov dword [ebp - 0x228], eax
mov dword [ebp - 0x258], ecx
jmp 0x1006cb21
and ecx, 0xffffffbf
mov dword [ebp - 0x220], ecx
mov ecx, dword [ebp - 0x258]
add eax, ecx
je 0x1006cf03
test byte [ebp - 0x220], 1
jne 0x1006cc6b
mov eax, dword [ebp - 0x258]
test eax, eax
jle 0x1006cc6b
mov ecx, dword [ebp - 0x248]
nop word [eax + eax]
mov edi, eax
mov dword [ebp - 0x224], edi
test ecx, ecx
je 0x1006cb7e
mov eax, dword [ebp - 0x250]
sub eax, edx
add eax, 0x200
cmp dword [ebp - 0x258], eax
cmovg edi, eax
mov eax, dword [ebp - 0x258]
mov dword [ebp - 0x224], edi
sub eax, edi
mov dword [ebp - 0x258], eax
test edi, edi
je 0x1006cbaa
nop word [eax + eax]
test dl, 3
je 0x1006cb9e
mov byte [edx], 0x20
inc edx
sub edi, 1
jne 0x1006cb90
mov dword [ebp - 0x224], edi
mov dword [ebp - 0x22c], edx
cmp edi, 4
jl 0x1006cbe6
mov edx, edi
mov eax, 0x20202020
mov edi, dword [ebp - 0x22c]
shr edx, 2
mov ecx, edx
rep stosd dword es:[edi], eax
mov edi, dword [ebp - 0x224]
lea eax, [edx*4]
mov edx, dword [ebp - 0x22c]
mov ecx, dword [ebp - 0x248]
add edx, eax
mov dword [ebp - 0x22c], edx
sub edi, eax
test edi, edi
je 0x1006cc0a
push edi
push 0x20
push edx
call fcn.101583f0
mov edx, dword [ebp - 0x22c]
add esp, 0xc
mov ecx, dword [ebp - 0x248]
add edx, edi
mov dword [ebp - 0x22c], edx
test ecx, ecx
je 0x1006cc5d
mov edi, dword [ebp - 0x250]
mov eax, edx
sub eax, edi
mov dword [ebp - 0x25c], eax
inc eax
cmp eax, 0x200
jl 0x1006cc5d
mov eax, dword [ebp - 0x25c]
add dword [ebp - 0x254], eax
push eax
push dword [ebp - 0x270]
push edi
call ecx
mov edi, eax
add esp, 0xc
mov dword [ebp - 0x250], edi
mov edx, edi
mov dword [ebp - 0x22c], edx
test edi, edi
je 0x1006d3f6
mov ecx, dword [ebp - 0x248]
mov eax, dword [ebp - 0x258]
test eax, eax
jg 0x1006cb50
mov cl, byte [ebp - 0xc]
lea eax, [ebp - 0xb]
mov edi, dword [ebp - 0x250]
mov dword [ebp - 0x274], eax
test cl, cl
je 0x1006cd59
nop word [eax + eax]
cmp dword [ebp - 0x248], 0
movsx eax, cl
mov dword [ebp - 0x224], eax
je 0x1006ccca
mov eax, edi
mov edi, dword [ebp - 0x224]
sub eax, edx
add eax, 0x200
cmp edi, eax
cmovg edi, eax
mov eax, edi
mov dword [ebp - 0x224], edi
mov edi, dword [ebp - 0x250]
mov dword [ebp - 0x224], eax
sub cl, al
mov byte [ebp - 0xc], cl
test eax, eax
je 0x1006ccfe
mov ecx, dword [ebp - 0x274]
nop dword [eax]
mov al, byte [ecx]
inc ecx
mov byte [edx], al
inc edx
sub dword [ebp - 0x224], 1
jne 0x1006cce0
mov dword [ebp - 0x274], ecx
mov cl, byte [ebp - 0xc]
mov dword [ebp - 0x22c], edx
cmp dword [ebp - 0x248], 0
je 0x1006cd51
mov eax, edx
sub eax, edi
mov dword [ebp - 0x25c], eax
inc eax
cmp eax, 0x200
jl 0x1006cd51
mov eax, dword [ebp - 0x25c]
add dword [ebp - 0x254], eax
push eax
push dword [ebp - 0x270]
push edi
call dword [ebp - 0x248]
mov edi, eax
add esp, 0xc
mov dword [ebp - 0x250], edi
mov edx, edi
mov dword [ebp - 0x22c], edx
test edi, edi
je 0x1006d3f6
mov cl, byte [ebp - 0xc]
test cl, cl
jne 0x1006cc90
mov edx, dword [ebp - 0x21c]
mov ecx, edx
mov eax, dword [ebp - 0x220]
shr ecx, 0x18
and eax, 0x40
mov dword [ebp - 0x264], ecx
mov dword [ebp - 0x274], eax
je 0x1006cd98
and edx, 0xffffff
inc ecx
add edx, dword [ebp - 0x228]
mov eax, edx
xor edx, edx
div ecx
mov eax, dword [ebp - 0x264]
sub eax, edx
jmp 0x1006cd9a
xor eax, eax
mov edx, dword [ebp - 0x22c]
mov dword [ebp - 0x21c], eax
mov eax, dword [ebp - 0x228]
test eax, eax
jle 0x1006cf03
nop dword [eax]
nop dword [eax + eax]
cmp dword [ebp - 0x248], 0
mov ecx, eax
mov dword [ebp - 0x224], ecx
je 0x1006cdef
mov eax, edi
sub eax, edx
add eax, 0x200
cmp dword [ebp - 0x228], eax
cmovg ecx, eax
mov eax, dword [ebp - 0x228]
mov dword [ebp - 0x224], ecx
sub eax, ecx
cmp dword [ebp - 0x274], 0
mov dword [ebp - 0x228], eax
jne 0x1006ce54
test ecx, ecx
je 0x1006ce1e
test dl, 3
je 0x1006ce12
mov byte [edx], 0x30
inc edx
sub ecx, 1
jne 0x1006ce04
mov dword [ebp - 0x224], ecx
mov dword [ebp - 0x22c], edx
cmp ecx, 4
jl 0x1006ce54
mov edi, dword [ebp - 0x22c]
mov edx, ecx
shr edx, 2
mov eax, 0x30303030
mov ecx, edx
rep stosd dword es:[edi], eax
mov ecx, dword [ebp - 0x224]
lea eax, [edx*4]
mov edx, dword [ebp - 0x22c]
add edx, eax
sub ecx, eax
mov dword [ebp - 0x22c], edx
test ecx, ecx
je 0x1006cea2
mov edi, dword [ebp - 0x21c]
nop
cmp dword [ebp - 0x274], 0
je 0x1006ce7a
mov eax, edi
inc edi
cmp eax, dword [ebp - 0x264]
jne 0x1006ce7a
xor edi, edi
mov al, 0x2c
jmp 0x1006ce7c
mov al, 0x30
mov byte [edx], al
lea esi, [edx + 1]
mov dword [ebp - 0x25c], esi
mov eax, esi
mov edx, esi
sub ecx, 1
jne 0x1006ce60
mov esi, dword [ebp - 0x230]
mov dword [ebp - 0x21c], edi
mov dword [ebp - 0x22c], edx
mov ecx, dword [ebp - 0x248]
mov edi, dword [ebp - 0x250]
test ecx, ecx
je 0x1006cef5
mov eax, edx
sub eax, edi
mov dword [ebp - 0x25c], eax
inc eax
cmp eax, 0x200
jl 0x1006cef5
mov eax, dword [ebp - 0x25c]
add dword [ebp - 0x254], eax
push eax
push dword [ebp - 0x270]
push edi
call ecx
mov edi, eax
add esp, 0xc
mov dword [ebp - 0x250], edi
mov edx, edi
mov dword [ebp - 0x22c], edx
test edi, edi
je 0x1006d3f6
mov eax, dword [ebp - 0x228]
test eax, eax
jg 0x1006cdc0
mov al, byte [ebp - 0xc]
lea ecx, [ebp - 0xb]
mov edi, dword [ebp - 0x250]
mov dword [ebp - 0x224], ecx
test al, al
je 0x1006cfee
nop dword [eax]
cmp dword [ebp - 0x248], 0
movsx ecx, al
mov dword [ebp - 0x21c], ecx
mov ecx, dword [ebp - 0x224]
je 0x1006cf63
mov ecx, dword [ebp - 0x21c]
mov eax, edi
sub eax, edx
add eax, 0x200
cmp ecx, eax
cmovg ecx, eax
mov eax, ecx
mov dword [ebp - 0x21c], ecx
mov ecx, dword [ebp - 0x224]
mov dword [ebp - 0x21c], eax
mov al, byte [ebp - 0xc]
sub al, byte [ebp - 0x21c]
cmp dword [ebp - 0x21c], 0
mov byte [ebp - 0xc], al
je 0x1006cf93
mov al, byte [ecx]
inc ecx
mov byte [edx], al
inc edx
sub dword [ebp - 0x21c], 1
jne 0x1006cf75
mov al, byte [ebp - 0xc]
mov dword [ebp - 0x224], ecx
mov dword [ebp - 0x22c], edx
cmp dword [ebp - 0x248], 0
je 0x1006cfe6
mov eax, edx
sub eax, edi
mov dword [ebp - 0x25c], eax
inc eax
cmp eax, 0x200
jl 0x1006cfe3
mov eax, dword [ebp - 0x25c]
add dword [ebp - 0x254], eax
push eax
push dword [ebp - 0x270]
push edi
call dword [ebp - 0x248]
mov edi, eax
add esp, 0xc
mov dword [ebp - 0x250], edi
mov edx, edi
mov dword [ebp - 0x22c], edx
test edi, edi
je 0x1006d3f6
mov al, byte [ebp - 0xc]
test al, al
jne 0x1006cf20
mov ecx, dword [ebp - 0x234]
test ecx, ecx
je 0x1006d105
nop dword [eax]
cmp dword [ebp - 0x248], 0
mov eax, ecx
mov dword [ebp - 0x21c], eax
je 0x1006d033
mov eax, edi
mov edi, ecx
sub eax, edx
add eax, 0x200
cmp ecx, eax
cmovg edi, eax
mov dword [ebp - 0x21c], edi
mov edi, dword [ebp - 0x250]
mov eax, dword [ebp - 0x21c]
sub ecx, eax
mov dword [ebp - 0x234], ecx
cmp eax, 4
jl 0x1006d081
mov ecx, dword [ebp - 0x21c]
shr eax, 2
mov dword [ebp - 0x25c], eax
neg eax
lea ecx, [ecx + eax*4]
mov dword [ebp - 0x21c], ecx
mov ecx, dword [ebp - 0x25c]
mov eax, dword [esi]
add esi, 4
mov dword [edx], eax
add edx, 4
sub ecx, 1
jne 0x1006d060
mov ecx, dword [ebp - 0x234]
mov eax, dword [ebp - 0x21c]
mov dword [ebp - 0x22c], edx
test eax, eax
je 0x1006d0a7
mov edi, dword [ebp - 0x21c]
nop dword [eax + eax]
mov al, byte [esi]
inc esi
mov byte [edx], al
inc edx
sub edi, 1
jne 0x1006d090
mov edi, dword [ebp - 0x250]
mov dword [ebp - 0x22c], edx
cmp dword [ebp - 0x248], 0
je 0x1006d0fd
mov eax, edx
sub eax, edi
mov dword [ebp - 0x25c], eax
inc eax
cmp eax, 0x200
jl 0x1006d0fd
mov eax, dword [ebp - 0x25c]
add dword [ebp - 0x254], eax
push eax
push dword [ebp - 0x270]
push edi
call dword [ebp - 0x248]
mov edi, eax
add esp, 0xc
mov dword [ebp - 0x250], edi
mov edx, edi
mov dword [ebp - 0x22c], edx
test edi, edi
je 0x1006d3f6
mov ecx, dword [ebp - 0x234]
test ecx, ecx
jne 0x1006d000
mov eax, dword [ebp - 0x24c]
test eax, eax
je 0x1006d215
mov ecx, dword [ebp - 0x248]
nop dword [eax]
mov esi, eax
test ecx, ecx
je 0x1006d13e
mov eax, edi
sub eax, edx
add eax, 0x200
cmp dword [ebp - 0x24c], eax
cmovg esi, eax
mov eax, dword [ebp - 0x24c]
sub eax, esi
mov dword [ebp - 0x24c], eax
test esi, esi
je 0x1006d164
nop word [eax + eax]
test dl, 3
je 0x1006d15e
mov byte [edx], 0x30
inc edx
sub esi, 1
jne 0x1006d150
mov dword [ebp - 0x22c], edx
cmp esi, 4
jl 0x1006d19a
mov edi, dword [ebp - 0x22c]
mov edx, esi
shr edx, 2
mov eax, 0x30303030
mov ecx, edx
rep stosd dword es:[edi], eax
mov ecx, dword [ebp - 0x248]
lea eax, [edx*4]
mov edx, dword [ebp - 0x22c]
add edx, eax
sub esi, eax
mov dword [ebp - 0x22c], edx
test esi, esi
je 0x1006d1be
push esi
push 0x30
push edx
call fcn.101583f0
mov edx, dword [ebp - 0x22c]
add esp, 0xc
mov ecx, dword [ebp - 0x248]
add edx, esi
mov dword [ebp - 0x22c], edx
mov edi, dword [ebp - 0x250]
test ecx, ecx
je 0x1006d207
mov esi, edx
sub esi, edi
lea eax, [esi + 1]
cmp eax, 0x200
jl 0x1006d207
add dword [ebp - 0x254], esi
push esi
push dword [ebp - 0x270]
push edi
call ecx
mov edi, eax
add esp, 0xc
mov dword [ebp - 0x250], edi
mov edx, edi
mov dword [ebp - 0x22c], edx
test edi, edi
je 0x1006d3f6
mov ecx, dword [ebp - 0x248]
mov eax, dword [ebp - 0x24c]
test eax, eax
jne 0x1006d120
cmp byte [ebp - 0x14], 0
lea esi, [ebp - 0x13]
mov dword [ebp - 0x224], esi
je 0x1006d2c0
nop dword [eax + eax]
cmp dword [ebp - 0x248], 0
movsx ecx, byte [ebp - 0x14]
je 0x1006d24b
mov eax, edi
sub eax, edx
add eax, 0x200
cmp ecx, eax
cmovg ecx, eax
sub byte [ebp - 0x14], cl
test ecx, ecx
je 0x1006d269
mov al, byte [esi]
inc esi
mov byte [edx], al
inc edx
sub ecx, 1
jne 0x1006d252
mov dword [ebp - 0x224], esi
mov dword [ebp - 0x22c], edx
mov ecx, dword [ebp - 0x248]
test ecx, ecx
je 0x1006d2b6
mov eax, edx
sub eax, edi
mov dword [ebp - 0x25c], eax
inc eax
cmp eax, 0x200
jl 0x1006d2b6
mov eax, dword [ebp - 0x25c]
add dword [ebp - 0x254], eax
push eax
push dword [ebp - 0x270]
push edi
call ecx
mov edi, eax
add esp, 0xc
mov dword [ebp - 0x250], edi
mov edx, edi
mov dword [ebp - 0x22c], edx
test edi, edi
je 0x1006d3f6
cmp byte [ebp - 0x14], 0
jne 0x1006d230
test byte [ebp - 0x220], 1
je 0x1006d3ba
mov ecx, dword [ebp - 0x258]
test ecx, ecx
jle 0x1006d3ba
nop dword [eax + eax]
cmp dword [ebp - 0x248], 0
mov esi, ecx
je 0x1006d2f9
mov eax, edi
sub eax, edx
add eax, 0x200
cmp ecx, eax
cmovg esi, eax
sub ecx, esi
mov dword [ebp - 0x258], ecx
test esi, esi
je 0x1006d319
test dl, 3
je 0x1006d313
mov byte [edx], 0x20
inc edx
sub esi, 1
jne 0x1006d305
mov dword [ebp - 0x22c], edx
cmp esi, 4
jl 0x1006d349
mov edi, dword [ebp - 0x22c]
mov edx, esi
shr edx, 2
mov eax, 0x20202020
mov ecx, edx
rep stosd dword es:[edi], eax
lea eax, [edx*4]
mov edx, dword [ebp - 0x22c]
add edx, eax
sub esi, eax
mov dword [ebp - 0x22c], edx
test esi, esi
je 0x1006d367
push esi
push 0x20
push edx
call fcn.101583f0
mov edx, dword [ebp - 0x22c]
add esp, 0xc
add edx, esi
mov dword [ebp - 0x22c], edx
mov esi, dword [ebp - 0x248]
mov edi, dword [ebp - 0x250]
test esi, esi
je 0x1006d3ac
mov ecx, edx
sub ecx, edi
lea eax, [ecx + 1]
cmp eax, 0x200
jl 0x1006d3ac
add dword [ebp - 0x254], ecx
push ecx
push dword [ebp - 0x270]
push edi
call esi
mov edi, eax
add esp, 0xc
mov dword [ebp - 0x250], edi
mov edx, edi
mov dword [ebp - 0x22c], edx
test edi, edi
je 0x1006d3f6
mov ecx, dword [ebp - 0x258]
test ecx, ecx
jne 0x1006d2e0
mov ecx, dword [ebp - 0x23c]
inc ecx
jmp 0x1006b3f3
test ecx, ecx
jne 0x1006d3ce
mov byte [edx], cl
jmp 0x1006d3f6
mov esi, edx
sub esi, edi
lea eax, [esi + 0x1ff]
cmp eax, 0x200
jl 0x1006d3f6
add dword [ebp - 0x254], esi
push esi
push dword [ebp - 0x270]
push edi
call ecx
mov edi, eax
add esp, 0xc
mov edx, edi
mov ecx, dword [ebp - 4]
sub edx, edi
mov eax, dword [ebp - 0x254]
xor ecx, ebp
pop edi
add eax, edx
pop esi
call fcn.101559ea
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret