Function at 0x401000
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 + 0x24], eax
mov eax, dword [ebp + 0x14]
mov ebx, dword [ebp + 0x10]
mov dword [esp + 0x48], 0
mov dword [esp + 0x2c], ebx
jmp 0x401049
mov ebx, eax
mov eax, edi
movzx eax, byte [edi]
mov dword [esp + 0x2c], ebx
mov ecx, dword [esp + 0x2c]
mov byte [ecx], al
inc ecx
mov dword [esp + 0x2c], ecx
mov eax, edi
inc eax
mov dword [esp + 0x28], ebx
mov edi, eax
test al, 3
je 0x401060
movzx eax, byte [eax]
jmp 0x40107e
mov eax, dword [eax]
mov esi, eax
not esi
and esi, 0x80808080
mov ecx, eax
xor ecx, 0x25252525
add ecx, 0xfefefeff
test ecx, esi
je 0x4010cf
cmp al, 0x25
je 0x40115b
mov esi, dword [ebp + 8]
test al, al
mov ebx, dword [esp + 0x28]
je 0x4035b9
test esi, esi
je 0x40103b
mov ecx, dword [esp + 0x2c]
sub ecx, ebx
cmp ecx, 0x1ff
jl 0x40103b
mov eax, ecx
mov edx, dword [esp + 0x48]
and eax, edx
xor edx, ecx
lea edx, [edx + eax*2]
mov dword [esp + 0x48], edx
push ecx
push dword [ebp + 0xc]
push ebx
call esi
add esp, 0xc
test eax, eax
jne 0x401030
jmp 0x4035dd
mov ecx, dword [esp + 0x2c]
add ecx, ecx
mov ebx, dword [esp + 0x28]
sub ecx, ebx
sub ecx, ebx
mov edx, dword [esp + 0x2c]
sub edx, ebx
jmp 0x401129
mov esi, dword [esp + 0x2c]
mov dword [esi], eax
add esi, 4
mov dword [esp + 0x2c], esi
mov eax, dword [edi + 4]
add edi, 4
mov esi, eax
not esi
and esi, 0x80808080
mov ebx, eax
xor ebx, 0x25252525
add ebx, 0xfefefeff
add ecx, 8
add edx, 4
test ebx, esi
jne 0x40107e
lea ebx, [eax - 0x1010101]
test esi, ebx
jne 0x401086
cmp dword [ebp + 8], 0
je 0x4010f0
mov esi, ecx
not esi
and esi, 0x400
mov ebx, edx
xor ebx, 0x200
sub esi, ebx
cmp esi, 4
jge 0x4010f0
jmp 0x40107e
add edi, 2
mov ecx, edi
mov dword [esp], 0
mov edi, dword [esp + 0x2c]
jmp 0x401180
or dword [esp], 1
inc ecx
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx eax, byte [ecx - 1]
lea edx, [eax - 0x20]
cmp edx, 0x3f
ja case.0x401190.33
jmp dword [edx*4 + 0x44d564]
or dword [esp], 4
inc ecx
jmp 0x401180
or dword [esp], 8
inc ecx
jmp 0x401180
or dword [esp], 0x400
inc ecx
jmp 0x401180
or dword [esp], 0x40
inc ecx
jmp 0x401180
test dword [esp], 0x100
jne 0x4011de
or dword [esp], 0x100
inc ecx
jmp 0x401180
mov edx, dword [esp]
mov eax, edx
not eax
or eax, 0xfffffffd
add edx, eax
add edx, 3
mov dword [esp], edx
inc ecx
jmp 0x401180
test dword [esp], 0x800
jne 0x4011f1
or dword [esp], 0x800
inc ecx
jmp 0x401180
or dword [esp], 0x1000
inc ecx
jmp 0x401180
or dword [esp], 0x10
movzx eax, byte [ecx]
cmp al, 0x2a
jne 0x40121f
mov eax, dword [esp + 0x24]
mov esi, dword [eax]
add eax, 4
mov dword [esp + 0x24], eax
movzx eax, byte [ecx + 1]
inc ecx
jmp 0x40124b
dec ecx
cmp al, 0x2a
je 0x401206
mov edx, eax
add dl, 0xd0
xor esi, esi
cmp dl, 9
ja 0x40124b
xor esi, esi
nop
nop
nop
movzx eax, al
lea edx, [esi + esi*4]
lea esi, [eax + edx*2]
add esi, 0xffffffd0
movzx eax, byte [ecx + 1]
inc ecx
mov edx, eax
add dl, 0xd0
cmp dl, 0xa
jb 0x401230
mov dword [esp + 0x10], 0xffffffff
cmp al, 0x2e
mov dword [esp + 0x38], esi
jne 0x4012cb
movzx eax, byte [ecx + 1]
cmp al, 0x2a
jne 0x40127d
mov eax, dword [esp + 0x24]
mov edx, dword [eax]
mov dword [esp + 0x10], edx
add eax, 4
mov dword [esp + 0x24], eax
movzx eax, byte [ecx + 2]
add ecx, 2
jmp 0x4012cb
inc ecx
mov edx, eax
add dl, 0xd0
mov dword [esp + 0x10], 0
cmp dl, 9
ja 0x4012cb
xor esi, esi
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
add esi, esi
lea esi, [esi + esi*4]
neg al
movsx eax, al
sub esi, eax
mov eax, esi
xor eax, 0x30
and esi, 0xffffffcf
add esi, esi
sub esi, eax
movzx eax, byte [ecx + 1]
inc ecx
mov edx, eax
add dl, 0xd0
cmp dl, 0xa
jb 0x4012a0
mov dword [esp + 0x10], esi
movzx eax, al
add eax, 0xffffffb7
cmp eax, 0x31
ja case.0x4012d6.74
jmp dword [eax*4 + 0x44d664]
inc ecx
movzx edx, byte [ecx]
mov dword [esp + 0x50], ecx
movzx eax, dl
add eax, 0xffffffbf
cmp eax, 0x37
ja case.0x4012f4.67
jmp dword [eax*4 + 0x44d72c]
test byte [esp], 0x20
jne 0x4016bc
mov eax, dword [esp + 0x24]
mov ecx, dword [eax]
add eax, 4
mov dword [esp + 0x24], eax
xor esi, esi
cmp dl, 0x75
je 0x40200d
test ecx, ecx
mov edx, ecx
jns 0x40200f
neg edx
or dword [esp], 0x80
jmp 0x40200f
movzx edx, byte [ecx + 1]
cmp dl, 0x6c
jne 0x4016f6
add ecx, 2
or dword [esp], 0x20
jmp case.0x4012d6.74
lea eax, [ecx + 1]
movzx edx, byte [ecx + 1]
cmp edx, 0x33
je 0x401a72
cmp edx, 0x36
jne 0x401a83
cmp byte [ecx + 2], 0x34
jne 0x401a7c
mov edx, dword [esp]
mov eax, edx
not eax
or eax, 0xffffffdf
add edx, eax
add edx, 0x21
mov dword [esp], edx
add ecx, 3
jmp case.0x4012d6.74
cmp byte [ecx + 1], 0x68
je 0x4016fc
inc ecx
or dword [esp], 0x200
jmp case.0x4012d6.74
mov eax, dword [esp + 0x10]
jmp 0x40171b
mov eax, str.0123456789ABCDEFXP
cmp dl, 0x45
je 0x4013b7
mov eax, str.0123456789abcdefxp
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x24]
fld qword [eax]
mov esi, 6
mov eax, dword [esp + 0x10]
cmp eax, 0xffffffff
je 0x4013d1
mov esi, eax
mov eax, esi
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 + 0x24]
lea edx, [esp + 0x38]
call fcn.00403600
add esp, 0x18
test eax, eax
je 0x40140d
or dword [esp], 0x80
add dword [esp + 0x24], 8
mov byte [esp + 0x30], 0
mov byte [esp + 0x40], 0
mov al, 0x2d
cmp byte [esp], 0
js 0x401434
mov al, 0x20
test byte [esp], 4
jne 0x401434
mov al, 0x2b
test byte [esp], 2
je 0x40143d
mov byte [esp + 0x40], 1
mov byte [esp + 0x41], al
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x1c], 0
mov edx, dword [esp + 0xc]
cmp eax, 0x7000
je 0x4029bf
mov dword [esp + 0x1c], eax
movzx eax, byte [edx]
mov byte [esp + 0xa4], al
lea eax, [esp + 0xa5]
test esi, esi
je 0x401491
movzx eax, byte [section..data]
mov ecx, eax
add cl, al
and cl, 0x5e
sub al, cl
add al, 0xaf
mov byte [esp + 0xa5], al
lea eax, [esp + 0xa6]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x20]
lea ecx, [eax - 1]
cmp ecx, esi
jbe 0x4014a7
lea eax, [esi + 1]
mov dword [esp + 0x20], eax
mov dword [esp + 0x10], eax
cmp eax, 2
mov dword [esp + 0x18], esi
jb 0x401bfc
mov dword [esp + 4], edx
mov eax, esi
mov ebx, esi
cmp esi, ecx
jb 0x4014c6
mov ebx, ecx
lea ecx, [ebx - 1]
mov edx, 1
cmp ecx, 7
jae 0x401e61
mov esi, dword [esp + 8]
jmp 0x401ed5
mov eax, str.0123456789ABCDEFXP
cmp dl, 0x41
je 0x4014ef
mov eax, str.0123456789abcdefxp
mov dword [esp + 4], eax
mov dword [esp + 0x1c], 6
mov eax, dword [esp + 0x10]
cmp eax, 0xffffffff
je 0x401508
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x24]
mov ecx, dword [eax + 4]
test ecx, ecx
jns 0x40151a
or dword [esp], 0x80
mov eax, dword [esp + 0x24]
mov eax, dword [eax]
mov dword [esp + 0x14], eax
mov al, 0x2d
cmp byte [esp], 0
js 0x40166c
mov al, 0x20
test byte [esp], 4
jne 0x40166c
mov al, 0x2b
test byte [esp], 2
jne 0x40166c
xor ebx, ebx
jmp 0x401672
mov dword [esp + 0x14], str.0123456789ABCDEFXP
cmp dl, 0x42
je 0x401564
mov dword [esp + 0x14], str.0123456789abcdefxp
mov byte [esp + 0x40], 0
test byte [esp], 8
je 0x401585
cmp dl, 0x42
setne al
mov word [esp + 0x40], 0x3002
shl al, 5
or al, 0x42
mov byte [esp + 0x42], al
mov dword [esp + 0x20], 0x180
mov ecx, 0x180
test byte [esp], 0x20
je 0x40176c
mov eax, dword [esp + 0x24]
mov esi, dword [eax]
mov edx, dword [eax + 4]
add eax, 8
mov dword [esp + 0x24], eax
jmp 0x40177b
mov eax, str.0123456789ABCDEFXP
cmp dl, 0x47
je 0x4015c0
mov eax, str.0123456789abcdefxp
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x24]
fld qword [eax]
mov ecx, dword [esp + 0x10]
cmp ecx, 1
mov eax, ecx
adc eax, 0
mov ebx, 6
cmp ecx, 0xffffffff
je 0x4015e2
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 + 0x24]
lea edx, [esp + 0x38]
call fcn.00403600
add esp, 0x18
test eax, eax
je 0x40161f
or dword [esp], 0x80
mov ecx, dword [esp + 0x20]
cmp ecx, ebx
jb 0x401629
mov ecx, ebx
mov eax, ecx
cmp ecx, 2
jb 0x40170b
mov ecx, dword [esp + 0xc]
mov dword [esp + 4], ecx
mov ecx, ebx
nop
nop
mov edx, dword [esp + 4]
cmp byte [edx + eax - 1], 0x30
jne 0x401c10
mov esi, eax
lea edx, [ecx - 1]
dec esi
mov eax, esi
cmp esi, 2
jb 0x401c12
cmp ecx, 1
mov ecx, edx
jne 0x401640
jmp 0x401c12
mov byte [esp + 0x41], al
mov bl, 1
mov esi, ecx
and esi, 0xfffff
shr ecx, 0x14
and ecx, 0x7ff
mov dword [esp + 0x54], edx
mov dword [esp + 0x18], ebx
je 0x401aa8
add ecx, 0xfffffc01
mov dword [esp + 0x4c], ecx
mov eax, 0xffffffff
mov ecx, dword [esp + 0x14]
add ecx, eax
mov eax, 0xfffff
adc esi, eax
add ecx, 1
mov dword [esp + 0x14], ecx
adc esi, 0
jmp 0x401abf
mov ecx, dword [esp + 0x24]
lea ebx, [ecx + 8]
mov eax, dword [ecx]
mov esi, dword [ecx + 4]
cmp dl, 0x75
je 0x401c05
test esi, esi
jns 0x401c05
neg eax
mov ecx, 0
sbb ecx, esi
or dword [esp], 0x80
mov esi, ecx
mov edx, eax
mov dword [esp + 0x24], ebx
jmp 0x40200f
inc ecx
jmp 0x4012e1
add ecx, 2
or dword [esp], 0x200
jmp case.0x4012d6.74
mov edx, ebx
jmp 0x401c12
and dword [esp], 0xffffffef
mov eax, 8
mov dword [esp + 0x14], str.0123456789ABCDEFXP
cmp dl, 0x58
je 0x401730
mov dword [esp + 0x14], str.0123456789abcdefxp
mov dword [esp + 0x20], 0x440
mov byte [esp + 0x40], 0
mov ecx, 0x440
test byte [esp], 8
mov dword [esp + 0x10], eax
je 0x401762
cmp dl, 0x58
setne al
mov word [esp + 0x40], 0x3002
shl al, 5
or al, 0x58
mov byte [esp + 0x42], al
test byte [esp], 0x20
jne 0x40159c
mov eax, dword [esp + 0x24]
mov esi, dword [eax]
add eax, 4
mov dword [esp + 0x24], eax
xor edx, edx
mov ebx, ecx
mov dword [esp + 0x3c], 0
mov byte [esp + 0x30], 0
mov eax, esi
or eax, edx
jne 0x4017a0
mov byte [esp + 0x40], 0
cmp dword [esp + 0x10], 0
je 0x401a8c
mov dword [esp + 0x2c], edi
mov dword [esp + 0x18], edx
lea edx, [esp + 0x264]
nop
mov eax, 0xffffffff
mov cl, bh
shl eax, cl
not eax
and eax, esi
mov ebx, dword [esp + 0x20]
mov cl, bh
mov edi, edx
mov edx, dword [esp + 0x18]
shrd esi, edx, cl
mov dword [esp + 4], esi
mov ecx, dword [esp + 0x14]
movzx ecx, byte [ecx + eax]
mov esi, edi
mov byte [edi - 1], cl
mov cl, bh
shr edx, cl
test bh, 0x20
jne 0x4017f0
mov eax, edx
mov ecx, dword [esp + 4]
jmp 0x4017f4
mov ecx, edx
xor eax, eax
mov edi, dword [esp + 0x2c]
mov dword [esp + 8], esi
lea edx, [esi - 1]
mov dword [esp + 4], ecx
mov dword [esp + 0x18], eax
or ecx, eax
jne 0x401830
mov dword [esp + 0x1c], ebx
mov ebx, edx
lea eax, [esp + 0x264]
xor edx, eax
mov ecx, ebx
not ecx
and ecx, eax
add ecx, ecx
sub ecx, edx
mov edx, ebx
mov ebx, dword [esp + 0x1c]
cmp ecx, dword [esp + 0x10]
jge 0x401880
test byte [esp], 0x40
mov esi, dword [esp + 4]
je 0x4017b0
inc ebx
mov dword [esp + 0x20], ebx
mov ecx, ebx
shr ecx, 4
xor ecx, ebx
test cl, 0xf
jne 0x4017b0
and ebx, 0xfffffff0
mov dword [esp + 0x20], ebx
movzx ecx, byte [0x450001]
mov edx, ecx
add dl, cl
and dl, 0xa4
sub cl, dl
add cl, 0xd2
mov edx, dword [esp + 8]
mov byte [edx - 2], cl
add edx, 0xfffffffe
mov ebx, dword [esp + 0x20]
jmp 0x4017b0
shl ebx, 0x14
and ebx, 0xf000000
add ebx, ecx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ecx
xor esi, esi
mov eax, dword [esp + 0x10]
jmp 0x4029c3
mov byte [esp + 0x40], 0
test byte [esp], 8
je 0x4018b0
mov word [esp + 0x40], 0x3001
mov dword [esp + 0x20], 0x330
mov dword [esp + 0x14], str.0123456789ABCDEFXP
mov ecx, 0x330
test byte [esp], 0x20
je 0x40176c
jmp 0x40159c
mov eax, dword [esp + 0x24]
mov eax, dword [eax]
mov edx, str.null
test eax, eax
je 0x4018e5
mov edx, eax
mov eax, dword [esp + 0x10]
mov esi, eax
test eax, eax
jns 0x4018f4
mov esi, 0xffffffff
test dl, 3
je 0x402674
lea ebx, [esi + edx]
test eax, eax
je 0x40299a
cmp byte [edx], 0
je 0x40291b
lea ecx, [edx + 1]
mov dword [esp + 0x18], esi
lea eax, [esi - 1]
mov esi, ecx
test cl, 3
je 0x402934
test eax, eax
je 0x40299a
cmp byte [esi], 0
je 0x4035a0
lea ecx, [edx + 2]
mov eax, dword [esp + 0x18]
add eax, 0xfffffffe
mov esi, ecx
test cl, 3
je 0x402934
test eax, eax
je 0x40299a
cmp byte [esi], 0
je 0x4035a0
lea ecx, [edx + 3]
mov eax, dword [esp + 0x18]
add eax, 0xfffffffd
mov esi, ecx
test cl, 3
je 0x402934
test eax, eax
je 0x40299a
cmp byte [esi], 0
je 0x4035a0
mov dword [esp + 4], edx
lea eax, [edx + 4]
mov esi, dword [esp + 0x18]
add esi, 0xfffffffc
test al, 3
je 0x40293e
test esi, esi
je 0x40199f
mov ebx, eax
mov edi, dword [esp + 0x2c]
jmp 0x402996
mov byte [esp + 0x263], dl
mov dword [esp + 0x20], 1
mov byte [esp + 0x40], 0
mov byte [esp + 0x30], 0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x1c], 0
lea edx, [esp + 0x263]
mov dword [esp], 0
xor esi, esi
xor eax, eax
mov dword [esp + 0x38], 0
jmp 0x4029c3
mov ecx, dword [esp + 0x24]
movzx eax, byte [ecx]
add ecx, 4
mov dword [esp + 0x24], ecx
mov byte [esp + 0x263], al
mov dword [esp + 0x20], 1
mov byte [esp + 0x40], 0
mov byte [esp + 0x30], 0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x1c], 0
lea edx, [esp + 0x263]
jmp 0x4029bf
mov eax, dword [esp + 0x24]
fld qword [eax]
add eax, 8
mov dword [esp + 0x24], eax
test dword [esp], 0x100
jne 0x4021c4
jmp 0x402319
mov edx, dword [esp + 0x24]
mov eax, dword [edx]
mov ecx, dword [esp + 0x48]
mov ebx, dword [esp + 0x28]
sub ecx, ebx
add ecx, edi
mov dword [eax], ecx
add edx, 4
mov dword [esp + 0x24], edx
jmp 0x403522
cmp byte [ecx + 2], 0x32
je 0x401c5f
mov ecx, eax
jmp case.0x4012d6.74
mov dword [esp + 0x50], eax
jmp 0x4012e5
mov dword [esp + 0x20], 0
mov dword [esp + 0x1c], 0
lea edx, [esp + 0x264]
jmp 0x4029bf
xor eax, eax
mov ecx, dword [esp + 0x14]
or ecx, esi
je 0x401ab7
mov eax, 0xfffffc02
mov dword [esp + 0x4c], eax
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x1c]
lea ecx, [eax*4]
xor ebx, ebx
mov eax, 0x8000000
shrd ebx, eax, cl
mov edx, 0x8000000
shr edx, cl
test cl, 0x20
je 0x401ae4
mov ebx, edx
xor edx, edx
cmp dword [esp + 0x1c], 0xf
mov eax, dword [esp + 0x14]
jl 0x401af3
xor ebx, ebx
xor edx, edx
shld esi, eax, 8
shl eax, 8
add eax, ebx
mov dword [esp + 0x14], eax
adc esi, edx
mov edx, dword [esp + 0x18]
movzx ecx, dl
lea eax, [esp + 0x40]
mov word [ecx + eax + 1], 0x7830
or dl, 2
mov byte [esp + 0x40], dl
mov ecx, esi
shr ecx, 0x1c
mov eax, dword [esp + 4]
movzx ecx, byte [eax + ecx]
mov byte [esp + 0xa4], cl
mov ebx, dword [esp + 0x1c]
test ebx, ebx
je 0x401be4
movzx ecx, byte [section..data]
mov edx, ecx
add dl, cl
and dl, 0x5e
sub cl, dl
add cl, 0xaf
mov byte [esp + 0xa5], cl
lea eax, [esp + 0xa6]
mov dword [esp + 0xc], eax
mov ecx, ebx
cmp ebx, 0xd
jb 0x401b6c
mov ecx, 0xd
mov eax, ebx
sub eax, ecx
mov dword [esp + 0x18], eax
jg 0x401b7e
mov dword [esp + 0x18], 0
mov eax, ecx
and eax, 3
je 0x401c67
mov dword [esp + 8], ecx
xor ebx, ebx
mov edx, dword [esp + 0x14]
mov dword [esp + 0x10], eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, esi
shr eax, 0x18
and eax, 0xf
mov ecx, dword [esp + 4]
movzx eax, byte [ecx + eax]
shld esi, edx, 4
mov byte [esp + ebx + 0xa6], al
mov eax, dword [esp + 0x10]
shl edx, 4
inc ebx
cmp eax, ebx
jne 0x401ba0
mov dword [esp + 0x14], edx
lea eax, [esp + 0xa6]
lea edx, [eax + ebx]
mov ecx, dword [esp + 8]
sub ecx, ebx
mov ebx, dword [esp + 0x1c]
jmp 0x401c6e
lea eax, [esp + 0xa5]
mov dword [esp + 0xc], eax
xor edx, edx
mov ebx, eax
mov dword [esp + 8], eax
jmp 0x401ced
mov esi, dword [esp + 8]
jmp 0x401efe
mov dword [esp + 0x24], ebx
mov edx, eax
jmp 0x40200f
mov edx, ecx
add dword [esp + 0x24], 8
mov dword [esp + 0x20], eax
mov ecx, dword [esp + 0x3c]
cmp ecx, 0xfffffffd
jl 0x401c41
cmp ecx, ebx
jg 0x401c41
test ecx, ecx
jle 0x401ffe
mov esi, eax
sub esi, ecx
jg 0x40235e
xor esi, esi
jmp 0x40235e
cmp edx, eax
jle 0x401c4d
mov esi, eax
dec esi
jmp 0x401412
xor esi, esi
sub edx, 1
jb 0x401412
mov esi, edx
jmp 0x401412
add ecx, 3
jmp case.0x4012d6.74
lea edx, [esp + 0xa6]
cmp ebx, 4
jb 0x401cde
mov dword [esp + 0x10], esi
mov eax, ecx
mov ecx, dword [esp + 0x14]
nop
nop
nop
mov dword [esp + 8], eax
mov eax, esi
shr eax, 0x18
and eax, 0xf
mov ebx, dword [esp + 4]
movzx eax, byte [ebx + eax]
mov byte [edx], al
mov eax, esi
shr eax, 0x14
and eax, 0xf
movzx eax, byte [ebx + eax]
mov byte [edx + 1], al
mov eax, esi
shr eax, 0x10
and eax, 0xf
movzx eax, byte [ebx + eax]
mov byte [edx + 2], al
mov eax, esi
mov esi, dword [esp + 0x10]
shld esi, ecx, 0x10
shl ecx, 0x10
shr eax, 0xc
and eax, 0xf
movzx eax, byte [ebx + eax]
mov byte [edx + 3], al
mov eax, dword [esp + 8]
add edx, 4
mov dword [esp + 0x10], esi
add eax, 0xfffffffc
jne 0x401c80
mov dword [esp + 8], edx
lea ebx, [esp + 0xa6]
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x4c]
cmp byte [esp + 0x54], 0x41
setne cl
shl cl, 5
or cl, 0x50
mov byte [esp + 0x31], cl
test eax, eax
js 0x401d0e
mov byte [esp + 0x32], 0x2b
jmp 0x401d15
mov byte [esp + 0x32], 0x2d
neg eax
cmp eax, 0x3e7
mov dword [esp + 0x18], edx
ja 0x401d37
cmp eax, 0x63
jbe 0x401e41
mov dword [esp + 0x10], ebx
mov dword [esp + 4], 5
jmp 0x401d43
mov dword [esp + 0x10], ebx
mov dword [esp + 4], 6
mov dword [esp + 0x14], 0
mov ecx, 0xcccccccd
mov esi, eax
mul ecx
shr edx, 2
and edx, 0xfffffffe
lea ebx, [edx + edx*4]
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
mov eax, esi
sub eax, ebx
mov ebx, dword [esp + 4]
mov byte [esp + 0x30], bl
or al, 0x30
mov byte [esp + ebx + 0x30], al
mov eax, edx
shr eax, 0x1f
sar edx, 2
add edx, eax
add edx, edx
lea edx, [edx + edx*4]
sub ecx, edx
add cl, 0x30
mov byte [esp + ebx + 0x2f], cl
cmp byte [esp + 0x14], 0
mov ecx, 0x51eb851f
mov ebx, dword [esp + 0x10]
jne 0x4026c3
mov eax, esi
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 + 4]
mov byte [edx + eax - 2], cl
cmp esi, 0x3e8
jb 0x4026c3
mov eax, esi
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 + 4]
mov byte [edx + eax - 3], cl
jmp 0x4026c3
cmp eax, 9
jbe 0x4026b8
mov dword [esp + 0x10], ebx
mov dword [esp + 4], 4
mov cl, 1
mov dword [esp + 0x14], ecx
jmp 0x401d4b
mov dword [esp + 0x4c], ebx
mov ecx, ebx
and ecx, 0xfffffff8
xor edx, edx
mov ebx, dword [esp + 4]
mov esi, dword [esp + 8]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx eax, byte [ebx + edx + 1]
mov byte [esi + edx], al
movzx eax, byte [ebx + edx + 2]
mov byte [esi + edx + 1], al
movzx eax, byte [ebx + edx + 3]
mov byte [esi + edx + 2], al
movzx eax, byte [ebx + edx + 4]
mov byte [esi + edx + 3], al
movzx eax, byte [ebx + edx + 5]
mov byte [esi + edx + 4], al
movzx eax, byte [ebx + edx + 6]
mov byte [esi + edx + 5], al
movzx eax, byte [ebx + edx + 7]
mov byte [esi + edx + 6], al
movzx eax, byte [ebx + edx + 8]
mov byte [esi + edx + 7], al
add edx, 8
cmp ecx, edx
jne 0x401e80
add esi, edx
inc edx
mov ebx, dword [esp + 0x4c]
and ebx, 7
je 0x401efe
mov eax, dword [esp + 4]
add eax, edx
mov edx, eax
xor ecx, ecx
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx eax, byte [edx + ecx]
mov byte [esi + ecx], al
inc ecx
cmp ebx, ecx
jne 0x401ef0
add esi, ecx
mov eax, dword [esp + 0x14]
movzx eax, byte [eax + 0xe]
mov byte [esp + 0x31], al
mov eax, dword [esp + 0x1c]
mov ecx, eax
not ecx
and ecx, 1
and eax, 0xfffffffe
sub eax, ecx
mov dword [esp + 8], esi
js 0x401f27
mov byte [esp + 0x32], 0x2b
jmp 0x401f2e
mov byte [esp + 0x32], 0x2d
neg eax
cmp eax, 0x64
mov ecx, 4
sbb ecx, 0xffffffff
mov dword [esp + 4], ecx
mov esi, eax
mov ecx, 0xcccccccd
mul ecx
shr edx, 2
and edx, 0xfffffffe
lea eax, [edx + edx*4]
mov dword [esp + 0x14], eax
mov ecx, esi
mov eax, esi
mov edx, 0x66666667
imul edx
mov ebx, edx
mov eax, edx
shr eax, 0x1f
sar ebx, 2
add ebx, eax
mov eax, ebx
mov edx, 0x66666667
imul edx
sub ecx, dword [esp + 0x14]
mov eax, edx
shr eax, 0x1f
sar edx, 2
add edx, eax
add edx, edx
lea edx, [edx + edx*4]
mov eax, ebx
sub eax, edx
or cl, 0x30
mov edx, dword [esp + 4]
mov byte [esp + 0x30], dl
mov byte [esp + edx + 0x30], cl
add al, 0x30
mov byte [esp + edx + 0x2f], al
cmp esi, 0x64
mov ecx, 0x51eb851f
jb 0x401fe4
mov eax, esi
imul ecx
mov ebx, edx
mov eax, edx
shr eax, 0x1f
sar ebx, 5
add ebx, eax
mov eax, ebx
mov ecx, 0x66666667
imul ecx
mov eax, edx
shr eax, 0x1f
shr edx, 2
add edx, eax
add edx, edx
lea eax, [edx + edx*4]
mov ecx, ebx
sub ecx, eax
add cl, 0x30
lea eax, [esp + 0x30]
mov edx, dword [esp + 4]
mov byte [edx + eax - 2], cl
mov esi, dword [esp + 0x18]
sub esi, dword [esp + 0x10]
inc esi
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x1c], 0x3000001
jmp 0x402903
cmp edx, eax
jl 0x402004
mov edx, eax
sub edx, ecx
mov esi, edx
jmp 0x40235e
mov edx, ecx
test dword [esp], 0x100
jne 0x40218f
mov dword [esp + 8], edx
mov dword [esp + 0x14], esi
movzx eax, byte [0x450001]
xor al, 0xd2
mov byte [esp + 0x18], al
mov esi, 0x200
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
mov dword [esp + 0x1c], edx
mov ecx, dword [esp + 8]
cmp ecx, 0x5f5e100
mov edx, dword [esp + 0x14]
mov eax, edx
sbb eax, 0
jb 0x402080
push 0
push 0x5f5e100
push edx
push ecx
mov ebx, ecx
call fcn.0040c490
mov dword [esp + 0x14], edx
mov edx, ebx
imul ecx, eax, 0x5f5e100
sub edx, ecx
mov ecx, eax
jmp 0x40208c
mov dword [esp + 0x14], 0
mov edx, ecx
xor ecx, ecx
lea eax, [esp + 0x5c]
add eax, esi
mov dword [esp + 4], eax
test byte [esp], 0x40
mov dword [esp + 8], ecx
jne 0x4020d0
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 0x4020a0
mov edx, dword [esp + 0x1c]
jmp 0x402140
mov ebx, edx
test edx, edx
mov edx, dword [esp + 0x1c]
je 0x402140
mov ecx, dword [esp + 4]
jmp 0x40210e
mov dword [esp + 4], 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 + 4]
test ebx, ebx
je 0x402144
test byte [esp], 0x40
je 0x4020e0
cmp edx, 3
je 0x402120
mov dword [esp + 4], ecx
inc edx
jmp 0x4020e4
movzx eax, byte [esp + 0x18]
mov byte [esp + esi + 0x63], al
dec esi
dec ecx
xor edx, edx
test ebx, ebx
jne 0x40210e
jmp 0x402144
mov ecx, dword [esp + 4]
mov eax, dword [esp + 8]
or eax, dword [esp + 0x14]
jne 0x402167
jmp 0x40220a
inc edx
mov byte [esp + esi + 0x63], 0x30
dec esi
lea eax, [esp + esi]
add eax, 0x64
cmp eax, ecx
je 0x402040
test byte [esp], 0x40
je 0x402161
cmp edx, 3
jne 0x402160
movzx eax, byte [esp + 0x18]
mov byte [esp + esi + 0x63], al
dec esi
dec ecx
xor edx, edx
jmp 0x402167
mov eax, 1
mov ecx, dword [esp + 0x10]
cmp ecx, 0xffffffff
je 0x40219f
mov eax, ecx
mov dword [esp + 0x10], 0
cmp edx, 0x400
mov ecx, esi
sbb ecx, 0
jb 0x4021b8
mov dword [esp + 0x10], eax
mov dword [esp + 0x58], edx
mov dword [esp + 0x5c], esi
fild qword [esp + 0x58]
xor eax, eax
mov ecx, dword [esp]
test ecx, 0x800
sete al
fld qword [eax*8 + 0x44d550]
cmp ecx, 0x3ffffff
ja 0x402203
fld st(0)
fchs
fxch st(1)
fucom st(2)
fnstsw ax
sahf
jbe 0x402298
fxch st(2)
fucom st(1)
fnstsw ax
sahf
fxch st(2)
jbe 0x402298
fstp st(0)
fstp st(0)
jmp 0x402319
cmp byte [esp + esi + 0x64], 0x30
sete al
cmp esi, 0x200
setne cl
mov byte [esp + 0x30], 0
mov byte [esp + 0x40], 0
mov dl, 0x2d
cmp byte [esp], 0
js 0x40223d
mov dl, 0x20
test byte [esp], 4
jne 0x40223d
mov dl, 0x2b
test byte [esp], 2
je 0x402246
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 + 0x20], eax
cmp esi, 0x200
jne 0x40227b
mov byte [edx - 1], 0x30
dec edx
mov dword [esp + 0x20], 1
mov ecx, 1
jmp 0x40227d
mov ecx, eax
mov eax, dword [esp + 0x10]
xor esi, esi
test eax, eax
jg 0x402289
xor eax, eax
add ecx, 0x3000000
mov dword [esp + 0x1c], ecx
jmp 0x4029c3
fdiv st(2), st(0)
mov eax, dword [esp]
lea ecx, [eax + 0x1000000]
cmp eax, 0x2ffffff
ja 0x402312
fucom st(2)
fnstsw ax
sahf
jbe 0x4022bc
fxch st(2)
fucom st(1)
fnstsw ax
sahf
fxch st(2)
ja 0x402312
fdiv st(2), st(0)
mov eax, dword [esp]
lea ecx, [eax + 0x2000000]
cmp eax, 0x1ffffff
ja 0x402312
fucom st(2)
fnstsw ax
sahf
jbe 0x4022e0
fxch st(2)
fucom st(1)
fnstsw ax
sahf
fxch st(2)
ja 0x402312
fdiv st(2), st(0)
mov eax, dword [esp]
lea ecx, [eax + 0x3000000]
cmp eax, 0xffffff
ja 0x402312
fucom st(2)
fnstsw ax
sahf
jbe 0x4035a9
fxch st(2)
fucom st(1)
fstp st(1)
fnstsw ax
sahf
fldz
fxch st(1)
fxch st(2)
jbe 0x4035a9
fstp st(0)
fstp st(0)
mov dword [esp], ecx
mov esi, 6
mov eax, dword [esp + 0x10]
cmp eax, 0xffffffff
je 0x402329
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 + 0x24]
lea edx, [esp + 0x38]
call fcn.00403600
add esp, 0x18
test eax, eax
je 0x40235e
or dword [esp], 0x80
mov byte [esp + 0x30], 0
mov byte [esp + 0x40], 0
mov al, 0x2d
cmp byte [esp], 0
js 0x402380
mov al, 0x20
test byte [esp], 4
jne 0x402380
mov al, 0x2b
test byte [esp], 2
je 0x402389
mov byte [esp + 0x40], 1
mov byte [esp + 0x41], al
mov ecx, dword [esp + 0x3c]
cmp ecx, 0x7000
jne 0x4023a6
mov dword [esp + 0x1c], 0
mov edx, dword [esp + 0xc]
jmp 0x4029bf
test ecx, ecx
mov dword [esp + 0x18], esi
jle 0x402446
xor edx, edx
test byte [esp], 0x40
je 0x4023d3
mov esi, 0x258
sub esi, ecx
mov eax, esi
mov edx, 0xaaaaaaab
mul edx
shr edx, 1
lea eax, [edx + edx*2]
mov edx, esi
sub edx, eax
cmp ecx, dword [esp + 0x20]
mov dword [esp + 4], edx
jae 0x4024d2
xor eax, eax
lea ecx, [esp + 0xa4]
mov dword [esp + 0x1c], ecx
jmp 0x402416
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0xc]
movzx ecx, byte [ecx + eax]
lea esi, [edx + 1]
mov dword [esp + 0x1c], esi
mov byte [edx], cl
inc eax
mov ecx, dword [esp + 0x3c]
cmp eax, ecx
jae 0x402545
test byte [esp], 0x40
je 0x4023f4
mov ecx, dword [esp + 4]
inc ecx
cmp ecx, 4
jne 0x4023f0
mov ecx, dword [esp]
and ecx, 0x40
shr ecx, 6
mov dword [esp + 4], ecx
movzx ecx, byte [0x450001]
xor cl, 0xd2
mov edx, dword [esp + 0x1c]
mov byte [edx], cl
inc edx
jmp 0x4023f8
mov byte [esp + 0xa4], 0x30
lea eax, [esp + 0xa5]
mov dword [esp + 8], eax
test esi, esi
je 0x402478
movzx eax, byte [section..data]
xor al, 0xaf
mov byte [esp + 0xa5], al
lea eax, [esp + 0xa6]
mov dword [esp + 8], eax
neg ecx
mov edx, esi
cmp esi, ecx
jl 0x402482
mov edx, ecx
test edx, edx
mov dword [esp + 4], edx
je 0x402701
mov ecx, dword [esp + 8]
mov eax, ecx
and eax, 3
je 0x4026fd
mov esi, ecx
not esi
and esi, 3
lea ebx, [edx - 1]
cmp esi, ebx
jb 0x4024ad
mov esi, ebx
lea eax, [esi + 1]
push eax
push 0x30
push ecx
call fcn.0040c580
mov ecx, dword [esp + 0x14]
add esp, 0xc
add ecx, esi
inc ecx
sub ebx, esi
mov esi, dword [esp + 0x18]
mov edx, dword [esp + 4]
jmp 0x402707
xor eax, eax
mov esi, 0xffffffff
mov ebx, 1
lea ecx, [esp + 0xa4]
jmp 0x402508
mov dword [esp + 4], edx
mov edx, ecx
mov ecx, dword [esp + 0xc]
movzx ecx, byte [ecx + ebx - 1]
mov byte [edx], cl
lea ecx, [edx + 1]
inc eax
dec esi
inc ebx
cmp eax, dword [esp + 0x20]
jae 0x4025d4
test byte [esp], 0x40
je 0x4024eb
mov edx, dword [esp + 4]
inc edx
cmp edx, 4
jne 0x4024e7
mov edx, dword [esp]
and edx, 0x40
shr edx, 6
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
movzx ecx, byte [0x450001]
mov edx, ecx
add dl, cl
and dl, 0xa4
sub cl, dl
add cl, 0xd2
mov edx, dword [esp + 8]
mov byte [edx], cl
inc edx
jmp 0x4024ed
mov esi, dword [esp + 0x1c]
mov dword [esp + 8], esi
cmp dword [esp + 0x18], 0
je 0x40256c
movzx ecx, byte [section..data]
xor cl, 0xaf
mov byte [edx + 1], cl
add edx, 2
mov ecx, dword [esp + 0x3c]
mov dword [esp + 8], edx
mov edx, dword [esp + 0x20]
mov esi, edx
sub esi, ecx
mov ebx, dword [esp + 0x18]
cmp esi, ebx
jbe 0x402585
mov esi, ebx
lea edx, [ecx + ebx]
mov dword [esp + 0x20], edx
cmp eax, edx
jae 0x4025ac
mov esi, dword [esp + 8]
nop
nop
nop
mov ecx, dword [esp + 0xc]
movzx ecx, byte [ecx + eax]
mov byte [esi], cl
inc esi
inc eax
mov edx, dword [esp + 0x20]
cmp eax, edx
jb 0x402590
mov dword [esp + 8], esi
mov ecx, dword [esp + 0x3c]
lea eax, [esp + 0xa4]
mov esi, dword [esp + 0x1c]
sub esi, eax
add esi, 0x3000000
mov dword [esp + 0x1c], esi
mov esi, dword [esp + 0x18]
sub esi, edx
add esi, ecx
mov edx, dword [esp + 8]
jmp 0x402852
mov dword [esp + 0x14], edx
mov edx, dword [esp + 0x3c]
mov dword [esp + 8], edx
sub edx, eax
mov dword [esp + 0x10], edx
jbe 0x40267f
test byte [esp], 0x40
mov edx, dword [esp + 4]
jne 0x40291f
cmp dword [esp + 8], eax
je 0x403530
mov eax, ecx
and eax, 3
je 0x403530
mov edx, 2
sub edx, dword [esp + 0x14]
and edx, 3
mov eax, dword [esp + 8]
sub eax, ebx
mov dword [esp + 0x10], edx
mov dword [esp + 0x1c], edx
cmp edx, eax
mov edx, dword [esp + 0x10]
jb 0x402633
mov edx, eax
mov dword [esp + 0x10], edx
lea eax, [edx + 1]
push eax
push 0x30
push ecx
call fcn.0040c580
add esp, 0xc
add esi, dword [esp + 8]
mov eax, dword [esp + 0x1c]
cmp esi, eax
jb 0x402654
mov esi, eax
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
add ecx, eax
add ecx, 2
mov eax, dword [esp + 8]
sub eax, esi
sub eax, ebx
mov ebx, eax
mov edx, dword [esp + 4]
jmp 0x403534
mov dword [esp + 4], edx
mov eax, edx
jmp 0x40293e
mov esi, dword [esp + 0x18]
mov edx, ecx
lea eax, [esp + 0xa4]
sub ecx, eax
add ecx, 0x3000000
mov dword [esp + 0x1c], ecx
test esi, esi
je 0x4026f6
movzx eax, byte [section..data]
mov ecx, eax
or cl, 0x50
not al
or al, 0xaf
and al, cl
not al
mov byte [edx], al
inc edx
jmp 0x402852
mov byte [esp + 0x30], 3
or al, 0x30
mov byte [esp + 0x33], al
add dword [esp + 0x24], 8
mov ecx, dword [esp + 8]
mov eax, ecx
sub eax, ebx
mov dword [esp + 0x3c], eax
lea eax, [esp + 0xa4]
sub ecx, eax
mov dword [esp + 0x20], ecx
mov dword [esp + 0x1c], 0x3000001
mov edx, eax
xor eax, eax
mov esi, dword [esp + 0x18]
jmp 0x4029c3
xor esi, esi
jmp 0x402852
mov ebx, edx
jmp 0x402707
mov ebx, edx
mov ecx, dword [esp + 8]
cmp ebx, 4
jl 0x40274c
mov eax, ebx
cmp ebx, 7
jl 0x402718
mov eax, 7
neg eax
lea esi, [ebx + eax]
add esi, 3
and esi, 0xfffffffc
lea eax, [esi + 4]
push eax
push 0x30
push ecx
mov dword [esp + 0x14], ecx
call fcn.0040c580
mov ecx, dword [esp + 0x14]
add esp, 0xc
add ecx, esi
add ecx, 4
sub ebx, esi
add ebx, 0xfffffffc
mov esi, dword [esp + 0x18]
mov edx, dword [esp + 4]
test ebx, ebx
je 0x40276e
push ebx
push 0x30
push ecx
mov esi, ecx
call fcn.0040c580
mov edx, dword [esp + 0x10]
add esp, 0xc
add esi, ebx
mov dword [esp + 8], esi
mov esi, dword [esp + 0x18]
jmp 0x402772
mov dword [esp + 8], ecx
mov ebx, dword [esp + 0x20]
lea ecx, [ebx + edx]
cmp ecx, esi
jle 0x402785
mov ebx, esi
sub ebx, edx
mov dword [esp + 0x20], ebx
test ebx, ebx
je 0x4027de
mov eax, esi
cmp esi, ecx
jl 0x402791
mov eax, ecx
mov ecx, ebx
and ecx, 3
je 0x4027e4
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], ebx
xor esi, esi
mov eax, dword [esp + 8]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov ebx, dword [esp + 0xc]
lea edx, [ebx + 1]
mov dword [esp + 0xc], edx
movzx edx, byte [ebx]
mov byte [eax + esi], dl
inc esi
cmp ecx, esi
jne 0x4027b0
add eax, esi
mov dword [esp + 8], eax
mov ebx, dword [esp + 0x10]
mov ecx, ebx
sub ecx, esi
mov edx, dword [esp + 4]
mov eax, dword [esp + 0x14]
jmp 0x4027e6
mov eax, dword [esp + 8]
jmp 0x40283c
mov ecx, ebx
sub edx, eax
cmp edx, 0xfffffffc
mov eax, dword [esp + 8]
ja 0x40283c
mov edx, dword [esp + 0xc]
lea esi, [edx + 1]
mov dword [esp + 0xc], esi
movzx edx, byte [edx]
mov byte [eax], dl
mov edx, dword [esp + 0xc]
lea esi, [edx + 1]
mov dword [esp + 0xc], esi
movzx edx, byte [edx]
mov byte [eax + 1], dl
mov edx, dword [esp + 0xc]
lea esi, [edx + 1]
mov dword [esp + 0xc], esi
movzx edx, byte [edx]
mov byte [eax + 2], dl
mov edx, dword [esp + 0xc]
lea esi, [edx + 1]
mov dword [esp + 0xc], esi
movzx edx, byte [edx]
mov byte [eax + 3], dl
add eax, 4
add ecx, 0xfffffffc
jne 0x4027f1
mov ecx, dword [esp + 4]
add ecx, ebx
mov esi, dword [esp + 0x18]
sub esi, ecx
mov dword [esp + 0x1c], 0x3000001
mov edx, eax
test dword [esp], 0x100
je 0x402907
mov ecx, dword [esp]
mov eax, ecx
and eax, 0x400
sete byte [esp + 0x30]
mov byte [esp + 0x31], 0x20
cmp ecx, 0x1000000
jb 0x402907
mov dword [esp + 8], edx
mov ebx, dword [esp]
mov edx, ebx
shr edx, 0x18
mov ecx, eax
shr ecx, 0xa
test ebx, 0x800
jne 0x4028b2
movzx edx, byte [edx + str._kMGT]
neg ecx
mov byte [esp + ecx + 0x32], dl
cmp eax, 1
mov ecx, 0
adc cl, 1
jmp 0x4028ff
mov dword [esp + 0x18], esi
movzx edx, byte [edx + str._KMGT]
mov esi, eax
shr esi, 9
or esi, ecx
xor esi, 2
cmp eax, 1
mov ecx, 0
adc cl, 1
mov byte [esp + esi + 0x30], dl
mov edx, dword [esp]
and edx, 0x1800
cmp edx, 0x800
jne 0x4028fb
test eax, eax
movzx eax, cl
sete cl
lea edx, [esp + 0x30]
mov byte [eax + edx + 1], 0x69
or cl, 2
mov esi, dword [esp + 0x18]
mov byte [esp + 0x30], cl
mov edx, dword [esp + 8]
lea eax, [esp + 0xa4]
sub edx, eax
mov dword [esp + 0x20], edx
mov edx, eax
jmp 0x4029c1
mov ebx, edx
jmp 0x40299a
mov esi, dword [esp + 0x18]
mov ebx, dword [esp + 0x10]
test ebx, ebx
jne 0x40357d
jmp 0x402683
mov dword [esp + 4], edx
mov ecx, eax
mov eax, esi
mov esi, ecx
mov dword [esp + 0x18], esi
mov dword [esp + 8], eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov ebx, eax
mov ecx, esi
cmp esi, 4
jb 0x402977
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
je 0x402950
jmp 0x40297b
test ecx, ecx
je 0x402996
mov eax, dword [esp + 8]
add eax, dword [esp + 0x18]
xor edx, edx
cmp byte [ebx + edx], 0
je 0x402994
inc edx
cmp ecx, edx
jne 0x402985
mov ebx, eax
jmp 0x402996
add ebx, edx
mov edx, dword [esp + 4]
add dword [esp + 0x24], 4
sub ebx, edx
mov dword [esp + 0x20], ebx
mov byte [esp + 0x40], 0
mov byte [esp + 0x30], 0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x1c], 0
xor esi, esi
xor eax, eax
mov dword [esp + 4], edx
mov dword [esp + 0x18], esi
mov ebx, dword [esp + 0x20]
cmp eax, ebx
jg 0x4029d5
mov eax, ebx
mov ecx, eax
movsx eax, byte [esp + 0x40]
movsx esi, byte [esp + 0x30]
mov edx, dword [esp + 0x18]
mov dword [esp + 0x10], ecx
add edx, ecx
add edx, eax
add edx, esi
mov esi, dword [esp + 0x38]
cmp esi, edx
jg 0x4029f9
mov esi, edx
sub esi, edx
sub dword [esp + 0x10], ebx
test byte [esp], 1
jne 0x402a18
test byte [esp], 0x10
mov edx, dword [esp + 4]
jne 0x402a1e
mov dword [esp], 0
jmp 0x402a2e
mov edx, dword [esp + 4]
jmp 0x402a2e
mov ecx, dword [esp + 0x10]
cmp esi, ecx
jg 0x402a28
mov esi, ecx
mov dword [esp + 0x10], esi
xor esi, esi
mov ecx, esi
add ecx, dword [esp + 0x10]
je 0x402eac
test byte [esp], 1
jne 0x402b5f
test esi, esi
jg 0x402a5a
jmp 0x402b5f
sub esi, ebx
test esi, esi
jle 0x402b5a
mov ebx, esi
cmp dword [ebp + 8], 0
je 0x402a75
mov eax, dword [esp + 0x28]
sub eax, edi
add eax, 0x200
mov ebx, esi
cmp esi, eax
jl 0x402a75
mov ebx, eax
test ebx, ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x38], esi
je 0x402ac0
mov eax, edi
and eax, 3
je 0x402ac0
mov eax, ebx
mov esi, edi
not esi
and esi, 3
dec ebx
cmp esi, ebx
jb 0x402a98
mov esi, ebx
lea eax, [esi + 1]
push eax
push 0x20
push edi
call fcn.0040c580
mov ecx, ebx
add esp, 0xc
add edi, esi
inc edi
sub ecx, esi
mov esi, dword [esp + 0x38]
mov ebx, dword [esp + 0x2c]
cmp ecx, 4
jge 0x402ac7
jmp 0x402b03
mov ecx, ebx
cmp ecx, 4
jl 0x402b03
mov eax, ecx
cmp ecx, 7
jl 0x402ad3
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.0040c580
mov ecx, ebx
add esp, 0xc
add edi, esi
add edi, 4
sub ecx, esi
add ecx, 0xfffffffc
mov esi, dword [esp + 0x38]
mov ebx, dword [esp + 0x2c]
test ecx, ecx
je 0x402b1b
push ecx
push 0x20
push edi
mov dword [esp + 0x14], ecx
call fcn.0040c580
add esp, 0xc
add edi, dword [esp + 8]
cmp dword [ebp + 8], 0
je 0x402a50
mov eax, edi
mov ecx, dword [esp + 0x28]
sub eax, ecx
cmp eax, 0x1ff
jl 0x402a50
add dword [esp + 0x48], eax
push eax
push dword [ebp + 0xc]
push ecx
call dword [ebp + 8]
add esp, 0xc
test eax, eax
je 0x4035dd
mov edi, eax
mov dword [esp + 0x28], eax
jmp 0x402a50
movzx eax, byte [esp + 0x40]
mov dword [esp + 0x38], esi
lea ecx, [esp + 0x41]
mov dword [esp + 0xc], ecx
jmp 0x402b7b
mov edi, eax
mov dword [esp + 0x28], eax
movzx eax, byte [esp + 0x40]
test al, al
je 0x402c8d
movsx ebx, al
mov edx, dword [esp + 0x28]
sub edx, edi
add edx, 0x200
cmp edx, ebx
jl 0x402b98
mov edx, ebx
cmp dword [ebp + 8], 0
je 0x402ba0
mov ebx, edx
sub al, bl
mov byte [esp + 0x40], al
test ebx, ebx
je 0x402c3b
mov eax, ebx
and eax, 3
je 0x402c80
xor edx, edx
nop
nop
nop
nop
nop
mov esi, dword [esp + 0xc]
lea ecx, [esi + 1]
mov dword [esp + 0xc], ecx
movzx ecx, byte [esi]
mov byte [edi + edx], cl
inc edx
cmp eax, edx
jne 0x402bc0
add edi, edx
mov eax, ebx
sub eax, edx
cmp ebx, 4
jb 0x402c3b
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov ecx, dword [esp + 0xc]
lea edx, [ecx + 1]
mov dword [esp + 0xc], edx
movzx ecx, byte [ecx]
mov byte [edi], cl
mov ecx, dword [esp + 0xc]
lea edx, [ecx + 1]
mov dword [esp + 0xc], edx
movzx ecx, byte [ecx]
mov byte [edi + 1], cl
mov ecx, dword [esp + 0xc]
lea edx, [ecx + 1]
mov dword [esp + 0xc], edx
movzx ecx, byte [ecx]
mov byte [edi + 2], cl
mov ecx, dword [esp + 0xc]
lea edx, [ecx + 1]
mov dword [esp + 0xc], edx
movzx ecx, byte [ecx]
mov byte [edi + 3], cl
add edi, 4
add eax, 0xfffffffc
jne 0x402bf0
cmp dword [ebp + 8], 0
je 0x402b76
mov eax, edi
mov ecx, dword [esp + 0x28]
sub eax, ecx
cmp eax, 0x1ff
jl 0x402b76
add dword [esp + 0x48], eax
push eax
push dword [ebp + 0xc]
push ecx
call dword [ebp + 8]
add esp, 0xc
test eax, eax
jne 0x402b70
jmp 0x4035dd
mov eax, ebx
cmp ebx, 4
jae 0x402bf0
jmp 0x402c3b
mov eax, dword [esp + 0x1c]
mov ecx, eax
shr ecx, 0x18
mov dword [esp + 0x2c], ecx
mov ecx, dword [esp]
xor esi, esi
mov ebx, ecx
test cl, 0x40
je 0x402cbc
and eax, 0xffffff
add eax, dword [esp + 0x10]
mov esi, dword [esp + 0x2c]
lea ecx, [esi + 1]
xor edx, edx
div ecx
sub esi, edx
mov eax, dword [esp + 0x10]
test eax, eax
jle 0x402ffd
mov edx, dword [esp + 4]
jmp 0x402ce0
mov eax, dword [esp + 0x10]
sub eax, dword [esp + 8]
test eax, eax
jle 0x402ea3
mov ecx, eax
cmp dword [ebp + 8], 0
mov dword [esp + 0x10], eax
je 0x402d13
mov edx, eax
mov eax, edi
sub eax, dword [esp + 0x28]
mov ecx, eax
xor ecx, 0x200
not eax
and eax, 0x200
add eax, eax
sub eax, ecx
mov ecx, edx
cmp edx, eax
jl 0x402d0f
mov ecx, eax
mov edx, dword [esp + 4]
mov eax, ebx
test al, 0x40
mov dword [esp + 8], ecx
jne 0x402da8
test ecx, ecx
je 0x402d60
mov eax, edi
and eax, 3
je 0x402d60
mov eax, edi
not eax
and eax, 3
dec ecx
cmp eax, ecx
jb 0x402d3a
mov eax, ecx
mov dword [esp + 0x1c], eax
inc eax
push eax
push 0x30
push edi
mov dword [esp + 0x20], ecx
call fcn.0040c580
mov ecx, dword [esp + 0x20]
add esp, 0xc
mov eax, dword [esp + 0x1c]
sub ecx, eax
add edi, eax
inc edi
mov edx, dword [esp + 4]
cmp ecx, 4
jl 0x402da8
mov eax, ecx
cmp ecx, 7
jl 0x402d71
mov eax, 7
neg eax
add eax, ecx
add eax, 3
and eax, 0xfffffffc
mov dword [esp + 0x1c], eax
add eax, 4
push eax
push 0x30
push edi
mov dword [esp + 0x20], ecx
call fcn.0040c580
mov ecx, dword [esp + 0x20]
add esp, 0xc
mov eax, dword [esp + 0x1c]
add edi, eax
add edi, 4
sub ecx, eax
add ecx, 0xfffffffc
mov edx, dword [esp + 4]
test ecx, ecx
je 0x402df0
test cl, 1
jne 0x402dc0
mov eax, ecx
cmp ecx, 1
jne 0x402e4f
jmp 0x402df0
mov dword [esp + 0x14], ecx
mov al, 0x30
mov ecx, ebx
test cl, 0x40
je 0x402de1
cmp esi, dword [esp + 0x2c]
jne 0x402de0
movzx eax, byte [0x450001]
xor al, 0xd2
xor esi, esi
jmp 0x402de1
inc esi
mov ecx, dword [esp + 0x14]
mov byte [edi], al
inc edi
lea eax, [ecx - 1]
cmp ecx, 1
jne 0x402e4f
cmp dword [ebp + 8], 0
je 0x402cd0
mov eax, edi
mov ecx, dword [esp + 0x28]
sub eax, ecx
cmp eax, 0x1ff
jl 0x402cd0
add dword [esp + 0x48], eax
push eax
push dword [ebp + 0xc]
push ecx
call dword [ebp + 8]
add esp, 0xc
test eax, eax
je 0x4035dd
mov edi, eax
mov dword [esp + 0x28], eax
mov edx, dword [esp + 4]
jmp 0x402cd0
mov edx, dword [esp + 4]
mov byte [edi + 1], cl
add edi, 2
add eax, 0xfffffffe
je 0x402df0
mov cl, 0x30
mov edx, ebx
test dl, 0x40
je 0x402e71
cmp esi, dword [esp + 0x2c]
jne 0x402e70
movzx edx, byte [0x450001]
xor dl, 0xd2
xor esi, esi
jmp 0x402e73
inc esi
mov dl, 0x30
mov byte [edi], dl
mov edx, ebx
test dl, 0x40
je 0x402e40
cmp esi, dword [esp + 0x2c]
mov edx, dword [esp + 4]
jne 0x402ea0
movzx ecx, byte [0x450001]
xor cl, 0xd2
xor esi, esi
jmp 0x402e44
inc esi
jmp 0x402e44
movzx eax, byte [esp + 0x40]
mov esi, dword [esp + 0x38]
mov dword [esp + 0x38], esi
lea ecx, [esp + 0x41]
mov dword [esp + 0xc], ecx
jmp 0x402ecf
mov edi, eax
mov dword [esp + 0x28], eax
mov edx, dword [esp + 4]
movzx eax, byte [esp + 0x40]
test al, al
je 0x403009
movsx ecx, al
mov ebx, ecx
cmp dword [ebp + 8], 0
je 0x402efe
mov edx, dword [esp + 0x28]
mov ebx, edx
xor ebx, edi
not edx
and edx, edi
add edx, edx
sub ebx, edx
add ebx, 0x200
cmp ebx, ecx
jl 0x402efe
mov ebx, ecx
sub cl, bl
mov byte [esp + 0x40], cl
test ebx, ebx
je 0x402f9b
mov ecx, ebx
and ecx, 3
je 0x402ff0
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
mov esi, dword [esp + 0xc]
lea eax, [esi + 1]
mov dword [esp + 0xc], eax
movzx eax, byte [esi]
mov byte [edi + edx], al
inc edx
cmp ecx, edx
jne 0x402f20
add edi, edx
mov ecx, ebx
sub ecx, edx
cmp ebx, 4
jb 0x402f9b
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp + 0xc]
lea edx, [eax + 1]
mov dword [esp + 0xc], edx
movzx eax, byte [eax]
mov byte [edi], al
mov eax, dword [esp + 0xc]
lea edx, [eax + 1]
mov dword [esp + 0xc], edx
movzx eax, byte [eax]
mov byte [edi + 1], al
mov eax, dword [esp + 0xc]
lea edx, [eax + 1]
mov dword [esp + 0xc], edx
movzx eax, byte [eax]
mov byte [edi + 2], al
mov eax, dword [esp + 0xc]
lea edx, [eax + 1]
mov dword [esp + 0xc], edx
movzx eax, byte [eax]
mov byte [edi + 3], al
add edi, 4
add ecx, 0xfffffffc
jne 0x402f50
cmp dword [ebp + 8], 0
je 0x402ec6
mov eax, edi
mov esi, dword [esp + 0x28]
sub eax, esi
lea ecx, [eax + 1]
cmp ecx, 0x200
jl 0x402ec6
mov ecx, eax
mov edx, dword [esp + 0x48]
and ecx, edx
xor edx, eax
lea edx, [edx + ecx*2]
mov dword [esp + 0x48], edx
push eax
push dword [ebp + 0xc]
push esi
call dword [ebp + 8]
add esp, 0xc
test eax, eax
jne 0x402ec0
jmp 0x4035dd
mov ecx, ebx
cmp ebx, 4
jae 0x402f50
jmp 0x402f9b
lea eax, [esp + 0x41]
mov dword [esp + 0xc], eax
mov edx, dword [esp + 4]
mov esi, dword [esp + 0x20]
test esi, esi
jne 0x40315a
mov edx, dword [esp + 0x18]
test edx, edx
mov esi, dword [esp + 0x38]
jne 0x40330e
lea eax, [esp + 0x31]
mov dword [esp + 0xc], eax
nop
nop
nop
movzx eax, byte [esp + 0x30]
test al, al
je 0x4033eb
movsx ecx, al
mov eax, ecx
cmp dword [ebp + 8], 0
je 0x403063
mov edx, dword [esp + 0x28]
mov eax, edx
xor eax, edi
not edx
and edx, edi
add edx, edx
sub eax, edx
add eax, 0x200
cmp eax, ecx
jl 0x403063
mov eax, ecx
sub ecx, eax
mov byte [esp + 0x30], cl
test eax, eax
je 0x4030fb
mov ecx, eax
and ecx, 3
je 0x403140
xor edx, edx
nop
nop
mov esi, dword [esp + 0xc]
lea ebx, [esi + 1]
mov dword [esp + 0xc], ebx
movzx ebx, byte [esi]
mov byte [edi + edx], bl
inc edx
cmp ecx, edx
jne 0x403080
add edi, edx
mov ecx, eax
sub ecx, edx
mov esi, dword [esp + 0x38]
cmp eax, 4
jb 0x4030fb
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp + 0xc]
lea edx, [eax + 1]
mov dword [esp + 0xc], edx
movzx eax, byte [eax]
mov byte [edi], al
mov eax, dword [esp + 0xc]
lea edx, [eax + 1]
mov dword [esp + 0xc], edx
movzx eax, byte [eax]
mov byte [edi + 1], al
mov eax, dword [esp + 0xc]
lea edx, [eax + 1]
mov dword [esp + 0xc], edx
movzx eax, byte [eax]
mov byte [edi + 2], al
mov eax, dword [esp + 0xc]
lea edx, [eax + 1]
mov dword [esp + 0xc], edx
movzx eax, byte [eax]
mov byte [edi + 3], al
add edi, 4
add ecx, 0xfffffffc
jne 0x4030b0
cmp dword [ebp + 8], 0
je 0x403030
mov eax, edi
mov edx, dword [esp + 0x28]
sub eax, edx
lea ecx, [eax + 1]
cmp ecx, 0x200
jl 0x403030
add dword [esp + 0x48], eax
push eax
push dword [ebp + 0xc]
push edx
call dword [ebp + 8]
add esp, 0xc
test eax, eax
je 0x4035dd
mov edi, eax
mov dword [esp + 0x28], eax
jmp 0x403030
mov ecx, eax
cmp eax, 4
jae 0x4030b0
jmp 0x4030fb
sub esi, dword [esp + 0x2c]
je 0x403015
mov ecx, dword [esp + 0x28]
sub ecx, edi
add ecx, 0x200
mov eax, esi
cmp esi, ecx
jl 0x40316e
mov eax, ecx
mov ecx, esi
cmp dword [ebp + 8], 0
je 0x403178
mov ecx, eax
cmp ecx, 4
mov dword [esp + 0x2c], ecx
jl 0x4031d0
lea ebx, [ecx - 4]
mov eax, ebx
shr eax, 2
inc eax
and eax, 7
je 0x4031d4
mov dword [esp + 8], ebx
mov dword [esp + 4], esi
shl eax, 2
mov ebx, edx
xor edx, edx
nop
nop
mov ecx, dword [ebx + edx]
mov dword [edi + edx], ecx
add edx, 4
cmp eax, edx
jne 0x4031a0
add edi, edx
mov ecx, dword [esp + 0x2c]
sub ecx, edx
add ebx, edx
mov eax, ecx
mov edx, ebx
mov esi, dword [esp + 4]
mov ebx, dword [esp + 8]
cmp ebx, 0x1c
jae 0x4031e0
jmp 0x403221
mov eax, ecx
jmp 0x403221
cmp ebx, 0x1c
jb 0x403221
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 0x4031e0
test eax, eax
je 0x4032a1
mov ecx, eax
and ecx, 7
je 0x4032f0
mov dword [esp + 4], esi
mov esi, edx
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
movzx ebx, byte [esi + edx]
mov byte [edi + edx], bl
inc edx
cmp ecx, edx
jne 0x403240
add edi, edx
mov ecx, eax
sub ecx, edx
add esi, edx
mov edx, esi
mov esi, dword [esp + 4]
cmp eax, 8
jb 0x4032a1
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 0x403260
cmp dword [ebp + 8], 0
je 0x403150
mov eax, edi
mov ecx, dword [esp + 0x28]
sub eax, ecx
cmp eax, 0x1ff
jl 0x403150
mov ebx, esi
mov esi, edx
add dword [esp + 0x48], eax
push eax
push dword [ebp + 0xc]
push ecx
call dword [ebp + 8]
add esp, 0xc
test eax, eax
je 0x4035dd
mov edi, eax
mov dword [esp + 0x28], eax
mov edx, esi
mov esi, ebx
jmp 0x403150
mov ecx, eax
cmp eax, 8
jae 0x403260
jmp 0x4032a1
mov edx, dword [esp + 0x18]
sub edx, dword [esp + 0x2c]
je 0x403025
mov ecx, dword [esp + 0x28]
sub ecx, edi
add ecx, 0x200
mov eax, edx
cmp edx, ecx
jl 0x403322
mov eax, ecx
mov esi, edx
cmp dword [ebp + 8], 0
je 0x40332c
mov esi, eax
test esi, esi
mov dword [esp + 0x18], edx
mov dword [esp + 0x2c], esi
je 0x403361
mov eax, edi
and eax, 3
je 0x403361
mov ebx, edi
not ebx
and ebx, 3
dec esi
cmp ebx, esi
jb 0x40334d
mov ebx, esi
lea eax, [ebx + 1]
push eax
push 0x30
push edi
call fcn.0040c580
add esp, 0xc
add edi, ebx
inc edi
sub esi, ebx
cmp esi, 4
jl 0x403396
mov eax, esi
cmp esi, 7
jl 0x403372
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.0040c580
add esp, 0xc
add edi, ebx
add edi, 4
sub esi, ebx
add esi, 0xfffffffc
test esi, esi
je 0x4033a8
push esi
push 0x30
push edi
call fcn.0040c580
add esp, 0xc
add edi, esi
mov esi, dword [esp + 0x38]
cmp dword [ebp + 8], 0
je 0x403300
mov eax, edi
mov ecx, dword [esp + 0x28]
sub eax, ecx
cmp eax, 0x1ff
jl 0x403300
add dword [esp + 0x48], eax
push eax
push dword [ebp + 0xc]
push ecx
call dword [ebp + 8]
add esp, 0xc
test eax, eax
je 0x4035dd
mov edi, eax
mov dword [esp + 0x28], eax
jmp 0x403300
test byte [esp], 1
je 0x40351e
test esi, esi
mov ebx, dword [esp + 0x28]
jle 0x403522
jne 0x40341c
jmp 0x403522
mov ebx, dword [esp + 0x28]
sub esi, edx
je 0x403522
mov edx, esi
cmp dword [ebp + 8], 0
je 0x40343f
mov eax, ebx
xor eax, edi
mov ecx, ebx
not ecx
and ecx, edi
add ecx, ecx
sub eax, ecx
add eax, 0x200
mov edx, esi
cmp esi, eax
jl 0x40343f
mov edx, eax
test edx, edx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x38], esi
je 0x403490
mov eax, edi
and eax, 3
je 0x403490
mov esi, edi
not esi
and esi, 3
mov dword [esp], edx
lea ebx, [edx - 1]
cmp esi, ebx
jb 0x403465
mov esi, ebx
lea eax, [esi + 1]
push eax
push 0x20
push edi
call fcn.0040c580
add esp, 0xc
add edi, esi
inc edi
sub ebx, esi
mov esi, dword [esp + 0x38]
mov edx, dword [esp]
cmp ebx, 4
jl 0x4034ba
jmp 0x4034a0
mov ebx, edx
cmp ebx, 4
jl 0x4034ba
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov dword [edi], 0x20202020
add edi, 4
mov eax, ebx
xor eax, 4
and ebx, 0xfffffffb
add ebx, ebx
sub ebx, eax
cmp ebx, 3
jg 0x4034a0
test ebx, ebx
je 0x4034d4
push ebx
push 0x20
push edi
mov esi, edx
call fcn.0040c580
mov edx, esi
mov esi, dword [esp + 0x44]
add esp, 0xc
add edi, ebx
mov ebx, dword [ebp + 8]
test ebx, ebx
je 0x403410
mov eax, edi
mov ebx, dword [esp + 0x28]
sub eax, ebx
lea ecx, [eax + 1]
cmp ecx, 0x200
jl 0x403414
mov esi, edx
add dword [esp + 0x48], eax
push eax
push dword [ebp + 0xc]
push ebx
call dword [ebp + 8]
add esp, 0xc
test eax, eax
je 0x4035dd
mov edi, eax
mov ebx, eax
mov edx, esi
mov esi, dword [esp + 0x38]
jmp 0x403414
mov ebx, dword [esp + 0x28]
mov dword [esp + 0x2c], edi
mov eax, dword [esp + 0x50]
inc eax
jmp 0x401049
mov ebx, dword [esp + 0x10]
cmp ebx, 4
jb 0x403563
mov esi, ebx
and esi, 0xfffffffc
push esi
push 0x30
push ecx
mov dword [esp + 0x14], ecx
mov dword [esp + 0x1c], ebx
mov ebx, edx
call fcn.0040c580
mov edx, ebx
mov ebx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
add esp, 0xc
add ecx, esi
and ebx, 3
mov esi, dword [esp + 0x18]
test ebx, ebx
jne 0x40357d
jmp 0x402683
mov byte [ecx], 0x30
dec ebx
inc ecx
test ebx, ebx
je 0x402683
test byte [esp], 0x40
je 0x403570
inc edx
cmp edx, 4
jne 0x403570
movzx eax, byte [0x450001]
xor al, 0xd2
mov byte [ecx], al
xor edx, edx
inc ecx
test ebx, ebx
jne 0x40357d
jmp 0x402683
mov ecx, esi
mov ebx, esi
jmp 0x40299a
fstp st(1)
fdivp st(1)
or dword [esp], 0x4000000
jmp 0x402319
test esi, esi
je 0x4035e3
mov ecx, dword [esp + 0x2c]
mov eax, ecx
sub eax, ebx
test eax, eax
jle 0x4035ea
add dword [esp + 0x48], eax
push eax
push dword [ebp + 0xc]
push ebx
call esi
add esp, 0xc
mov ecx, eax
mov ebx, eax
jmp 0x4035ea
xor ecx, ecx
xor ebx, ebx
jmp 0x4035ea
mov ecx, dword [esp + 0x2c]
mov byte [ecx], 0
mov eax, dword [esp + 0x48]
add eax, ecx
sub eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret