Function at 0x40117b
Capabilities:
Encode data using xor
Parse credit card information

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x268
mov eax, dword [ebp + 0x18]
mov dword [esp + 0x2c], eax
mov eax, dword [ebp + 0x14]
mov esi, dword [ebp + 0x10]
mov ebx, dword [ebp + 8]
mov dword [esp + 0x50], 0
mov dword [esp + 0x1c], esi
jmp 0x40103e
mov ecx, dword [esp + 0x1c]
mov byte [ecx], al
inc ecx
mov dword [esp + 0x1c], ecx
mov eax, edi
inc eax
mov dword [esp + 0x20], esi
mov edi, eax
test al, 3
je 0x401050
movzx eax, byte [eax]
jmp 0x40106e
mov eax, dword [eax]
mov ecx, eax
not ecx
mov edx, eax
xor edx, 0x25252525
add edx, 0xfefefeff
and edx, ecx
test edx, 0x80808080
je 0x4010ba
cmp al, 0x25
je 0x401147
test al, al
mov esi, dword [esp + 0x20]
je 0x403618
test ebx, ebx
je 0x401030
mov ecx, dword [esp + 0x1c]
sub ecx, esi
cmp ecx, 0x1ff
jl 0x401030
add dword [esp + 0x50], ecx
push ecx
push dword [ebp + 0xc]
push esi
call ebx
add esp, 0xc
test eax, eax
je 0x403653
mov esi, eax
mov eax, edi
movzx eax, byte [edi]
mov dword [esp + 0x1c], esi
jmp 0x401030
mov ecx, dword [esp + 0x20]
not ecx
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x1c]
jmp 0x401109
mov ecx, dword [esp + 0x1c]
mov dword [ecx], eax
mov eax, dword [edi + 4]
mov esi, eax
not esi
mov ebx, eax
xor ebx, 0x25252525
add ebx, 0xfefefeff
and ebx, esi
add ecx, 4
mov dword [esp + 0x1c], ecx
add edi, 4
add edx, 4
test ebx, 0x80808080
mov ebx, dword [ebp + 8]
jne 0x40106e
mov esi, 0x1010100
sub esi, eax
or esi, eax
not esi
test esi, 0x80808080
jne 0x401076
test ebx, ebx
je 0x4010d0
mov esi, edx
xor esi, dword [esp + 0x20]
mov ebx, edx
and ebx, dword [esp + 4]
add ebx, ebx
sub esi, ebx
add esi, 0x200
cmp esi, 4
jge 0x4010d0
mov ebx, dword [ebp + 8]
jmp 0x40106e
add edi, 2
xor ebx, ebx
mov ecx, edi
mov edi, dword [esp + 0x1c]
jmp 0x401163
mov edx, 1
nop
nop
nop
nop
nop
nop
nop
or ebx, edx
inc ecx
movzx eax, byte [ecx - 1]
lea esi, [eax - 0x20]
cmp esi, 0x3f
ja case.0x401174.33
mov edx, 2
jmp dword [esi*4 + 0x446564]
mov edx, 4
jmp case.0x401174.43
mov edx, 0x400
jmp case.0x401174.43
mov edx, 0x100
test ebx, 0x100
je case.0x401174.43
mov edx, ebx
and edx, 0x800
add edx, 0x800
jmp case.0x401174.43
mov edx, 8
jmp case.0x401174.43
mov edx, 0x40
jmp case.0x401174.43
or ebx, 0x10
movzx eax, byte [ecx]
jmp 0x4011bd
dec ecx
mov dword [esp + 4], ebx
cmp al, 0x2a
mov esi, dword [esp + 0x20]
jne 0x4011e1
mov eax, dword [esp + 0x2c]
mov edx, dword [eax]
mov dword [esp + 0x18], edx
add eax, 4
mov dword [esp + 0x2c], eax
movzx eax, byte [ecx + 1]
inc ecx
jmp 0x401237
mov edx, eax
add dl, 0xd0
mov dword [esp + 0x18], 0
cmp dl, 9
ja 0x401237
xor ebx, ebx
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov esi, ebx
and esi, 0xa
mov edx, ebx
or ebx, 0xa
imul ebx, esi
xor esi, 0xa
and edx, 0xfffffff5
imul edx, esi
add ebx, edx
movzx eax, al
add ebx, eax
add ebx, 0xffffffd0
movzx eax, byte [ecx + 1]
inc ecx
mov edx, eax
add dl, 0xd0
cmp dl, 0xa
jb 0x401200
mov dword [esp + 0x18], ebx
mov esi, dword [esp + 0x20]
mov dword [esp], 0xffffffff
cmp al, 0x2e
jne 0x4012b6
movzx eax, byte [ecx + 1]
cmp al, 0x2a
jne 0x401263
mov eax, dword [esp + 0x2c]
mov edx, dword [eax]
mov dword [esp], edx
add eax, 4
mov dword [esp + 0x2c], eax
movzx eax, byte [ecx + 2]
add ecx, 2
jmp 0x4012b6
inc ecx
mov edx, eax
add dl, 0xd0
mov dword [esp], 0
cmp dl, 9
ja 0x4012b6
xor esi, esi
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov ebx, esi
and ebx, 0xa
mov edx, esi
or esi, 0xa
imul esi, ebx
xor ebx, 0xa
and edx, 0xfffffff5
imul edx, ebx
movzx eax, al
add esi, eax
add esi, edx
add esi, 0xffffffd0
movzx eax, byte [ecx + 1]
inc ecx
mov edx, eax
add dl, 0xd0
cmp dl, 0xa
jb 0x401280
mov dword [esp], esi
mov esi, dword [esp + 0x20]
movzx edx, al
add edx, 0xffffffb7
cmp edx, 0x31
ja case.0x4012c1.74
jmp dword [edx*4 + 0x446664]
inc ecx
mov dword [esp + 0x4c], ecx
movzx eax, byte [ecx]
jmp 0x40132b
movzx eax, byte [ecx + 1]
cmp al, 0x6c
jne 0x401326
or dword [esp + 4], 0x20
add ecx, 2
jmp 0x4012c9
lea eax, [ecx + 1]
mov dword [esp + 0x4c], eax
movzx eax, byte [ecx + 1]
cmp eax, 0x33
je 0x4019bd
cmp eax, 0x36
jne 0x40132b
cmp byte [ecx + 2], 0x34
jne 0x4019c7
or dword [esp + 4], 0x20
add ecx, 3
jmp 0x4012c9
cmp byte [ecx + 1], 0x68
je 0x40157a
inc ecx
or dword [esp + 4], 0x200
jmp 0x4012c9
inc ecx
mov dword [esp + 0x4c], ecx
movzx ecx, al
add ecx, 0xffffffbf
cmp ecx, 0x37
ja case.0x40133a.67
jmp dword [ecx*4 + 0x44672c]
test byte [esp + 4], 0x20
jne 0x40153c
mov ecx, dword [esp + 0x2c]
mov esi, dword [ecx]
add ecx, 4
mov dword [esp + 0x2c], ecx
cmp al, 0x75
je 0x402046
test esi, esi
jns 0x40203c
neg esi
mov dword [esp + 0x14], esi
mov edx, dword [esp + 4]
or edx, 0x80
jmp 0x40204e
mov ebx, str.0123456789ABCDEFXP
cmp al, 0x45
je 0x40138c
mov ebx, str.0123456789abcdefxp
mov eax, dword [esp + 0x2c]
fld qword [eax]
mov ecx, 6
mov eax, dword [esp]
cmp eax, 0xffffffff
je 0x4013a1
mov ecx, eax
mov esi, ecx
mov eax, ecx
or eax, 0x80000000
sub esp, 0x18
mov dword [esp + 0x10], eax
fstp qword [esp + 8]
lea eax, [esp + 0x54]
mov dword [esp + 4], eax
lea eax, [esp + 0x7c]
mov dword [esp], eax
lea ecx, [esp + 0x20]
lea edx, [esp + 0x3c]
call fcn.00403670
add esp, 0x18
test eax, eax
je 0x4013e0
or dword [esp + 4], 0x80
add dword [esp + 0x2c], 8
mov ecx, esi
mov eax, dword [esp + 0x18]
mov esi, ebx
jmp 0x401bbc
mov ecx, str.0123456789ABCDEFXP
cmp al, 0x41
je 0x401400
mov ecx, str.0123456789abcdefxp
mov dword [esp + 0xc], ecx
mov dword [esp + 0x54], eax
mov eax, 6
mov ecx, dword [esp]
cmp ecx, 0xffffffff
je 0x401417
mov eax, ecx
mov dword [esp + 0x48], eax
mov ecx, dword [esp + 0x2c]
mov eax, dword [ecx + 4]
test eax, eax
js 0x40158a
mov edx, dword [esp + 4]
jmp 0x401594
mov dword [esp + 0x48], str.0123456789ABCDEFXP
cmp al, 0x42
je 0x401447
mov dword [esp + 0x48], str.0123456789abcdefxp
mov byte [esp + 0x40], 0
test byte [esp + 4], 8
mov edx, dword [esp + 0x18]
je 0x40146c
cmp al, 0x42
setne al
mov word [esp + 0x40], 0x3002
shl al, 5
or al, 0x42
mov byte [esp + 0x42], al
mov dword [esp + 0x24], 0x180
mov ecx, 1
jmp 0x40167b
mov esi, str.0123456789ABCDEFXP
cmp al, 0x47
je 0x40148c
mov esi, str.0123456789abcdefxp
mov eax, dword [esp + 0x2c]
fld qword [eax]
mov ecx, dword [esp]
cmp ecx, 1
mov eax, ecx
adc eax, 0
mov ebx, 6
cmp ecx, 0xffffffff
je 0x4014a9
mov ebx, eax
lea eax, [ebx - 1]
or eax, 0x80000000
sub esp, 0x18
fstp qword [esp + 8]
lea ecx, [esp + 0x54]
mov dword [esp + 4], ecx
lea ecx, [esp + 0x7c]
mov dword [esp], ecx
mov dword [esp + 0x10], eax
lea ecx, [esp + 0x20]
lea edx, [esp + 0x3c]
call fcn.00403670
add esp, 0x18
test eax, eax
je 0x4014e7
or dword [esp + 4], 0x80
mov ecx, dword [esp + 0x24]
cmp ecx, ebx
jb 0x4014f1
mov ecx, ebx
mov dword [esp], esi
mov eax, ecx
cmp ecx, 2
jb 0x4015f4
mov ecx, dword [esp + 8]
mov dword [esp + 0x10], ecx
mov ecx, ebx
nop
nop
nop
nop
nop
nop
nop
mov edx, dword [esp + 0x10]
cmp byte [edx + eax - 1], 0x30
jne 0x401a5e
mov esi, eax
lea edx, [ecx - 1]
dec esi
mov eax, esi
cmp esi, 2
jb 0x401a60
cmp ecx, 1
mov ecx, edx
jne 0x401510
jmp 0x401a60
mov edx, dword [esp + 0x2c]
lea ebx, [edx + 8]
mov ecx, dword [edx]
mov esi, dword [edx + 4]
cmp al, 0x75
je 0x401a4d
test esi, esi
jns 0x401a4d
neg ecx
mov dword [esp + 0x14], ecx
mov eax, 0
sbb eax, esi
mov edx, dword [esp + 4]
or edx, 0x80
mov esi, eax
mov dword [esp + 0x2c], ebx
jmp 0x402050
add ecx, 2
or dword [esp + 4], 0x200
jmp 0x4012c9
mov edx, dword [esp + 4]
or edx, 0x80
mov ecx, dword [esp + 0x2c]
mov esi, dword [ecx]
mov cl, 0x2d
test dl, dl
mov dword [esp + 4], edx
js 0x4015b6
mov cl, 0x20
test dl, 4
jne 0x4015b6
mov cl, 0x2b
test dl, 2
jne 0x4015b6
xor ebx, ebx
jmp 0x4015bc
mov byte [esp + 0x41], cl
mov bl, 1
mov edx, eax
and edx, 0xfffff
shr eax, 0x14
and eax, 0x7ff
je 0x4019e6
add eax, 0xfffffc01
mov dword [esp + 0x30], eax
mov ecx, 0xffffffff
add esi, ecx
mov ecx, 0xfffff
adc edx, ecx
add esi, 1
adc edx, 0
jmp 0x4019fe
mov edx, ebx
jmp 0x401a60
and dword [esp + 4], 0xffffffef
mov dword [esp], 8
mov dword [esp + 0x48], str.0123456789ABCDEFXP
cmp al, 0x58
mov edx, dword [esp + 0x18]
je 0x40161f
mov dword [esp + 0x48], str.0123456789abcdefxp
mov dword [esp + 0x24], 0x440
mov byte [esp + 0x40], 0
mov ecx, 4
test byte [esp + 4], 8
je 0x40167b
cmp al, 0x58
setne al
mov word [esp + 0x40], 0x3002
shl al, 5
or al, 0x58
mov byte [esp + 0x42], al
jmp 0x40167b
mov byte [esp + 0x40], 0
test byte [esp + 4], 8
je 0x401662
mov word [esp + 0x40], 0x3001
mov dword [esp + 0x24], 0x330
mov dword [esp + 0x48], str.0123456789ABCDEFXP
mov ecx, 3
mov edx, dword [esp + 0x18]
test byte [esp + 4], 0x20
mov dword [esp + 0x18], edx
jne 0x401697
mov eax, dword [esp + 0x2c]
mov esi, dword [eax]
add eax, 4
mov dword [esp + 0x2c], eax
xor eax, eax
jmp 0x4016a7
mov edx, dword [esp + 0x2c]
mov esi, dword [edx]
mov eax, dword [edx + 4]
add edx, 8
mov dword [esp + 0x2c], edx
mov dword [esp + 0x3c], 0
mov byte [esp + 0x34], 0
mov edx, esi
or edx, eax
mov edx, dword [esp]
jne 0x4016ca
mov byte [esp + 0x40], 0
test edx, edx
je 0x4019d0
mov dword [esp], edx
mov edx, 0xffffffff
shl edx, cl
not edx
and edx, esi
mov ebx, dword [esp + 0x24]
mov cl, bh
shrd esi, eax, cl
mov ecx, dword [esp + 0x48]
movzx ecx, byte [ecx + edx]
mov byte [esp + 0x263], cl
mov cl, bh
shr eax, cl
test bh, 0x20
mov edx, eax
je 0x4016ff
mov esi, edx
xor edx, edx
mov dword [esp + 0x10], esi
mov ecx, esi
or ecx, edx
jne 0x401727
mov ecx, 1
cmp dword [esp], 2
jge 0x401727
lea eax, [esp + 0x263]
mov dword [esp + 0xc], eax
mov eax, dword [esp]
jmp 0x40182d
lea eax, [esp + 0x263]
mov dword [esp + 0xc], eax
mov eax, edx
lea edx, [esp + 0x264]
mov dword [esp + 0x28], edx
mov edx, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
test byte [esp + 4], 0x40
mov dword [esp + 0x30], edx
je 0x4017a0
inc ebx
mov dword [esp + 0x24], ebx
mov ecx, ebx
and ecx, 0xf
mov eax, ebx
shr eax, 4
mov esi, eax
xor esi, 0xfffffff0
or eax, 0xf
and eax, esi
cmp ecx, eax
jne 0x4017a0
and ebx, 0xfffffff0
mov dword [esp + 0x24], ebx
movzx eax, byte [0x449001]
xor al, 0xfd
mov ecx, dword [esp + 0x28]
mov byte [ecx - 2], al
add ecx, 0xfffffffe
mov dword [esp + 0x28], ecx
mov eax, dword [esp + 0x24]
jmp 0x4017aa
mov eax, ebx
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x28], ecx
mov edx, dword [esp + 0x10]
mov ebx, 0xffffffff
mov cl, ah
shl ebx, cl
not ebx
and ebx, edx
mov eax, dword [esp + 0x24]
mov dword [esp + 0x14], eax
mov cl, ah
mov esi, dword [esp + 0x30]
shrd edx, esi, cl
mov dword [esp + 0x10], edx
mov eax, dword [esp + 0x48]
movzx eax, byte [eax + ebx]
mov edx, dword [esp + 0x14]
mov ebx, dword [esp + 0x28]
mov byte [ebx - 1], al
mov cl, dh
shr esi, cl
mov ecx, edx
test dh, 0x20
jne 0x401800
mov edx, esi
mov esi, dword [esp + 0x10]
jmp 0x401802
xor edx, edx
lea eax, [ebx - 1]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], esi
or esi, edx
mov eax, dword [esp]
mov ebx, ecx
jne 0x401750
lea ecx, [esp + 0x264]
sub ecx, dword [esp + 0xc]
cmp ecx, eax
jl 0x401750
shl ebx, 0x14
and ebx, 0xf000000
add ebx, ecx
mov dword [esp + 0x24], ecx
xor esi, esi
mov edx, dword [esp + 0xc]
jmp 0x4029ee
mov eax, dword [esp + 0x2c]
mov eax, dword [eax]
mov edx, str.null
test eax, eax
je 0x401858
mov edx, eax
mov eax, dword [esp]
mov esi, eax
test eax, eax
jns 0x401866
mov esi, 0xffffffff
test dl, 3
je 0x4026ae
lea ebx, [esi + edx]
test eax, eax
je 0x4029cb
cmp byte [edx], 0
je 0x40293f
lea ecx, [edx + 1]
lea eax, [esi - 1]
test cl, 3
je 0x40295d
test eax, eax
je 0x4029cb
cmp byte [ecx], 0
je 0x403600
lea ecx, [edx + 2]
lea eax, [esi - 2]
test cl, 3
je 0x40295d
test eax, eax
je 0x4029cb
cmp byte [ecx], 0
je 0x403600
lea ecx, [edx + 3]
lea eax, [esi - 3]
test cl, 3
je 0x40295d
test eax, eax
je 0x4029cb
cmp byte [ecx], 0
je 0x403600
lea ecx, [edx + 4]
add esi, 0xfffffffc
test cl, 3
je 0x40295f
test esi, esi
je 0x4018f8
mov ebx, ecx
mov edi, dword [esp + 0x1c]
jmp 0x4029cb
mov byte [esp + 0x263], al
mov dword [esp + 0x24], 1
mov byte [esp + 0x40], 0
mov byte [esp + 0x34], 0
mov dword [esp + 0x3c], 0
xor ebx, ebx
lea edx, [esp + 0x263]
mov dword [esp + 4], 0
xor esi, esi
xor eax, eax
mov dword [esp + 0x18], 0
jmp 0x4029ee
mov ecx, dword [esp + 0x2c]
movzx eax, byte [ecx]
add ecx, 4
mov dword [esp + 0x2c], ecx
mov byte [esp + 0x263], al
mov dword [esp + 0x24], 1
mov byte [esp + 0x40], 0
mov byte [esp + 0x34], 0
mov dword [esp + 0x3c], 0
xor ebx, ebx
lea edx, [esp + 0x263]
jmp 0x4029ea
mov eax, dword [esp + 0x2c]
fld qword [eax]
add eax, 8
mov dword [esp + 0x2c], eax
test dword [esp + 4], 0x100
jne 0x402226
jmp 0x402383
mov edx, dword [esp + 0x2c]
mov eax, dword [edx]
mov ecx, dword [esp + 0x50]
sub ecx, esi
add ecx, edi
mov dword [eax], ecx
add edx, 4
mov dword [esp + 0x2c], edx
jmp 0x40356a
cmp byte [ecx + 2], 0x32
je 0x401e19
mov ecx, dword [esp + 0x4c]
jmp 0x4012c9
mov dword [esp + 0x24], 0
xor ebx, ebx
lea edx, [esp + 0x264]
jmp 0x4029ea
mov ecx, esi
or ecx, edx
mov ecx, 0
je 0x4019f6
mov ecx, 0xfffffc02
mov dword [esp + 0x30], ecx
mov dword [esp + 0x3c], ecx
mov eax, dword [esp + 0x48]
shld edx, esi, 8
shl esi, 8
cmp eax, 0xe
mov dword [esp], esi
jg 0x401ab1
mov dword [esp + 0x10], ebx
mov ebx, eax
and ebx, 4
mov ecx, eax
or ecx, 4
imul ecx, ebx
xor ebx, 4
and eax, 0xfb
imul eax, ebx
add ecx, eax
xor eax, eax
mov esi, 0x8000000
shrd eax, esi, cl
mov ebx, 0x8000000
shr ebx, cl
test cl, 0x20
jne 0x401a9f
mov esi, eax
jmp 0x401aa3
mov dword [esp + 0x2c], ebx
mov edx, dword [esp + 4]
mov dword [esp + 0x14], ecx
jmp 0x402050
mov edx, ecx
add dword [esp + 0x2c], 8
mov dword [esp + 0x24], eax
mov ecx, dword [esp + 0x3c]
cmp ecx, 0xfffffffd
jl 0x401a8f
cmp ecx, ebx
jg 0x401a8f
test ecx, ecx
jle 0x40202d
mov esi, eax
sub esi, ecx
jg 0x4023c8
xor esi, esi
jmp 0x4023c8
cmp edx, eax
jle 0x401bac
dec eax
mov ecx, eax
jmp 0x401bb5
mov esi, ebx
xor ebx, ebx
mov eax, dword [esp]
add eax, esi
mov dword [esp], eax
adc edx, ebx
mov ebx, dword [esp + 0x10]
movzx ecx, bl
lea esi, [esp + 0x40]
mov word [ecx + esi + 1], 0x7830
or bl, 2
mov byte [esp + 0x40], bl
mov ecx, edx
shr ecx, 0x1c
mov eax, dword [esp + 0xc]
movzx ecx, byte [eax + ecx]
mov byte [esp + 0xa4], cl
mov ebx, dword [esp + 0x48]
test ebx, ebx
je 0x401b93
movzx ecx, byte [section..data]
xor cl, 0xe7
mov byte [esp + 0xa5], cl
lea ecx, [esp + 0xa6]
mov dword [esp + 8], ecx
mov eax, ebx
cmp ebx, 0xd
jb 0x401b0e
mov eax, 0xd
mov ecx, ebx
sub ecx, eax
mov esi, dword [esp + 0x18]
jg 0x401b1a
xor ecx, ecx
mov dword [esp + 0x10], ecx
mov ecx, eax
and ecx, 3
je 0x401e21
mov dword [esp + 0x14], eax
xor ebx, ebx
mov eax, dword [esp]
mov dword [esp + 0x28], ecx
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov esi, edx
shr esi, 0x18
and esi, 0xf
mov ecx, dword [esp + 0xc]
movzx ecx, byte [ecx + esi]
shld edx, eax, 4
mov byte [esp + ebx + 0xa6], cl
mov ecx, dword [esp + 0x28]
shl eax, 4
inc ebx
cmp ecx, ebx
jne 0x401b40
mov dword [esp], eax
lea ecx, [esp + 0xa6]
add ecx, ebx
mov eax, dword [esp + 0x14]
sub eax, ebx
mov esi, dword [esp + 0x18]
mov ebx, dword [esp + 0x48]
cmp ebx, 4
jae 0x401e31
mov dword [esp + 0x18], esi
jmp 0x401eaa
lea ecx, [esp + 0xa5]
mov dword [esp + 8], ecx
xor esi, esi
mov dword [esp + 0xc], ecx
mov dword [esp], ecx
jmp 0x401ebc
xor ecx, ecx
sub edx, 1
jb 0x401bb5
mov ecx, edx
mov esi, dword [esp]
mov eax, dword [esp + 0x18]
mov dword [esp + 0x18], eax
mov byte [esp + 0x34], 0
mov byte [esp + 0x40], 0
mov al, 0x2d
cmp byte [esp + 4], 0
js 0x401be5
mov al, 0x20
test byte [esp + 4], 4
jne 0x401be5
mov al, 0x2b
test byte [esp + 4], 2
je 0x401bee
mov byte [esp + 0x40], 1
mov byte [esp + 0x41], al
mov eax, dword [esp + 0x3c]
xor ebx, ebx
mov edx, dword [esp + 8]
cmp eax, 0x7000
je 0x4029ea
mov dword [esp + 0x28], eax
mov dword [esp + 0xc], edx
mov dword [esp + 0x14], ecx
movzx ecx, byte [edx]
mov byte [esp + 0xa4], cl
mov ecx, dword [esp + 0x14]
lea ebx, [esp + 0xa5]
test ecx, ecx
je 0x401c4d
movzx ecx, byte [section..data]
mov edx, ecx
add dl, cl
and dl, 0xce
sub cl, dl
add cl, 0xe7
mov byte [esp + 0xa5], cl
mov ecx, dword [esp + 0x14]
lea ebx, [esp + 0xa6]
mov eax, dword [esp + 0x24]
lea edx, [eax - 1]
cmp edx, ecx
jbe 0x401c5f
lea eax, [ecx + 1]
mov dword [esp + 0x24], eax
mov dword [esp + 0x10], eax
cmp eax, 2
jb 0x401d21
mov dword [esp], esi
mov eax, ecx
cmp ecx, edx
jb 0x401c77
mov ecx, edx
lea esi, [ecx - 1]
mov edx, 1
cmp esi, 7
jb 0x401cf7
mov dword [esp + 0x30], ecx
mov esi, ecx
and esi, 0xfffffff8
xor edx, edx
mov ecx, ebx
mov ebx, dword [esp + 0xc]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx eax, byte [ebx + edx + 1]
mov byte [ecx + edx], al
movzx eax, byte [ebx + edx + 2]
mov byte [ecx + edx + 1], al
movzx eax, byte [ebx + edx + 3]
mov byte [ecx + edx + 2], al
movzx eax, byte [ebx + edx + 4]
mov byte [ecx + edx + 3], al
movzx eax, byte [ebx + edx + 5]
mov byte [ecx + edx + 4], al
movzx eax, byte [ebx + edx + 6]
mov byte [ecx + edx + 5], al
movzx eax, byte [ebx + edx + 7]
mov byte [ecx + edx + 6], al
movzx eax, byte [ebx + edx + 8]
mov byte [ecx + edx + 7], al
add edx, 8
cmp esi, edx
jne 0x401ca0
add ecx, edx
inc edx
mov ebx, ecx
mov ecx, dword [esp + 0x30]
and ecx, 7
mov esi, dword [esp]
je 0x401d21
mov esi, dword [esp + 0xc]
add esi, edx
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx eax, byte [esi + edx]
mov byte [ebx + edx], al
inc edx
cmp ecx, edx
jne 0x401d10
add ebx, edx
mov esi, dword [esp]
movzx eax, byte [esi + 0xe]
mov byte [esp + 0x35], al
mov ecx, dword [esp + 0x28]
test ecx, ecx
mov dword [esp], ebx
jle 0x401d3e
dec ecx
mov byte [esp + 0x36], 0x2b
mov eax, ecx
jmp 0x401d4a
mov byte [esp + 0x36], 0x2d
mov eax, 1
sub eax, ecx
mov dword [esp + 0xc], eax
xor ecx, ecx
cmp eax, 0x64
setge cl
mov dword [esp + 0x30], ecx
mov ecx, 0x66666667
imul ecx
mov ecx, edx
mov eax, edx
shr eax, 0x1f
sar ecx, 2
add ecx, eax
lea eax, [ecx + ecx]
lea eax, [eax + eax*4]
mov ebx, dword [esp + 0xc]
sub ebx, eax
mov eax, ecx
mov edx, 0x66666667
imul edx
mov eax, edx
shr eax, 0x1f
sar edx, 2
add edx, eax
mov eax, dword [esp + 0x30]
lea esi, [eax + 4]
mov dword [esp + 0x28], esi
add bl, 0x30
add edx, edx
lea edx, [edx + edx*4]
mov dword [esp + 0x48], edx
mov edx, dword [esp + 0x28]
mov byte [esp + 0x34], dl
mov byte [esp + eax + 0x38], bl
mov esi, dword [esp + 0xc]
mov edx, ecx
sub edx, dword [esp + 0x48]
add dl, 0x30
mov byte [esp + eax + 0x37], dl
cmp esi, 0x64
jl 0x401df4
mov eax, esi
mov ecx, 0x51eb851f
mul ecx
mov ecx, edx
shr ecx, 5
mov eax, ecx
mov edx, 0x1999999a
mul edx
add edx, edx
lea eax, [edx + edx*4]
mov edx, ecx
sub edx, eax
or dl, 0x30
lea eax, [esp + 0x34]
mov esi, dword [esp + 0x28]
mov byte [esi + eax - 2], dl
mov esi, dword [esp + 0x10]
lea eax, [esi - 1]
mov ebx, dword [esp + 0x14]
mov edx, ebx
not edx
and edx, eax
neg esi
and esi, ebx
sub esi, edx
mov dword [esp + 0x3c], ecx
mov ebx, 0x3000001
jmp 0x402928
add ecx, 3
jmp 0x4012c9
lea ecx, [esp + 0xa6]
cmp ebx, 4
jb 0x401b8a
mov esi, edx
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov dword [esp + 0x28], esi
mov dword [esp + 0x14], eax
mov esi, edx
shr esi, 0x18
and esi, 0xf
mov eax, dword [esp + 0xc]
movzx ebx, byte [eax + esi]
mov byte [ecx], bl
mov esi, edx
shr esi, 0x14
and esi, 0xf
movzx ebx, byte [eax + esi]
mov byte [ecx + 1], bl
mov esi, edx
shr esi, 0x10
and esi, 0xf
movzx ebx, byte [eax + esi]
mov esi, dword [esp + 0x28]
mov byte [ecx + 2], bl
mov eax, dword [esp + 0x14]
mov ebx, edx
mov edx, dword [esp]
shld esi, edx, 0x10
shl edx, 0x10
mov dword [esp], edx
shr ebx, 0xc
and ebx, 0xf
mov edx, dword [esp + 0xc]
movzx edx, byte [edx + ebx]
mov byte [ecx + 3], dl
add ecx, 4
mov edx, esi
add eax, 0xfffffffc
jne 0x401e40
mov dword [esp], ecx
lea esi, [esp + 0xa6]
mov dword [esp + 0xc], esi
mov esi, dword [esp + 0x10]
mov eax, dword [esp + 0x30]
cmp byte [esp + 0x54], 0x41
setne cl
shl cl, 5
or cl, 0x50
mov byte [esp + 0x35], cl
test eax, eax
js 0x401ef9
mov byte [esp + 0x36], 0x2b
cmp eax, 0x3e7
ja 0x401f07
cmp eax, 0x63
jbe 0x40200d
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], 5
jmp 0x401f13
mov byte [esp + 0x36], 0x2d
neg eax
cmp eax, 0x3e7
jbe 0x401ee2
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], 6
mov dword [esp + 0x28], 0
mov dword [esp + 0x30], eax
mov ecx, 0xcccccccd
mul ecx
shr edx, 2
and edx, 0xfffffffe
lea ebx, [edx + edx*4]
mov eax, dword [esp + 0x30]
mov esi, 0x66666667
imul esi
mov ecx, edx
mov eax, edx
shr eax, 0x1f
sar ecx, 2
add ecx, eax
mov eax, ecx
imul esi
mov eax, dword [esp + 0x30]
sub eax, ebx
mov ebx, dword [esp + 0x14]
mov byte [esp + 0x34], bl
or al, 0x30
mov byte [esp + ebx + 0x34], al
mov eax, edx
shr eax, 0x1f
sar edx, 2
add edx, eax
add edx, edx
lea eax, [edx + edx*4]
sub ecx, eax
add cl, 0x30
mov byte [esp + ebx + 0x33], cl
mov eax, dword [esp + 0x30]
cmp byte [esp + 0x28], 0
mov esi, dword [esp + 0x10]
jne 0x402724
mov ecx, 0x51eb851f
imul ecx
mov ecx, edx
mov eax, edx
shr eax, 0x1f
sar ecx, 5
add ecx, eax
mov eax, ecx
mov edx, 0x66666667
imul edx
mov eax, edx
shr eax, 0x1f
sar edx, 2
add edx, eax
add edx, edx
lea eax, [edx + edx*4]
sub ecx, eax
add cl, 0x30
lea eax, [esp + 0x34]
mov byte [ebx + eax - 2], cl
mov eax, dword [esp + 0x30]
cmp eax, 0x3e8
jb 0x402724
mov ecx, 0x10624dd3
imul ecx
mov ecx, edx
mov eax, edx
shr eax, 0x1f
sar ecx, 6
add ecx, eax
mov eax, ecx
mov edx, 0x66666667
imul edx
mov eax, edx
shr eax, 0x1f
shr edx, 2
add edx, eax
add edx, edx
lea eax, [edx + edx*4]
sub ecx, eax
add cl, 0x30
lea eax, [esp + 0x34]
mov byte [ebx + eax - 3], cl
jmp 0x402724
cmp eax, 9
jbe 0x402719
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], 4
mov cl, 1
mov dword [esp + 0x28], ecx
jmp 0x401f1b
cmp edx, eax
jl 0x402033
mov edx, eax
sub edx, ecx
mov esi, edx
jmp 0x4023c8
mov dword [esp + 0x14], esi
mov edx, dword [esp + 4]
jmp 0x40204e
mov edx, dword [esp + 4]
mov dword [esp + 0x14], esi
xor esi, esi
mov dword [esp + 4], edx
test edx, 0x100
jne 0x4021f0
mov dword [esp + 0x28], esi
movzx edx, byte [0x449001]
mov eax, edx
add al, dl
and al, 0xfa
sub dl, al
add dl, 0xfd
mov byte [esp + 0xc], dl
mov esi, 0x200
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov dword [esp + 0x30], edx
mov ecx, dword [esp + 0x14]
cmp ecx, 0x5f5e100
mov edx, dword [esp + 0x28]
mov eax, edx
sbb eax, 0
jb 0x4020d0
push 0
push 0x5f5e100
push edx
push ecx
mov ebx, ecx
call fcn.0040c520
mov dword [esp + 0x28], edx
mov edx, ebx
imul ecx, eax, 0x5f5e100
sub edx, ecx
mov ecx, eax
jmp 0x4020dc
mov dword [esp + 0x28], 0
mov edx, ecx
xor ecx, ecx
lea eax, [esp + 0x5c]
add eax, esi
mov dword [esp + 0x10], eax
test byte [esp + 4], 0x40
mov dword [esp + 0x14], ecx
jne 0x402130
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov ecx, edx
mov eax, edx
mov edx, 0x51eb851f
mul edx
shr edx, 5
imul eax, edx, 0x64
mov ebx, ecx
sub ebx, eax
movzx eax, word [ebx + ebx + str.00010203040506070809101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899]
mov word [esp + esi + 0x62], ax
add esi, 0xfffffffe
cmp ecx, 0x64
jae 0x402100
mov edx, dword [esp + 0x30]
jmp 0x4021a0
mov ebx, edx
test edx, edx
mov edx, dword [esp + 0x30]
je 0x4021a0
mov ecx, dword [esp + 0x10]
jmp 0x40216e
mov dword [esp + 0x10], ecx
mov ecx, edx
mov eax, ebx
mov edx, 0xcccccccd
mul edx
shr edx, 3
lea eax, [edx + edx]
lea eax, [eax + eax*4]
sub ebx, eax
or bl, 0x30
mov byte [esp + esi + 0x63], bl
dec esi
mov ebx, edx
mov edx, ecx
mov ecx, dword [esp + 0x10]
test ebx, ebx
je 0x4021a4
test byte [esp + 4], 0x40
je 0x402140
cmp edx, 3
je 0x402181
mov dword [esp + 0x10], ecx
inc edx
jmp 0x402144
movzx eax, byte [esp + 0xc]
mov byte [esp + esi + 0x63], al
dec esi
dec ecx
xor edx, edx
test ebx, ebx
jne 0x40216e
jmp 0x4021a4
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
or eax, dword [esp + 0x28]
jne 0x4021c7
jmp 0x40226d
inc edx
mov byte [esp + esi + 0x63], 0x30
dec esi
lea eax, [esp + esi]
add eax, 0x64
cmp eax, ecx
je 0x402090
test byte [esp + 4], 0x40
je 0x4021c1
cmp edx, 3
jne 0x4021c0
movzx eax, byte [esp + 0xc]
mov byte [esp + esi + 0x63], al
dec esi
dec ecx
xor edx, edx
jmp 0x4021c7
mov edx, dword [esp + 0x14]
mov eax, 1
mov ecx, dword [esp]
cmp ecx, 0xffffffff
je 0x402203
mov eax, ecx
mov dword [esp], 0
cmp edx, 0x400
mov ecx, esi
sbb ecx, 0
jb 0x40221a
mov dword [esp], eax
mov dword [esp + 0x58], edx
mov dword [esp + 0x5c], esi
fild qword [esp + 0x58]
xor eax, eax
mov ecx, dword [esp + 4]
test ecx, 0x800
sete al
fld qword [eax*8 + 0x446550]
cmp ecx, 0x3ffffff
ja 0x402266
fld st(0)
fchs
fxch st(1)
fucom st(2)
fnstsw ax
sahf
jbe 0x4022fe
fxch st(2)
fucom st(1)
fnstsw ax
sahf
fxch st(2)
jbe 0x4022fe
fstp st(0)
fstp st(0)
jmp 0x402383
cmp byte [esp + esi + 0x64], 0x30
sete al
cmp esi, 0x200
setne cl
mov byte [esp + 0x34], 0
mov byte [esp + 0x40], 0
mov dl, 0x2d
cmp byte [esp + 4], 0
js 0x4022a3
mov dl, 0x20
test byte [esp + 4], 4
jne 0x4022a3
mov dl, 0x2b
test byte [esp + 4], 2
je 0x4022ac
mov byte [esp + 0x40], 1
mov byte [esp + 0x41], dl
and cl, al
movzx eax, cl
add esi, eax
lea edx, [esp + esi]
add edx, 0x64
lea eax, [esi - 0x200]
neg eax
mov dword [esp + 0x24], eax
cmp esi, 0x200
jne 0x4022e4
mov byte [edx - 1], 0x30
dec edx
mov dword [esp + 0x24], 1
mov ebx, 1
mov eax, dword [esp]
jmp 0x4022eb
mov ecx, eax
mov eax, dword [esp]
mov ebx, ecx
xor esi, esi
test eax, eax
jg 0x4022f3
xor eax, eax
add ebx, 0x3000000
jmp 0x4029ee
fdiv st(2), st(0)
mov eax, dword [esp + 4]
lea ecx, [eax + 0x1000000]
cmp eax, 0x2ffffff
ja 0x40237b
fucom st(2)
fnstsw ax
sahf
jbe 0x402323
fxch st(2)
fucom st(1)
fnstsw ax
sahf
fxch st(2)
ja 0x40237b
fdiv st(2), st(0)
mov eax, dword [esp + 4]
lea ecx, [eax + 0x2000000]
cmp eax, 0x1ffffff
ja 0x40237b
fucom st(2)
fnstsw ax
sahf
jbe 0x402348
fxch st(2)
fucom st(1)
fnstsw ax
sahf
fxch st(2)
ja 0x40237b
fdiv st(2), st(0)
mov eax, dword [esp + 4]
lea ecx, [eax + 0x3000000]
cmp eax, 0xffffff
ja 0x40237b
fucom st(2)
fnstsw ax
sahf
jbe 0x403607
fxch st(2)
fucom st(1)
fstp st(1)
fnstsw ax
sahf
fldz
fxch st(1)
fxch st(2)
jbe 0x403607
fstp st(0)
fstp st(0)
mov dword [esp + 4], ecx
mov esi, 6
mov eax, dword [esp]
cmp eax, 0xffffffff
je 0x402392
mov esi, eax
sub esp, 0x18
fstp qword [esp + 8]
lea eax, [esp + 0x54]
mov dword [esp + 4], eax
lea eax, [esp + 0x7c]
mov dword [esp], eax
mov dword [esp + 0x10], esi
lea ecx, [esp + 0x20]
lea edx, [esp + 0x3c]
call fcn.00403670
add esp, 0x18
test eax, eax
je 0x4023c8
or dword [esp + 4], 0x80
mov byte [esp + 0x34], 0
mov byte [esp + 0x40], 0
mov al, 0x2d
cmp byte [esp + 4], 0
js 0x4023ed
mov al, 0x20
test byte [esp + 4], 4
jne 0x4023ed
mov al, 0x2b
test byte [esp + 4], 2
je 0x4023f6
mov byte [esp + 0x40], 1
mov byte [esp + 0x41], al
mov ecx, dword [esp + 0x3c]
cmp ecx, 0x7000
jne 0x40240d
xor ebx, ebx
mov edx, dword [esp + 8]
jmp 0x4029ea
test ecx, ecx
mov dword [esp + 0x10], esi
jle 0x4024c2
mov dword [esp], 0
test byte [esp + 4], 0x40
je 0x402441
mov ebx, 0x258
sub ebx, ecx
mov eax, ebx
mov edx, 0xaaaaaaab
mul edx
shr edx, 1
lea eax, [edx + edx*2]
sub ebx, eax
mov dword [esp], ebx
cmp ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x18]
jae 0x402554
mov dword [esp + 0x18], eax
xor eax, eax
lea ecx, [esp + 0xa4]
mov dword [esp + 0x14], ecx
jmp 0x402487
mov dword [esp], ecx
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 8]
movzx ecx, byte [ecx + eax]
lea ebx, [edx + 1]
mov dword [esp + 0x14], ebx
mov byte [edx], cl
inc eax
mov ecx, dword [esp + 0x3c]
cmp eax, ecx
jae 0x4025af
test byte [esp + 4], 0x40
je 0x402465
mov ecx, dword [esp]
inc ecx
cmp ecx, 4
jne 0x402462
mov ecx, dword [esp + 4]
and ecx, 0x40
shr ecx, 6
mov dword [esp], ecx
movzx ecx, byte [0x449001]
mov edx, ecx
or dl, 2
not cl
or cl, 0xfd
and cl, dl
not cl
mov edx, dword [esp + 0x14]
mov byte [edx], cl
inc edx
jmp 0x402469
mov byte [esp + 0xa4], 0x30
lea edx, [esp + 0xa5]
test esi, esi
je 0x4024f5
movzx eax, byte [section..data]
mov edx, eax
add dl, al
and dl, 0xce
sub al, dl
add al, 0xe7
mov byte [esp + 0xa5], al
lea edx, [esp + 0xa6]
neg ecx
mov eax, esi
cmp esi, ecx
jl 0x4024ff
mov eax, ecx
test eax, eax
mov dword [esp + 0xc], eax
je 0x40275e
mov eax, edx
and eax, 3
je 0x40275a
mov ecx, edx
mov esi, edx
not esi
and esi, 3
mov eax, dword [esp + 0xc]
lea ebx, [eax - 1]
cmp esi, ebx
jb 0x40252c
mov esi, ebx
lea eax, [esi + 1]
push eax
push 0x30
mov dword [esp + 8], ecx
push ecx
call fcn.0040c610
add esp, 0xc
mov edx, dword [esp]
add edx, esi
inc edx
sub ebx, esi
mov esi, dword [esp + 0x10]
mov eax, dword [esp + 0xc]
jmp 0x402760
xor eax, eax
mov esi, 0xffffffff
mov ebx, 1
lea edx, [esp + 0xa4]
jmp 0x40259a
mov ecx, dword [esp + 4]
and ecx, 0x40
shr ecx, 6
mov dword [esp], ecx
movzx ecx, byte [0x449001]
xor cl, 0xfd
mov byte [edx], cl
inc edx
mov ecx, dword [esp + 8]
movzx ecx, byte [ecx + ebx - 1]
mov byte [edx], cl
mov ecx, edx
inc edx
inc eax
dec esi
inc ebx
cmp eax, dword [esp + 0x24]
jae 0x402610
test byte [esp + 4], 0x40
je 0x402583
mov ecx, dword [esp]
inc ecx
cmp ecx, 4
je 0x402569
mov dword [esp], ecx
jmp 0x402583
mov ebx, dword [esp + 0x14]
test esi, esi
je 0x4025cd
movzx ecx, byte [section..data]
xor cl, 0xe7
mov byte [edx + 1], cl
add edx, 2
mov ecx, dword [esp + 0x3c]
mov ebx, edx
mov edx, dword [esp + 0x24]
mov esi, edx
sub esi, ecx
cmp esi, dword [esp + 0x10]
mov esi, dword [esp + 0x10]
jbe 0x4025e6
lea edx, [ecx + esi]
mov dword [esp + 0x24], edx
cmp eax, edx
jae 0x4026b5
nop
nop
mov ecx, dword [esp + 8]
movzx ecx, byte [ecx + eax]
mov byte [ebx], cl
inc ebx
inc eax
mov edx, dword [esp + 0x24]
cmp eax, edx
jb 0x4025f0
mov dword [esp], ebx
mov ecx, dword [esp + 0x3c]
jmp 0x4026b8
mov dword [esp + 0x28], ecx
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x14], ecx
sub ecx, eax
mov dword [esp + 0xc], ecx
mov ecx, dword [esp]
jbe 0x4026df
test byte [esp + 4], 0x40
jne 0x402946
cmp dword [esp + 0x14], eax
je 0x403584
mov eax, edx
and eax, 3
je 0x403584
mov ecx, 2
sub ecx, dword [esp + 0x28]
and ecx, 3
mov eax, dword [esp + 0x14]
sub eax, ebx
mov dword [esp + 0xc], ecx
mov dword [esp + 0x30], ecx
cmp ecx, eax
mov ecx, dword [esp + 0xc]
jb 0x40266f
mov ecx, eax
mov dword [esp + 0xc], ecx
lea eax, [ecx + 1]
push eax
push 0x30
push edx
call fcn.0040c610
add esp, 0xc
add esi, dword [esp + 0x14]
mov eax, dword [esp + 0x30]
cmp esi, eax
jb 0x402690
mov esi, eax
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0xc]
lea edx, [eax + ecx]
add edx, 2
mov eax, dword [esp + 0x14]
sub eax, esi
sub eax, ebx
mov ecx, dword [esp]
jmp 0x403588
mov ecx, edx
jmp 0x40295f
mov dword [esp], ebx
lea eax, [esp + 0xa4]
mov ebx, dword [esp + 0x14]
sub ebx, eax
add ebx, 0x3000000
mov dword [esp + 0x14], ebx
sub esi, edx
add esi, ecx
mov dword [esp + 0x10], esi
mov ebx, dword [esp]
jmp 0x40288e
mov esi, dword [esp + 0x10]
mov ebx, edx
mov eax, ebx
lea ecx, [esp + 0xa4]
sub eax, ecx
mov ecx, eax
and ecx, 0x3000000
xor eax, 0x3000000
lea eax, [eax + ecx*2]
mov dword [esp + 0x14], eax
test esi, esi
je 0x40274d
movzx eax, byte [section..data]
xor al, 0xe7
mov byte [ebx], al
inc ebx
jmp 0x40288e
mov byte [esp + 0x34], 3
or al, 0x30
mov byte [esp + 0x37], al
add dword [esp + 0x2c], 8
mov ecx, dword [esp]
mov eax, ecx
sub eax, dword [esp + 0xc]
mov dword [esp + 0x3c], eax
lea eax, [esp + 0xa4]
sub ecx, eax
mov dword [esp + 0x24], ecx
mov ebx, 0x3000001
jmp 0x402938
mov dword [esp + 0x10], 0
jmp 0x40288e
mov eax, dword [esp + 0xc]
mov ebx, eax
cmp ebx, 4
jl 0x4027a4
mov eax, ebx
cmp ebx, 7
jl 0x402771
mov eax, 7
neg eax
lea esi, [ebx + eax]
add esi, 3
and esi, 0xfffffffc
lea eax, [esi + 4]
push eax
push 0x30
mov dword [esp + 8], edx
push edx
call fcn.0040c610
add esp, 0xc
sub ebx, esi
add ebx, 0xfffffffc
mov edx, dword [esp]
add edx, esi
add edx, 4
mov esi, dword [esp + 0x10]
mov eax, dword [esp + 0xc]
test ebx, ebx
je 0x4027c3
push ebx
push 0x30
mov dword [esp + 8], ebx
mov ebx, edx
push edx
call fcn.0040c610
mov eax, dword [esp + 0x18]
add esp, 0xc
add ebx, dword [esp]
jmp 0x4027c5
mov ebx, edx
mov edx, dword [esp + 0x24]
lea ecx, [edx + eax]
cmp ecx, esi
jle 0x4027d8
mov edx, esi
sub edx, eax
mov dword [esp + 0x24], edx
test edx, edx
mov dword [esp], edx
je 0x40287f
mov dword [esp + 0x14], esi
cmp esi, ecx
jl 0x4027ef
mov dword [esp + 0x14], ecx
mov ecx, edx
and ecx, 3
je 0x402827
xor esi, esi
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, ebx
mov ebx, dword [esp + 8]
lea edx, [ebx + 1]
mov dword [esp + 8], edx
movzx edx, byte [ebx]
mov ebx, eax
mov byte [eax + esi], dl
inc esi
cmp ecx, esi
jne 0x402800
add ebx, esi
mov ecx, dword [esp]
sub ecx, esi
mov eax, dword [esp + 0xc]
jmp 0x402829
mov ecx, edx
mov edx, eax
sub edx, dword [esp + 0x14]
cmp edx, 0xfffffffc
ja 0x40287f
mov edx, dword [esp + 8]
lea esi, [edx + 1]
mov dword [esp + 8], esi
movzx edx, byte [edx]
mov byte [ebx], dl
mov edx, dword [esp + 8]
lea esi, [edx + 1]
mov dword [esp + 8], esi
movzx edx, byte [edx]
mov byte [ebx + 1], dl
mov edx, dword [esp + 8]
lea esi, [edx + 1]
mov dword [esp + 8], esi
movzx edx, byte [edx]
mov byte [ebx + 2], dl
mov edx, dword [esp + 8]
lea esi, [edx + 1]
mov dword [esp + 8], esi
movzx edx, byte [edx]
mov byte [ebx + 3], dl
add ebx, 4
add ecx, 0xfffffffc
jne 0x402834
add eax, dword [esp]
sub dword [esp + 0x10], eax
mov dword [esp + 0x14], 0x3000001
mov esi, dword [esp + 4]
test esi, 0x100
mov dword [esp], ebx
je 0x4028b6
mov eax, esi
and eax, 0x400
sete byte [esp + 0x34]
mov byte [esp + 0x35], 0x20
cmp esi, 0x1000000
jae 0x4028c0
mov esi, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
jmp 0x402928
mov ecx, esi
shr ecx, 0x18
mov ebx, eax
shr ebx, 0xa
mov edx, 2
sub edx, ebx
cmp eax, 1
mov eax, 0
adc al, 1
test esi, 0x800
jne 0x4028f8
movzx ecx, byte [ecx + str._kMGT]
mov byte [esp + edx + 0x34], cl
mov esi, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
jmp 0x402924
movzx ecx, byte [ecx + str._KMGT]
mov byte [esp + edx + 0x34], cl
mov ecx, esi
and ecx, 0x1800
cmp ecx, 0x800
mov ebx, dword [esp + 0x14]
jne 0x402920
movzx eax, al
mov byte [esp + eax + 0x35], 0x69
inc eax
mov esi, dword [esp + 0x10]
mov byte [esp + 0x34], al
lea eax, [esp + 0xa4]
mov ecx, dword [esp]
sub ecx, eax
mov dword [esp + 0x24], ecx
mov edx, eax
jmp 0x4029ec
mov ebx, edx
jmp 0x4029cb
mov esi, dword [esp + 0x10]
mov ebx, edx
mov edx, dword [esp + 0xc]
test edx, edx
jne 0x4035dc
jmp 0x4026e5
mov esi, eax
mov dword [esp], esi
mov dword [esp + 0x10], ecx
mov eax, ecx
mov dword [esp + 0xc], edx
nop
nop
nop
nop
mov ebx, eax
mov ecx, esi
cmp esi, 4
jb 0x40299b
mov edx, dword [ebx]
mov eax, edx
not eax
add edx, 0xfefefeff
and edx, eax
lea eax, [ebx + 4]
lea esi, [ecx - 4]
test edx, 0x80808080
mov edx, dword [esp + 0xc]
je 0x402970
jmp 0x4029a3
test ecx, ecx
je 0x40357b
mov eax, edx
mov edx, dword [esp]
add dword [esp + 0x10], edx
xor edx, edx
mov esi, dword [esp + 0x18]
cmp byte [ebx + edx], 0
je 0x4029c3
inc edx
cmp ecx, edx
jne 0x4029b2
mov ebx, dword [esp + 0x10]
jmp 0x4029c5
add ebx, edx
mov edx, eax
mov dword [esp + 0x18], esi
add dword [esp + 0x2c], 4
sub ebx, edx
mov dword [esp + 0x24], ebx
mov byte [esp + 0x40], 0
mov byte [esp + 0x34], 0
mov dword [esp + 0x3c], 0
xor ebx, ebx
xor esi, esi
xor eax, eax
mov dword [esp + 0x14], ebx
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], esi
mov ecx, dword [esp + 0x24]
cmp eax, ecx
jg 0x402a04
mov eax, ecx
mov ebx, eax
movsx eax, byte [esp + 0x40]
movsx esi, byte [esp + 0x34]
mov edx, dword [esp + 0x10]
mov dword [esp], ebx
add edx, ebx
add edx, eax
add edx, esi
cmp dword [esp + 0x18], edx
jg 0x402a27
mov dword [esp + 0x18], edx
sub dword [esp + 0x18], edx
sub dword [esp], ecx
mov ecx, dword [esp + 4]
test cl, 1
mov esi, dword [esp + 0x20]
jne 0x402a4e
test cl, 0x10
mov edx, dword [esp + 0xc]
jne 0x402a54
mov dword [esp + 4], 0
jmp 0x402a70
mov edx, dword [esp + 0xc]
jmp 0x402a70
mov ecx, dword [esp]
cmp dword [esp + 0x18], ecx
jg 0x402a61
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0x18]
mov dword [esp], ecx
mov dword [esp + 0x18], 0
mov ecx, dword [esp + 0x18]
add ecx, dword [esp]
je 0x402ed2
test byte [esp + 4], 1
jne 0x402bb7
cmp dword [esp + 0x18], 0
jg 0x402ab2
jmp 0x402bb7
mov eax, dword [esp + 0x18]
sub eax, ecx
mov dword [esp + 0x18], eax
test eax, eax
jle 0x402bb2
mov ecx, esi
sub ecx, edi
add ecx, 0x200
mov edx, dword [esp + 0x18]
mov eax, edx
cmp edx, ecx
jl 0x402ac8
mov eax, ecx
mov ecx, dword [esp + 0x18]
cmp dword [ebp + 8], 0
je 0x402ad4
mov ecx, eax
test ecx, ecx
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], esi
je 0x402b20
mov eax, edi
and eax, 3
je 0x402b20
mov esi, edi
not esi
and esi, 3
lea ebx, [ecx - 1]
cmp esi, ebx
jb 0x402af7
mov esi, ebx
lea eax, [esi + 1]
push eax
push 0x20
push edi
call fcn.0040c610
add esp, 0xc
sub ebx, esi
add edi, esi
inc edi
mov esi, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
cmp ebx, 4
jge 0x402b27
jmp 0x402b5f
mov ebx, ecx
cmp ebx, 4
jl 0x402b5f
mov eax, ebx
cmp ebx, 7
jl 0x402b33
mov eax, 7
neg eax
lea esi, [ebx + eax]
add esi, 3
and esi, 0xfffffffc
lea eax, [esi + 4]
push eax
push 0x20
push edi
call fcn.0040c610
add esp, 0xc
add edi, esi
add edi, 4
sub ebx, esi
add ebx, 0xfffffffc
mov esi, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
test ebx, ebx
je 0x402b75
push ebx
push 0x20
push edi
call fcn.0040c610
mov ecx, dword [esp + 0x28]
add esp, 0xc
add edi, ebx
cmp dword [ebp + 8], 0
je 0x402aa0
mov eax, edi
sub eax, esi
cmp eax, 0x1ff
jl 0x402aa0
add dword [esp + 0x50], eax
push eax
push dword [ebp + 0xc]
push esi
call dword [ebp + 8]
add esp, 0xc
test eax, eax
je 0x403653
mov edi, eax
mov esi, eax
mov ecx, dword [esp + 0x1c]
jmp 0x402aa0
movzx eax, byte [esp + 0x40]
lea ecx, [esp + 0x41]
mov dword [esp + 8], ecx
jmp 0x402bd9
mov edi, eax
mov esi, eax
movzx eax, byte [esp + 0x40]
test al, al
je 0x402cdd
movsx ebx, al
mov edx, esi
sub edx, edi
add edx, 0x200
cmp edx, ebx
jl 0x402bf4
mov edx, ebx
cmp dword [ebp + 8], 0
je 0x402bfc
mov ebx, edx
sub al, bl
mov byte [esp + 0x40], al
test ebx, ebx
je 0x402c9b
mov eax, ebx
and eax, 3
je 0x402cd0
mov dword [esp + 0x20], esi
xor edx, edx
nop
nop
nop
nop
nop
mov esi, dword [esp + 8]
lea ecx, [esi + 1]
mov dword [esp + 8], ecx
movzx ecx, byte [esi]
mov byte [edi + edx], cl
inc edx
cmp eax, edx
jne 0x402c20
add edi, edx
mov eax, ebx
sub eax, edx
mov esi, dword [esp + 0x20]
cmp ebx, 4
jb 0x402c9b
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov ecx, dword [esp + 8]
lea edx, [ecx + 1]
mov dword [esp + 8], edx
movzx ecx, byte [ecx]
mov byte [edi], cl
mov ecx, dword [esp + 8]
lea edx, [ecx + 1]
mov dword [esp + 8], edx
movzx ecx, byte [ecx]
mov byte [edi + 1], cl
mov ecx, dword [esp + 8]
lea edx, [ecx + 1]
mov dword [esp + 8], edx
movzx ecx, byte [ecx]
mov byte [edi + 2], cl
mov ecx, dword [esp + 8]
lea edx, [ecx + 1]
mov dword [esp + 8], edx
movzx ecx, byte [ecx]
mov byte [edi + 3], cl
add edi, 4
add eax, 0xfffffffc
jne 0x402c50
cmp dword [ebp + 8], 0
je 0x402bd4
mov eax, edi
sub eax, esi
cmp eax, 0x1ff
jl 0x402bd4
add dword [esp + 0x50], eax
push eax
push dword [ebp + 0xc]
push esi
call dword [ebp + 8]
add esp, 0xc
test eax, eax
jne 0x402bd0
jmp 0x403653
mov eax, ebx
cmp ebx, 4
jae 0x402c50
jmp 0x402c9b
mov dword [esp + 0x20], esi
mov eax, dword [esp + 0x14]
mov ecx, eax
shr ecx, 0x18
mov dword [esp + 0x1c], ecx
xor esi, esi
test byte [esp + 4], 0x40
je 0x402d0c
and eax, 0xffffff
add eax, dword [esp]
mov esi, dword [esp + 0x1c]
lea ecx, [esi + 1]
xor edx, edx
div ecx
sub esi, edx
mov edx, dword [esp]
test edx, edx
jg 0x402d3f
lea eax, [esp + 0x41]
mov dword [esp + 8], eax
mov edx, dword [esp + 0xc]
jmp 0x403001
mov edx, dword [esp]
sub edx, dword [esp + 0x14]
test edx, edx
jle 0x402ec5
mov ecx, dword [esp + 0x20]
sub ecx, edi
add ecx, 0x200
mov eax, edx
mov dword [esp], edx
cmp edx, ecx
jl 0x402d56
mov eax, ecx
mov ecx, dword [esp]
cmp dword [ebp + 8], 0
je 0x402d61
mov ecx, eax
test byte [esp + 4], 0x40
mov dword [esp + 0x14], ecx
jne 0x402dde
test ecx, ecx
je 0x402da1
mov eax, edi
and eax, 3
je 0x402da1
mov ebx, edi
not ebx
and ebx, 3
dec ecx
cmp ebx, ecx
jb 0x402d85
mov ebx, ecx
lea eax, [ebx + 1]
push eax
push 0x30
push edi
mov dword [esp + 0x34], ecx
call fcn.0040c610
mov ecx, dword [esp + 0x34]
add esp, 0xc
add edi, ebx
inc edi
sub ecx, ebx
cmp ecx, 4
jl 0x402dde
mov eax, ecx
cmp ecx, 7
jl 0x402db2
mov eax, 7
neg eax
lea ebx, [ecx + eax]
add ebx, 3
and ebx, 0xfffffffc
lea eax, [ebx + 4]
push eax
push 0x30
push edi
mov dword [esp + 0x34], ecx
call fcn.0040c610
mov ecx, dword [esp + 0x34]
add esp, 0xc
add edi, ebx
add edi, 4
sub ecx, ebx
add ecx, 0xfffffffc
test ecx, ecx
je 0x402e30
test cl, 1
jne 0x402e00
mov eax, ecx
cmp ecx, 1
jne 0x402e87
jmp 0x402e30
mov al, 0x30
test byte [esp + 4], 0x40
je 0x402e1d
cmp esi, dword [esp + 0x1c]
jne 0x402e1c
movzx eax, byte [0x449001]
xor al, 0xfd
xor esi, esi
jmp 0x402e1d
inc esi
mov byte [edi], al
inc edi
lea eax, [ecx - 1]
cmp ecx, 1
jne 0x402e87
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [ebp + 8], 0
je 0x402d30
mov eax, edi
mov ecx, dword [esp + 0x20]
sub eax, ecx
cmp eax, 0x1ff
jl 0x402d30
add dword [esp + 0x50], eax
push eax
push dword [ebp + 0xc]
push ecx
call dword [ebp + 8]
add esp, 0xc
test eax, eax
je 0x403653
mov edi, eax
mov dword [esp + 0x20], eax
jmp 0x402d30
movzx ecx, byte [0x449001]
xor cl, 0xfd
xor esi, esi
mov byte [edi + 1], cl
add edi, 2
add eax, 0xfffffffe
je 0x402e30
mov cl, 0x30
test byte [esp + 4], 0x40
je 0x402eb1
cmp esi, dword [esp + 0x1c]
jne 0x402eb0
movzx edx, byte [0x449001]
xor dl, 0xfd
xor esi, esi
jmp 0x402eb3
inc esi
mov dl, 0x30
mov byte [edi], dl
test byte [esp + 4], 0x40
je 0x402e7c
cmp esi, dword [esp + 0x1c]
je 0x402e70
inc esi
jmp 0x402e7c
movzx eax, byte [esp + 0x40]
mov esi, dword [esp + 0x20]
mov edx, dword [esp + 0xc]
lea ecx, [esp + 0x41]
mov dword [esp + 8], ecx
jmp 0x402eed
mov edi, eax
mov esi, eax
mov edx, dword [esp + 0xc]
movzx eax, byte [esp + 0x40]
test al, al
je 0x402ffd
movsx ebx, al
mov edx, esi
sub edx, edi
add edx, 0x200
cmp edx, ebx
jl 0x402f08
mov edx, ebx
cmp dword [ebp + 8], 0
je 0x402f10
mov ebx, edx
sub al, bl
mov byte [esp + 0x40], al
test ebx, ebx
je 0x402fab
mov eax, ebx
and eax, 3
je 0x402ff0
mov dword [esp + 0x20], esi
xor edx, edx
nop
mov esi, dword [esp + 8]
lea ecx, [esi + 1]
mov dword [esp + 8], ecx
movzx ecx, byte [esi]
mov byte [edi + edx], cl
inc edx
cmp eax, edx
jne 0x402f30
add edi, edx
mov eax, ebx
sub eax, edx
mov esi, dword [esp + 0x20]
cmp ebx, 4
jb 0x402fab
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov ecx, dword [esp + 8]
lea edx, [ecx + 1]
mov dword [esp + 8], edx
movzx ecx, byte [ecx]
mov byte [edi], cl
mov ecx, dword [esp + 8]
lea edx, [ecx + 1]
mov dword [esp + 8], edx
movzx ecx, byte [ecx]
mov byte [edi + 1], cl
mov ecx, dword [esp + 8]
lea edx, [ecx + 1]
mov dword [esp + 8], edx
movzx ecx, byte [ecx]
mov byte [edi + 2], cl
mov ecx, dword [esp + 8]
lea edx, [ecx + 1]
mov dword [esp + 8], edx
movzx ecx, byte [ecx]
mov byte [edi + 3], cl
add edi, 4
add eax, 0xfffffffc
jne 0x402f60
cmp dword [ebp + 8], 0
je 0x402ee4
mov eax, edi
sub eax, esi
lea ecx, [eax + 1]
cmp ecx, 0x200
jl 0x402ee4
add dword [esp + 0x50], eax
push eax
push dword [ebp + 0xc]
push esi
call dword [ebp + 8]
add esp, 0xc
test eax, eax
jne 0x402ee0
jmp 0x403653
mov eax, ebx
cmp ebx, 4
jae 0x402f60
jmp 0x402fab
mov dword [esp + 0x20], esi
mov esi, dword [esp + 0x24]
test esi, esi
jne 0x403178
mov eax, dword [esp + 0x10]
test eax, eax
mov esi, dword [esp + 0x20]
jne 0x40333c
lea eax, [esp + 0x35]
mov dword [esp + 8], eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx eax, byte [esp + 0x34]
test al, al
je 0x403432
movsx ecx, al
mov eax, ecx
cmp dword [ebp + 8], 0
je 0x403065
mov eax, edi
sub eax, esi
mov edx, eax
xor edx, 0x200
not eax
and eax, 0x200
add eax, eax
sub eax, edx
cmp eax, ecx
jl 0x403065
mov eax, ecx
sub cl, al
mov byte [esp + 0x34], cl
test eax, eax
je 0x40310b
mov ecx, eax
and ecx, 3
je 0x403150
mov dword [esp + 0x20], esi
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov esi, dword [esp + 8]
lea ebx, [esi + 1]
mov dword [esp + 8], ebx
movzx ebx, byte [esi]
mov byte [edi + edx], bl
inc edx
cmp ecx, edx
jne 0x403090
add edi, edx
mov ecx, eax
sub ecx, edx
mov esi, dword [esp + 0x20]
cmp eax, 4
jb 0x40310b
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp + 8]
lea edx, [eax + 1]
mov dword [esp + 8], edx
movzx eax, byte [eax]
mov byte [edi], al
mov eax, dword [esp + 8]
lea edx, [eax + 1]
mov dword [esp + 8], edx
movzx eax, byte [eax]
mov byte [edi + 1], al
mov eax, dword [esp + 8]
lea edx, [eax + 1]
mov dword [esp + 8], edx
movzx eax, byte [eax]
mov byte [edi + 2], al
mov eax, dword [esp + 8]
lea edx, [eax + 1]
mov dword [esp + 8], edx
movzx eax, byte [eax]
mov byte [edi + 3], al
add edi, 4
add ecx, 0xfffffffc
jne 0x4030c0
cmp dword [ebp + 8], 0
je 0x403030
mov ecx, edi
xor ecx, esi
mov eax, esi
not eax
and eax, edi
add eax, eax
sub eax, ecx
cmp eax, 0x1ff
jl 0x403030
add dword [esp + 0x50], eax
push eax
push dword [ebp + 0xc]
push esi
call dword [ebp + 8]
add esp, 0xc
test eax, eax
je 0x403653
mov edi, eax
mov esi, eax
jmp 0x403030
mov ecx, eax
cmp eax, 4
jae 0x4030c0
jmp 0x40310b
mov ecx, dword [esp + 0x1c]
mov eax, ecx
xor eax, esi
not ecx
and ecx, esi
add ecx, ecx
sub ecx, eax
mov esi, ecx
je 0x40300d
mov ecx, esi
cmp dword [ebp + 8], 0
je 0x40319d
mov ecx, dword [esp + 0x20]
mov eax, ecx
xor eax, edi
not ecx
and ecx, edi
add ecx, ecx
sub eax, ecx
add eax, 0x200
mov ecx, esi
cmp esi, eax
jl 0x40319d
mov ecx, eax
cmp ecx, 4
mov dword [esp + 0x1c], ecx
jl 0x403200
lea ebx, [ecx - 4]
mov eax, ebx
shr eax, 2
inc eax
and eax, 7
je 0x403204
mov dword [esp + 0xc], ebx
mov dword [esp], esi
shl eax, 2
mov ebx, edx
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov ecx, dword [ebx + edx]
mov dword [edi + edx], ecx
add edx, 4
cmp eax, edx
jne 0x4031d0
add edi, edx
mov ecx, dword [esp + 0x1c]
sub ecx, edx
add ebx, edx
mov eax, ecx
mov edx, ebx
mov esi, dword [esp]
mov ebx, dword [esp + 0xc]
cmp ebx, 0x1c
jae 0x403210
jmp 0x403251
mov eax, ecx
jmp 0x403251
cmp ebx, 0x1c
jb 0x403251
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [edx]
mov dword [edi], eax
mov eax, dword [edx + 4]
mov dword [edi + 4], eax
mov eax, dword [edx + 8]
mov dword [edi + 8], eax
mov eax, dword [edx + 0xc]
mov dword [edi + 0xc], eax
mov eax, dword [edx + 0x10]
mov dword [edi + 0x10], eax
mov eax, dword [edx + 0x14]
mov dword [edi + 0x14], eax
mov eax, dword [edx + 0x18]
mov dword [edi + 0x18], eax
mov eax, dword [edx + 0x1c]
mov dword [edi + 0x1c], eax
add edi, 0x20
add edx, 0x20
lea eax, [ecx - 0x20]
add ecx, 0xffffffdc
cmp ecx, 0xfffffff8
mov ecx, eax
jb 0x403210
test eax, eax
je 0x4032d1
mov ecx, eax
and ecx, 7
je 0x403320
mov dword [esp], esi
mov esi, edx
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx ebx, byte [esi + edx]
mov byte [edi + edx], bl
inc edx
cmp ecx, edx
jne 0x403270
add edi, edx
mov ecx, eax
sub ecx, edx
add esi, edx
mov edx, esi
mov esi, dword [esp]
cmp eax, 8
jb 0x4032d1
nop
nop
movzx eax, byte [edx]
mov byte [edi], al
movzx eax, byte [edx + 1]
mov byte [edi + 1], al
movzx eax, byte [edx + 2]
mov byte [edi + 2], al
movzx eax, byte [edx + 3]
mov byte [edi + 3], al
movzx eax, byte [edx + 4]
mov byte [edi + 4], al
movzx eax, byte [edx + 5]
mov byte [edi + 5], al
movzx eax, byte [edx + 6]
mov byte [edi + 6], al
movzx eax, byte [edx + 7]
add edx, 8
mov byte [edi + 7], al
add edi, 8
add ecx, 0xfffffff8
jne 0x403290
cmp dword [ebp + 8], 0
je 0x403160
mov eax, edi
mov ecx, dword [esp + 0x20]
sub eax, ecx
cmp eax, 0x1ff
jl 0x403160
mov ebx, esi
mov esi, edx
add dword [esp + 0x50], eax
push eax
push dword [ebp + 0xc]
push ecx
call dword [ebp + 8]
add esp, 0xc
test eax, eax
je 0x403653
mov edi, eax
mov dword [esp + 0x20], eax
mov edx, esi
mov esi, ebx
jmp 0x403160
mov ecx, eax
cmp eax, 8
jae 0x403290
jmp 0x4032d1
mov eax, dword [esp + 0x10]
sub eax, edx
je 0x40301d
mov dword [esp + 0x10], eax
mov edx, eax
cmp dword [ebp + 8], 0
je 0x40335d
mov eax, esi
sub eax, edi
add eax, 0x200
mov ecx, dword [esp + 0x10]
mov edx, ecx
cmp ecx, eax
jl 0x40335d
mov edx, eax
test edx, edx
mov dword [esp + 0x1c], edx
mov dword [esp + 0x20], esi
je 0x4033a0
mov eax, edi
and eax, 3
je 0x4033a0
mov ebx, edi
not ebx
and ebx, 3
lea esi, [edx - 1]
cmp ebx, esi
jb 0x403380
mov ebx, esi
lea eax, [ebx + 1]
push eax
push 0x30
push edi
call fcn.0040c610
add esp, 0xc
sub esi, ebx
add edi, ebx
inc edi
mov edx, dword [esp + 0x1c]
cmp esi, 4
jge 0x4033a7
jmp 0x4033db
mov esi, edx
cmp esi, 4
jl 0x4033db
mov eax, esi
cmp esi, 7
jl 0x4033b3
mov eax, 7
neg eax
lea ebx, [esi + eax]
add ebx, 3
and ebx, 0xfffffffc
lea eax, [ebx + 4]
push eax
push 0x30
push edi
call fcn.0040c610
add esp, 0xc
sub esi, ebx
add esi, 0xfffffffc
add edi, ebx
add edi, 4
mov edx, dword [esp + 0x1c]
test esi, esi
je 0x4033f1
push esi
push 0x30
push edi
call fcn.0040c610
mov edx, dword [esp + 0x28]
add esp, 0xc
add edi, esi
mov esi, dword [esp + 0x20]
cmp dword [ebp + 8], 0
je 0x403330
mov eax, edi
sub eax, esi
cmp eax, 0x1ff
jl 0x403330
add dword [esp + 0x50], eax
push eax
push dword [ebp + 0xc]
push esi
call dword [ebp + 8]
add esp, 0xc
test eax, eax
je 0x403653
mov edi, eax
mov esi, eax
mov edx, dword [esp + 0x1c]
jmp 0x403330
test byte [esp + 4], 1
je 0x40356a
cmp dword [esp + 0x18], 0
mov eax, dword [esp + 0x4c]
jle 0x40356e
jne 0x40346e
jmp 0x40356e
mov eax, dword [esp + 0x4c]
sub dword [esp + 0x18], edx
je 0x40356e
mov ecx, esi
sub ecx, edi
add ecx, 0x200
mov edx, dword [esp + 0x18]
mov eax, edx
cmp edx, ecx
jl 0x403484
mov eax, ecx
mov ecx, dword [esp + 0x18]
cmp dword [ebp + 8], 0
je 0x403490
mov ecx, eax
test ecx, ecx
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], esi
je 0x4034d0
mov eax, edi
and eax, 3
je 0x4034d0
mov ebx, edi
not ebx
and ebx, 3
lea esi, [ecx - 1]
cmp ebx, esi
jb 0x4034b3
mov ebx, esi
lea eax, [ebx + 1]
push eax
push 0x20
push edi
call fcn.0040c610
add esp, 0xc
add edi, ebx
inc edi
sub esi, ebx
cmp esi, 4
jge 0x4034d7
jmp 0x403507
mov esi, ecx
cmp esi, 4
jl 0x403507
mov eax, esi
cmp esi, 7
jl 0x4034e3
mov eax, 7
neg eax
lea ebx, [esi + eax]
add ebx, 3
and ebx, 0xfffffffc
lea eax, [ebx + 4]
push eax
push 0x20
push edi
call fcn.0040c610
add esp, 0xc
add edi, ebx
add edi, 4
sub esi, ebx
add esi, 0xfffffffc
test esi, esi
je 0x403519
push esi
push 0x20
push edi
call fcn.0040c610
add esp, 0xc
add edi, esi
mov esi, dword [esp + 0x20]
mov eax, dword [esp + 0x4c]
mov edx, dword [esp + 0x1c]
cmp dword [ebp + 8], 0
je 0x403464
mov eax, edi
sub eax, esi
lea ecx, [eax + 1]
cmp ecx, 0x200
jl 0x403460
add dword [esp + 0x50], eax
push eax
push dword [ebp + 0xc]
push esi
call dword [ebp + 8]
add esp, 0xc
test eax, eax
je 0x403653
mov edi, eax
mov esi, eax
mov eax, dword [esp + 0x4c]
mov edx, dword [esp + 0x1c]
jmp 0x403464
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x1c], edi
inc eax
mov ebx, dword [ebp + 8]
jmp 0x40103e
mov esi, dword [esp + 0x18]
jmp 0x4029c7
mov eax, dword [esp + 0xc]
cmp eax, 4
jb 0x4035be
mov esi, eax
and esi, 0xfffffffc
push esi
push 0x30
mov ebx, edx
push edx
mov dword [esp + 0x18], eax
call fcn.0040c610
mov ecx, dword [esp + 0xc]
add esp, 0xc
add ebx, esi
mov edx, dword [esp + 0xc]
and edx, 3
mov esi, dword [esp + 0x10]
test edx, edx
jne 0x4035dc
jmp 0x4026e5
mov esi, dword [esp + 0x10]
mov ebx, edx
mov edx, eax
test edx, edx
jne 0x4035dc
jmp 0x4026e5
mov byte [ebx], 0x30
dec edx
inc ebx
test edx, edx
je 0x4026e5
test byte [esp + 4], 0x40
je 0x4035cf
inc ecx
cmp ecx, 4
jne 0x4035cf
movzx eax, byte [0x449001]
xor al, 0xfd
mov byte [ebx], al
xor ecx, ecx
inc ebx
test edx, edx
jne 0x4035dc
jmp 0x4026e5
mov ebx, ecx
jmp 0x4029cb
fstp st(1)
fdivp st(1)
or dword [esp + 4], 0x4000000
jmp 0x402383
test ebx, ebx
je 0x403659
mov edx, dword [esp + 0x1c]
mov eax, edx
sub eax, esi
lea ecx, [eax + 0x1ff]
cmp ecx, 0x200
jl 0x403660
mov ecx, eax
mov edx, dword [esp + 0x50]
and ecx, edx
xor edx, eax
lea edx, [edx + ecx*2]
mov dword [esp + 0x50], edx
push eax
push dword [ebp + 0xc]
push esi
call ebx
add esp, 0xc
mov edx, eax
mov esi, eax
jmp 0x403660
xor edx, edx
xor esi, esi
jmp 0x403660
mov edx, dword [esp + 0x1c]
mov byte [edx], 0
mov eax, dword [esp + 0x50]
add eax, edx
sub eax, esi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret