Function at 0x40115b
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, 0x270
mov eax, dword [ebp + 0x18]
mov dword [esp + 0x28], eax
lea eax, [esp + 0x26c]
not eax
mov dword [esp + 0x5c], eax
lea eax, [esp + 0xac]
not eax
mov dword [esp + 0x58], eax
mov eax, dword [ebp + 0x14]
mov edi, dword [ebp + 0x10]
mov dword [esp + 0x44], 0
mov dword [esp + 0xc], edi
jmp 0x401061
mov edi, eax
mov eax, ebx
movzx eax, byte [ebx]
mov dword [esp + 0xc], edi
mov byte [edi], al
inc edi
mov eax, ebx
inc eax
mov ebx, eax
test al, 3
je 0x401070
movzx eax, byte [eax]
jmp 0x40108e
mov eax, dword [eax]
mov edx, eax
not edx
and edx, 0x80808080
mov ecx, eax
xor ecx, 0x25252525
add ecx, 0xfefefeff
test ecx, edx
je 0x4010d0
cmp al, 0x25
je 0x40112b
test al, al
je 0x40360c
cmp dword [ebp + 8], 0
je 0x40105b
mov ecx, edi
sub ecx, dword [esp + 0xc]
lea edx, [ecx + 1]
cmp edx, 0x200
jl 0x40105b
add dword [esp + 0x44], ecx
push ecx
push dword [ebp + 0xc]
push dword [esp + 0x14]
call dword [ebp + 8]
add esp, 0xc
test eax, eax
jne 0x401050
jmp 0x403636
mov ecx, dword [esp + 0xc]
sub ecx, edi
add ecx, 0x200
jmp 0x40110a
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx + 4]
add ebx, 4
mov edx, eax
not edx
and edx, 0x80808080
mov esi, eax
xor esi, 0x25252525
add esi, 0xfefefeff
add ecx, 0xfffffffc
test esi, edx
jne 0x40108e
mov esi, 0x1010100
sub esi, eax
not esi
test esi, edx
jne 0x401096
cmp dword [ebp + 8], 0
je 0x4010e0
cmp ecx, 4
jge 0x4010e0
jmp 0x40108e
mov ecx, ebx
add ecx, 2
xor ebx, ebx
jmp 0x401143
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.0x401154.33
mov edx, 2
jmp dword [esi*4 + 0x447564]
mov edx, 4
jmp case.0x401154.43
mov edx, 0x400
jmp case.0x401154.43
mov edx, 0x100
test ebx, 0x100
je case.0x401154.43
mov edx, ebx
and edx, 0x800
add edx, 0x800
jmp case.0x401154.43
mov edx, 8
jmp case.0x401154.43
mov edx, 0x40
jmp case.0x401154.43
or ebx, 0x10
movzx eax, byte [ecx]
jmp 0x40119d
dec ecx
mov dword [esp + 4], ebx
cmp al, 0x2a
jne 0x4011bd
mov eax, dword [esp + 0x28]
mov edx, dword [eax]
mov dword [esp + 0x2c], edx
add eax, 4
mov dword [esp + 0x28], eax
movzx eax, byte [ecx + 1]
inc ecx
jmp 0x401203
mov edx, eax
add dl, 0xd0
mov dword [esp + 0x2c], 0
cmp dl, 9
ja 0x401203
mov dword [esp + 0x2c], 0
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx eax, al
mov edx, dword [esp + 0x2c]
lea edx, [edx + edx*4]
lea eax, [eax + edx*2]
add eax, 0xffffffd0
mov dword [esp + 0x2c], eax
movzx eax, byte [ecx + 1]
inc ecx
mov edx, eax
add dl, 0xd0
cmp dl, 0xa
jb 0x4011e0
mov dword [esp + 0x1c], 0xffffffff
cmp al, 0x2e
jne 0x40126f
movzx eax, byte [ecx + 1]
cmp al, 0x2a
jne 0x401231
mov eax, dword [esp + 0x28]
mov edx, dword [eax]
mov dword [esp + 0x1c], edx
add eax, 4
mov dword [esp + 0x28], eax
movzx eax, byte [ecx + 2]
add ecx, 2
jmp 0x40126f
inc ecx
mov edx, eax
add dl, 0xd0
mov dword [esp + 0x1c], 0
cmp dl, 9
ja 0x40126f
xor ebx, ebx
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
lea edx, [ebx + ebx*4]
movzx eax, al
lea ebx, [eax + edx*2]
add ebx, 0xffffffd0
movzx eax, byte [ecx + 1]
inc ecx
mov edx, eax
add dl, 0xd0
cmp dl, 0xa
jb 0x401250
mov dword [esp + 0x1c], ebx
movzx eax, al
add eax, 0xffffffb7
cmp eax, 0x31
ja case.0x40127a.74
jmp dword [eax*4 + 0x447664]
inc ecx
jmp case.0x40127a.74
movzx edx, byte [ecx + 1]
cmp dl, 0x6c
jne 0x4012c2
or dword [esp + 4], 0x20
add ecx, 2
jmp case.0x40127a.74
lea eax, [ecx + 1]
movzx edx, byte [ecx + 1]
cmp edx, 0x33
je 0x4012e3
cmp edx, 0x36
jne 0x401961
cmp byte [ecx + 2], 0x34
jne 0x4012e9
or dword [esp + 4], 0x20
jmp 0x4012ed
cmp byte [ecx + 1], 0x68
je 0x4012c5
inc ecx
jmp 0x4012c8
inc ecx
jmp 0x4012f3
add ecx, 2
mov edx, dword [esp + 4]
mov eax, edx
not eax
or eax, 0xfffffdff
add edx, eax
add edx, 0x201
mov dword [esp + 4], edx
jmp case.0x40127a.74
cmp byte [ecx + 2], 0x32
je 0x4012ed
mov ecx, eax
jmp case.0x40127a.74
add ecx, 3
movzx edx, byte [ecx]
mov dword [esp + 0x4c], ecx
movzx eax, dl
add eax, 0xffffffbf
cmp eax, 0x37
ja case.0x40130a.67
mov dword [esp + 0x50], edi
jmp dword [eax*4 + 0x44772c]
test byte [esp + 4], 0x20
jne 0x4015f4
mov eax, dword [esp + 0x28]
mov ebx, dword [eax]
add eax, 4
mov dword [esp + 0x28], eax
mov dword [esp + 0x14], 0
cmp dl, 0x75
je 0x401fc9
test ebx, ebx
jns 0x401fc9
neg ebx
mov edx, dword [esp + 4]
or edx, 0x80
jmp 0x401fcd
mov eax, dword [esp + 0x1c]
jmp 0x401646
mov ebx, str.0123456789ABCDEFXP
cmp dl, 0x45
je 0x40136b
mov ebx, str.0123456789abcdefxp
mov eax, dword [esp + 0x28]
fld qword [eax]
mov ecx, 6
mov eax, dword [esp + 0x1c]
cmp eax, 0xffffffff
je 0x401381
mov ecx, eax
add dword [esp + 0x28], 8
mov dword [esp + 0x18], ecx
mov eax, ecx
or eax, 0x80000000
sub esp, 0x18
mov dword [esp + 0x10], eax
fstp qword [esp + 8]
lea eax, [esp + 0x50]
mov dword [esp + 4], eax
lea eax, [esp + 0x84]
mov dword [esp], eax
lea ecx, [esp + 0x28]
lea edx, [esp + 0x3c]
call fcn.00403660
add esp, 0x18
test eax, eax
je 0x401b28
mov ecx, dword [esp + 4]
mov eax, ecx
xor eax, 0x80
add eax, ecx
and ecx, 0xffffff7f
sub eax, ecx
mov ecx, eax
jmp 0x401b2c
mov eax, str.0123456789ABCDEFXP
mov dword [esp + 0x54], edx
cmp dl, 0x41
je 0x4013f5
mov eax, str.0123456789abcdefxp
mov dword [esp], eax
mov ebx, 6
mov eax, dword [esp + 0x1c]
cmp eax, 0xffffffff
mov edx, dword [esp + 4]
je 0x40140c
mov ebx, eax
mov eax, dword [esp + 0x28]
mov ecx, dword [eax + 4]
test ecx, ecx
jns 0x40141d
or edx, 0x80
mov eax, dword [esp + 0x28]
mov esi, dword [eax]
mov al, 0x2d
test dl, dl
mov dword [esp + 0x48], ebx
mov dword [esp + 4], edx
mov dword [esp + 0x1c], esi
js 0x40159c
mov al, 0x20
test dl, 4
jne 0x40159c
mov al, 0x2b
test dl, 2
jne 0x40159c
mov dword [esp + 8], 0
jmp 0x4015a6
mov dword [esp + 8], str.0123456789ABCDEFXP
cmp dl, 0x42
je 0x401471
mov dword [esp + 8], str.0123456789abcdefxp
mov byte [esp + 0x3c], 0
test byte [esp + 4], 8
je 0x401493
cmp dl, 0x42
setne al
mov word [esp + 0x3c], 0x3002
shl al, 5
or al, 0x42
mov byte [esp + 0x3e], al
mov dword [esp + 0x24], 0x180
mov ebx, 0x180
test byte [esp + 4], 0x20
je 0x401699
mov eax, dword [esp + 0x28]
mov ecx, dword [eax]
mov esi, dword [eax + 4]
add eax, 8
mov dword [esp + 0x28], eax
jmp 0x4016a8
mov ebx, str.0123456789ABCDEFXP
cmp dl, 0x47
je 0x4014cf
mov ebx, str.0123456789abcdefxp
mov eax, dword [esp + 0x28]
fld qword [eax]
mov ecx, dword [esp + 0x1c]
cmp ecx, 1
mov eax, ecx
adc eax, 0
mov esi, 6
cmp ecx, 0xffffffff
je 0x4014ed
mov esi, eax
mov ecx, esi
xor ecx, 1
mov eax, esi
and eax, 0xfffffffe
add eax, eax
sub eax, ecx
mov ecx, eax
and ecx, 0x7fffffff
add eax, eax
sub eax, ecx
add eax, 0x80000000
sub esp, 0x18
fstp qword [esp + 8]
lea ecx, [esp + 0x50]
mov dword [esp + 4], ecx
lea ecx, [esp + 0x84]
mov dword [esp], ecx
mov dword [esp + 0x10], eax
lea ecx, [esp + 0x28]
lea edx, [esp + 0x3c]
call fcn.00403660
add esp, 0x18
test eax, eax
je 0x401545
or dword [esp + 4], 0x80
mov eax, dword [esp + 0x24]
cmp eax, esi
jb 0x40154f
mov eax, esi
mov dword [esp + 8], ebx
mov ecx, eax
mov dword [esp + 0x14], eax
cmp eax, 2
jb 0x401633
mov edx, dword [esp + 0x10]
mov ebx, esi
mov ecx, esi
nop
nop
nop
nop
nop
nop
mov esi, dword [esp + 0x14]
cmp byte [edx + esi - 1], 0x30
jne 0x401ac5
lea eax, [ecx - 1]
dec esi
mov dword [esp + 0x14], esi
cmp esi, 2
jb 0x401ac7
cmp ecx, 1
mov ecx, eax
jne 0x401570
jmp 0x401ac7
mov byte [esp + 0x3d], al
mov al, 1
mov dword [esp + 8], eax
mov esi, ecx
and esi, 0xfffff
sar ecx, 0x14
mov edx, ecx
not edx
or edx, 0x7ff
lea ebx, [ecx + edx]
inc ebx
test ebx, ebx
je 0x401980
mov eax, 0xffffffff
mov ebx, dword [esp + 0x1c]
add ebx, eax
mov eax, 0xfffff
adc esi, eax
lea eax, [ecx + edx]
add eax, 0xfffffc02
mov dword [esp + 0x20], eax
add ebx, 1
mov dword [esp + 0x1c], ebx
adc esi, 0
jmp 0x401997
mov ecx, dword [esp + 0x28]
lea eax, [ecx + 8]
mov ebx, dword [ecx]
mov ecx, dword [ecx + 4]
cmp dl, 0x75
je 0x401fc1
test ecx, ecx
mov edx, ecx
jns 0x401fbb
neg ebx
mov ecx, 0
sbb ecx, edx
mov edx, dword [esp + 4]
or edx, 0x80
mov dword [esp + 0x14], ecx
mov dword [esp + 0x28], eax
jmp 0x401fcd
mov ebx, esi
mov eax, esi
jmp 0x401ac7
and dword [esp + 4], 0xffffffef
mov eax, 8
mov dword [esp + 8], str.0123456789ABCDEFXP
cmp dl, 0x58
je 0x40165b
mov dword [esp + 8], str.0123456789abcdefxp
mov dword [esp + 0x1c], eax
mov dword [esp + 0x24], 0x440
mov byte [esp + 0x3c], 0
mov ebx, 0x440
test byte [esp + 4], 8
je 0x40168e
cmp dl, 0x58
setne al
mov word [esp + 0x3c], 0x3002
shl al, 5
or al, 0x58
mov byte [esp + 0x3e], al
test byte [esp + 4], 0x20
jne 0x4014ab
mov eax, dword [esp + 0x28]
mov ecx, dword [eax]
add eax, 4
mov dword [esp + 0x28], eax
xor esi, esi
mov dword [esp + 0x38], 0
mov byte [esp + 0x30], 0
mov dword [esp], ecx
mov eax, ecx
or eax, esi
jne 0x4016ce
mov byte [esp + 0x3c], 0
cmp dword [esp + 0x1c], 0
je 0x40196a
lea edx, [esp + 0x26c]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, 0xffffffff
mov cl, bh
shl eax, cl
not eax
mov edi, dword [esp]
and eax, edi
mov ebx, dword [esp + 0x24]
mov cl, bh
shrd edi, esi, cl
mov ecx, dword [esp + 8]
movzx ecx, byte [ecx + eax]
mov eax, edx
mov byte [edx - 1], cl
mov cl, bh
shr esi, cl
test bh, 0x20
je 0x401713
mov edi, esi
xor esi, esi
lea edx, [eax - 1]
mov dword [esp], edi
mov ecx, edi
or ecx, esi
jne 0x401748
mov dword [esp + 0x18], ebx
mov ebx, edx
and edx, dword [esp + 0x5c]
mov ecx, ebx
not ecx
lea edi, [esp + 0x26c]
and ecx, edi
mov edi, dword [esp + 0x50]
sub ecx, edx
mov edx, ebx
mov ebx, dword [esp + 0x18]
cmp ecx, dword [esp + 0x1c]
jge 0x40177e
test byte [esp + 4], 0x40
je 0x4016e0
inc ebx
mov dword [esp + 0x24], ebx
mov ecx, ebx
shr ecx, 4
xor ecx, ebx
test cl, 0xf
jne 0x4016e0
and ebx, 0xfffffff0
mov dword [esp + 0x24], ebx
movzx ecx, byte [0x44a001]
xor cl, 0x1f
mov byte [eax - 2], cl
add eax, 0xfffffffe
mov edx, eax
jmp 0x4016e0
shl ebx, 0x14
and ebx, 0xf000000
add ebx, ecx
mov dword [esp + 0x24], ecx
mov dword [esp + 0x14], 0
mov eax, dword [esp + 0x1c]
jmp 0x4029a5
mov byte [esp + 0x3c], 0
test byte [esp + 4], 8
je 0x4017b1
mov word [esp + 0x3c], 0x3001
mov dword [esp + 0x24], 0x330
mov dword [esp + 8], str.0123456789ABCDEFXP
mov ebx, 0x330
test byte [esp + 4], 0x20
je 0x401699
jmp 0x4014ab
mov eax, dword [esp + 0x28]
mov eax, dword [eax]
mov edx, str.null
test eax, eax
je 0x4017e7
mov edx, eax
mov eax, dword [esp + 0x1c]
mov ebx, eax
test eax, eax
jns 0x4017f6
mov ebx, 0xffffffff
test dl, 3
je 0x402667
mov dword [esp], ebx
add ebx, edx
test eax, eax
je 0x40297c
cmp byte [edx], 0
je 0x4028e7
lea ecx, [edx + 1]
mov eax, dword [esp]
dec eax
test cl, 3
je 0x402908
test eax, eax
je 0x40297c
cmp byte [ecx], 0
je 0x4035ec
lea ecx, [edx + 2]
mov eax, dword [esp]
add eax, 0xfffffffe
test cl, 3
je 0x402908
test eax, eax
je 0x40297c
cmp byte [ecx], 0
je 0x4035ec
lea ecx, [edx + 3]
mov eax, dword [esp]
add eax, 0xfffffffd
test cl, 3
je 0x402908
test eax, eax
je 0x40297c
cmp byte [ecx], 0
je 0x4035ec
lea ecx, [edx + 4]
add dword [esp], 0xfffffffc
test cl, 3
je 0x403604
cmp dword [esp], 0
je 0x401894
mov ebx, ecx
mov edi, dword [esp + 0x50]
jmp 0x40297c
mov byte [esp + 0x26b], dl
mov dword [esp + 0x24], 1
mov byte [esp + 0x3c], 0
mov byte [esp + 0x30], 0
mov dword [esp + 0x38], 0
xor ebx, ebx
lea edx, [esp + 0x26b]
mov dword [esp + 4], 0
mov dword [esp + 0x14], 0
xor eax, eax
mov dword [esp + 0x2c], 0
jmp 0x4029a5
mov ecx, dword [esp + 0x28]
movzx eax, byte [ecx]
add ecx, 4
mov dword [esp + 0x28], ecx
mov byte [esp + 0x26b], al
mov dword [esp + 0x24], 1
mov byte [esp + 0x3c], 0
mov byte [esp + 0x30], 0
mov dword [esp + 0x38], 0
xor ebx, ebx
lea edx, [esp + 0x26b]
jmp 0x40299b
mov eax, dword [esp + 0x28]
fld qword [eax]
add eax, 8
mov dword [esp + 0x28], eax
test dword [esp + 4], 0x100
jne 0x4021a7
jmp 0x40231b
mov edx, dword [esp + 0x28]
mov eax, dword [edx]
mov ecx, dword [esp + 0x44]
sub ecx, dword [esp + 0xc]
add ecx, edi
mov dword [eax], ecx
add edx, 4
mov dword [esp + 0x28], edx
jmp 0x403566
mov dword [esp + 0x4c], eax
jmp 0x4012f7
mov dword [esp + 0x24], 0
xor ebx, ebx
lea edx, [esp + 0x26c]
jmp 0x40299b
xor eax, eax
mov ecx, dword [esp + 0x1c]
or ecx, esi
je 0x40198f
mov eax, 0xfffffc02
mov dword [esp + 0x20], eax
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x48]
lea ecx, [eax*4]
xor ebx, ebx
mov eax, 0x8000000
shrd ebx, eax, cl
mov edx, 0x8000000
shr edx, cl
test cl, 0x20
je 0x4019bc
mov ebx, edx
xor edx, edx
cmp dword [esp + 0x48], 0xf
jl 0x4019c7
xor ebx, ebx
xor edx, edx
mov eax, dword [esp + 0x1c]
shld esi, eax, 8
shl eax, 8
add eax, ebx
mov dword [esp + 0x1c], eax
adc esi, edx
mov edx, dword [esp + 8]
movzx ecx, dl
lea eax, [esp + 0x3c]
mov word [ecx + eax + 1], 0x7830
or dl, 2
mov byte [esp + 0x3c], dl
mov ecx, esi
shr ecx, 0x1c
mov eax, dword [esp]
movzx ecx, byte [eax + ecx]
mov byte [esp + 0xac], cl
mov ebx, dword [esp + 0x48]
test ebx, ebx
je 0x401aaf
movzx ecx, byte [section..data]
mov edx, ecx
add dl, cl
and dl, 8
sub cl, dl
add cl, 0x84
mov byte [esp + 0xad], cl
lea eax, [esp + 0xae]
mov dword [esp + 0x10], eax
mov ecx, ebx
cmp ebx, 0xd
jb 0x401a43
mov ecx, 0xd
mov eax, ebx
sub eax, ecx
mov dword [esp + 0x14], eax
jg 0x401a55
mov dword [esp + 0x14], 0
mov eax, ecx
and eax, 3
je 0x401bfc
mov dword [esp + 8], ecx
xor edx, edx
mov ebx, dword [esp + 0x1c]
mov dword [esp + 0x18], eax
nop
nop
mov eax, esi
shr eax, 0x18
and eax, 0xf
mov ecx, dword [esp]
movzx eax, byte [ecx + eax]
shld esi, ebx, 4
mov byte [esp + edx + 0xae], al
mov eax, dword [esp + 0x18]
shl ebx, 4
inc edx
cmp eax, edx
jne 0x401a70
mov dword [esp + 0x1c], ebx
lea eax, [esp + 0xae]
lea ebx, [eax + edx]
mov ecx, dword [esp + 8]
sub ecx, edx
jmp 0x401c03
lea ebx, [esp + 0xad]
mov dword [esp + 0x10], ebx
xor ecx, ecx
mov dword [esp + 8], ebx
jmp 0x401c8c
mov eax, ecx
add dword [esp + 0x28], 8
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0x38]
cmp ecx, 0xfffffffd
jl 0x401b00
cmp ecx, ebx
jg 0x401b00
test ecx, ecx
jle 0x401fa6
sub dword [esp + 0x14], ecx
jg 0x402368
mov dword [esp + 0x14], 0
jmp 0x402368
mov ecx, dword [esp + 0x14]
cmp eax, ecx
jle 0x401b17
dec ecx
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 4]
mov ebx, dword [esp + 8]
jmp 0x401b2c
xor ecx, ecx
sub eax, 1
mov ebx, dword [esp + 8]
jb 0x401b24
mov ecx, eax
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 4]
mov dword [esp + 8], ebx
mov byte [esp + 0x30], 0
mov byte [esp + 0x3c], 0
mov al, 0x2d
mov dword [esp + 4], ecx
test cl, cl
js 0x401b56
mov al, 0x20
test byte [esp + 4], 4
jne 0x401b56
mov al, 0x2b
test byte [esp + 4], 2
je 0x401b5f
mov byte [esp + 0x3c], 1
mov byte [esp + 0x3d], al
mov eax, dword [esp + 0x38]
xor ebx, ebx
mov edx, dword [esp + 0x10]
cmp eax, 0x7000
je 0x40299b
mov ebx, eax
mov dword [esp], edx
movzx ecx, byte [edx]
mov byte [esp + 0xac], cl
lea esi, [esp + 0xad]
mov ecx, dword [esp + 0x18]
test ecx, ecx
je 0x401bb7
movzx ecx, byte [section..data]
mov edx, ecx
add dl, cl
and dl, 8
sub cl, dl
add cl, 0x84
mov byte [esp + 0xad], cl
mov ecx, dword [esp + 0x18]
lea esi, [esp + 0xae]
mov eax, dword [esp + 0x24]
lea edx, [eax - 1]
cmp edx, ecx
jbe 0x401bc9
lea eax, [ecx + 1]
mov dword [esp + 0x24], eax
mov dword [esp + 0x14], eax
cmp eax, 2
jb 0x401ea2
mov eax, esi
mov esi, ecx
cmp ecx, edx
jb 0x401be0
mov esi, edx
mov ecx, esi
dec esi
mov edx, 1
cmp esi, 7
mov dword [esp + 0x20], ecx
jae 0x401e0f
mov esi, eax
jmp 0x401e75
lea ebx, [esp + 0xae]
cmp dword [esp + 0x48], 4
jb 0x401c7d
mov dword [esp + 0x18], esi
mov eax, ecx
mov ecx, dword [esp + 0x1c]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov dword [esp + 8], eax
mov eax, esi
shr eax, 0x18
and eax, 0xf
mov edx, dword [esp]
movzx eax, byte [edx + eax]
mov byte [ebx], al
mov eax, esi
shr eax, 0x14
and eax, 0xf
movzx eax, byte [edx + eax]
mov byte [ebx + 1], al
mov eax, esi
shr eax, 0x10
and eax, 0xf
movzx eax, byte [edx + eax]
mov byte [ebx + 2], al
mov eax, esi
mov esi, dword [esp + 0x18]
shld esi, ecx, 0x10
shl ecx, 0x10
shr eax, 0xc
and eax, 0xf
movzx eax, byte [edx + eax]
mov byte [ebx + 3], al
mov eax, dword [esp + 8]
add ebx, 4
mov dword [esp + 0x18], esi
add eax, 0xfffffffc
jne 0x401c20
lea eax, [esp + 0xae]
mov dword [esp + 8], eax
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x54]
cmp al, 0x41
setne al
shl al, 5
or al, 0x50
mov byte [esp + 0x31], al
mov eax, dword [esp + 0x20]
test eax, eax
js 0x401cad
mov byte [esp + 0x32], 0x2b
jmp 0x401cb4
mov byte [esp + 0x32], 0x2d
neg eax
cmp eax, 0x3e7
mov dword [esp + 0x14], ecx
ja 0x401cd5
cmp eax, 0x63
jbe 0x401df0
mov dword [esp + 0x48], ebx
mov dword [esp], 5
jmp 0x401ce0
mov dword [esp + 0x48], ebx
mov dword [esp], 6
mov dword [esp + 0x18], 0
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x20]
mov ecx, 0xcccccccd
mul ecx
shr edx, 2
and edx, 0xfffffffe
lea eax, [edx + edx*4]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x20]
mov esi, 0x66666667
imul esi
mov ebx, edx
mov eax, edx
shr eax, 0x1f
sar ebx, 2
add ebx, eax
mov eax, ebx
imul esi
mov ecx, dword [esp + 0x20]
sub ecx, dword [esp + 0x1c]
mov eax, dword [esp]
mov byte [esp + 0x30], al
or cl, 0x30
mov eax, dword [esp]
mov byte [esp + eax + 0x30], cl
mov eax, edx
shr eax, 0x1f
sar edx, 2
add edx, eax
add edx, edx
lea eax, [edx + edx*4]
sub ebx, eax
add bl, 0x30
mov eax, dword [esp]
mov byte [esp + eax + 0x2f], bl
cmp byte [esp + 0x18], 0
mov ebx, dword [esp + 0x48]
jne 0x4026be
mov eax, dword [esp + 0x20]
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 + 0x30]
mov edx, dword [esp]
mov byte [edx + eax - 2], cl
mov eax, dword [esp + 0x20]
cmp eax, 0x3e8
jb 0x4026be
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 + 0x30]
mov edx, dword [esp]
mov byte [edx + eax - 3], cl
jmp 0x4026be
cmp eax, 9
jbe 0x4026b3
mov dword [esp + 0x48], ebx
mov dword [esp], 4
mov cl, 1
mov dword [esp + 0x18], ecx
jmp 0x401ce8
and ecx, 0xfffffff8
xor edx, edx
mov edi, dword [esp]
mov esi, eax
nop
nop
nop
nop
nop
nop
nop
movzx eax, byte [edi + edx + 1]
mov byte [esi + edx], al
movzx eax, byte [edi + edx + 2]
mov byte [esi + edx + 1], al
movzx eax, byte [edi + edx + 3]
mov byte [esi + edx + 2], al
movzx eax, byte [edi + edx + 4]
mov byte [esi + edx + 3], al
movzx eax, byte [edi + edx + 5]
mov byte [esi + edx + 4], al
movzx eax, byte [edi + edx + 6]
mov byte [esi + edx + 5], al
movzx eax, byte [edi + edx + 7]
mov byte [esi + edx + 6], al
movzx eax, byte [edi + edx + 8]
mov byte [esi + edx + 7], al
add edx, 8
cmp ecx, edx
jne 0x401e20
add esi, edx
inc edx
mov edi, dword [esp + 0x50]
and dword [esp + 0x20], 7
je 0x401ea2
mov dword [esp + 0x1c], ebx
mov ebx, dword [esp]
add ebx, edx
xor edx, edx
mov ecx, dword [esp + 0x20]
nop
nop
nop
nop
nop
movzx eax, byte [ebx + edx]
mov byte [esi + edx], al
inc edx
cmp ecx, edx
jne 0x401e90
add esi, edx
mov ebx, dword [esp + 0x1c]
mov dword [esp], esi
mov eax, dword [esp + 8]
movzx eax, byte [eax + 0xe]
mov byte [esp + 0x31], al
test ebx, ebx
jle 0x401ebf
dec ebx
mov byte [esp + 0x32], 0x2b
mov esi, ebx
jmp 0x401ecb
mov byte [esp + 0x32], 0x2d
mov esi, 1
sub esi, ebx
cmp esi, 0x64
mov eax, 4
sbb eax, 0xffffffff
mov dword [esp + 8], eax
mov eax, esi
mov ecx, 0xcccccccd
mul ecx
shr edx, 2
and edx, 0xfffffffe
lea eax, [edx + edx*4]
mov dword [esp + 0x20], eax
mov ebx, esi
mov eax, esi
mov ecx, 0x66666667
imul ecx
mov ecx, edx
mov eax, edx
shr eax, 0x1f
sar ecx, 2
add ecx, eax
mov eax, ecx
mov edx, 0x66666667
imul edx
sub ebx, dword [esp + 0x20]
mov eax, edx
shr eax, 0x1f
sar edx, 2
add edx, eax
add edx, edx
lea edx, [edx + edx*4]
mov eax, ecx
sub eax, edx
or bl, 0x30
mov edx, dword [esp + 8]
mov byte [esp + 0x30], dl
mov byte [esp + edx + 0x30], bl
add al, 0x30
mov byte [esp + edx + 0x2f], al
cmp esi, 0x64
jb 0x401f7f
mov ebx, edx
mov eax, esi
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
shr edx, 2
add edx, eax
add edx, edx
lea eax, [edx + edx*4]
mov edx, ecx
sub edx, eax
add dl, 0x30
lea eax, [esp + 0x30]
mov byte [ebx + eax - 2], dl
mov edx, dword [esp + 0x14]
lea eax, [edx - 1]
mov esi, dword [esp + 0x18]
xor eax, esi
neg edx
and edx, esi
add edx, edx
sub edx, eax
mov dword [esp + 0x14], edx
mov dword [esp + 0x38], ecx
mov ebx, 0x3000001
jmp 0x4028c4
mov edx, dword [esp + 0x14]
cmp eax, edx
jl 0x401fb0
mov eax, edx
sub eax, ecx
mov dword [esp + 0x14], eax
jmp 0x402368
mov dword [esp + 0x14], edx
jmp 0x401fc5
mov dword [esp + 0x14], ecx
mov dword [esp + 0x28], eax
mov edx, dword [esp + 4]
mov dword [esp + 4], edx
test edx, 0x100
jne 0x40216e
movzx eax, byte [0x44a001]
xor al, 0x1f
mov byte [esp + 0x18], al
mov esi, 0x200
mov dword [esp], 0
mov edx, dword [esp + 0x14]
nop
nop
nop
nop
nop
nop
cmp ebx, 0x5f5e100
mov eax, edx
sbb eax, 0
jb 0x402030
push 0
push 0x5f5e100
push edx
push ebx
call fcn.0040c5e0
imul ecx, eax, 0x5f5e100
sub ebx, ecx
mov dword [esp + 0x20], eax
jmp 0x40203a
mov dword [esp + 0x20], 0
xor edx, edx
lea eax, [esp + 0x64]
add eax, esi
mov dword [esp + 8], eax
test byte [esp + 4], 0x40
mov dword [esp + 0x14], edx
jne 0x4020a0
nop
mov eax, ebx
mov ecx, 0x51eb851f
mul ecx
shr edx, 5
imul ecx, edx, 0x64
mov eax, ebx
sub eax, ecx
mov ecx, eax
and ecx, 0x7d
mov edi, eax
and edi, 2
or eax, 2
imul eax, edi
xor edi, 2
imul edi, ecx
movzx eax, word [edi + eax + str.00010203040506070809101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899]
mov word [esp + esi + 0x6a], ax
add esi, 0xfffffffe
cmp ebx, 0x64
mov ebx, edx
jae 0x402050
mov edi, dword [esp + 0x50]
mov edx, dword [esp + 0x14]
mov ecx, dword [esp]
jmp 0x402100
test ebx, ebx
mov ecx, dword [esp]
jne 0x4020dd
jmp 0x402100
inc ecx
mov dword [esp], ecx
mov eax, ebx
mov ecx, 0xcccccccd
mul ecx
shr edx, 3
lea eax, [edx + edx]
lea eax, [eax + eax*4]
sub ebx, eax
or bl, 0x30
mov byte [esp + esi + 0x6b], bl
dec esi
mov ebx, edx
mov edx, dword [esp + 0x14]
mov ecx, dword [esp]
test ebx, ebx
je 0x402100
test byte [esp + 4], 0x40
je 0x4020b1
cmp ecx, 3
jne 0x4020b0
movzx eax, byte [esp + 0x18]
mov byte [esp + esi + 0x6b], al
dec esi
dec dword [esp + 8]
xor ecx, ecx
test ebx, ebx
jne 0x4020dd
nop
nop
nop
mov ebx, dword [esp + 0x20]
mov eax, ebx
or eax, edx
je 0x4021f2
mov dword [esp], ecx
lea eax, [esp + esi]
add eax, 0x6c
cmp eax, dword [esp + 8]
mov ecx, dword [esp + 4]
jne 0x40214a
jmp 0x402000
inc eax
mov dword [esp], eax
mov byte [esp + esi + 0x6b], 0x30
dec esi
lea eax, [esp + esi]
add eax, 0x6c
cmp eax, dword [esp + 8]
je 0x402000
test cl, 0x40
je 0x402134
mov eax, dword [esp]
cmp eax, 3
jne 0x402130
movzx eax, byte [esp + 0x18]
mov byte [esp + esi + 0x6b], al
dec esi
dec dword [esp + 8]
mov dword [esp], 0
jmp 0x40213a
mov eax, 1
mov ecx, dword [esp + 0x1c]
cmp ecx, 0xffffffff
mov edx, dword [esp + 0x14]
je 0x402182
mov eax, ecx
mov dword [esp + 0x1c], 0
cmp ebx, 0x400
mov ecx, edx
sbb ecx, 0
jb 0x40219b
mov dword [esp + 0x1c], eax
mov dword [esp + 0x60], ebx
mov dword [esp + 0x64], edx
fild qword [esp + 0x60]
xor eax, eax
mov ecx, dword [esp + 4]
test ecx, 0x800
sete al
fld qword [eax*8 + 0x447550]
cmp ecx, 0x3ffffff
ja 0x40226e
fld st(0)
fchs
fxch st(1)
fucom st(2)
fnstsw ax
sahf
jbe 0x402296
fxch st(2)
fucom st(1)
fnstsw ax
sahf
fxch st(2)
jbe 0x402296
fstp st(0)
fstp st(0)
jmp 0x40231b
cmp byte [esp + esi + 0x6c], 0x30
sete al
cmp esi, 0x200
setne cl
mov byte [esp + 0x30], 0
mov byte [esp + 0x3c], 0
mov dl, 0x2d
cmp byte [esp + 4], 0
mov ebx, dword [esp + 0xc]
js 0x40222c
mov dl, 0x20
test byte [esp + 4], 4
jne 0x40222c
mov dl, 0x2b
test byte [esp + 4], 2
je 0x402235
mov byte [esp + 0x3c], 1
mov byte [esp + 0x3d], dl
and cl, al
movzx eax, cl
add esi, eax
lea edx, [esp + esi]
add edx, 0x6c
lea eax, [esi - 0x200]
neg eax
mov dword [esp + 0x24], eax
cmp esi, 0x200
mov dword [esp + 0xc], ebx
jne 0x402275
mov byte [edx - 1], 0x30
dec edx
mov dword [esp + 0x24], 1
mov ecx, 1
jmp 0x402277
fstp st(0)
jmp 0x40231b
mov ecx, eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x14], 0
test eax, eax
jg 0x402289
xor eax, eax
mov ebx, ecx
add ebx, 0x3000000
jmp 0x4029a5
mov eax, dword [esp + 4]
lea ecx, [eax + 0x1000000]
fdiv st(2), st(0)
cmp eax, 0x2ffffff
ja 0x402313
fucom st(2)
fnstsw ax
sahf
jbe 0x4022bb
fxch st(2)
fucom st(1)
fnstsw ax
sahf
fxch st(2)
ja 0x402313
mov eax, dword [esp + 4]
lea ecx, [eax + 0x2000000]
fdiv st(2), st(0)
cmp eax, 0x1ffffff
ja 0x402313
fucom st(2)
fnstsw ax
sahf
jbe 0x4022e0
fxch st(2)
fucom st(1)
fnstsw ax
sahf
fxch st(2)
ja 0x402313
mov eax, dword [esp + 4]
lea ecx, [eax + 0x3000000]
fdiv st(2), st(0)
cmp eax, 0xffffff
ja 0x402313
fucom st(2)
fnstsw ax
sahf
jbe 0x4035f3
fxch st(2)
fucom st(1)
fstp st(1)
fnstsw ax
sahf
fldz
fxch st(1)
fxch st(2)
jbe 0x4035f3
fstp st(0)
fstp st(0)
mov dword [esp + 4], ecx
mov ecx, 6
mov eax, dword [esp + 0x1c]
cmp eax, 0xffffffff
je 0x40232b
mov ecx, eax
sub esp, 0x18
fstp qword [esp + 8]
lea eax, [esp + 0x50]
mov dword [esp + 4], eax
lea eax, [esp + 0x84]
mov dword [esp], eax
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x10], ecx
lea ecx, [esp + 0x28]
lea edx, [esp + 0x3c]
call fcn.00403660
add esp, 0x18
test eax, eax
je 0x402368
or dword [esp + 4], 0x80
mov byte [esp + 0x30], 0
mov byte [esp + 0x3c], 0
mov al, 0x2d
cmp byte [esp + 4], 0
js 0x40238d
mov al, 0x20
test byte [esp + 4], 4
jne 0x40238d
mov al, 0x2b
test byte [esp + 4], 2
je 0x402396
mov byte [esp + 0x3c], 1
mov byte [esp + 0x3d], al
mov ecx, dword [esp + 0x38]
cmp ecx, 0x7000
jne 0x4023ad
xor ebx, ebx
mov edx, dword [esp + 0x10]
jmp 0x40299b
test ecx, ecx
jle 0x402430
xor ebx, ebx
test byte [esp + 4], 0x40
mov esi, dword [esp + 0x14]
je 0x4023d5
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
cmp ecx, dword [esp + 0x24]
jae 0x4024c0
mov dword [esp + 0x14], esi
mov esi, ebx
xor eax, eax
lea ebx, [esp + 0xac]
jmp 0x40240a
mov edx, ebx
mov ecx, dword [esp + 0x10]
movzx ecx, byte [ecx + eax]
inc ebx
mov byte [edx], cl
inc eax
mov ecx, dword [esp + 0x38]
cmp eax, ecx
jae 0x40253b
test byte [esp + 4], 0x40
je 0x4023f0
inc esi
cmp esi, 4
jne 0x4023f0
mov esi, dword [esp + 4]
and esi, 0x40
shr esi, 6
movzx ecx, byte [0x44a001]
xor cl, 0x1f
mov byte [ebx], cl
inc ebx
jmp 0x4023f0
mov byte [esp + 0xac], 0x30
lea edx, [esp + 0xad]
mov esi, dword [esp + 0x14]
test esi, esi
je 0x402467
movzx eax, byte [section..data]
mov edx, eax
add dl, al
and dl, 8
sub al, dl
add al, 0x84
mov byte [esp + 0xad], al
lea edx, [esp + 0xae]
neg ecx
mov eax, esi
cmp esi, ecx
jl 0x402471
mov eax, ecx
test eax, eax
mov dword [esp + 8], eax
je 0x402706
mov ebx, edx
mov eax, edx
and eax, 3
je 0x402702
not ebx
and ebx, 3
mov eax, dword [esp + 8]
lea esi, [eax - 1]
cmp ebx, esi
jb 0x40249c
mov ebx, esi
lea eax, [ebx + 1]
push eax
push 0x30
mov dword [esp + 8], edx
push edx
call fcn.0040c760
add esp, 0xc
mov edx, dword [esp]
add edx, ebx
inc edx
sub esi, ebx
mov eax, dword [esp + 8]
jmp 0x402708
mov dword [esp + 8], ebx
xor eax, eax
mov ebx, 0xffffffff
mov esi, 1
lea ecx, [esp + 0xac]
mov dword [esp], ecx
jmp 0x402501
mov dword [esp + 8], ecx
mov edx, dword [esp]
mov ecx, dword [esp + 0x10]
movzx ecx, byte [ecx + esi - 1]
mov byte [edx], cl
lea ecx, [edx + 1]
mov dword [esp], ecx
inc eax
dec ebx
inc esi
cmp eax, dword [esp + 0x24]
jae 0x4025cd
test byte [esp + 4], 0x40
je 0x4024e0
mov ecx, dword [esp + 8]
inc ecx
cmp ecx, 4
jne 0x4024dc
mov ecx, dword [esp + 4]
and ecx, 0x40
shr ecx, 6
mov dword [esp + 8], ecx
movzx ecx, byte [0x44a001]
mov edx, ecx
add dl, cl
and dl, 0x3e
sub cl, dl
add cl, 0x1f
mov edx, dword [esp]
mov byte [edx], cl
inc edx
jmp 0x4024e3
mov dword [esp], ebx
cmp dword [esp + 0x14], 0
je 0x402565
movzx ecx, byte [section..data]
mov ch, cl
add ch, cl
and ch, 8
sub cl, ch
add cl, 0x84
mov byte [edx + 1], cl
add edx, 2
mov ecx, dword [esp + 0x38]
mov dword [esp], edx
mov esi, dword [esp + 0x24]
mov dword [esp + 8], esi
sub esi, ecx
mov edx, dword [esp + 0x14]
cmp esi, edx
mov esi, edx
mov edx, dword [esp + 8]
jbe 0x402584
lea edx, [ecx + esi]
mov dword [esp + 0x24], edx
mov dword [esp + 8], edx
cmp eax, edx
jae 0x4025af
mov edx, dword [esp]
nop
mov ecx, dword [esp + 0x10]
movzx ecx, byte [ecx + eax]
mov byte [edx], cl
inc edx
inc eax
mov ecx, dword [esp + 0x24]
cmp eax, ecx
jb 0x402590
mov dword [esp + 8], ecx
mov dword [esp], edx
mov ecx, dword [esp + 0x38]
lea eax, [esp + 0xac]
sub ebx, eax
add ebx, 0x3000000
sub esi, dword [esp + 8]
add esi, ecx
mov dword [esp + 0x14], esi
jmp 0x40283f
mov dword [esp + 0x18], edx
mov edx, dword [esp + 0x38]
mov ecx, edx
sub ecx, eax
jbe 0x40266e
test byte [esp + 4], 0x40
jne 0x4028ee
mov dword [esp + 0x20], edx
cmp edx, eax
mov edx, dword [esp + 8]
je 0x403570
mov eax, dword [esp]
and eax, 3
je 0x403570
mov ecx, 2
sub ecx, dword [esp + 0x18]
and ecx, 3
mov eax, dword [esp + 0x20]
sub eax, esi
mov edx, ecx
mov dword [esp + 0x1c], ecx
cmp ecx, eax
jb 0x402624
mov edx, eax
mov dword [esp + 0x48], edx
lea eax, [edx + 1]
push eax
push 0x30
push dword [esp + 8]
call fcn.0040c760
add esp, 0xc
mov ecx, dword [esp + 0x20]
add ebx, ecx
mov eax, dword [esp + 0x1c]
cmp ebx, eax
jb 0x40264a
mov ebx, eax
sub ecx, ebx
sub ecx, esi
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x48]
lea esi, [eax + edx]
add esi, 2
mov eax, ecx
mov edx, dword [esp + 8]
jmp 0x403575
mov ecx, edx
jmp 0x40290a
mov edx, dword [esp + 0x14]
mov esi, dword [esp]
mov eax, esi
lea ecx, [esp + 0xac]
xor eax, ecx
mov ebx, esi
and ebx, dword [esp + 0x58]
add ebx, ebx
sub ebx, eax
add ebx, 0x3000000
test edx, edx
je 0x4026f2
movzx eax, byte [section..data]
mov ecx, eax
or cl, 0x7b
not al
or al, 0x84
and al, cl
not al
mov byte [esi], al
inc esi
mov dword [esp], esi
jmp 0x40283f
mov byte [esp + 0x30], 3
or al, 0x30
mov byte [esp + 0x33], al
add dword [esp + 0x28], 8
mov eax, ebx
sub eax, dword [esp + 8]
mov dword [esp + 0x38], eax
mov eax, ebx
lea ecx, [esp + 0xac]
xor eax, ecx
and ebx, dword [esp + 0x58]
add ebx, ebx
sub ebx, eax
mov dword [esp + 0x24], ebx
xor eax, eax
mov ebx, 0x3000001
mov edx, ecx
jmp 0x4029a5
mov dword [esp], esi
mov dword [esp + 0x14], 0
jmp 0x40283f
mov eax, dword [esp + 8]
mov esi, eax
cmp esi, 4
jl 0x402749
mov eax, esi
cmp esi, 7
jl 0x402719
mov eax, 7
neg eax
add eax, esi
add eax, 3
and eax, 0xfffffffc
mov dword [esp], eax
add eax, 4
push eax
push 0x30
mov ebx, edx
push edx
call fcn.0040c760
add esp, 0xc
mov eax, dword [esp]
lea edx, [eax + ebx]
add edx, 4
sub esi, eax
add esi, 0xfffffffc
mov eax, dword [esp + 8]
test esi, esi
je 0x402763
push esi
push 0x30
mov ebx, edx
push edx
call fcn.0040c760
mov eax, dword [esp + 0x14]
add esp, 0xc
add ebx, esi
jmp 0x402765
mov ebx, edx
mov esi, dword [esp + 0x24]
lea ecx, [esi + eax]
mov edx, dword [esp + 0x14]
cmp ecx, edx
jle 0x40277c
mov esi, edx
sub esi, eax
mov dword [esp + 0x24], esi
test esi, esi
mov dword [esp + 0x18], esi
je 0x40281d
mov dword [esp], edx
cmp edx, ecx
jl 0x402792
mov dword [esp], ecx
mov ecx, esi
and ecx, 3
je 0x4027c6
xor esi, esi
mov eax, ebx
nop
nop
nop
mov ebx, dword [esp + 0x10]
lea edx, [ebx + 1]
mov dword [esp + 0x10], edx
movzx edx, byte [ebx]
mov byte [eax + esi], dl
inc esi
cmp ecx, esi
jne 0x4027a0
add eax, esi
mov ebx, eax
mov ecx, dword [esp + 0x18]
sub ecx, esi
mov eax, dword [esp + 8]
jmp 0x4027c8
mov ecx, esi
mov edx, eax
sub edx, dword [esp]
cmp edx, 0xfffffffc
ja 0x40281d
mov edx, dword [esp + 0x10]
lea esi, [edx + 1]
mov dword [esp + 0x10], esi
movzx edx, byte [edx]
mov byte [ebx], dl
mov edx, dword [esp + 0x10]
lea esi, [edx + 1]
mov dword [esp + 0x10], esi
movzx edx, byte [edx]
mov byte [ebx + 1], dl
mov edx, dword [esp + 0x10]
lea esi, [edx + 1]
mov dword [esp + 0x10], esi
movzx edx, byte [edx]
mov byte [ebx + 2], dl
mov edx, dword [esp + 0x10]
lea esi, [edx + 1]
mov dword [esp + 0x10], esi
movzx edx, byte [edx]
mov byte [ebx + 3], dl
add ebx, 4
add ecx, 0xfffffffc
jne 0x4027d2
mov dword [esp], ebx
mov esi, dword [esp + 0x18]
add esi, eax
mov ecx, esi
not ecx
mov edx, dword [esp + 0x14]
and ecx, edx
not edx
and edx, esi
sub ecx, edx
mov ebx, 0x3000001
mov dword [esp + 0x14], ecx
mov esi, dword [esp + 4]
test esi, 0x100
je 0x4028c4
mov eax, esi
and eax, 0x400
sete byte [esp + 0x30]
mov byte [esp + 0x31], 0x20
cmp esi, 0x1000000
jb 0x4028c4
mov dword [esp + 0x18], ebx
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 0x402898
movzx ecx, byte [ecx + str._kMGT]
mov byte [esp + edx + 0x30], cl
jmp 0x4028bc
movzx ecx, byte [ecx + str._KMGT]
mov byte [esp + edx + 0x30], cl
mov ecx, esi
and ecx, 0x1800
cmp ecx, 0x800
jne 0x4028bc
movzx eax, al
mov byte [esp + eax + 0x31], 0x69
inc eax
mov ebx, dword [esp + 0x18]
mov byte [esp + 0x30], al
mov edx, dword [esp]
mov eax, edx
lea ecx, [esp + 0xac]
xor eax, ecx
and edx, dword [esp + 0x58]
add edx, edx
sub edx, eax
mov dword [esp + 0x24], edx
xor eax, eax
mov edx, ecx
jmp 0x4029a5
mov ebx, edx
jmp 0x40297c
mov ebx, dword [esp + 8]
mov edx, dword [esp + 0x14]
mov esi, dword [esp]
mov eax, ecx
test eax, eax
jne 0x4035be
jmp 0x402675
mov ebx, eax
mov dword [esp], ebx
mov esi, ebx
mov dword [esp + 8], ecx
mov eax, ecx
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov ebx, eax
mov ecx, esi
cmp esi, 4
jb 0x402958
mov eax, dword [ebx]
mov esi, eax
not esi
mov edi, edx
mov edx, 0x1010100
sub edx, eax
or edx, esi
add edx, eax
add edx, 0xfefeff00
lea eax, [ebx + 4]
lea esi, [ecx - 4]
test edx, 0x80808080
mov edx, edi
mov edi, dword [esp + 0x50]
je 0x402920
jmp 0x40295c
test ecx, ecx
je 0x40297c
mov eax, edx
mov edx, dword [esp]
add dword [esp + 8], edx
xor edx, edx
cmp byte [ebx + edx], 0
je 0x402978
inc edx
cmp ecx, edx
jne 0x402967
mov ebx, dword [esp + 8]
jmp 0x40297a
add ebx, edx
mov edx, eax
add dword [esp + 0x28], 4
sub ebx, edx
mov dword [esp + 0x24], ebx
mov byte [esp + 0x3c], 0
mov byte [esp + 0x30], 0
mov dword [esp + 0x38], 0
xor ebx, ebx
mov dword [esp + 0x14], 0
xor eax, eax
mov dword [esp + 0x18], ebx
mov dword [esp], edx
mov ecx, dword [esp + 0x24]
cmp eax, ecx
jg 0x4029b6
mov eax, ecx
mov dword [esp + 0x20], ecx
mov ebx, eax
movsx eax, byte [esp + 0x3c]
movsx edx, byte [esp + 0x30]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x1c], ebx
add ecx, ebx
add ecx, eax
add ecx, edx
cmp dword [esp + 0x2c], ecx
jg 0x4029e0
mov edx, ecx
mov dword [esp + 0x2c], ecx
sub dword [esp + 0x2c], ecx
mov edx, dword [esp + 0x1c]
mov ecx, edx
not ecx
mov ebx, dword [esp + 0x20]
and ecx, ebx
not ebx
and ebx, edx
sub ebx, ecx
mov dword [esp + 0x20], ebx
mov ecx, dword [esp + 4]
test cl, 1
mov edx, dword [esp]
mov ebx, dword [esp + 0x18]
jne 0x402a39
test cl, 0x10
jne 0x402a1b
mov dword [esp + 4], 0
jmp 0x402a39
mov ecx, dword [esp + 0x20]
cmp dword [esp + 0x2c], ecx
jg 0x402a29
mov dword [esp + 0x2c], ecx
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x2c], 0
mov ecx, dword [esp + 0x2c]
add ecx, dword [esp + 0x20]
je 0x402f0b
test byte [esp + 4], 1
jne 0x402b8e
cmp dword [esp + 0x2c], 0
jg 0x402a7e
jmp 0x402b8e
mov edi, eax
mov dword [esp + 0xc], eax
mov edx, dword [esp + 8]
mov ecx, dword [esp + 0x2c]
sub ecx, edx
mov eax, ecx
mov dword [esp + 0x2c], ecx
test ecx, ecx
jle 0x402b89
mov edx, dword [esp + 0x2c]
cmp dword [ebp + 8], 0
je 0x402aab
mov ecx, edi
sub ecx, dword [esp + 0xc]
mov eax, ecx
not eax
and ecx, 0xfffffdff
and eax, 0x200
sub eax, ecx
mov ecx, dword [esp + 0x2c]
mov edx, ecx
cmp ecx, eax
jl 0x402aab
mov edx, eax
test edx, edx
mov dword [esp + 8], edx
je 0x402af0
mov eax, edi
and eax, 3
je 0x402af0
mov esi, edi
not esi
and esi, 3
lea ebx, [edx - 1]
cmp esi, ebx
jb 0x402aca
mov esi, ebx
lea eax, [esi + 1]
push eax
push 0x20
push edi
call fcn.0040c760
mov ecx, ebx
add esp, 0xc
add edi, esi
inc edi
sub ecx, esi
mov ebx, dword [esp + 0x18]
mov edx, dword [esp + 8]
cmp ecx, 4
jge 0x402af7
jmp 0x402b33
mov ecx, edx
cmp ecx, 4
jl 0x402b33
mov eax, ecx
cmp ecx, 7
jl 0x402b03
mov eax, 7
neg eax
lea esi, [ecx + eax]
add esi, 3
and esi, 0xfffffffc
lea eax, [esi + 4]
push eax
push 0x20
push edi
mov ebx, ecx
call fcn.0040c760
mov ecx, ebx
add esp, 0xc
add edi, esi
add edi, 4
sub ecx, esi
add ecx, 0xfffffffc
mov ebx, dword [esp + 0x18]
mov edx, dword [esp + 8]
test ecx, ecx
je 0x402b4f
push ecx
push 0x20
push edi
mov esi, ebx
mov ebx, ecx
call fcn.0040c760
mov edx, dword [esp + 0x14]
add esp, 0xc
add edi, ebx
mov ebx, esi
cmp dword [ebp + 8], 0
je 0x402a6a
mov eax, edi
sub eax, dword [esp + 0xc]
cmp eax, 0x1ff
jl 0x402a6a
add dword [esp + 0x44], eax
push eax
push dword [ebp + 0xc]
push dword [esp + 0x14]
call dword [ebp + 8]
add esp, 0xc
test eax, eax
jne 0x402a60
jmp 0x403636
movzx eax, byte [esp + 0x3c]
lea ecx, [esp + 0x3d]
mov dword [esp + 0x10], ecx
jmp 0x402bab
mov edi, eax
mov dword [esp + 0xc], eax
movzx eax, byte [esp + 0x3c]
test al, al
je 0x402cbd
movsx edx, al
mov ecx, dword [esp + 0xc]
sub ecx, edi
add ecx, 0x200
cmp ecx, edx
jl 0x402bc8
mov ecx, edx
cmp dword [ebp + 8], 0
jne 0x402bd0
mov ecx, edx
sub al, cl
mov byte [esp + 0x3c], al
test ecx, ecx
je 0x402c6b
mov eax, ecx
and eax, 3
je 0x402cb0
mov ebx, ecx
xor edx, edx
nop
nop
nop
mov esi, dword [esp + 0x10]
mov ecx, edi
lea edi, [esi + 1]
mov dword [esp + 0x10], edi
mov edi, ecx
movzx ecx, byte [esi]
mov byte [edi + edx], cl
inc edx
cmp eax, edx
jne 0x402bf0
add edi, edx
mov esi, ebx
mov eax, ebx
sub eax, edx
mov ecx, ebx
mov ebx, dword [esp + 0x18]
cmp ecx, 4
jb 0x402c6b
nop
nop
nop
mov ecx, dword [esp + 0x10]
lea edx, [ecx + 1]
mov dword [esp + 0x10], edx
movzx ecx, byte [ecx]
mov byte [edi], cl
mov ecx, dword [esp + 0x10]
lea edx, [ecx + 1]
mov dword [esp + 0x10], edx
movzx ecx, byte [ecx]
mov byte [edi + 1], cl
mov ecx, dword [esp + 0x10]
lea edx, [ecx + 1]
mov dword [esp + 0x10], edx
movzx ecx, byte [ecx]
mov byte [edi + 2], cl
mov ecx, dword [esp + 0x10]
lea edx, [ecx + 1]
mov dword [esp + 0x10], edx
movzx ecx, byte [ecx]
mov byte [edi + 3], cl
add edi, 4
add eax, 0xfffffffc
jne 0x402c20
cmp dword [ebp + 8], 0
je 0x402ba6
mov eax, edi
sub eax, dword [esp + 0xc]
cmp eax, 0x1ff
jl 0x402ba6
add dword [esp + 0x44], eax
push eax
push dword [ebp + 0xc]
push dword [esp + 0x14]
call dword [ebp + 8]
add esp, 0xc
test eax, eax
jne 0x402ba0
jmp 0x403636
mov eax, ecx
cmp ecx, 4
jae 0x402c20
jmp 0x402c6b
mov eax, ebx
shr eax, 0x18
mov dword [esp + 8], eax
xor esi, esi
test byte [esp + 4], 0x40
je 0x402ce8
and ebx, 0xffffff
add ebx, dword [esp + 0x20]
mov esi, dword [esp + 8]
lea ecx, [esi + 1]
mov eax, ebx
xor edx, edx
div ecx
sub esi, edx
mov ebx, dword [esp + 0x20]
test ebx, ebx
jle 0x40304d
mov edx, dword [esp]
jmp 0x402d0e
mov ecx, dword [esp + 0x18]
sub ebx, ecx
test ebx, ebx
jle 0x402f06
mov eax, dword [esp + 0xc]
sub eax, edi
add eax, 0x200
mov ecx, ebx
cmp ebx, eax
jl 0x402d21
mov ecx, eax
cmp dword [ebp + 8], 0
jne 0x402d29
mov ecx, ebx
test byte [esp + 4], 0x40
mov dword [esp + 0x18], ecx
mov dword [esp + 0x20], ebx
jne 0x402d90
test ecx, ecx
je 0x402da0
mov eax, edi
and eax, 3
je 0x402da0
mov eax, edi
not eax
and eax, 3
lea ebx, [ecx - 1]
cmp eax, ebx
jb 0x402d53
mov eax, ebx
mov dword [esp + 0x1c], ebx
mov ebx, eax
inc eax
push eax
push 0x30
push edi
call fcn.0040c760
mov eax, dword [esp + 0x28]
add esp, 0xc
add edi, ebx
inc edi
sub eax, ebx
mov edx, dword [esp]
mov ecx, dword [esp + 0x18]
mov ebx, dword [esp + 0x20]
cmp eax, 4
jge 0x402da7
jmp 0x402df1
mov eax, ecx
jmp 0x402df1
mov eax, ecx
cmp eax, 4
jl 0x402df1
mov ecx, edi
mov edx, eax
mov edi, eax
cmp eax, 7
jl 0x402db7
mov eax, 7
neg eax
mov dword [esp + 0x1c], edi
add edi, eax
add edi, 3
and edi, 0xfffffffc
lea eax, [edi + 4]
push eax
push 0x30
mov ebx, ecx
push ecx
call fcn.0040c760
mov eax, dword [esp + 0x28]
add esp, 0xc
add ebx, edi
add ebx, 4
sub eax, edi
add eax, 0xfffffffc
mov edi, ebx
mov edx, dword [esp]
mov ebx, dword [esp + 0x20]
mov ecx, dword [esp + 0x18]
test eax, eax
je 0x402e32
test al, 1
jne 0x402e00
mov ebx, eax
jmp 0x402e29
mov ebx, eax
mov al, 0x30
test byte [esp + 4], 0x40
je 0x402e1f
cmp esi, dword [esp + 8]
jne 0x402e1e
movzx eax, byte [0x44a001]
xor al, 0x1f
xor esi, esi
jmp 0x402e1f
inc esi
mov byte [edi], al
inc edi
mov eax, ebx
not eax
lea eax, [eax + ebx*2]
cmp ebx, 1
mov ebx, dword [esp + 0x20]
jne 0x402e5e
cmp dword [ebp + 8], 0
jne 0x402ece
jmp 0x402d04
mov edx, dword [esp]
mov byte [edi + 1], cl
add edi, 2
add eax, 0xfffffffe
je 0x402ec0
mov cl, 0x30
test byte [esp + 4], 0x40
je 0x402e81
cmp esi, dword [esp + 8]
jne 0x402e80
movzx edx, byte [0x44a001]
xor dl, 0x1f
xor esi, esi
jmp 0x402e83
inc esi
mov dl, 0x30
mov byte [edi], dl
test byte [esp + 4], 0x40
je 0x402e50
cmp esi, dword [esp + 8]
mov edx, dword [esp]
jne 0x402eb0
movzx ecx, byte [0x44a001]
xor cl, 0x1f
xor esi, esi
jmp 0x402e53
inc esi
jmp 0x402e53
mov ecx, dword [esp + 0x18]
cmp dword [ebp + 8], 0
je 0x402d04
mov eax, edi
mov ecx, dword [esp + 0xc]
sub eax, ecx
cmp eax, 0x1ff
jl 0x402d00
add dword [esp + 0x44], eax
push eax
push dword [ebp + 0xc]
push ecx
call dword [ebp + 8]
add esp, 0xc
test eax, eax
je 0x403636
mov edi, eax
mov dword [esp + 0xc], eax
mov edx, dword [esp]
jmp 0x402d00
movzx eax, byte [esp + 0x3c]
lea ecx, [esp + 0x3d]
mov dword [esp + 0x10], ecx
jmp 0x402f2e
mov edi, eax
mov dword [esp + 0xc], eax
mov edx, dword [esp]
movzx eax, byte [esp + 0x3c]
test al, al
je 0x403058
movsx ecx, al
mov esi, dword [esp + 0xc]
mov ebx, esi
sub esi, edi
add esi, 0x200
cmp esi, ecx
jl 0x402f4d
mov esi, ecx
cmp dword [ebp + 8], 0
jne 0x402f55
mov esi, ecx
mov edx, ecx
not edx
and edx, esi
mov eax, esi
not eax
and eax, ecx
sub eax, edx
mov byte [esp + 0x3c], al
test esi, esi
je 0x402ffb
mov ecx, esi
and ecx, 3
je 0x403040
xor edx, edx
nop
nop
nop
nop
mov eax, dword [esp + 0x10]
mov ebx, edi
lea edi, [eax + 1]
mov dword [esp + 0x10], edi
mov edi, ebx
movzx eax, byte [eax]
mov byte [ebx + edx], al
inc edx
cmp ecx, edx
jne 0x402f80
add edi, edx
mov ecx, esi
sub ecx, edx
mov ebx, dword [esp + 0xc]
cmp esi, 4
jb 0x402ffb
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp + 0x10]
lea edx, [eax + 1]
mov dword [esp + 0x10], edx
movzx eax, byte [eax]
mov byte [edi], al
mov eax, dword [esp + 0x10]
lea edx, [eax + 1]
mov dword [esp + 0x10], edx
movzx eax, byte [eax]
mov byte [edi + 1], al
mov eax, dword [esp + 0x10]
lea edx, [eax + 1]
mov dword [esp + 0x10], edx
movzx eax, byte [eax]
mov byte [edi + 2], al
mov eax, dword [esp + 0x10]
lea edx, [eax + 1]
mov dword [esp + 0x10], edx
movzx eax, byte [eax]
mov byte [edi + 3], al
add edi, 4
add ecx, 0xfffffffc
jne 0x402fb0
mov dword [esp + 0xc], ebx
cmp dword [ebp + 8], 0
je 0x402f26
mov eax, edi
sub eax, dword [esp + 0xc]
lea ecx, [eax + 1]
cmp ecx, 0x200
jl 0x402f26
add dword [esp + 0x44], eax
push eax
push dword [ebp + 0xc]
push dword [esp + 0x14]
call dword [ebp + 8]
add esp, 0xc
test eax, eax
jne 0x402f20
jmp 0x403636
mov ecx, esi
cmp esi, 4
jae 0x402fb0
jmp 0x402ffb
lea eax, [esp + 0x3d]
mov dword [esp + 0x10], eax
mov edx, dword [esp]
mov ebx, dword [esp + 0x24]
test ebx, ebx
jne 0x4031b9
mov ecx, dword [esp + 0x14]
test ecx, ecx
jne 0x4032fc
lea eax, [esp + 0x31]
mov dword [esp + 0x10], eax
nop
nop
nop
nop
nop
nop
nop
nop
movzx eax, byte [esp + 0x30]
test al, al
je 0x40341f
movsx ecx, al
mov eax, ecx
cmp dword [ebp + 8], 0
je 0x4030b7
mov eax, edi
sub eax, dword [esp + 0xc]
mov edx, eax
xor edx, 0x200
not eax
and eax, 0x200
add eax, eax
sub eax, edx
cmp eax, ecx
jl 0x4030b7
mov eax, ecx
sub cl, al
mov byte [esp + 0x30], cl
test eax, eax
je 0x40315b
mov ecx, eax
and ecx, 3
je 0x4031a0
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov esi, dword [esp + 0x10]
mov ebx, edi
lea edi, [esi + 1]
mov dword [esp + 0x10], edi
mov edi, ebx
movzx ebx, byte [esi]
mov byte [edi + edx], bl
inc edx
cmp ecx, edx
jne 0x4030e0
add edi, edx
mov ecx, eax
sub ecx, edx
cmp eax, 4
jb 0x40315b
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp + 0x10]
lea edx, [eax + 1]
mov dword [esp + 0x10], edx
movzx eax, byte [eax]
mov byte [edi], al
mov eax, dword [esp + 0x10]
lea edx, [eax + 1]
mov dword [esp + 0x10], edx
movzx eax, byte [eax]
mov byte [edi + 1], al
mov eax, dword [esp + 0x10]
lea edx, [eax + 1]
mov dword [esp + 0x10], edx
movzx eax, byte [eax]
mov byte [edi + 2], al
mov eax, dword [esp + 0x10]
lea edx, [eax + 1]
mov dword [esp + 0x10], edx
movzx eax, byte [eax]
mov byte [edi + 3], al
add edi, 4
add ecx, 0xfffffffc
jne 0x403110
cmp dword [ebp + 8], 0
je 0x403080
mov eax, edi
sub eax, dword [esp + 0xc]
lea ecx, [eax + 1]
cmp ecx, 0x200
jl 0x403080
add dword [esp + 0x44], eax
push eax
push dword [ebp + 0xc]
push dword [esp + 0x14]
call dword [ebp + 8]
add esp, 0xc
test eax, eax
je 0x403636
mov edi, eax
mov dword [esp + 0xc], eax
jmp 0x403080
mov ecx, eax
cmp eax, 4
jae 0x403110
jmp 0x40315b
sub ebx, dword [esp]
je 0x403064
mov eax, dword [esp + 0xc]
sub eax, edi
add eax, 0x200
mov ecx, ebx
cmp ebx, eax
jl 0x4031cc
mov ecx, eax
cmp dword [ebp + 8], 0
jne 0x4031d4
mov ecx, ebx
mov eax, ecx
mov dword [esp], ecx
cmp ecx, 4
jl 0x4031fb
nop
nop
mov ecx, dword [edx]
mov dword [edi], ecx
add edi, 4
add edx, 4
mov ecx, eax
xor ecx, 4
and eax, 0xfffffffb
add eax, eax
sub eax, ecx
cmp eax, 3
jg 0x4031e0
test eax, eax
je 0x403291
mov ecx, eax
and ecx, 7
je 0x4032e0
mov dword [esp + 8], ebx
mov esi, edi
mov edi, edx
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
movzx ebx, byte [edi + edx]
mov byte [esi + edx], bl
inc edx
cmp ecx, edx
jne 0x403220
add esi, edx
mov ecx, eax
sub ecx, edx
add edi, edx
mov edx, edi
mov edi, esi
mov ebx, dword [esp + 8]
cmp eax, 8
jb 0x403291
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
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 0x403250
cmp dword [ebp + 8], 0
je 0x4031b0
mov eax, edi
sub eax, dword [esp + 0xc]
lea ecx, [eax + 1]
cmp ecx, 0x200
jl 0x4031b0
mov edi, edx
add dword [esp + 0x44], eax
push eax
push dword [ebp + 0xc]
push dword [esp + 0x14]
call dword [ebp + 8]
add esp, 0xc
test eax, eax
je 0x403636
mov dword [esp + 0xc], eax
mov edx, edi
mov edi, eax
jmp 0x4031b0
mov ecx, eax
cmp eax, 8
jae 0x403250
jmp 0x403291
mov ecx, dword [esp + 0x14]
sub ecx, edx
je 0x403070
mov eax, dword [esp + 0xc]
sub eax, edi
add eax, 0x200
mov edx, ecx
mov dword [esp + 0x14], ecx
cmp ecx, eax
jl 0x403313
mov edx, eax
cmp dword [ebp + 8], 0
jne 0x40331d
mov edx, dword [esp + 0x14]
test edx, edx
mov dword [esp], edx
je 0x403360
mov eax, edi
and eax, 3
je 0x403360
mov ebx, edi
not ebx
and ebx, 3
lea esi, [edx - 1]
cmp ebx, esi
jb 0x40333b
mov ebx, esi
lea eax, [ebx + 1]
push eax
push 0x30
push edi
call fcn.0040c760
add esp, 0xc
lea ecx, [ebx + edi]
inc ecx
sub esi, ebx
mov ebx, dword [esp + 0xc]
mov edx, dword [esp]
jmp 0x403368
mov ebx, dword [esp + 0xc]
mov ecx, edi
mov esi, edx
cmp esi, 4
mov dword [esp + 0xc], ebx
jl 0x4033a7
mov eax, esi
cmp esi, 7
jl 0x40337d
mov eax, 7
neg eax
lea edi, [esi + eax]
add edi, 3
and edi, 0xfffffffc
lea eax, [edi + 4]
push eax
push 0x30
mov ebx, ecx
push ecx
call fcn.0040c760
add esp, 0xc
lea ecx, [edi + ebx]
add ecx, 4
sub esi, edi
add esi, 0xfffffffc
mov edx, dword [esp]
test esi, esi
je 0x4033d0
push esi
push 0x30
mov edi, ecx
push ecx
call fcn.0040c760
mov edx, dword [esp + 0xc]
add esp, 0xc
add edi, esi
cmp dword [ebp + 8], 0
jne 0x4033dc
jmp 0x4032f0
mov edi, ecx
cmp dword [ebp + 8], 0
je 0x4032f0
mov ecx, edi
not ecx
mov eax, dword [esp + 0xc]
and ecx, eax
not eax
and eax, edi
sub eax, ecx
cmp eax, 0x1ff
jl 0x4032f0
add dword [esp + 0x44], eax
push eax
push dword [ebp + 0xc]
push dword [esp + 0x14]
call dword [ebp + 8]
add esp, 0xc
test eax, eax
je 0x403636
mov edi, eax
mov dword [esp + 0xc], eax
mov edx, dword [esp]
jmp 0x4032f0
test byte [esp + 4], 1
je 0x403566
cmp dword [esp + 0x2c], 0
mov eax, dword [esp + 0x4c]
jle 0x40356a
jne 0x40344e
jmp 0x40356a
mov eax, dword [esp + 0x4c]
sub dword [esp + 0x2c], edx
je 0x40356a
mov eax, dword [esp + 0xc]
sub eax, edi
add eax, 0x200
mov ecx, dword [esp + 0x2c]
mov esi, ecx
cmp ecx, eax
jl 0x403465
mov esi, eax
cmp dword [ebp + 8], 0
jne 0x40346f
mov esi, dword [esp + 0x2c]
test esi, esi
mov dword [esp + 4], esi
je 0x4034b0
mov eax, edi
and eax, 3
je 0x4034b0
mov ebx, edi
not ebx
and ebx, 3
dec esi
cmp ebx, esi
jb 0x40348c
mov ebx, esi
lea eax, [ebx + 1]
push eax
push 0x20
push edi
call fcn.0040c760
add esp, 0xc
lea ecx, [ebx + edi]
inc ecx
sub esi, ebx
mov ebx, dword [esp + 0xc]
jmp 0x4034b6
mov ebx, dword [esp + 0xc]
mov ecx, edi
cmp esi, 4
mov dword [esp + 0xc], ebx
jl 0x4034f2
mov eax, esi
cmp esi, 7
jl 0x4034cb
mov eax, 7
neg eax
lea edi, [esi + eax]
add edi, 3
and edi, 0xfffffffc
lea eax, [edi + 4]
push eax
push 0x20
mov ebx, ecx
push ecx
call fcn.0040c760
add esp, 0xc
lea ecx, [edi + ebx]
add ecx, 4
sub esi, edi
add esi, 0xfffffffc
test esi, esi
je 0x403510
push esi
push 0x20
mov edi, ecx
push ecx
call fcn.0040c760
add esp, 0xc
add edi, esi
jmp 0x403512
mov edi, ecx
mov eax, dword [esp + 0x4c]
mov edx, dword [esp + 4]
cmp dword [ebp + 8], 0
je 0x403444
mov eax, edi
sub eax, dword [esp + 0xc]
lea ecx, [eax + 1]
cmp ecx, 0x200
jl 0x403440
add dword [esp + 0x44], eax
push eax
push dword [ebp + 0xc]
push dword [esp + 0x14]
call dword [ebp + 8]
add esp, 0xc
test eax, eax
je 0x403636
mov edi, eax
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x4c]
mov edx, dword [esp + 4]
jmp 0x403444
mov eax, dword [esp + 0x4c]
inc eax
jmp 0x401061
mov esi, dword [esp]
mov eax, ecx
mov ebx, edx
cmp eax, 4
jb 0x4035a4
mov dword [esp], esi
mov esi, eax
and esi, 0xfffffffc
push esi
push 0x30
push dword [esp + 8]
mov dword [esp + 0x14], eax
call fcn.0040c760
mov eax, dword [esp + 0x14]
add esp, 0xc
add dword [esp], esi
mov esi, dword [esp]
and eax, 3
mov edx, dword [esp + 0x14]
test eax, eax
jne 0x4035be
jmp 0x402675
mov byte [esi], 0x30
dec eax
inc esi
test eax, eax
je 0x402675
test byte [esp + 4], 0x40
je 0x4035b1
mov ecx, eax
mov eax, ebx
inc eax
mov ebx, eax
cmp eax, 4
mov eax, ecx
jne 0x4035b1
movzx eax, byte [0x44a001]
xor al, 0x1f
mov byte [esi], al
mov eax, ecx
xor ebx, ebx
inc esi
test eax, eax
jne 0x4035be
jmp 0x402675
mov ebx, ecx
jmp 0x40297c
fstp st(1)
or dword [esp + 4], 0x4000000
fdivp st(1)
jmp 0x40231b
mov ebx, dword [esp]
jmp 0x40290a
cmp dword [ebp + 8], 0
je 0x403642
mov eax, edi
sub eax, dword [esp + 0xc]
test eax, eax
jle 0x403645
add dword [esp + 0x44], eax
push eax
push dword [ebp + 0xc]
push dword [esp + 0x14]
call dword [ebp + 8]
add esp, 0xc
mov edi, eax
mov dword [esp + 0xc], eax
jmp 0x403645
xor edi, edi
mov dword [esp + 0xc], 0
jmp 0x403645
mov byte [edi], 0
mov eax, dword [esp + 0x44]
add eax, edi
sub eax, dword [esp + 0xc]
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret