Function at 0x100172e0
Capabilities:
Parse credit card information
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x2a0
mov eax, dword [0x100b3100]
xor eax, esp
mov dword [esp + 0x29c], eax
mov eax, dword [ebp + 0x10]
push esi
mov dword [esp + 0x44], eax
xor eax, eax
push edi
mov edi, dword [ebp + 8]
mov dword [esp + 0x5c], edx
mov edx, dword [ebp + 0xc]
mov dword [esp + 0x38], ecx
mov ecx, edi
mov dword [esp + 0x34], edi
mov dword [esp + 0x3c], eax
mov dword [esp + 0x6c], 3
mov dword [esp + 0x18], ecx
mov dword [esp + 0x30], edx
test dl, 3
jne 0x100173b9
mov esi, dword [edx]
mov edx, esi
mov eax, esi
not edx
xor eax, 0x25252525
and edx, 0x80808080
sub eax, 0x1010101
test edx, eax
jne 0x100173b5
mov eax, edi
sub eax, ecx
add eax, 0x200
mov dword [esp + 0x24], eax
nop
lea eax, [esi - 0x1010101]
test edx, eax
jne 0x10017417
cmp dword [esp + 0x38], 0
mov eax, dword [esp + 0x24]
je 0x1001737e
cmp eax, 4
jl 0x100173b5
sub eax, 4
mov dword [ecx], esi
mov dword [esp + 0x24], eax
add ecx, 4
mov eax, dword [esp + 0x30]
add eax, 4
mov dword [esp + 0x18], ecx
mov dword [esp + 0x30], eax
mov esi, dword [eax]
mov edx, esi
mov eax, esi
not edx
xor eax, 0x25252525
and edx, 0x80808080
sub eax, 0x1010101
test edx, eax
je 0x10017360
mov edx, dword [esp + 0x30]
mov al, byte [edx]
cmp al, 0x25
je 0x1001741f
test al, al
je 0x10018d86
mov esi, dword [esp + 0x38]
test esi, esi
je 0x10017402
sub ecx, edi
lea eax, [ecx + 1]
cmp eax, 0x200
jl 0x10017402
add dword [esp + 0x3c], ecx
push ecx
push dword [esp + 0x60]
push edi
call esi
mov edi, eax
add esp, 0xc
mov dword [esp + 0x34], edi
mov ecx, edi
mov dword [esp + 0x18], ecx
test edi, edi
je 0x10018db6
mov edx, dword [esp + 0x30]
mov edi, dword [esp + 0x18]
mov cl, byte [edx]
mov byte [edi], cl
mov ecx, edi
mov edi, dword [esp + 0x34]
inc ecx
inc edx
jmp 0x10017325
mov edx, dword [esp + 0x30]
mov al, byte [edx]
jmp 0x100173bf
movsx eax, byte [edx + 1]
inc edx
xor ecx, ecx
mov dword [esp + 0x30], edx
xor edi, edi
mov dword [esp + 0x10], ecx
or esi, 0xffffffff
mov dword [esp + 0x4c], edi
sub eax, 0x20
mov dword [esp + 0x14], esi
mov dword [esp + 0x58], ecx
cmp eax, 0x3f
ja case.0x10017457.33
nop dword [eax + eax]
movzx eax, byte [eax + 0x10018df8]
jmp dword [eax*4 + 0x10018dd4]
or ecx, 1
jmp 0x100174a5
or ecx, 2
jmp 0x100174a5
or ecx, 4
jmp 0x100174a5
or ecx, 8
jmp 0x100174a5
or ecx, 0x40
jmp 0x100174a5
test ecx, 0x100
je 0x10017497
test ecx, 0x800
je 0x1001748f
or ecx, 0x1000
jmp 0x100174a5
or ecx, 0x800
jmp 0x100174a5
or ecx, 0x100
jmp 0x100174a5
or ecx, 0x400
movsx eax, byte [edx + 1]
inc edx
sub eax, 0x20
mov dword [esp + 0x10], ecx
mov dword [esp + 0x30], edx
cmp eax, 0x3f
jbe 0x10017450
jmp 0x100174c4
or ecx, 0x10
inc edx
mov dword [esp + 0x10], ecx
mov dword [esp + 0x30], edx
mov al, byte [edx]
cmp al, 0x2a
jne 0x100174e9
mov edi, dword [esp + 0x48]
add edi, 4
inc edx
mov dword [esp + 0x48], edi
mov dword [esp + 0x30], edx
mov eax, dword [edi - 4]
mov dword [esp + 0x4c], eax
mov al, byte [edx]
jmp 0x10017516
cmp al, 0x30
jl 0x10017512
nop dword [eax]
mov ah, al
cmp ah, 0x39
ja 0x1001750a
movzx eax, ah
lea edi, [edi + edi*4]
inc edx
lea edi, [edi - 0x18]
lea edi, [eax + edi*2]
mov al, byte [edx]
cmp al, 0x30
jge 0x100174f0
mov dword [esp + 0x4c], edi
mov dword [esp + 0x30], edx
mov edi, dword [esp + 0x48]
mov ecx, edi
cmp al, 0x2e
jne 0x10017563
mov al, byte [edx + 1]
inc edx
mov dword [esp + 0x30], edx
cmp al, 0x2a
jne 0x10017537
mov esi, dword [ecx]
add edi, 4
mov al, byte [edx + 1]
inc edx
mov dword [esp + 0x48], edi
jmp 0x1001755b
xor esi, esi
mov dword [esp + 0x14], esi
cmp al, 0x30
jl 0x10017563
mov ah, al
cmp ah, 0x39
ja 0x1001755b
movzx eax, ah
lea esi, [esi + esi*4]
inc edx
lea esi, [esi - 0x18]
lea esi, [eax + esi*2]
mov al, byte [edx]
cmp al, 0x30
jge 0x10017541
mov dword [esp + 0x30], edx
mov dword [esp + 0x14], esi
movsx eax, al
add eax, 0xffffffb7
cmp eax, 0x31
ja case.0x10017575.74
movzx eax, byte [eax + 0x10018e4c]
jmp dword [eax*4 + 0x10018e38]
or dword [esp + 0x10], 0x200
inc edx
mov dword [esp + 0x30], edx
cmp byte [edx], 0x68
jne case.0x10017575.74
inc edx
mov dword [esp + 0x30], edx
mov cl, byte [edx]
movsx eax, cl
add eax, 0xffffffbf
cmp eax, 0x37
ja case.0x100175ab.67
movzx eax, byte [eax + 0x10018eb4]
jmp dword [eax*4 + 0x10018e80]
inc edx
mov dword [esp + 0x30], edx
cmp byte [edx], 0x6c
jne case.0x10017575.74
or dword [esp + 0x10], 0x20
jmp case.0x10017575.106
mov al, byte [edx + 1]
cmp al, 0x36
jne 0x100175da
cmp byte [edx + 2], 0x34
jne case.0x10017575.106
or dword [esp + 0x10], 0x20
add edx, 3
jmp 0x1001758f
cmp al, 0x33
jne case.0x10017575.106
cmp byte [edx + 2], 0x32
jne case.0x10017575.106
add edx, 3
jmp 0x1001758f
mov eax, dword [edi]
add edi, 4
test eax, eax
mov dword [esp + 0x48], edi
mov esi, str.null
cmovne esi, eax
mov eax, dword [esp + 0x14]
or edx, 0xffffffff
mov dword [esp + 0x1c], esi
test eax, eax
mov ecx, esi
cmovns edx, eax
call fcn.10017280
mov edi, eax
xor al, al
mov byte [esp + 0x90], al
mov byte [esp + 0x98], al
xor eax, eax
mov dword [esp + 0x28], edi
xor edx, edx
mov dword [esp + 0x2c], edi
mov dword [esp + 0x14], eax
mov dword [esp + 0x40], eax
jmp 0x100185be
mov al, byte [edi]
add edi, 4
mov dword [esp + 0x48], edi
mov byte [esp + 0x29f], al
jmp 0x100185df
mov ecx, dword [esp + 0x18]
add edi, 4
mov dword [esp + 0x48], edi
mov eax, dword [esp + 0x48]
mov edi, dword [esp + 0x34]
sub ecx, edi
add ecx, dword [esp + 0x3c]
inc edx
mov eax, dword [eax - 4]
mov dword [eax], ecx
mov ecx, dword [esp + 0x18]
jmp 0x10017329
movsd xmm0, qword [edi]
cmp cl, 0x41
mov ecx, str.0123456789abcdefxp
movsd qword [esp + 0x80], xmm0
mov eax, 0x100b4358
cmovne eax, ecx
mov ecx, dword [esp + 0x80]
add edi, 8
mov dword [esp + 0x24], eax
cmp esi, 0xffffffff
mov dword [esp + 0x2c], ecx
mov eax, 6
mov dword [esp + 0x88], ecx
cmove esi, eax
mov dword [esp + 0x48], edi
mov eax, dword [esp + 0x84]
mov ecx, eax
sar ecx, 0x14
mov edi, eax
mov dword [esp + 0x8c], eax
and ecx, 0x7ff
shr eax, 0x1f
sub ecx, 0x3ff
and edi, 0xfffff
mov dword [esp + 0x40], ecx
test eax, eax
mov eax, dword [esp + 0x10]
je 0x100176ff
or eax, 0x80
mov dword [esp + 0x10], eax
lea edx, [esp + 0x90]
mov ecx, eax
call fcn.10017250
cmp dword [esp + 0x40], 0xfffffc01
mov edx, edi
mov ecx, dword [esp + 0x2c]
jne 0x10017736
mov eax, ecx
or eax, edx
je 0x1001772e
mov eax, 0xfffffc02
mov dword [esp + 0x40], eax
jmp 0x1001773c
xor eax, eax
mov dword [esp + 0x40], eax
jmp 0x1001773c
or edx, 0x100000
shld edx, ecx, 8
shl ecx, 8
mov dword [esp + 0xc], edx
mov dword [esp + 0x2c], ecx
cmp esi, 0xf
jge 0x10017785
mov edi, dword [esp + 0xc]
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
mov ecx, dword [esp + 0x2c]
cmovae edx, eax
add ecx, eax
adc edi, edx
mov dword [esp + 0xc], edi
mov edx, edi
movsx eax, byte [esp + 0x90]
mov edi, dword [esp + 0x24]
mov byte [esp + eax + 0x91], 0x30
movsx eax, byte [esp + 0x90]
mov byte [esp + eax + 0x92], 0x78
mov eax, edx
add byte [esp + 0x90], 2
shr eax, 0x1c
shld edx, ecx, 4
shl ecx, 4
mov al, byte [eax + edi]
mov byte [esp + 0xe0], al
test esi, esi
je 0x100177d3
mov byte [esp + 0xe1], 0x2e
test esi, esi
mov dword [esp + 0xc], esi
lea edi, [esp + 0xe1]
lea eax, [esp + 0xe2]
cmovne edi, eax
mov dword [esp + 0x2c], edi
cmp esi, 0xd
jbe 0x10017813
mov dword [esp + 0xc], 0xd
jle 0x10017813
lea eax, [esi - 0xd]
mov dword [esp + 0x14], 0
mov dword [esp + 0x58], eax
mov esi, 0xd
jmp 0x10017823
mov esi, dword [esp + 0xc]
mov dword [esp + 0x14], 0
test esi, esi
je 0x10017846
dec esi
mov eax, edx
mov dword [esp + 0xc], esi
mov esi, dword [esp + 0x24]
shr eax, 0x1c
shld edx, ecx, 4
shl ecx, 4
mov al, byte [eax + esi]
mov esi, dword [esp + 0xc]
mov byte [edi], al
inc edi
test esi, esi
jne 0x10017823
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x40]
mov al, byte [eax + 0x11]
mov byte [esp + 0x99], al
test ecx, ecx
jns 0x1001786c
neg ecx
mov byte [esp + 0x9a], 0x2d
mov dword [esp + 0x40], ecx
jmp 0x10017874
mov byte [esp + 0x9a], 0x2b
cmp ecx, 0x3e8
jl 0x10017883
mov eax, 6
jmp 0x1001789a
cmp ecx, 0x64
jl 0x1001788f
mov eax, 5
jmp 0x1001789a
xor eax, eax
cmp ecx, 0xa
setge al
add eax, 3
mov dword [esp + 0xc], eax
mov byte [esp + 0x98], al
mov eax, 0x66666667
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, eax
mov dword [esp + 0x24], eax
mov al, dl
mov cl, dl
shl al, 2
add cl, al
mov eax, dword [esp + 0x40]
add cl, cl
sub al, cl
mov ecx, dword [esp + 0xc]
add al, 0x30
mov byte [esp + ecx + 0x98], al
cmp ecx, 3
jbe 0x10017923
nop
dec ecx
mov eax, 0x66666667
mov dword [esp + 0xc], ecx
mov ecx, edx
imul ecx
mov dword [esp + 0x44], ecx
sar edx, 2
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov al, cl
mov dword [esp + 0x24], ecx
mov edx, ecx
shl al, 2
add cl, al
mov eax, dword [esp + 0x44]
add cl, cl
sub al, cl
mov ecx, dword [esp + 0xc]
add al, 0x30
mov byte [esp + ecx + 0x98], al
cmp ecx, 3
ja 0x100178e0
mov eax, edi
lea esi, [esp + 0xe0]
sub eax, dword [esp + 0x2c]
mov edx, 0x3000001
mov dword [esp + 0x40], eax
lea eax, [esp + 0xa0]
sub edi, eax
mov dword [esp + 0x1c], esi
sub edi, 0x40
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], edi
jmp 0x100185ba
movsd xmm0, qword [edi]
cmp cl, 0x47
mov eax, 0x100b4358
mov ecx, str.0123456789abcdefxp
cmovne eax, ecx
add edi, 8
mov dword [esp + 0x24], eax
mov dword [esp + 0x48], edi
cmp esi, 0xffffffff
jne 0x10017981
mov esi, 6
jmp 0x1001798b
test esi, esi
mov eax, 1
cmove esi, eax
sub esp, 8
mov dword [esp + 0x1c], esi
lea eax, [esi - 1]
or eax, 0x80000000
lea edx, [esp + 0x34]
lea ecx, [esp + 0x14]
movsd qword [esp], xmm0
push eax
lea eax, [esp + 0x4c]
push eax
lea eax, [esp + 0xb0]
push eax
call fcn.10019700
add esp, 0x14
test eax, eax
je 0x100179c9
or dword [esp + 0x10], 0x80
mov edi, dword [esp + 0x2c]
mov edx, esi
mov ecx, dword [esp + 0x14]
cmp edi, esi
cmova edi, esi
mov esi, dword [esp + 0xc]
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], edi
mov dword [esp + 0x1c], esi
cmp edi, 1
jbe 0x10017a0e
nop dword [eax]
test ecx, ecx
je 0x10017a06
cmp byte [esi + edi - 1], 0x30
jne 0x10017a06
dec edi
dec ecx
mov dword [esp + 0x2c], edi
cmp edi, 1
ja 0x100179f0
mov dword [esp + 0x14], ecx
mov dword [esp + 0x28], edi
mov eax, dword [esp + 0x40]
mov dword [esp + 0x20], eax
cmp eax, 0xfffffffc
jle 0x10017a4f
cmp eax, edx
jg 0x10017a4f
test eax, eax
jle 0x10017a3f
cmp eax, edi
jge 0x10017a34
mov ecx, edi
sub ecx, eax
mov dword [esp + 0x14], ecx
jmp 0x10017f9b
xor eax, eax
mov dword [esp + 0x14], eax
jmp 0x10017f9f
cmp ecx, edi
cmovg ecx, edi
sub ecx, eax
mov dword [esp + 0x14], ecx
jmp 0x10017f9b
cmp ecx, edi
jle 0x10017a5f
lea ecx, [edi - 1]
mov dword [esp + 0x14], ecx
jmp 0x10017af0
test ecx, ecx
je 0x10017af0
dec ecx
mov dword [esp + 0x14], ecx
jmp 0x10017af0
movsd xmm0, qword [edi]
lea edx, [esp + 0x2c]
cmp cl, 0x45
mov eax, 0x100b4358
mov ecx, str.0123456789abcdefxp
cmovne eax, ecx
add edi, 8
mov dword [esp + 0x24], eax
lea ecx, [esp + 0xc]
cmp esi, 0xffffffff
mov dword [esp + 0x48], edi
mov eax, 6
cmove esi, eax
sub esp, 8
mov eax, esi
mov dword [esp + 0x1c], esi
or eax, 0x80000000
movsd qword [esp], xmm0
push eax
lea eax, [esp + 0x4c]
push eax
lea eax, [esp + 0xb0]
push eax
call fcn.10019700
mov edi, dword [esp + 0x40]
add esp, 0x14
mov esi, dword [esp + 0xc]
test eax, eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0x28], edi
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], eax
je 0x10017af0
or dword [esp + 0x10], 0x80
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x90]
mov byte [esp + 0x98], 0
call fcn.10017250
cmp eax, 0x7000
jne 0x10017b20
mov esi, dword [esp + 0x1c]
xor edx, edx
mov dword [esp + 0x14], edx
xor eax, eax
jmp 0x100185be
mov al, byte [esi]
mov edx, dword [esp + 0x14]
mov byte [esp + 0xe0], al
test edx, edx
je 0x10017b39
mov byte [esp + 0xe1], 0x2e
mov ecx, dword [esp + 0x28]
lea eax, [esp + 0xe2]
test edx, edx
lea edi, [esp + 0xe1]
cmovne edi, eax
lea eax, [ecx - 1]
cmp eax, edx
jbe 0x10017b5a
lea ecx, [edx + 1]
mov dword [esp + 0x44], 1
cmp ecx, 1
jbe 0x10017b7f
mov edx, dword [esp + 0x44]
nop dword [eax + eax]
mov al, byte [edx + esi]
inc edx
mov byte [edi], al
inc edi
cmp edx, ecx
jb 0x10017b70
mov edx, dword [esp + 0x14]
mov eax, edx
mov dword [esp + 0x14], 0
sub eax, ecx
mov ecx, dword [esp + 0x20]
inc eax
sub ecx, 1
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x20], ecx
mov al, byte [eax + 0xe]
mov byte [esp + 0x99], al
jns 0x10017bbb
neg ecx
mov byte [esp + 0x9a], 0x2d
mov dword [esp + 0x20], ecx
jmp 0x10017bc3
mov byte [esp + 0x9a], 0x2b
xor eax, eax
cmp ecx, 0x64
setge al
add eax, 4
mov dword [esp + 0x24], eax
mov byte [esp + 0x98], al
mov eax, 0x66666667
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, eax
mov dword [esp + 0xc], eax
mov al, dl
mov cl, dl
shl al, 2
add cl, al
mov eax, dword [esp + 0x20]
add cl, cl
sub al, cl
mov ecx, dword [esp + 0x24]
add al, 0x30
mov byte [esp + ecx + 0x98], al
nop
dec ecx
mov eax, 0x66666667
mov dword [esp + 0x24], ecx
mov ecx, edx
imul ecx
mov dword [esp + 0x44], ecx
mov dword [esp + 0x40], ecx
sar edx, 2
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov al, cl
mov dword [esp + 0xc], ecx
mov edx, ecx
shl al, 2
add cl, al
mov eax, dword [esp + 0x44]
add cl, cl
sub al, cl
mov ecx, dword [esp + 0x24]
add al, 0x30
mov byte [esp + ecx + 0x98], al
cmp ecx, 3
ja 0x10017c10
mov edx, 0x3000001
mov dword [esp + 0xc], edx
jmp 0x1001834d
movsd xmm1, qword [edi]
add edi, 8
mov dword [esp + 0x48], edi
jmp 0x10017ee9
cmp cl, 0x42
mov eax, str.0123456789abcdefxp
mov ecx, dword [esp + 0x10]
mov esi, 0x100b4358
cmovne esi, eax
xor al, al
mov dword [esp + 0x24], esi
mov byte [esp + 0x90], al
test cl, 8
je 0x10017caf
mov al, byte [esi + 0xb]
mov word [esp + 0x90], 0x3002
mov byte [esp + 0x92], al
mov edx, 0x180
jmp 0x10017d2d
mov ecx, dword [esp + 0x10]
xor al, al
mov dword [esp + 0x24], 0x100b4358
mov byte [esp + 0x90], al
test cl, 8
je 0x10017cda
mov word [esp + 0x90], 0x3001
mov edx, 0x330
jmp 0x10017d2d
and dword [esp + 0x10], 0xffffffef
mov dword [esp + 0x14], 8
cmp cl, 0x58
mov eax, str.0123456789abcdefxp
mov ecx, dword [esp + 0x10]
mov esi, 0x100b4358
cmovne esi, eax
mov edx, 0x440
xor al, al
mov dword [esp + 0x24], esi
mov byte [esp + 0x90], al
test cl, 8
je 0x10017d2d
mov al, byte [esi + 0x10]
mov word [esp + 0x90], 0x3002
mov byte [esp + 0x92], al
test cl, 0x20
je 0x10017d3c
mov eax, dword [edi]
add edi, 8
mov ecx, dword [edi - 4]
jmp 0x10017d43
mov eax, dword [edi]
add edi, 4
xor ecx, ecx
mov dword [esp + 0x60], eax
lea esi, [esp + 0x2a0]
mov dword [esp + 0xc], eax
or eax, ecx
mov dword [esp + 0x64], ecx
mov dword [esp + 0x48], edi
mov dword [esp + 0x1c], esi
mov dword [esp + 0x40], 0
mov byte [esp + 0x98], 0
jne 0x10017d97
xor al, al
cmp dword [esp + 0x14], 0
mov byte [esp + 0x90], al
jne 0x10017d97
xor edi, edi
xor edx, edx
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], edi
mov dword [esp + 0xc], edx
jmp 0x10018613
xor edi, edi
nop dword [eax]
movq xmm1, qword [esp + 0x60]
mov ecx, edx
shr ecx, 8
mov eax, 1
shl eax, cl
dec esi
dec eax
mov dword [esp + 0x44], ecx
and eax, dword [esp + 0xc]
inc edi
mov ecx, dword [esp + 0x24]
mov al, byte [eax + ecx]
mov ecx, dword [esp + 0x44]
mov byte [esi], al
movd xmm0, ecx
psrlq xmm1, xmm0
movq qword [esp + 0x60], xmm1
mov eax, dword [esp + 0x60]
mov dword [esp + 0xc], eax
or eax, dword [esp + 0x64]
jne 0x10017dee
mov eax, dword [esp + 0x14]
cmp edi, eax
jge 0x10017e0b
test byte [esp + 0x10], 0x40
je 0x10017da0
inc edx
mov eax, edx
shr eax, 4
xor eax, edx
test al, 0xf
jne 0x10017da0
dec esi
and edx, 0xfffffff0
inc edi
mov byte [esi], 0x2c
jmp 0x10017da0
and edx, 0xf0
mov dword [esp + 0x1c], esi
shl edx, 0x14
sub edx, esi
mov dword [esp + 0x28], edi
lea esi, [esp + 0x2a0]
mov dword [esp + 0x2c], edi
add edx, esi
mov esi, dword [esp + 0x1c]
jmp 0x100185be
test byte [esp + 0x10], 0x20
je 0x10017e7d
mov eax, dword [edi]
add edi, 8
mov dword [esp + 0x48], edi
mov dword [esp + 0x20], eax
mov edx, dword [edi - 4]
mov dword [esp + 0x28], edx
cmp cl, 0x75
je 0x10017eb3
test edx, edx
jg 0x10017eb3
jl 0x10017e5e
test eax, eax
jae 0x10017eb3
mov ecx, dword [esp + 0x10]
neg eax
mov dword [esp + 0x20], eax
adc edx, 0
neg edx
or ecx, 0x80
mov dword [esp + 0x28], edx
mov dword [esp + 0x10], ecx
jmp 0x10017eb7
mov eax, dword [edi]
add edi, 4
xor edx, edx
mov dword [esp + 0x48], edi
mov dword [esp + 0x20], eax
mov dword [esp + 0x28], edx
cmp cl, 0x75
je 0x10017eb3
mov ecx, dword [esp + 0x10]
test eax, eax
jns 0x10017eb7
neg eax
mov dword [esp + 0x28], edx
or ecx, 0x80
mov dword [esp + 0x20], eax
mov dword [esp + 0x10], ecx
jmp 0x10017eb7
mov ecx, dword [esp + 0x10]
test ecx, 0x100
je 0x10018375
test edx, edx
ja 0x10017ed4
jb 0x10017ed0
cmp eax, 0x400
jae 0x10017ed4
xor esi, esi
jmp 0x10017edf
cmp esi, 0xffffffff
mov ecx, 1
cmove esi, ecx
mov ecx, eax
call fcn.1006fa00
movaps xmm1, xmm0
mov eax, dword [esp + 0x10]
test eax, 0x100
je 0x10017f46
movsd xmm2, qword [0x100a7048]
test eax, 0x800
je 0x10017f0b
movsd xmm2, qword [0x100a7050]
cmp eax, 0x4000000
jae 0x10017f46
movsd xmm3, qword [0x100a72a0]
nop word [eax + eax]
comisd xmm2, xmm1
jbe 0x10017f32
movaps xmm0, xmm2
xorps xmm0, xmm3
comisd xmm1, xmm0
ja 0x10017f42
add eax, 0x1000000
divsd xmm1, xmm2
cmp eax, 0x4000000
jb 0x10017f20
mov dword [esp + 0x10], eax
cmp esi, 0xffffffff
lea edx, [esp + 0x2c]
mov eax, 6
lea ecx, [esp + 0xc]
cmove esi, eax
sub esp, 8
lea eax, [esp + 0x48]
mov dword [esp + 0x1c], esi
movsd qword [esp], xmm1
push esi
push eax
lea eax, [esp + 0xb0]
push eax
call fcn.10019700
mov edi, dword [esp + 0x40]
add esp, 0x14
mov esi, dword [esp + 0xc]
test eax, eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0x28], edi
mov dword [esp + 0x20], eax
je 0x10017f9b
or dword [esp + 0x10], 0x80
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x90]
mov byte [esp + 0x98], 0
call fcn.10017250
mov edx, dword [esp + 0x20]
cmp edx, 0x7000
jne 0x10017fd4
xor edx, edx
mov dword [esp + 0x1c], esi
mov dword [esp + 0x14], edx
xor eax, eax
jmp 0x100185be
lea ecx, [esp + 0xe0]
test edx, edx
jg 0x100180cf
mov byte [esp + 0xe0], 0x30
test eax, eax
je 0x10017ff7
mov byte [esp + 0xe1], 0x2e
test eax, eax
lea edi, [esp + 0xe2]
lea ecx, [esp + 0xe1]
cmovne ecx, edi
neg edx
cmp edx, eax
mov dword [esp + 0x1c], ecx
cmovg edx, eax
mov dword [esp + 0x20], edx
mov edi, edx
mov dword [esp + 0x24], edi
test edx, edx
je 0x1001803d
mov dword [esp + 0x1c], ecx
test cl, 3
je 0x10018035
mov byte [ecx], 0x30
inc ecx
sub edi, 1
jne 0x10018027
mov dword [esp + 0x24], edi
mov dword [esp + 0x1c], ecx
cmp edi, 4
jl 0x10018067
mov edx, edi
mov eax, 0x30303030
mov edi, dword [esp + 0x1c]
and edx, 0xfffffffc
mov ecx, edx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x1c]
mov edi, dword [esp + 0x24]
add ecx, edx
mov dword [esp + 0x1c], ecx
sub edi, edx
test edi, edi
je 0x10018081
push edi
push 0x30
push ecx
call fcn.10056e20
mov ecx, dword [esp + 0x28]
add esp, 0xc
add ecx, edi
mov dword [esp + 0x1c], ecx
mov edx, dword [esp + 0x28]
mov edi, dword [esp + 0x20]
lea eax, [edi + edx]
cmp eax, dword [esp + 0x14]
jle 0x10018098
mov edx, dword [esp + 0x14]
sub edx, edi
mov eax, edx
mov dword [esp + 0x44], eax
test eax, eax
je 0x100180b9
sub esi, ecx
mov edi, edx
mov al, byte [esi + ecx]
mov byte [ecx], al
inc ecx
sub edi, 1
jne 0x100180a6
mov edi, dword [esp + 0x20]
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x14]
sub ecx, edi
sub ecx, edx
mov edx, 0x3000001
mov dword [esp + 0xc], edx
jmp 0x100182cb
mov eax, dword [esp + 0x10]
and eax, 0x40
mov dword [esp + 0x24], eax
je 0x100180f5
mov eax, 0x258
sub eax, edx
xor edx, edx
div dword [esp + 0x6c]
mov eax, edx
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0x20]
jmp 0x100180fb
xor eax, eax
mov dword [esp + 0xc], eax
cmp edx, edi
jb 0x1001822a
xor edx, edx
cmp dword [esp + 0x24], 0
je 0x10018122
inc eax
mov dword [esp + 0xc], eax
cmp eax, 4
jne 0x10018122
xor eax, eax
mov byte [ecx], 0x2c
mov dword [esp + 0xc], eax
inc ecx
jmp 0x10018105
mov al, byte [edx + esi]
inc edx
mov byte [ecx], al
inc ecx
mov eax, dword [esp + 0xc]
cmp edx, edi
jb 0x10018105
mov dword [esp + 0x44], edx
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x44]
mov dword [esp + 0x1c], ecx
cmp eax, edx
jae 0x100181f8
sub edx, eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x20], edx
test al, 0x40
jne 0x100181b1
test edx, edx
je 0x10018176
nop dword [eax + eax]
test cl, 3
je 0x1001816e
mov byte [ecx], 0x30
inc ecx
sub edx, 1
jne 0x10018160
mov dword [esp + 0x20], edx
mov dword [esp + 0x1c], ecx
cmp edx, 4
jb 0x100181b1
mov edi, dword [esp + 0x1c]
mov esi, edx
shr esi, 2
mov eax, 0x30303030
lea edx, [esi*4]
mov ecx, edx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x1c]
add ecx, edx
mov edx, dword [esp + 0x20]
mov dword [esp + 0x1c], ecx
sub edx, 4
sub esi, 1
jne 0x100181a5
mov eax, dword [esp + 0x10]
test edx, edx
je 0x100181f8
mov edi, eax
mov eax, dword [esp + 0xc]
and edi, 0x40
nop
test edi, edi
je 0x100181db
inc eax
mov dword [esp + 0xc], eax
cmp eax, 4
jne 0x100181db
xor eax, eax
mov byte [esp + 0x57], 0x2c
mov dword [esp + 0xc], eax
jmp 0x100181e1
dec edx
mov byte [esp + 0x57], 0x30
mov al, byte [esp + 0x57]
lea esi, [ecx + 1]
mov byte [ecx], al
mov ecx, esi
mov eax, dword [esp + 0xc]
test edx, edx
jne 0x100181c0
mov dword [esp + 0x1c], ecx
lea eax, [esp + 0xa0]
mov edx, ecx
sub edx, eax
mov eax, dword [esp + 0x14]
add edx, 0x2ffffc0
mov dword [esp + 0xc], edx
test eax, eax
je 0x100182cf
mov byte [ecx], 0x2e
inc ecx
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x58], eax
jmp 0x100182cf
xor edi, edi
nop dword [eax]
cmp dword [esp + 0x24], 0
je 0x1001824d
inc eax
mov dword [esp + 0xc], eax
cmp eax, 4
jne 0x1001824d
xor eax, eax
mov byte [ecx], 0x2c
mov dword [esp + 0xc], eax
inc ecx
jmp 0x10018230
mov al, byte [edi + esi]
inc edi
mov byte [ecx], al
inc ecx
mov eax, dword [esp + 0xc]
cmp edi, edx
jb 0x10018230
mov eax, ecx
mov dword [esp + 0x1c], ecx
lea ecx, [esp + 0xa0]
mov dword [esp + 0x24], edi
mov edi, dword [esp + 0x28]
sub eax, ecx
mov ecx, dword [esp + 0x1c]
add eax, 0x2ffffc0
cmp dword [esp + 0x14], 0
mov dword [esp + 0xc], eax
je 0x1001828f
mov byte [ecx], 0x2e
inc ecx
mov dword [esp + 0x1c], ecx
mov eax, edi
sub eax, edx
cmp eax, dword [esp + 0x14]
jbe 0x1001829f
mov edi, dword [esp + 0x14]
add edi, edx
cmp dword [esp + 0x24], edi
jae 0x100182c3
mov edx, dword [esp + 0x24]
nop dword [eax]
mov al, byte [edx + esi]
inc edx
mov byte [ecx], al
inc ecx
cmp edx, edi
jb 0x100182b0
mov edx, dword [esp + 0x20]
mov dword [esp + 0x1c], ecx
mov ecx, edx
sub ecx, edi
add ecx, dword [esp + 0x14]
mov dword [esp + 0x58], ecx
mov eax, dword [esp + 0x10]
mov dword [esp + 0x14], 0
test eax, 0x100
je 0x10018349
mov edx, eax
mov byte [esp + 0x99], 0x20
shr edx, 0xa
mov esi, eax
not dl
shr esi, 0x18
and dl, 1
mov byte [esp + 0x98], dl
test esi, esi
je 0x10018349
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 [esp + ecx + 0x99], al
mov eax, dword [esp + 0x10]
and eax, 0x1800
cmp eax, 0x800
jne 0x10018342
movzx eax, dl
inc dl
mov byte [esp + eax + 0x99], 0x69
mov byte [esp + 0x98], dl
mov edi, dword [esp + 0x1c]
lea eax, [esp + 0xa0]
sub edi, eax
lea esi, [esp + 0xe0]
mov eax, dword [esp + 0x14]
sub edi, 0x40
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], edi
mov dword [esp + 0x1c], esi
jmp 0x100185c2
mov eax, dword [esp + 0x10]
lea esi, [esp + 0x2a0]
xor edi, edi
and eax, 0x40
mov dword [esp + 0x44], eax
mov dword [esp + 0xc], edi
mov dword [esp + 0x1c], esi
cmp dword [esp + 0x28], 0
lea edx, [esi - 8]
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x2c], esi
mov dword [esp + 0x24], edx
mov dword [esp + 0x50], ecx
ja 0x100183d5
mov edi, dword [esp + 0xc]
cmp ecx, 0x5f5e100
jae 0x100183d5
xorps xmm0, xmm0
movlpd qword [esp + 0x60], xmm0
mov eax, dword [esp + 0x64]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 0x20], eax
jmp 0x1001846a
mov eax, dword [esp + 0x20]
mov edx, 0x8461cefd
mul edx
mov edi, 0xabcc7711
mov ecx, 0x8461cefd
mov esi, edx
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x20]
mul edi
mov dword [esp + 0x78], edx
mov edi, eax
mov eax, dword [esp + 0x28]
mul ecx
mov dword [esp + 0x70], edx
mov ecx, eax
mov eax, dword [esp + 0x28]
mov edx, 0xabcc7711
mul edx
add ecx, esi
mov esi, dword [esp + 0x1c]
mov dword [esp + 0x28], edx
mov edx, dword [esp + 0x70]
adc edx, 0
mov dword [esp + 0x20], eax
add edi, ecx
mov ecx, dword [esp + 0x78]
mov dword [esp + 0x70], edi
mov edi, dword [esp + 0xc]
adc ecx, 0
xor eax, eax
add edx, ecx
mov ecx, dword [esp + 0x20]
adc eax, eax
add ecx, edx
mov edx, dword [esp + 0x28]
adc edx, eax
shrd ecx, edx, 0x1a
imul eax, ecx, 0x5f5e100
shr edx, 0x1a
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 0x50]
mov dword [esp + 0x28], edx
mov edx, dword [esp + 0x24]
sub ecx, eax
cmp dword [esp + 0x44], 0
mov eax, dword [esp + 0x2c]
jne 0x1001849e
mov eax, 0x51eb851f
sub esi, 2
mul ecx
shr edx, 5
imul eax, edx, 0x64
sub ecx, eax
mov ax, word [ecx*2 + str.00010203040506070809101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899]
mov ecx, edx
mov word [esi], ax
test ecx, ecx
jne 0x10018475
mov dword [esp + 0x1c], esi
jmp 0x10018506
mov esi, eax
mov dword [esp + 0x1c], esi
test ecx, ecx
je 0x10018506
mov eax, edi
inc edi
mov dword [esp + 0xc], edi
cmp eax, 3
jne 0x100184c3
xor edi, edi
mov ah, 0x2c
dec edx
mov dword [esp + 0xc], edi
mov dword [esp + 0x24], edx
jmp 0x100184eb
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 [esp + 0x2c]
add al, al
mov dword [esp + 0x2c], edx
mov edx, dword [esp + 0x24]
sub ah, al
add ah, 0x30
mov esi, dword [esp + 0x2c]
or edi, 0xffffffff
add esi, edi
mov dword [esp + 0x1c], esi
mov byte [esi], ah
mov edi, dword [esp + 0xc]
mov dword [esp + 0x2c], esi
test ecx, ecx
jne 0x100184a8
mov eax, dword [esp + 0x20]
or eax, dword [esp + 0x28]
je 0x10018548
mov ecx, dword [esp + 0x24]
cmp esi, ecx
je 0x10018391
nop dword [eax]
cmp dword [esp + 0x44], 0
je 0x10018536
mov eax, edi
inc edi
cmp eax, 3
jne 0x10018536
xor edi, edi
mov al, 0x2c
dec ecx
jmp 0x10018538
mov al, 0x30
or edx, 0xffffffff
add esi, edx
mov byte [esi], al
cmp esi, ecx
jne 0x10018520
jmp 0x10018389
cmp byte [esi], 0x30
jne 0x1001855d
lea eax, [esp + 0x2a0]
cmp esi, eax
je 0x1001855d
inc esi
mov dword [esp + 0x1c], esi
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x90]
mov byte [esp + 0x98], 0
call fcn.10017250
lea edi, [esp + 0x2a0]
sub edi, esi
mov dword [esp + 0x28], edi
mov eax, edi
mov dword [esp + 0x2c], edi
jne 0x100185a1
dec esi
mov edi, 1
mov dword [esp + 0x1c], esi
mov eax, edi
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], edi
mov byte [esi], 0x30
mov esi, dword [esp + 0x14]
lea edx, [eax + 0x3000000]
xor eax, eax
test esi, esi
cmovs esi, eax
mov dword [esp + 0x14], esi
mov esi, dword [esp + 0x1c]
mov eax, dword [esp + 0x14]
mov dword [esp + 0xc], edx
cmp eax, edi
jge 0x10018613
jmp 0x1001860f
mov byte [esp + 0x29f], cl
mov dword [esp + 0x10], 0
mov dword [esp + 0x4c], 0
xor al, al
lea esi, [esp + 0x29f]
xor edx, edx
mov byte [esp + 0x90], al
mov dword [esp + 0xc], edx
mov dword [esp + 0x40], edx
mov byte [esp + 0x98], dl
lea edi, [edx + 1]
mov dword [esp + 0x1c], esi
mov dword [esp + 0x2c], edi
mov dword [esp + 0x28], edi
mov dword [esp + 0x14], edi
movsx eax, byte [esp + 0x98]
add eax, dword [esp + 0x58]
mov dl, byte [esp + 0x90]
movsx ecx, dl
add ecx, eax
mov eax, dword [esp + 0x4c]
add ecx, dword [esp + 0x14]
cmp eax, ecx
cmovl eax, ecx
sub eax, ecx
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x14]
sub eax, edi
mov dword [esp + 0x14], eax
test cl, 1
jne 0x10018672
test cl, 0x10
je 0x1001866b
cmp dword [esp + 0x4c], eax
cmovg eax, dword [esp + 0x4c]
xor ecx, ecx
mov dword [esp + 0x14], eax
mov dword [esp + 0x4c], ecx
jmp 0x10018676
and ecx, 0xffffffbf
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x4c]
add eax, ecx
mov ecx, dword [esp + 0x18]
je 0x100189a4
test byte [esp + 0x10], 1
jne 0x10018788
mov eax, dword [esp + 0x4c]
test eax, eax
jle 0x10018788
mov edx, dword [esp + 0x38]
nop dword [eax]
mov edi, eax
mov dword [esp + 0x24], edi
test edx, edx
je 0x100186c4
mov eax, dword [esp + 0x34]
sub eax, ecx
add eax, 0x200
cmp dword [esp + 0x4c], eax
cmovg edi, eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x24], edi
sub eax, edi
mov dword [esp + 0x4c], eax
test edi, edi
je 0x100186e6
nop
test cl, 3
je 0x100186de
mov byte [ecx], 0x20
inc ecx
sub edi, 1
jne 0x100186d0
mov dword [esp + 0x24], edi
mov dword [esp + 0x18], ecx
cmp edi, 4
jl 0x10018714
mov edx, edi
mov eax, 0x20202020
mov edi, dword [esp + 0x18]
and edx, 0xfffffffc
mov ecx, edx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x18]
mov edi, dword [esp + 0x24]
add ecx, edx
sub edi, edx
mov dword [esp + 0x18], ecx
mov edx, dword [esp + 0x38]
test edi, edi
je 0x10018732
push edi
push 0x20
push ecx
call fcn.10056e20
mov ecx, dword [esp + 0x24]
add esp, 0xc
mov edx, dword [esp + 0x38]
add ecx, edi
mov dword [esp + 0x18], ecx
test edx, edx
je 0x10018775
mov edi, dword [esp + 0x34]
mov eax, ecx
sub eax, edi
mov dword [esp + 0x50], eax
inc eax
cmp eax, 0x200
jl 0x10018775
mov eax, dword [esp + 0x50]
add dword [esp + 0x3c], eax
push eax
push dword [esp + 0x60]
push edi
call edx
mov edi, eax
add esp, 0xc
mov dword [esp + 0x34], edi
mov ecx, edi
mov dword [esp + 0x18], ecx
test edi, edi
je 0x10018db6
mov edx, dword [esp + 0x38]
mov eax, dword [esp + 0x4c]
test eax, eax
jg 0x100186a0
mov dl, byte [esp + 0x90]
mov edi, dword [esp + 0x34]
lea eax, [esp + 0x91]
mov dword [esp + 0x44], eax
test dl, dl
je 0x1001884b
nop
cmp dword [esp + 0x38], 0
movsx eax, dl
mov dword [esp + 0x20], eax
je 0x100187ce
mov eax, edi
mov edi, dword [esp + 0x20]
sub eax, ecx
add eax, 0x200
cmp edi, eax
cmovg edi, eax
mov eax, edi
mov dword [esp + 0x20], edi
mov edi, dword [esp + 0x34]
mov dword [esp + 0x20], eax
sub dl, al
mov byte [esp + 0x90], dl
test eax, eax
je 0x100187fc
mov edx, dword [esp + 0x44]
nop
mov al, byte [edx]
inc edx
mov byte [ecx], al
inc ecx
sub dword [esp + 0x20], 1
jne 0x100187e0
mov dword [esp + 0x44], edx
mov dl, byte [esp + 0x90]
mov dword [esp + 0x18], ecx
cmp dword [esp + 0x38], 0
je 0x10018843
mov eax, ecx
sub eax, edi
mov dword [esp + 0x50], eax
inc eax
cmp eax, 0x200
jl 0x10018843
mov eax, dword [esp + 0x50]
add dword [esp + 0x3c], eax
push eax
push dword [esp + 0x60]
push edi
call dword [esp + 0x44]
mov edi, eax
add esp, 0xc
mov dword [esp + 0x34], edi
mov ecx, edi
mov dword [esp + 0x18], ecx
test edi, edi
je 0x10018db6
mov dl, byte [esp + 0x90]
test dl, dl
jne 0x100187a0
mov edx, dword [esp + 0xc]
mov ecx, edx
mov eax, dword [esp + 0x10]
shr ecx, 0x18
and eax, 0x40
mov dword [esp + 0x20], ecx
mov dword [esp + 0x44], eax
je 0x1001887e
and edx, 0xffffff
inc ecx
add edx, dword [esp + 0x14]
mov eax, edx
xor edx, edx
div ecx
mov eax, dword [esp + 0x20]
sub eax, edx
jmp 0x10018880
xor eax, eax
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x14]
test eax, eax
jle 0x1001899d
cmp dword [esp + 0x38], 0
mov edx, eax
mov dword [esp + 0xc], edx
je 0x100188b9
mov eax, edi
sub eax, ecx
add eax, 0x200
cmp dword [esp + 0x14], eax
cmovg edx, eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0xc], edx
sub eax, edx
cmp dword [esp + 0x44], 0
mov dword [esp + 0x14], eax
jne 0x10018910
test edx, edx
je 0x100188e6
nop word [eax + eax]
test cl, 3
je 0x100188de
mov byte [ecx], 0x30
inc ecx
sub edx, 1
jne 0x100188d0
mov dword [esp + 0xc], edx
mov dword [esp + 0x18], ecx
cmp edx, 4
jl 0x10018910
mov edi, dword [esp + 0x18]
and edx, 0xfffffffc
mov ecx, edx
mov eax, 0x30303030
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x18]
add ecx, edx
sub dword [esp + 0xc], edx
mov edx, dword [esp + 0xc]
mov dword [esp + 0x18], ecx
test edx, edx
je 0x1001894e
mov edi, dword [esp + 0x24]
cmp dword [esp + 0x44], 0
je 0x1001892e
mov eax, edi
inc edi
cmp eax, dword [esp + 0x20]
jne 0x1001892e
xor edi, edi
mov al, 0x2c
jmp 0x10018930
mov al, 0x30
mov byte [ecx], al
lea esi, [ecx + 1]
mov dword [esp + 0x50], esi
mov eax, esi
mov ecx, esi
sub edx, 1
jne 0x10018918
mov esi, dword [esp + 0x1c]
mov dword [esp + 0x24], edi
mov dword [esp + 0x18], ecx
mov edx, dword [esp + 0x38]
mov edi, dword [esp + 0x34]
test edx, edx
je 0x10018991
mov eax, ecx
sub eax, edi
mov dword [esp + 0x50], eax
inc eax
cmp eax, 0x200
jl 0x10018991
mov eax, dword [esp + 0x50]
add dword [esp + 0x3c], eax
push eax
push dword [esp + 0x60]
push edi
call edx
mov edi, eax
add esp, 0xc
mov dword [esp + 0x34], edi
mov ecx, edi
mov dword [esp + 0x18], ecx
test edi, edi
je 0x10018db6
mov eax, dword [esp + 0x14]
test eax, eax
jg 0x10018894
mov dl, byte [esp + 0x90]
mov edi, dword [esp + 0x34]
lea eax, [esp + 0x91]
mov dword [esp + 0xc], eax
test dl, dl
je 0x10018a6b
nop dword [eax + eax]
cmp dword [esp + 0x38], 0
movsx eax, dl
mov dword [esp + 0x20], eax
je 0x100189ee
mov eax, edi
mov edi, dword [esp + 0x20]
sub eax, ecx
add eax, 0x200
cmp edi, eax
cmovg edi, eax
mov eax, edi
mov dword [esp + 0x20], edi
mov edi, dword [esp + 0x34]
mov dword [esp + 0x20], eax
sub dl, al
mov byte [esp + 0x90], dl
test eax, eax
je 0x10018a1c
mov edx, dword [esp + 0xc]
nop
mov al, byte [edx]
inc edx
mov byte [ecx], al
inc ecx
sub dword [esp + 0x20], 1
jne 0x10018a00
mov dword [esp + 0xc], edx
mov dl, byte [esp + 0x90]
mov dword [esp + 0x18], ecx
cmp dword [esp + 0x38], 0
je 0x10018a63
mov eax, ecx
sub eax, edi
mov dword [esp + 0x50], eax
inc eax
cmp eax, 0x200
jl 0x10018a63
mov eax, dword [esp + 0x50]
add dword [esp + 0x3c], eax
push eax
push dword [esp + 0x60]
push edi
call dword [esp + 0x44]
mov edi, eax
add esp, 0xc
mov dword [esp + 0x34], edi
mov ecx, edi
mov dword [esp + 0x18], ecx
test edi, edi
je 0x10018db6
mov dl, byte [esp + 0x90]
test dl, dl
jne 0x100189c0
mov eax, dword [esp + 0x28]
test eax, eax
je 0x10018b2a
cmp dword [esp + 0x38], 0
mov edx, eax
je 0x10018a94
mov eax, edi
sub eax, ecx
add eax, 0x200
cmp dword [esp + 0x28], eax
cmovg edx, eax
mov eax, dword [esp + 0x28]
sub eax, edx
mov dword [esp + 0x28], eax
cmp edx, 4
jl 0x10018ac7
mov edi, edx
shr edi, 2
mov eax, edi
neg eax
lea edx, [edx + eax*4]
nop dword [eax + eax]
mov eax, dword [esi]
add esi, 4
mov dword [ecx], eax
add ecx, 4
sub edi, 1
jne 0x10018ab0
mov edi, dword [esp + 0x34]
mov dword [esp + 0x18], ecx
test edx, edx
je 0x10018adf
nop dword [eax + eax]
mov al, byte [esi]
inc esi
mov byte [ecx], al
inc ecx
sub edx, 1
jne 0x10018ad0
mov dword [esp + 0x18], ecx
mov edx, dword [esp + 0x38]
test edx, edx
je 0x10018b1e
mov eax, ecx
sub eax, edi
mov dword [esp + 0x50], eax
inc eax
cmp eax, 0x200
jl 0x10018b1e
mov eax, dword [esp + 0x50]
add dword [esp + 0x3c], eax
push eax
push dword [esp + 0x60]
push edi
call edx
mov edi, eax
add esp, 0xc
mov dword [esp + 0x34], edi
mov ecx, edi
mov dword [esp + 0x18], ecx
test edi, edi
je 0x10018db6
mov eax, dword [esp + 0x28]
test eax, eax
jne 0x10018a77
mov eax, dword [esp + 0x58]
test eax, eax
je 0x10018c07
mov edx, dword [esp + 0x38]
nop word [eax + eax]
mov esi, eax
test edx, edx
je 0x10018b5a
mov eax, edi
sub eax, ecx
add eax, 0x200
cmp dword [esp + 0x58], eax
cmovg esi, eax
mov eax, dword [esp + 0x58]
sub eax, esi
mov dword [esp + 0x58], eax
test esi, esi
je 0x10018b76
test cl, 3
je 0x10018b72
mov byte [ecx], 0x30
inc ecx
sub esi, 1
jne 0x10018b64
mov dword [esp + 0x18], ecx
cmp esi, 4
jl 0x10018ba0
mov edi, dword [esp + 0x18]
mov edx, esi
and edx, 0xfffffffc
mov eax, 0x30303030
mov ecx, edx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x18]
add ecx, edx
sub esi, edx
mov edx, dword [esp + 0x38]
mov dword [esp + 0x18], ecx
test esi, esi
je 0x10018bbe
push esi
push 0x30
push ecx
call fcn.10056e20
mov ecx, dword [esp + 0x24]
add esp, 0xc
mov edx, dword [esp + 0x38]
add ecx, esi
mov dword [esp + 0x18], ecx
mov edi, dword [esp + 0x34]
test edx, edx
je 0x10018bfb
mov esi, ecx
sub esi, edi
lea eax, [esi + 1]
cmp eax, 0x200
jl 0x10018bfb
add dword [esp + 0x3c], esi
push esi
push dword [esp + 0x60]
push edi
call edx
mov edi, eax
add esp, 0xc
mov dword [esp + 0x34], edi
mov ecx, edi
mov dword [esp + 0x18], ecx
test edi, edi
je 0x10018db6
mov edx, dword [esp + 0x38]
mov eax, dword [esp + 0x58]
test eax, eax
jne 0x10018b40
cmp byte [esp + 0x98], 0
lea esi, [esp + 0x99]
mov dword [esp + 0xc], esi
je 0x10018ca8
cmp dword [esp + 0x38], 0
movsx edx, byte [esp + 0x98]
je 0x10018c3d
mov eax, edi
sub eax, ecx
add eax, 0x200
cmp edx, eax
cmovg edx, eax
sub byte [esp + 0x98], dl
test edx, edx
je 0x10018c5b
mov al, byte [esi]
inc esi
mov byte [ecx], al
inc ecx
sub edx, 1
jne 0x10018c48
mov dword [esp + 0xc], esi
mov dword [esp + 0x18], ecx
mov edx, dword [esp + 0x38]
test edx, edx
je 0x10018c9a
mov eax, ecx
sub eax, edi
mov dword [esp + 0x50], eax
inc eax
cmp eax, 0x200
jl 0x10018c9a
mov eax, dword [esp + 0x50]
add dword [esp + 0x3c], eax
push eax
push dword [esp + 0x60]
push edi
call edx
mov edi, eax
add esp, 0xc
mov dword [esp + 0x34], edi
mov ecx, edi
mov dword [esp + 0x18], ecx
test edi, edi
je 0x10018db6
cmp byte [esp + 0x98], 0
jne 0x10018c20
test byte [esp + 0x10], 1
je 0x10018d78
mov edx, dword [esp + 0x4c]
test edx, edx
jle 0x10018d78
nop
cmp dword [esp + 0x38], 0
mov esi, edx
je 0x10018cd7
mov eax, edi
sub eax, ecx
add eax, 0x200
cmp edx, eax
cmovg esi, eax
sub edx, esi
mov dword [esp + 0x4c], edx
test esi, esi
je 0x10018cf3
test cl, 3
je 0x10018cef
mov byte [ecx], 0x20
inc ecx
sub esi, 1
jne 0x10018ce1
mov dword [esp + 0x18], ecx
cmp esi, 4
jl 0x10018d19
mov edi, dword [esp + 0x18]
mov edx, esi
and edx, 0xfffffffc
mov eax, 0x20202020
mov ecx, edx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x18]
add ecx, edx
sub esi, edx
mov dword [esp + 0x18], ecx
test esi, esi
je 0x10018d33
push esi
push 0x20
push ecx
call fcn.10056e20
mov ecx, dword [esp + 0x24]
add esp, 0xc
add ecx, esi
mov dword [esp + 0x18], ecx
mov esi, dword [esp + 0x38]
mov edi, dword [esp + 0x34]
test esi, esi
je 0x10018d6c
mov edx, ecx
sub edx, edi
lea eax, [edx + 1]
cmp eax, 0x200
jl 0x10018d6c
add dword [esp + 0x3c], edx
push edx
push dword [esp + 0x60]
push edi
call esi
mov edi, eax
add esp, 0xc
mov dword [esp + 0x34], edi
mov ecx, edi
mov dword [esp + 0x18], ecx
test edi, edi
je 0x10018db6
mov edx, dword [esp + 0x4c]
test edx, edx
jne 0x10018cc0
mov edx, dword [esp + 0x30]
mov ecx, dword [esp + 0x18]
inc edx
jmp 0x10017329
mov edx, dword [esp + 0x38]
test edx, edx
jne 0x10018d92
mov byte [ecx], dl
jmp 0x10018db6
mov esi, ecx
sub esi, edi
lea eax, [esi + 0x1ff]
cmp eax, 0x200
jl 0x10018db6
add dword [esp + 0x3c], esi
push esi
push dword [esp + 0x60]
push edi
call edx
mov edi, eax
add esp, 0xc
mov ecx, edi
mov eax, dword [esp + 0x3c]
sub ecx, edi
add eax, ecx
mov ecx, dword [esp + 0x2a4]
pop edi
pop esi
xor ecx, esp
call fcn.10054aad
mov esp, ebp
pop ebp
ret