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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x290
mov eax, dword [0x100b3140]
xor eax, esp
mov dword [esp + 0x28c], eax
mov eax, dword [ebp + 0x10]
push esi
mov dword [esp + 0x40], eax
xor eax, eax
push edi
mov edi, dword [ebp + 8]
mov dword [esp + 0x54], edx
mov edx, dword [ebp + 0xc]
mov dword [esp + 0x34], ecx
mov ecx, edi
mov dword [esp + 0x30], edi
mov dword [esp + 0x38], eax
mov dword [esp + 0x6c], 3
mov dword [esp + 0x14], ecx
mov dword [esp + 0x2c], edx
test dl, 3
jne 0x10016eb9
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 0x10016eb5
mov eax, edi
sub eax, ecx
add eax, 0x200
mov dword [esp + 0x20], eax
nop
lea eax, [esi - 0x1010101]
test edx, eax
jne 0x10016f17
cmp dword [esp + 0x34], 0
mov eax, dword [esp + 0x20]
je 0x10016e7e
cmp eax, 4
jl 0x10016eb5
sub eax, 4
mov dword [ecx], esi
mov dword [esp + 0x20], eax
add ecx, 4
mov eax, dword [esp + 0x2c]
add eax, 4
mov dword [esp + 0x14], ecx
mov dword [esp + 0x2c], 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 0x10016e60
mov edx, dword [esp + 0x2c]
mov al, byte [edx]
cmp al, 0x25
je 0x10016f1f
test al, al
je 0x10018876
mov esi, dword [esp + 0x34]
test esi, esi
je 0x10016f02
sub ecx, edi
lea eax, [ecx + 1]
cmp eax, 0x200
jl 0x10016f02
add dword [esp + 0x38], ecx
push ecx
push dword [esp + 0x58]
push edi
call esi
mov edi, eax
add esp, 0xc
mov dword [esp + 0x30], edi
mov ecx, edi
mov dword [esp + 0x14], ecx
test edi, edi
je 0x100188a6
mov edx, dword [esp + 0x2c]
mov edi, dword [esp + 0x14]
mov cl, byte [edx]
mov byte [edi], cl
mov ecx, edi
mov edi, dword [esp + 0x30]
inc ecx
inc edx
jmp 0x10016e25
mov edx, dword [esp + 0x2c]
mov al, byte [edx]
jmp 0x10016ebf
movsx eax, byte [edx + 1]
inc edx
xor ecx, ecx
mov dword [esp + 0x2c], edx
xor edi, edi
mov dword [esp + 0xc], ecx
or esi, 0xffffffff
mov dword [esp + 0x48], edi
sub eax, 0x20
mov dword [esp + 0x10], esi
mov dword [esp + 0x50], ecx
cmp eax, 0x3f
ja case.0x10016f57.33
nop dword [eax + eax]
movzx eax, byte [eax + 0x100188e8]
jmp dword [eax*4 + 0x100188c4]
or ecx, 1
jmp 0x10016fa5
or ecx, 2
jmp 0x10016fa5
or ecx, 4
jmp 0x10016fa5
or ecx, 8
jmp 0x10016fa5
or ecx, 0x40
jmp 0x10016fa5
test ecx, 0x100
je 0x10016f97
test ecx, 0x800
je 0x10016f8f
or ecx, 0x1000
jmp 0x10016fa5
or ecx, 0x800
jmp 0x10016fa5
or ecx, 0x100
jmp 0x10016fa5
or ecx, 0x400
movsx eax, byte [edx + 1]
inc edx
sub eax, 0x20
mov dword [esp + 0xc], ecx
mov dword [esp + 0x2c], edx
cmp eax, 0x3f
jbe 0x10016f50
jmp 0x10016fc4
or ecx, 0x10
inc edx
mov dword [esp + 0xc], ecx
mov dword [esp + 0x2c], edx
mov cl, byte [edx]
cmp cl, 0x2a
jne 0x10016fe8
mov edi, dword [esp + 0x44]
add edi, 4
inc edx
mov dword [esp + 0x44], edi
mov dword [esp + 0x2c], edx
mov eax, dword [edi - 4]
mov dword [esp + 0x48], eax
jmp 0x10017016
cmp cl, 0x30
jl 0x10017012
mov al, cl
nop
cmp cl, 0x39
ja 0x1001700a
movzx eax, al
lea edi, [edi + edi*4]
inc edx
lea edi, [edi - 0x18]
lea edi, [eax + edi*2]
mov al, byte [edx]
mov cl, al
cmp al, 0x30
jge 0x10016ff0
mov dword [esp + 0x48], edi
mov dword [esp + 0x2c], edx
mov edi, dword [esp + 0x44]
cmp byte [edx], 0x2e
mov eax, edi
jne 0x10017065
mov cl, byte [edx + 1]
inc edx
mov dword [esp + 0x2c], edx
cmp cl, 0x2a
jne 0x10017036
mov esi, dword [eax]
add edi, 4
mov dword [esp + 0x44], edi
inc edx
jmp 0x1001705d
xor esi, esi
mov dword [esp + 0x10], esi
cmp cl, 0x30
jl 0x10017065
mov al, cl
cmp cl, 0x39
ja 0x1001705d
movzx eax, al
lea esi, [esi + esi*4]
inc edx
lea esi, [esi - 0x18]
lea esi, [eax + esi*2]
mov al, byte [edx]
mov cl, al
cmp al, 0x30
jge 0x10017043
mov dword [esp + 0x2c], edx
mov dword [esp + 0x10], esi
movsx eax, byte [edx]
add eax, 0xffffffb7
cmp eax, 0x31
ja case.0x10017077.74
movzx eax, byte [eax + 0x1001893c]
jmp dword [eax*4 + 0x10018928]
or dword [esp + 0xc], 0x200
inc edx
mov dword [esp + 0x2c], edx
cmp byte [edx], 0x68
jne case.0x10017077.74
inc edx
mov dword [esp + 0x2c], edx
mov cl, byte [edx]
movsx eax, cl
add eax, 0xffffffbf
cmp eax, 0x37
ja case.0x100170ad.67
movzx eax, byte [eax + 0x100189a4]
jmp dword [eax*4 + 0x10018970]
inc edx
mov dword [esp + 0x2c], edx
cmp byte [edx], 0x6c
jne case.0x10017077.74
or dword [esp + 0xc], 0x20
jmp case.0x10017077.106
mov al, byte [edx + 1]
cmp al, 0x36
jne 0x100170dc
cmp byte [edx + 2], 0x34
jne case.0x10017077.106
or dword [esp + 0xc], 0x20
add edx, 3
jmp 0x10017091
cmp al, 0x33
jne case.0x10017077.106
cmp byte [edx + 2], 0x32
jne case.0x10017077.106
add edx, 3
jmp 0x10017091
mov eax, dword [edi]
add edi, 4
test eax, eax
mov dword [esp + 0x44], edi
mov esi, str.null
cmovne esi, eax
mov eax, dword [esp + 0x10]
or edx, 0xffffffff
mov dword [esp + 0x18], esi
test eax, eax
mov ecx, esi
cmovns edx, eax
call fcn.10016d80
mov edi, eax
xor al, al
mov byte [esp + 0x80], al
mov byte [esp + 0x88], al
xor eax, eax
mov dword [esp + 0x24], edi
xor edx, edx
mov dword [esp + 0x28], edi
mov dword [esp + 0x10], eax
mov dword [esp + 0x3c], eax
jmp 0x100180ae
mov al, byte [edi]
add edi, 4
mov dword [esp + 0x44], edi
mov byte [esp + 0x28f], al
jmp 0x100180cf
mov ecx, dword [esp + 0x14]
add edi, 4
mov dword [esp + 0x44], edi
mov eax, dword [esp + 0x44]
mov edi, dword [esp + 0x30]
sub ecx, edi
add ecx, dword [esp + 0x38]
inc edx
mov eax, dword [eax - 4]
mov dword [eax], ecx
mov ecx, dword [esp + 0x14]
jmp 0x10016e29
movsd xmm0, qword [edi]
cmp cl, 0x41
mov ecx, str.0123456789abcdefxp
movsd qword [esp + 0x58], xmm0
mov eax, 0x100b4398
cmovne eax, ecx
mov ecx, dword [esp + 0x58]
add edi, 8
mov dword [esp + 0x20], eax
cmp esi, 0xffffffff
mov dword [esp + 0x28], ecx
mov eax, 6
mov dword [esp + 0x58], ecx
cmove esi, eax
mov dword [esp + 0x44], edi
mov eax, dword [esp + 0x5c]
mov ecx, eax
sar ecx, 0x14
mov edi, eax
mov dword [esp + 0x5c], eax
and ecx, 0x7ff
shr eax, 0x1f
sub ecx, 0x3ff
and edi, 0xfffff
mov dword [esp + 0x3c], ecx
test eax, eax
mov eax, dword [esp + 0xc]
je 0x100171f2
or eax, 0x80
mov dword [esp + 0xc], eax
lea edx, [esp + 0x80]
mov ecx, eax
call fcn.10016d50
cmp dword [esp + 0x3c], 0xfffffc01
mov edx, edi
mov ecx, dword [esp + 0x28]
jne 0x10017229
mov eax, ecx
or eax, edx
je 0x10017221
mov eax, 0xfffffc02
mov dword [esp + 0x3c], eax
jmp 0x1001722f
xor eax, eax
mov dword [esp + 0x3c], eax
jmp 0x1001722f
or edx, 0x100000
shld edx, ecx, 8
shl ecx, 8
mov dword [esp + 8], edx
mov dword [esp + 0x28], ecx
cmp esi, 0xf
jge 0x10017278
mov edi, dword [esp + 8]
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 + 0x28]
cmovae edx, eax
add ecx, eax
adc edi, edx
mov dword [esp + 8], edi
mov edx, edi
movsx eax, byte [esp + 0x80]
mov edi, dword [esp + 0x20]
mov byte [esp + eax + 0x81], 0x30
movsx eax, byte [esp + 0x80]
mov byte [esp + eax + 0x82], 0x78
mov eax, edx
add byte [esp + 0x80], 2
shr eax, 0x1c
shld edx, ecx, 4
shl ecx, 4
mov al, byte [eax + edi]
mov byte [esp + 0xd0], al
test esi, esi
je 0x100172c6
mov byte [esp + 0xd1], 0x2e
test esi, esi
mov dword [esp + 8], esi
lea edi, [esp + 0xd1]
lea eax, [esp + 0xd2]
cmovne edi, eax
mov dword [esp + 0x28], edi
cmp esi, 0xd
jbe 0x10017306
mov dword [esp + 8], 0xd
jle 0x10017306
lea eax, [esi - 0xd]
mov dword [esp + 0x10], 0
mov dword [esp + 0x50], eax
mov esi, 0xd
jmp 0x10017316
mov esi, dword [esp + 8]
mov dword [esp + 0x10], 0
test esi, esi
je 0x10017339
dec esi
mov eax, edx
mov dword [esp + 8], esi
mov esi, dword [esp + 0x20]
shr eax, 0x1c
shld edx, ecx, 4
shl ecx, 4
mov al, byte [eax + esi]
mov esi, dword [esp + 8]
mov byte [edi], al
inc edi
test esi, esi
jne 0x10017316
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x3c]
mov al, byte [eax + 0x11]
mov byte [esp + 0x89], al
test ecx, ecx
jns 0x1001735f
neg ecx
mov byte [esp + 0x8a], 0x2d
mov dword [esp + 0x3c], ecx
jmp 0x10017367
mov byte [esp + 0x8a], 0x2b
cmp ecx, 0x3e8
jl 0x10017376
mov eax, 6
jmp 0x1001738d
cmp ecx, 0x64
jl 0x10017382
mov eax, 5
jmp 0x1001738d
xor eax, eax
cmp ecx, 0xa
setge al
add eax, 3
mov dword [esp + 8], eax
mov byte [esp + 0x88], al
mov eax, 0x66666667
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, eax
mov dword [esp + 0x20], eax
mov al, dl
mov cl, dl
shl al, 2
add cl, al
mov eax, dword [esp + 0x3c]
add cl, cl
sub al, cl
mov ecx, dword [esp + 8]
add al, 0x30
mov byte [esp + ecx + 0x88], al
cmp ecx, 3
jbe 0x10017415
dec ecx
mov eax, 0x66666667
mov dword [esp + 8], ecx
mov ecx, edx
imul ecx
mov dword [esp + 0x40], ecx
sar edx, 2
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov al, cl
mov dword [esp + 0x20], ecx
mov edx, ecx
shl al, 2
add cl, al
mov eax, dword [esp + 0x40]
add cl, cl
sub al, cl
mov ecx, dword [esp + 8]
add al, 0x30
mov byte [esp + ecx + 0x88], al
cmp ecx, 3
ja 0x100173d2
mov eax, edi
lea esi, [esp + 0xd0]
sub eax, dword [esp + 0x28]
mov edx, 0x3000001
mov dword [esp + 0x3c], eax
lea eax, [esp + 0x90]
sub edi, eax
mov dword [esp + 0x18], esi
sub edi, 0x40
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], edi
jmp 0x100180aa
movsd xmm0, qword [edi]
cmp cl, 0x47
mov eax, 0x100b4398
mov ecx, str.0123456789abcdefxp
cmovne eax, ecx
add edi, 8
mov dword [esp + 0x20], eax
mov dword [esp + 0x44], edi
cmp esi, 0xffffffff
jne 0x10017473
mov esi, 6
jmp 0x1001747d
test esi, esi
mov eax, 1
cmove esi, eax
sub esp, 8
mov dword [esp + 0x18], esi
lea eax, [esi - 1]
or eax, 0x80000000
lea edx, [esp + 0x30]
lea ecx, [esp + 0x10]
movsd qword [esp], xmm0
push eax
lea eax, [esp + 0x48]
push eax
lea eax, [esp + 0xa0]
push eax
call fcn.10019260
add esp, 0x14
test eax, eax
je 0x100174bb
or dword [esp + 0xc], 0x80
mov edi, dword [esp + 0x28]
mov edx, esi
mov ecx, dword [esp + 0x10]
cmp edi, esi
cmova edi, esi
mov esi, dword [esp + 8]
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], edi
mov dword [esp + 0x18], esi
cmp edi, 1
jbe 0x100174fe
nop
test ecx, ecx
je 0x100174f6
cmp byte [esi + edi - 1], 0x30
jne 0x100174f6
dec edi
dec ecx
mov dword [esp + 0x28], edi
cmp edi, 1
ja 0x100174e0
mov dword [esp + 0x10], ecx
mov dword [esp + 0x24], edi
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x1c], eax
cmp eax, 0xfffffffc
jle 0x1001753f
cmp eax, edx
jg 0x1001753f
test eax, eax
jle 0x1001752f
cmp eax, edi
jge 0x10017524
mov ecx, edi
sub ecx, eax
mov dword [esp + 0x10], ecx
jmp 0x10017a8b
xor eax, eax
mov dword [esp + 0x10], eax
jmp 0x10017a8f
cmp ecx, edi
cmovg ecx, edi
sub ecx, eax
mov dword [esp + 0x10], ecx
jmp 0x10017a8b
cmp ecx, edi
jle 0x1001754f
lea ecx, [edi - 1]
mov dword [esp + 0x10], ecx
jmp 0x100175e0
test ecx, ecx
je 0x100175e0
dec ecx
mov dword [esp + 0x10], ecx
jmp 0x100175e0
movsd xmm0, qword [edi]
lea edx, [esp + 0x28]
cmp cl, 0x45
mov eax, 0x100b4398
mov ecx, str.0123456789abcdefxp
cmovne eax, ecx
add edi, 8
mov dword [esp + 0x20], eax
lea ecx, [esp + 8]
cmp esi, 0xffffffff
mov dword [esp + 0x44], edi
mov eax, 6
cmove esi, eax
sub esp, 8
mov eax, esi
mov dword [esp + 0x18], esi
or eax, 0x80000000
movsd qword [esp], xmm0
push eax
lea eax, [esp + 0x48]
push eax
lea eax, [esp + 0xa0]
push eax
call fcn.10019260
mov edi, dword [esp + 0x3c]
add esp, 0x14
mov esi, dword [esp + 8]
test eax, eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x24], edi
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], eax
je 0x100175e0
or dword [esp + 0xc], 0x80
mov ecx, dword [esp + 0xc]
lea edx, [esp + 0x80]
mov byte [esp + 0x88], 0
call fcn.10016d50
cmp eax, 0x7000
jne 0x10017610
mov esi, dword [esp + 0x18]
xor edx, edx
mov dword [esp + 0x10], edx
xor eax, eax
jmp 0x100180ae
mov al, byte [esi]
mov edx, dword [esp + 0x10]
mov byte [esp + 0xd0], al
test edx, edx
je 0x10017629
mov byte [esp + 0xd1], 0x2e
mov ecx, dword [esp + 0x24]
lea eax, [esp + 0xd2]
test edx, edx
lea edi, [esp + 0xd1]
cmovne edi, eax
lea eax, [ecx - 1]
cmp eax, edx
jbe 0x1001764a
lea ecx, [edx + 1]
mov dword [esp + 0x40], 1
cmp ecx, 1
jbe 0x1001766f
mov edx, dword [esp + 0x40]
nop dword [eax + eax]
mov al, byte [edx + esi]
inc edx
mov byte [edi], al
inc edi
cmp edx, ecx
jb 0x10017660
mov edx, dword [esp + 0x10]
mov eax, edx
mov dword [esp + 0x10], 0
sub eax, ecx
mov ecx, dword [esp + 0x1c]
inc eax
sub ecx, 1
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x1c], ecx
mov al, byte [eax + 0xe]
mov byte [esp + 0x89], al
jns 0x100176ab
neg ecx
mov byte [esp + 0x8a], 0x2d
mov dword [esp + 0x1c], ecx
jmp 0x100176b3
mov byte [esp + 0x8a], 0x2b
xor eax, eax
cmp ecx, 0x64
setge al
add eax, 4
mov dword [esp + 0x20], eax
mov byte [esp + 0x88], al
mov eax, 0x66666667
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, eax
mov dword [esp + 8], eax
mov al, dl
mov cl, dl
shl al, 2
add cl, al
mov eax, dword [esp + 0x1c]
add cl, cl
sub al, cl
mov ecx, dword [esp + 0x20]
add al, 0x30
mov byte [esp + ecx + 0x88], al
nop
dec ecx
mov eax, 0x66666667
mov dword [esp + 0x20], ecx
mov ecx, edx
imul ecx
mov dword [esp + 0x40], ecx
mov dword [esp + 0x3c], ecx
sar edx, 2
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov al, cl
mov dword [esp + 8], ecx
mov edx, ecx
shl al, 2
add cl, al
mov eax, dword [esp + 0x40]
add cl, cl
sub al, cl
mov ecx, dword [esp + 0x20]
add al, 0x30
mov byte [esp + ecx + 0x88], al
cmp ecx, 3
ja 0x10017700
mov edx, 0x3000001
mov dword [esp + 8], edx
jmp 0x10017e3d
movsd xmm1, qword [edi]
add edi, 8
mov dword [esp + 0x44], edi
jmp 0x100179d9
cmp cl, 0x42
mov eax, str.0123456789abcdefxp
mov ecx, dword [esp + 0xc]
mov esi, 0x100b4398
cmovne esi, eax
xor al, al
mov dword [esp + 0x20], esi
mov byte [esp + 0x80], al
test cl, 8
je 0x1001779f
mov al, byte [esi + 0xb]
mov word [esp + 0x80], 0x3002
mov byte [esp + 0x82], al
mov edx, 0x180
jmp 0x10017820
mov ecx, dword [esp + 0xc]
xor al, al
mov dword [esp + 0x20], 0x100b4398
mov byte [esp + 0x80], al
test cl, 8
je 0x100177cd
mov word [esp + 0x80], 0x3001
mov edx, 0x330
jmp 0x10017820
and dword [esp + 0xc], 0xffffffef
mov dword [esp + 0x10], 8
cmp cl, 0x58
mov eax, str.0123456789abcdefxp
mov ecx, dword [esp + 0xc]
mov esi, 0x100b4398
cmovne esi, eax
mov edx, 0x440
xor al, al
mov dword [esp + 0x20], esi
mov byte [esp + 0x80], al
test cl, 8
je 0x10017820
mov al, byte [esi + 0x10]
mov word [esp + 0x80], 0x3002
mov byte [esp + 0x82], al
test cl, 0x20
je 0x1001782f
mov eax, dword [edi]
add edi, 8
mov ecx, dword [edi - 4]
jmp 0x10017836
mov eax, dword [edi]
add edi, 4
xor ecx, ecx
mov dword [esp + 0x60], eax
lea esi, [esp + 0x290]
mov dword [esp + 8], eax
or eax, ecx
mov dword [esp + 0x64], ecx
mov dword [esp + 0x44], edi
mov dword [esp + 0x18], esi
mov dword [esp + 0x3c], 0
mov byte [esp + 0x88], 0
jne 0x1001788a
xor al, al
cmp dword [esp + 0x10], 0
mov byte [esp + 0x80], al
jne 0x1001788a
xor edi, edi
xor edx, edx
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], edi
mov dword [esp + 8], edx
jmp 0x10018103
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 + 0x40], ecx
and eax, dword [esp + 8]
inc edi
mov ecx, dword [esp + 0x20]
mov al, byte [eax + ecx]
mov ecx, dword [esp + 0x40]
mov byte [esi], al
movd xmm0, ecx
psrlq xmm1, xmm0
movq qword [esp + 0x60], xmm1
mov eax, dword [esp + 0x60]
mov dword [esp + 8], eax
or eax, dword [esp + 0x64]
jne 0x100178de
mov eax, dword [esp + 0x10]
cmp edi, eax
jge 0x100178fb
test byte [esp + 0xc], 0x40
je 0x10017890
inc edx
mov eax, edx
shr eax, 4
xor eax, edx
test al, 0xf
jne 0x10017890
dec esi
and edx, 0xfffffff0
inc edi
mov byte [esi], 0x2c
jmp 0x10017890
and edx, 0xf0
mov dword [esp + 0x18], esi
shl edx, 0x14
sub edx, esi
mov dword [esp + 0x24], edi
lea esi, [esp + 0x290]
mov dword [esp + 0x28], edi
add edx, esi
mov esi, dword [esp + 0x18]
jmp 0x100180ae
test byte [esp + 0xc], 0x20
je 0x1001796d
mov eax, dword [edi]
add edi, 8
mov dword [esp + 0x44], edi
mov dword [esp + 0x1c], eax
mov edx, dword [edi - 4]
mov dword [esp + 0x24], edx
cmp cl, 0x75
je 0x100179a3
test edx, edx
jg 0x100179a3
jl 0x1001794e
test eax, eax
jae 0x100179a3
mov ecx, dword [esp + 0xc]
neg eax
mov dword [esp + 0x1c], eax
adc edx, 0
neg edx
or ecx, 0x80
mov dword [esp + 0x24], edx
mov dword [esp + 0xc], ecx
jmp 0x100179a7
mov eax, dword [edi]
add edi, 4
xor edx, edx
mov dword [esp + 0x44], edi
mov dword [esp + 0x1c], eax
mov dword [esp + 0x24], edx
cmp cl, 0x75
je 0x100179a3
mov ecx, dword [esp + 0xc]
test eax, eax
jns 0x100179a7
neg eax
mov dword [esp + 0x24], edx
or ecx, 0x80
mov dword [esp + 0x1c], eax
mov dword [esp + 0xc], ecx
jmp 0x100179a7
mov ecx, dword [esp + 0xc]
test ecx, 0x100
je 0x10017e65
test edx, edx
ja 0x100179c4
jb 0x100179c0
cmp eax, 0x400
jae 0x100179c4
xor esi, esi
jmp 0x100179cf
cmp esi, 0xffffffff
mov ecx, 1
cmove esi, ecx
mov ecx, eax
call fcn.1006f230
movaps xmm1, xmm0
mov eax, dword [esp + 0xc]
test eax, 0x100
je 0x10017a36
movsd xmm2, qword [0x100a7048]
test eax, 0x800
je 0x100179fb
movsd xmm2, qword [0x100a7050]
cmp eax, 0x4000000
jae 0x10017a36
movsd xmm3, qword [0x100a7540]
nop word [eax + eax]
comisd xmm2, xmm1
jbe 0x10017a22
movaps xmm0, xmm2
xorps xmm0, xmm3
comisd xmm1, xmm0
ja 0x10017a32
add eax, 0x1000000
divsd xmm1, xmm2
cmp eax, 0x4000000
jb 0x10017a10
mov dword [esp + 0xc], eax
cmp esi, 0xffffffff
lea edx, [esp + 0x28]
mov eax, 6
lea ecx, [esp + 8]
cmove esi, eax
sub esp, 8
lea eax, [esp + 0x44]
mov dword [esp + 0x18], esi
movsd qword [esp], xmm1
push esi
push eax
lea eax, [esp + 0xa0]
push eax
call fcn.10019260
mov edi, dword [esp + 0x3c]
add esp, 0x14
mov esi, dword [esp + 8]
test eax, eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x24], edi
mov dword [esp + 0x1c], eax
je 0x10017a8b
or dword [esp + 0xc], 0x80
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
lea edx, [esp + 0x80]
mov byte [esp + 0x88], 0
call fcn.10016d50
mov edx, dword [esp + 0x1c]
cmp edx, 0x7000
jne 0x10017ac4
xor edx, edx
mov dword [esp + 0x18], esi
mov dword [esp + 0x10], edx
xor eax, eax
jmp 0x100180ae
lea ecx, [esp + 0xd0]
test edx, edx
jg 0x10017bbf
mov byte [esp + 0xd0], 0x30
test eax, eax
je 0x10017ae7
mov byte [esp + 0xd1], 0x2e
test eax, eax
lea edi, [esp + 0xd2]
lea ecx, [esp + 0xd1]
cmovne ecx, edi
neg edx
cmp edx, eax
mov dword [esp + 0x18], ecx
cmovg edx, eax
mov dword [esp + 0x1c], edx
mov edi, edx
mov dword [esp + 0x20], edi
test edx, edx
je 0x10017b2d
mov dword [esp + 0x18], ecx
test cl, 3
je 0x10017b25
mov byte [ecx], 0x30
inc ecx
sub edi, 1
jne 0x10017b17
mov dword [esp + 0x20], edi
mov dword [esp + 0x18], ecx
cmp edi, 4
jl 0x10017b57
mov edx, edi
mov eax, 0x30303030
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 + 0x20]
add ecx, edx
mov dword [esp + 0x18], ecx
sub edi, edx
test edi, edi
je 0x10017b71
push edi
push 0x30
push ecx
call fcn.10056650
mov ecx, dword [esp + 0x24]
add esp, 0xc
add ecx, edi
mov dword [esp + 0x18], ecx
mov edx, dword [esp + 0x24]
mov edi, dword [esp + 0x1c]
lea eax, [edi + edx]
cmp eax, dword [esp + 0x10]
jle 0x10017b88
mov edx, dword [esp + 0x10]
sub edx, edi
mov eax, edx
mov dword [esp + 0x40], eax
test eax, eax
je 0x10017ba9
sub esi, ecx
mov edi, edx
mov al, byte [esi + ecx]
mov byte [ecx], al
inc ecx
sub edi, 1
jne 0x10017b96
mov edi, dword [esp + 0x1c]
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0x10]
sub ecx, edi
sub ecx, edx
mov edx, 0x3000001
mov dword [esp + 8], edx
jmp 0x10017dbb
mov eax, dword [esp + 0xc]
and eax, 0x40
mov dword [esp + 0x20], eax
je 0x10017be5
mov eax, 0x258
sub eax, edx
xor edx, edx
div dword [esp + 0x6c]
mov eax, edx
mov dword [esp + 8], edx
mov edx, dword [esp + 0x1c]
jmp 0x10017beb
xor eax, eax
mov dword [esp + 8], eax
cmp edx, edi
jb 0x10017d1a
xor edx, edx
cmp dword [esp + 0x20], 0
je 0x10017c12
inc eax
mov dword [esp + 8], eax
cmp eax, 4
jne 0x10017c12
xor eax, eax
mov byte [ecx], 0x2c
mov dword [esp + 8], eax
inc ecx
jmp 0x10017bf5
mov al, byte [edx + esi]
inc edx
mov byte [ecx], al
inc ecx
mov eax, dword [esp + 8]
cmp edx, edi
jb 0x10017bf5
mov dword [esp + 0x40], edx
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x40]
mov dword [esp + 0x18], ecx
cmp eax, edx
jae 0x10017ce8
sub edx, eax
mov eax, dword [esp + 0xc]
mov dword [esp + 0x1c], edx
test al, 0x40
jne 0x10017ca1
test edx, edx
je 0x10017c66
nop dword [eax + eax]
test cl, 3
je 0x10017c5e
mov byte [ecx], 0x30
inc ecx
sub edx, 1
jne 0x10017c50
mov dword [esp + 0x1c], edx
mov dword [esp + 0x18], ecx
cmp edx, 4
jb 0x10017ca1
mov edi, dword [esp + 0x18]
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 + 0x18]
add ecx, edx
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x18], ecx
sub edx, 4
sub esi, 1
jne 0x10017c95
mov eax, dword [esp + 0xc]
test edx, edx
je 0x10017ce8
mov edi, eax
mov eax, dword [esp + 8]
and edi, 0x40
nop
test edi, edi
je 0x10017ccb
inc eax
mov dword [esp + 8], eax
cmp eax, 4
jne 0x10017ccb
xor eax, eax
mov byte [esp + 0x4f], 0x2c
mov dword [esp + 8], eax
jmp 0x10017cd1
dec edx
mov byte [esp + 0x4f], 0x30
mov al, byte [esp + 0x4f]
lea esi, [ecx + 1]
mov byte [ecx], al
mov ecx, esi
mov eax, dword [esp + 8]
test edx, edx
jne 0x10017cb0
mov dword [esp + 0x18], ecx
lea eax, [esp + 0x90]
mov edx, ecx
sub edx, eax
mov eax, dword [esp + 0x10]
add edx, 0x2ffffc0
mov dword [esp + 8], edx
test eax, eax
je 0x10017dbf
mov byte [ecx], 0x2e
inc ecx
mov dword [esp + 0x18], ecx
mov dword [esp + 0x50], eax
jmp 0x10017dbf
xor edi, edi
nop dword [eax]
cmp dword [esp + 0x20], 0
je 0x10017d3d
inc eax
mov dword [esp + 8], eax
cmp eax, 4
jne 0x10017d3d
xor eax, eax
mov byte [ecx], 0x2c
mov dword [esp + 8], eax
inc ecx
jmp 0x10017d20
mov al, byte [edi + esi]
inc edi
mov byte [ecx], al
inc ecx
mov eax, dword [esp + 8]
cmp edi, edx
jb 0x10017d20
mov eax, ecx
mov dword [esp + 0x18], ecx
lea ecx, [esp + 0x90]
mov dword [esp + 0x20], edi
mov edi, dword [esp + 0x24]
sub eax, ecx
mov ecx, dword [esp + 0x18]
add eax, 0x2ffffc0
cmp dword [esp + 0x10], 0
mov dword [esp + 8], eax
je 0x10017d7f
mov byte [ecx], 0x2e
inc ecx
mov dword [esp + 0x18], ecx
mov eax, edi
sub eax, edx
cmp eax, dword [esp + 0x10]
jbe 0x10017d8f
mov edi, dword [esp + 0x10]
add edi, edx
cmp dword [esp + 0x20], edi
jae 0x10017db3
mov edx, dword [esp + 0x20]
nop dword [eax]
mov al, byte [edx + esi]
inc edx
mov byte [ecx], al
inc ecx
cmp edx, edi
jb 0x10017da0
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x18], ecx
mov ecx, edx
sub ecx, edi
add ecx, dword [esp + 0x10]
mov dword [esp + 0x50], ecx
mov eax, dword [esp + 0xc]
mov dword [esp + 0x10], 0
test eax, 0x100
je 0x10017e39
mov edx, eax
mov byte [esp + 0x89], 0x20
shr edx, 0xa
mov esi, eax
not dl
shr esi, 0x18
and dl, 1
mov byte [esp + 0x88], dl
test esi, esi
je 0x10017e39
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 + 0x89], al
mov eax, dword [esp + 0xc]
and eax, 0x1800
cmp eax, 0x800
jne 0x10017e32
movzx eax, dl
inc dl
mov byte [esp + eax + 0x89], 0x69
mov byte [esp + 0x88], dl
mov edi, dword [esp + 0x18]
lea eax, [esp + 0x90]
sub edi, eax
lea esi, [esp + 0xd0]
mov eax, dword [esp + 0x10]
sub edi, 0x40
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], edi
mov dword [esp + 0x18], esi
jmp 0x100180b2
mov eax, dword [esp + 0xc]
lea esi, [esp + 0x290]
xor edi, edi
and eax, 0x40
mov dword [esp + 0x40], eax
mov dword [esp + 8], edi
mov dword [esp + 0x18], esi
cmp dword [esp + 0x24], 0
lea edx, [esi - 8]
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x28], esi
mov dword [esp + 0x20], edx
mov dword [esp + 0x58], ecx
ja 0x10017ec5
mov edi, dword [esp + 8]
cmp ecx, 0x5f5e100
jae 0x10017ec5
xorps xmm0, xmm0
movlpd qword [esp + 0x60], xmm0
mov eax, dword [esp + 0x64]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 0x1c], eax
jmp 0x10017f5a
mov eax, dword [esp + 0x1c]
mov edx, 0x8461cefd
mul edx
mov edi, 0xabcc7711
mov ecx, 0x8461cefd
mov esi, edx
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x1c]
mul edi
mov dword [esp + 0x78], edx
mov edi, eax
mov eax, dword [esp + 0x24]
mul ecx
mov dword [esp + 0x70], edx
mov ecx, eax
mov eax, dword [esp + 0x24]
mov edx, 0xabcc7711
mul edx
add ecx, esi
mov esi, dword [esp + 0x18]
mov dword [esp + 0x24], edx
mov edx, dword [esp + 0x70]
adc edx, 0
mov dword [esp + 0x1c], eax
add edi, ecx
mov ecx, dword [esp + 0x78]
mov dword [esp + 0x70], edi
mov edi, dword [esp + 8]
adc ecx, 0
xor eax, eax
add edx, ecx
mov ecx, dword [esp + 0x1c]
adc eax, eax
add ecx, edx
mov edx, dword [esp + 0x24]
adc edx, eax
shrd ecx, edx, 0x1a
imul eax, ecx, 0x5f5e100
shr edx, 0x1a
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x58]
mov dword [esp + 0x24], edx
mov edx, dword [esp + 0x20]
sub ecx, eax
cmp dword [esp + 0x40], 0
mov eax, dword [esp + 0x28]
jne 0x10017f8e
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 0x10017f65
mov dword [esp + 0x18], esi
jmp 0x10017ff6
mov esi, eax
mov dword [esp + 0x18], esi
test ecx, ecx
je 0x10017ff6
mov eax, edi
inc edi
mov dword [esp + 8], edi
cmp eax, 3
jne 0x10017fb3
xor edi, edi
mov ah, 0x2c
dec edx
mov dword [esp + 8], edi
mov dword [esp + 0x20], edx
jmp 0x10017fdb
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 + 0x28]
add al, al
mov dword [esp + 0x28], edx
mov edx, dword [esp + 0x20]
sub ah, al
add ah, 0x30
mov esi, dword [esp + 0x28]
or edi, 0xffffffff
add esi, edi
mov dword [esp + 0x18], esi
mov byte [esi], ah
mov edi, dword [esp + 8]
mov dword [esp + 0x28], esi
test ecx, ecx
jne 0x10017f98
mov eax, dword [esp + 0x1c]
or eax, dword [esp + 0x24]
je 0x10018038
mov ecx, dword [esp + 0x20]
cmp esi, ecx
je 0x10017e81
nop dword [eax]
cmp dword [esp + 0x40], 0
je 0x10018026
mov eax, edi
inc edi
cmp eax, 3
jne 0x10018026
xor edi, edi
mov al, 0x2c
dec ecx
jmp 0x10018028
mov al, 0x30
or edx, 0xffffffff
add esi, edx
mov byte [esi], al
cmp esi, ecx
jne 0x10018010
jmp 0x10017e79
cmp byte [esi], 0x30
jne 0x1001804d
lea eax, [esp + 0x290]
cmp esi, eax
je 0x1001804d
inc esi
mov dword [esp + 0x18], esi
mov ecx, dword [esp + 0xc]
lea edx, [esp + 0x80]
mov byte [esp + 0x88], 0
call fcn.10016d50
lea edi, [esp + 0x290]
sub edi, esi
mov dword [esp + 0x24], edi
mov eax, edi
mov dword [esp + 0x28], edi
jne 0x10018091
dec esi
mov edi, 1
mov dword [esp + 0x18], esi
mov eax, edi
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], edi
mov byte [esi], 0x30
mov esi, dword [esp + 0x10]
lea edx, [eax + 0x3000000]
xor eax, eax
test esi, esi
cmovs esi, eax
mov dword [esp + 0x10], esi
mov esi, dword [esp + 0x18]
mov eax, dword [esp + 0x10]
mov dword [esp + 8], edx
cmp eax, edi
jge 0x10018103
jmp 0x100180ff
mov byte [esp + 0x28f], cl
mov dword [esp + 0xc], 0
mov dword [esp + 0x48], 0
xor al, al
lea esi, [esp + 0x28f]
xor edx, edx
mov byte [esp + 0x80], al
mov dword [esp + 8], edx
mov dword [esp + 0x3c], edx
mov byte [esp + 0x88], dl
lea edi, [edx + 1]
mov dword [esp + 0x18], esi
mov dword [esp + 0x28], edi
mov dword [esp + 0x24], edi
mov dword [esp + 0x10], edi
movsx eax, byte [esp + 0x88]
add eax, dword [esp + 0x50]
mov dl, byte [esp + 0x80]
movsx ecx, dl
add ecx, eax
mov eax, dword [esp + 0x48]
add ecx, dword [esp + 0x10]
cmp eax, ecx
cmovl eax, ecx
sub eax, ecx
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x10]
sub eax, edi
mov dword [esp + 0x10], eax
test cl, 1
jne 0x10018162
test cl, 0x10
je 0x1001815b
cmp dword [esp + 0x48], eax
cmovg eax, dword [esp + 0x48]
xor ecx, ecx
mov dword [esp + 0x10], eax
mov dword [esp + 0x48], ecx
jmp 0x10018166
and ecx, 0xffffffbf
mov dword [esp + 0xc], ecx
mov ecx, dword [esp + 0x48]
add eax, ecx
mov ecx, dword [esp + 0x14]
je 0x10018496
test byte [esp + 0xc], 1
jne 0x10018278
mov eax, dword [esp + 0x48]
test eax, eax
jle 0x10018278
mov edx, dword [esp + 0x34]
nop dword [eax]
mov edi, eax
mov dword [esp + 0x20], edi
test edx, edx
je 0x100181b4
mov eax, dword [esp + 0x30]
sub eax, ecx
add eax, 0x200
cmp dword [esp + 0x48], eax
cmovg edi, eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0x20], edi
sub eax, edi
mov dword [esp + 0x48], eax
test edi, edi
je 0x100181d6
nop
test cl, 3
je 0x100181ce
mov byte [ecx], 0x20
inc ecx
sub edi, 1
jne 0x100181c0
mov dword [esp + 0x20], edi
mov dword [esp + 0x14], ecx
cmp edi, 4
jl 0x10018204
mov edx, edi
mov eax, 0x20202020
mov edi, dword [esp + 0x14]
and edx, 0xfffffffc
mov ecx, edx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x14]
mov edi, dword [esp + 0x20]
add ecx, edx
sub edi, edx
mov dword [esp + 0x14], ecx
mov edx, dword [esp + 0x34]
test edi, edi
je 0x10018222
push edi
push 0x20
push ecx
call fcn.10056650
mov ecx, dword [esp + 0x20]
add esp, 0xc
mov edx, dword [esp + 0x34]
add ecx, edi
mov dword [esp + 0x14], ecx
test edx, edx
je 0x10018265
mov edi, dword [esp + 0x30]
mov eax, ecx
sub eax, edi
mov dword [esp + 0x58], eax
inc eax
cmp eax, 0x200
jl 0x10018265
mov eax, dword [esp + 0x58]
add dword [esp + 0x38], eax
push eax
push dword [esp + 0x58]
push edi
call edx
mov edi, eax
add esp, 0xc
mov dword [esp + 0x30], edi
mov ecx, edi
mov dword [esp + 0x14], ecx
test edi, edi
je 0x100188a6
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x48]
test eax, eax
jg 0x10018190
mov dl, byte [esp + 0x80]
mov edi, dword [esp + 0x30]
lea eax, [esp + 0x81]
mov dword [esp + 0x40], eax
test dl, dl
je 0x1001833b
nop
cmp dword [esp + 0x34], 0
movsx eax, dl
mov dword [esp + 0x1c], eax
je 0x100182be
mov eax, edi
mov edi, dword [esp + 0x1c]
sub eax, ecx
add eax, 0x200
cmp edi, eax
cmovg edi, eax
mov eax, edi
mov dword [esp + 0x1c], edi
mov edi, dword [esp + 0x30]
mov dword [esp + 0x1c], eax
sub dl, al
mov byte [esp + 0x80], dl
test eax, eax
je 0x100182ec
mov edx, dword [esp + 0x40]
nop
mov al, byte [edx]
inc edx
mov byte [ecx], al
inc ecx
sub dword [esp + 0x1c], 1
jne 0x100182d0
mov dword [esp + 0x40], edx
mov dl, byte [esp + 0x80]
mov dword [esp + 0x14], ecx
cmp dword [esp + 0x34], 0
je 0x10018333
mov eax, ecx
sub eax, edi
mov dword [esp + 0x58], eax
inc eax
cmp eax, 0x200
jl 0x10018333
mov eax, dword [esp + 0x58]
add dword [esp + 0x38], eax
push eax
push dword [esp + 0x58]
push edi
call dword [esp + 0x40]
mov edi, eax
add esp, 0xc
mov dword [esp + 0x30], edi
mov ecx, edi
mov dword [esp + 0x14], ecx
test edi, edi
je 0x100188a6
mov dl, byte [esp + 0x80]
test dl, dl
jne 0x10018290
mov edx, dword [esp + 8]
mov ecx, edx
mov eax, dword [esp + 0xc]
shr ecx, 0x18
and eax, 0x40
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x40], eax
je 0x1001836e
and edx, 0xffffff
inc ecx
add edx, dword [esp + 0x10]
mov eax, edx
xor edx, edx
div ecx
mov eax, dword [esp + 0x1c]
sub eax, edx
jmp 0x10018370
xor eax, eax
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x10]
test eax, eax
jle 0x1001848f
cmp dword [esp + 0x34], 0
mov edx, eax
mov dword [esp + 8], edx
je 0x100183a9
mov eax, edi
sub eax, ecx
add eax, 0x200
cmp dword [esp + 0x10], eax
cmovg edx, eax
mov eax, dword [esp + 0x10]
mov dword [esp + 8], edx
sub eax, edx
cmp dword [esp + 0x40], 0
mov dword [esp + 0x10], eax
jne 0x10018400
test edx, edx
je 0x100183d6
nop word [eax + eax]
test cl, 3
je 0x100183ce
mov byte [ecx], 0x30
inc ecx
sub edx, 1
jne 0x100183c0
mov dword [esp + 8], edx
mov dword [esp + 0x14], ecx
cmp edx, 4
jl 0x10018400
mov edi, dword [esp + 0x14]
and edx, 0xfffffffc
mov ecx, edx
mov eax, 0x30303030
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x14]
add ecx, edx
sub dword [esp + 8], edx
mov edx, dword [esp + 8]
mov dword [esp + 0x14], ecx
test edx, edx
je 0x10018440
mov edi, dword [esp + 0x20]
cmp dword [esp + 0x40], 0
je 0x1001841e
mov eax, edi
inc edi
cmp eax, dword [esp + 0x1c]
jne 0x1001841e
xor edi, edi
mov al, 0x2c
jmp 0x10018420
mov al, 0x30
lea esi, [ecx + 1]
mov dword [esp + 0x58], esi
mov byte [ecx], al
mov eax, dword [esp + 0x58]
mov ecx, eax
sub edx, 1
jne 0x10018408
mov esi, dword [esp + 0x18]
mov dword [esp + 0x20], edi
mov dword [esp + 0x14], ecx
mov edx, dword [esp + 0x34]
mov edi, dword [esp + 0x30]
test edx, edx
je 0x10018483
mov eax, ecx
sub eax, edi
mov dword [esp + 0x58], eax
inc eax
cmp eax, 0x200
jl 0x10018483
mov eax, dword [esp + 0x58]
add dword [esp + 0x38], eax
push eax
push dword [esp + 0x58]
push edi
call edx
mov edi, eax
add esp, 0xc
mov dword [esp + 0x30], edi
mov ecx, edi
mov dword [esp + 0x14], ecx
test edi, edi
je 0x100188a6
mov eax, dword [esp + 0x10]
test eax, eax
jg 0x10018384
mov dl, byte [esp + 0x80]
mov edi, dword [esp + 0x30]
lea eax, [esp + 0x81]
mov dword [esp + 8], eax
test dl, dl
je 0x1001855b
nop dword [eax]
cmp dword [esp + 0x34], 0
movsx eax, dl
mov dword [esp + 0x1c], eax
je 0x100184de
mov eax, edi
mov edi, dword [esp + 0x1c]
sub eax, ecx
add eax, 0x200
cmp edi, eax
cmovg edi, eax
mov eax, edi
mov dword [esp + 0x1c], edi
mov edi, dword [esp + 0x30]
mov dword [esp + 0x1c], eax
sub dl, al
mov byte [esp + 0x80], dl
test eax, eax
je 0x1001850c
mov edx, dword [esp + 8]
nop
mov al, byte [edx]
inc edx
mov byte [ecx], al
inc ecx
sub dword [esp + 0x1c], 1
jne 0x100184f0
mov dword [esp + 8], edx
mov dl, byte [esp + 0x80]
mov dword [esp + 0x14], ecx
cmp dword [esp + 0x34], 0
je 0x10018553
mov eax, ecx
sub eax, edi
mov dword [esp + 0x58], eax
inc eax
cmp eax, 0x200
jl 0x10018553
mov eax, dword [esp + 0x58]
add dword [esp + 0x38], eax
push eax
push dword [esp + 0x58]
push edi
call dword [esp + 0x40]
mov edi, eax
add esp, 0xc
mov dword [esp + 0x30], edi
mov ecx, edi
mov dword [esp + 0x14], ecx
test edi, edi
je 0x100188a6
mov dl, byte [esp + 0x80]
test dl, dl
jne 0x100184b0
mov eax, dword [esp + 0x24]
test eax, eax
je 0x1001861a
cmp dword [esp + 0x34], 0
mov edx, eax
je 0x10018584
mov eax, edi
sub eax, ecx
add eax, 0x200
cmp dword [esp + 0x24], eax
cmovg edx, eax
mov eax, dword [esp + 0x24]
sub eax, edx
mov dword [esp + 0x24], eax
cmp edx, 4
jl 0x100185b7
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 0x100185a0
mov edi, dword [esp + 0x30]
mov dword [esp + 0x14], ecx
test edx, edx
je 0x100185cf
nop dword [eax + eax]
mov al, byte [esi]
inc esi
mov byte [ecx], al
inc ecx
sub edx, 1
jne 0x100185c0
mov dword [esp + 0x14], ecx
mov edx, dword [esp + 0x34]
test edx, edx
je 0x1001860e
mov eax, ecx
sub eax, edi
mov dword [esp + 0x58], eax
inc eax
cmp eax, 0x200
jl 0x1001860e
mov eax, dword [esp + 0x58]
add dword [esp + 0x38], eax
push eax
push dword [esp + 0x58]
push edi
call edx
mov edi, eax
add esp, 0xc
mov dword [esp + 0x30], edi
mov ecx, edi
mov dword [esp + 0x14], ecx
test edi, edi
je 0x100188a6
mov eax, dword [esp + 0x24]
test eax, eax
jne 0x10018567
mov eax, dword [esp + 0x50]
test eax, eax
je 0x100186f7
mov edx, dword [esp + 0x34]
nop word [eax + eax]
mov esi, eax
test edx, edx
je 0x1001864a
mov eax, edi
sub eax, ecx
add eax, 0x200
cmp dword [esp + 0x50], eax
cmovg esi, eax
mov eax, dword [esp + 0x50]
sub eax, esi
mov dword [esp + 0x50], eax
test esi, esi
je 0x10018666
test cl, 3
je 0x10018662
mov byte [ecx], 0x30
inc ecx
sub esi, 1
jne 0x10018654
mov dword [esp + 0x14], ecx
cmp esi, 4
jl 0x10018690
mov edi, dword [esp + 0x14]
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 + 0x14]
add ecx, edx
sub esi, edx
mov edx, dword [esp + 0x34]
mov dword [esp + 0x14], ecx
test esi, esi
je 0x100186ae
push esi
push 0x30
push ecx
call fcn.10056650
mov ecx, dword [esp + 0x20]
add esp, 0xc
mov edx, dword [esp + 0x34]
add ecx, esi
mov dword [esp + 0x14], ecx
mov edi, dword [esp + 0x30]
test edx, edx
je 0x100186eb
mov esi, ecx
sub esi, edi
lea eax, [esi + 1]
cmp eax, 0x200
jl 0x100186eb
add dword [esp + 0x38], esi
push esi
push dword [esp + 0x58]
push edi
call edx
mov edi, eax
add esp, 0xc
mov dword [esp + 0x30], edi
mov ecx, edi
mov dword [esp + 0x14], ecx
test edi, edi
je 0x100188a6
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x50]
test eax, eax
jne 0x10018630
cmp byte [esp + 0x88], 0
lea esi, [esp + 0x89]
mov dword [esp + 8], esi
je 0x10018798
cmp dword [esp + 0x34], 0
movsx edx, byte [esp + 0x88]
je 0x1001872d
mov eax, edi
sub eax, ecx
add eax, 0x200
cmp edx, eax
cmovg edx, eax
sub byte [esp + 0x88], dl
test edx, edx
je 0x1001874b
mov al, byte [esi]
inc esi
mov byte [ecx], al
inc ecx
sub edx, 1
jne 0x10018738
mov dword [esp + 8], esi
mov dword [esp + 0x14], ecx
mov edx, dword [esp + 0x34]
test edx, edx
je 0x1001878a
mov eax, ecx
sub eax, edi
mov dword [esp + 0x58], eax
inc eax
cmp eax, 0x200
jl 0x1001878a
mov eax, dword [esp + 0x58]
add dword [esp + 0x38], eax
push eax
push dword [esp + 0x58]
push edi
call edx
mov edi, eax
add esp, 0xc
mov dword [esp + 0x30], edi
mov ecx, edi
mov dword [esp + 0x14], ecx
test edi, edi
je 0x100188a6
cmp byte [esp + 0x88], 0
jne 0x10018710
test byte [esp + 0xc], 1
je 0x10018868
mov edx, dword [esp + 0x48]
test edx, edx
jle 0x10018868
nop
cmp dword [esp + 0x34], 0
mov esi, edx
je 0x100187c7
mov eax, edi
sub eax, ecx
add eax, 0x200
cmp edx, eax
cmovg esi, eax
sub edx, esi
mov dword [esp + 0x48], edx
test esi, esi
je 0x100187e3
test cl, 3
je 0x100187df
mov byte [ecx], 0x20
inc ecx
sub esi, 1
jne 0x100187d1
mov dword [esp + 0x14], ecx
cmp esi, 4
jl 0x10018809
mov edi, dword [esp + 0x14]
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 + 0x14]
add ecx, edx
sub esi, edx
mov dword [esp + 0x14], ecx
test esi, esi
je 0x10018823
push esi
push 0x20
push ecx
call fcn.10056650
mov ecx, dword [esp + 0x20]
add esp, 0xc
add ecx, esi
mov dword [esp + 0x14], ecx
mov esi, dword [esp + 0x34]
mov edi, dword [esp + 0x30]
test esi, esi
je 0x1001885c
mov edx, ecx
sub edx, edi
lea eax, [edx + 1]
cmp eax, 0x200
jl 0x1001885c
add dword [esp + 0x38], edx
push edx
push dword [esp + 0x58]
push edi
call esi
mov edi, eax
add esp, 0xc
mov dword [esp + 0x30], edi
mov ecx, edi
mov dword [esp + 0x14], ecx
test edi, edi
je 0x100188a6
mov edx, dword [esp + 0x48]
test edx, edx
jne 0x100187b0
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x14]
inc edx
jmp 0x10016e29
mov edx, dword [esp + 0x34]
test edx, edx
jne 0x10018882
mov byte [ecx], dl
jmp 0x100188a6
mov esi, ecx
sub esi, edi
lea eax, [esi + 0x1ff]
cmp eax, 0x200
jl 0x100188a6
add dword [esp + 0x38], esi
push esi
push dword [esp + 0x58]
push edi
call edx
mov edi, eax
add esp, 0xc
mov ecx, edi
mov eax, dword [esp + 0x38]
sub ecx, edi
add eax, ecx
mov ecx, dword [esp + 0x294]
pop edi
pop esi
xor ecx, esp
call fcn.10054171
mov esp, ebp
pop ebp
ret