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 + 0x28], eax
mov ecx, dword [ebp + 0x14]
mov esi, dword [ebp + 0x10]
lea eax, [esp + 0x264]
not eax
mov dword [esp + 0x54], eax
mov eax, ecx
mov ebx, dword [ebp + 8]
mov dword [esp + 0x4c], 0
mov dword [esp + 0x1c], esi
jmp 0x401051
mov esi, eax
mov eax, edi
movzx eax, byte [edi]
mov dword [esp + 0x1c], esi
mov byte [esi], al
mov eax, edi
inc eax
inc esi
test al, 3
mov dword [esp + 0x20], esi
mov edi, eax
je 0x401060
movzx eax, byte [eax]
jmp 0x40107e
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 0x4010bd
cmp al, 0x25
je 0x40111e
mov esi, dword [esp + 0x20]
test al, al
je 0x403706
test ebx, ebx
je 0x40104b
mov ecx, esi
mov edx, dword [esp + 0x1c]
sub ecx, edx
cmp ecx, 0x1ff
jl 0x40104b
add dword [esp + 0x4c], ecx
push ecx
push dword [ebp + 0xc]
push edx
call ebx
add esp, 0xc
test eax, eax
jne 0x401040
jmp 0x403734
mov ecx, esi
sub ecx, dword [esp + 0x1c]
add ecx, 0xfffffdff
jmp 0x4010fe
mov dword [edx], eax
add edx, 4
mov dword [esp + 0x20], edx
mov eax, dword [edi + 4]
add edi, 4
mov edx, eax
not edx
and edx, 0x80808080
mov esi, eax
xor esi, 0x25252525
add esi, 0xfefefeff
add ecx, 4
test esi, edx
jne 0x40107e
lea esi, [eax - 0x1010101]
test edx, esi
jne 0x401086
test ebx, ebx
mov edx, dword [esp + 0x20]
je 0x4010d0
cmp ecx, 0xfffffffb
jle 0x4010d0
jmp 0x40107e
mov ecx, edi
add ecx, 2
xor ebx, ebx
mov esi, dword [esp + 0x20]
mov edi, dword [esp + 0x1c]
jmp 0x401140
or ebx, 1
inc ecx
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.0x401150.33
jmp dword [edx*4 + 0x44c564]
or ebx, 4
inc ecx
jmp 0x401140
or ebx, 8
inc ecx
jmp 0x401140
or ebx, 0x400
inc ecx
jmp 0x401140
mov eax, ebx
not eax
or eax, 0xffffffbf
add ebx, eax
add ebx, 0x41
inc ecx
jmp 0x401140
test ebx, 0x100
jne 0x401192
or ebx, 0x100
inc ecx
jmp 0x401140
or ebx, 2
inc ecx
jmp 0x401140
test ebx, 0x800
jne 0x4011a3
or ebx, 0x800
inc ecx
jmp 0x401140
or ebx, 0x1000
inc ecx
jmp 0x401140
mov edx, ebx
xor edx, 0x10
add edx, ebx
and ebx, 0xffffffef
sub edx, ebx
movzx eax, byte [ecx]
mov ebx, edx
cmp al, 0x2a
jne 0x4011de
mov eax, dword [esp + 0x28]
mov edx, dword [eax]
mov dword [esp + 0x44], edx
add eax, 4
mov dword [esp + 0x28], eax
movzx eax, byte [ecx + 1]
inc ecx
jmp 0x401223
dec ecx
cmp al, 0x2a
je 0x4011c1
mov edx, eax
add dl, 0xd0
mov dword [esp + 0x44], 0
cmp dl, 9
ja 0x401223
xor edi, edi
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx eax, al
lea edx, [edi + edi*4]
lea edi, [eax + edx*2]
add edi, 0xffffffd0
movzx eax, byte [ecx + 1]
inc ecx
mov edx, eax
add dl, 0xd0
cmp dl, 0xa
jb 0x401200
mov dword [esp + 0x44], edi
mov edi, dword [esp + 0x1c]
mov dword [esp + 0x18], 0xffffffff
cmp al, 0x2e
mov dword [esp + 0x1c], edi
jne 0x4012b6
movzx eax, byte [ecx + 1]
cmp al, 0x2a
jne 0x401259
mov eax, dword [esp + 0x28]
mov edx, dword [eax]
mov dword [esp + 0x18], edx
add eax, 4
mov dword [esp + 0x28], eax
movzx eax, byte [ecx + 2]
add ecx, 2
jmp 0x4012b6
inc ecx
mov edx, eax
add dl, 0xd0
mov dword [esp + 0x18], 0
cmp dl, 9
ja 0x4012b6
xor esi, esi
nop
nop
mov edx, esi
and edx, 0xfffffff5
mov edi, esi
and edi, 0xa
or esi, 0xa
imul esi, edi
xor edi, 0xa
imul edi, edx
movzx eax, al
add esi, edi
mov edx, esi
xor edx, eax
and esi, eax
lea esi, [edx + esi*2]
add esi, 0xffffffd0
movzx eax, byte [ecx + 1]
inc ecx
mov edx, eax
add dl, 0xd0
cmp dl, 0xa
jb 0x401270
mov dword [esp + 0x18], esi
mov esi, dword [esp + 0x20]
mov edx, ebx
mov edi, dword [esp + 0x1c]
jmp 0x4012b8
mov edx, ebx
movzx eax, al
add eax, 0xffffffb7
cmp eax, 0x31
mov ebx, dword [ebp + 8]
ja case.0x4012c6.74
jmp dword [eax*4 + 0x44c664]
inc ecx
movzx eax, byte [ecx]
mov dword [esp + 0x48], ecx
mov dword [esp + 0x2c], eax
movzx eax, al
add eax, 0xffffffbf
cmp eax, 0x37
ja case.0x4012e8.67
jmp dword [eax*4 + 0x44c72c]
test dl, 0x20
jne 0x401753
mov eax, dword [esp + 0x28]
mov ecx, dword [eax]
add eax, 4
mov dword [esp + 0x28], eax
mov dword [esp + 0x14], 0
cmp byte [esp + 0x2c], 0x75
je 0x401cd2
test ecx, ecx
jns 0x401cd2
neg ecx
mov dword [esp + 0xc], ecx
mov eax, edx
xor eax, 0x80
add eax, edx
mov ecx, edx
and ecx, 0xffffff5f
sub eax, ecx
mov edx, eax
jmp 0x401cd6
movzx eax, byte [ecx + 1]
cmp al, 0x6c
jne 0x401794
or edx, 0x20
add ecx, 2
jmp case.0x4012c6.74
lea eax, [ecx + 1]
mov dword [esp + 0x48], eax
movzx eax, byte [ecx + 1]
cmp eax, 0x33
je 0x401b0a
mov dword [esp + 0x2c], eax
cmp eax, 0x36
jne 0x401b1d
cmp byte [ecx + 2], 0x34
jne 0x401b14
or edx, 0x20
add ecx, 3
jmp case.0x4012c6.74
cmp byte [ecx + 1], 0x68
je 0x40179a
inc ecx
or edx, 0x200
jmp case.0x4012c6.74
mov eax, str.0123456789ABCDEFXP
cmp byte [esp + 0x2c], 0x45
je 0x4013b4
mov eax, str.0123456789abcdefxp
mov dword [esp + 4], eax
mov esi, edx
mov eax, dword [esp + 0x28]
fld qword [eax]
mov eax, 6
mov ecx, dword [esp + 0x18]
cmp ecx, 0xffffffff
je 0x4013d0
mov eax, ecx
mov dword [esp], eax
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 + 0x7c]
mov dword [esp], eax
lea ecx, [esp + 0x28]
lea edx, [esp + 0x3c]
call fcn.00403760
add esp, 0x18
mov edx, esi
test eax, eax
je 0x40140e
or edx, 0x80
add dword [esp + 0x28], 8
mov byte [esp + 0x30], 0
mov byte [esp + 0x3c], 0
mov al, 0x2d
test dl, dl
js 0x401431
mov al, 0x20
test dl, 4
jne 0x401431
mov al, 0x2b
test dl, 2
je 0x40143a
mov byte [esp + 0x3c], 1
mov byte [esp + 0x3d], al
mov eax, dword [esp + 0x38]
mov dword [esp + 0xc], 0
mov esi, dword [esp + 0x10]
cmp eax, 0x7000
jne 0x401652
mov dword [esp + 4], esi
jmp 0x402a9d
mov eax, str.0123456789ABCDEFXP
cmp byte [esp + 0x2c], 0x41
je 0x40146f
mov eax, str.0123456789abcdefxp
mov dword [esp + 0xc], eax
mov ecx, 6
mov eax, dword [esp + 0x18]
cmp eax, 0xffffffff
je 0x401483
mov ecx, eax
mov dword [esp + 0x14], ecx
mov eax, dword [esp + 0x28]
mov ecx, dword [eax + 4]
test ecx, ecx
jns 0x401498
or edx, 0x80
mov eax, dword [esp + 0x28]
mov edi, dword [eax]
mov al, 0x2d
test dl, dl
js 0x40160a
mov al, 0x20
test dl, 4
jne 0x40160a
mov al, 0x2b
test dl, 2
jne 0x40160a
mov dword [esp + 4], 0
jmp 0x401614
mov dword [esp + 0x14], str.0123456789ABCDEFXP
cmp byte [esp + 0x2c], 0x42
je 0x4014e2
mov dword [esp + 0x14], str.0123456789abcdefxp
mov byte [esp + 0x3c], 0
mov eax, edx
xor eax, 0xfffffff7
mov ecx, edx
or ecx, 8
test ecx, eax
je 0x40150d
cmp byte [esp + 0x2c], 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 ecx, 0x180
test dl, 0x20
je 0x401807
mov eax, dword [esp + 0x28]
mov esi, dword [eax]
mov dword [esp], esi
mov esi, dword [eax + 4]
add eax, 8
mov dword [esp + 0x28], eax
jmp 0x401819
mov eax, str.0123456789ABCDEFXP
cmp byte [esp + 0x2c], 0x47
je 0x40154c
mov eax, str.0123456789abcdefxp
mov dword [esp + 4], eax
mov edi, edx
mov eax, dword [esp + 0x28]
fld qword [eax]
mov ecx, dword [esp + 0x18]
cmp ecx, 1
mov eax, ecx
adc eax, 0
mov esi, 6
cmp ecx, 0xffffffff
je 0x401570
mov esi, eax
mov eax, esi
neg eax
or eax, 0x7fffffff
add eax, esi
add eax, 0x80000000
sub esp, 0x18
fstp qword [esp + 8]
lea ecx, [esp + 0x50]
mov dword [esp + 4], ecx
lea ecx, [esp + 0x7c]
mov dword [esp], ecx
mov dword [esp + 0x10], eax
lea ecx, [esp + 0x28]
lea edx, [esp + 0x3c]
call fcn.00403760
add esp, 0x18
test eax, eax
je 0x4015b4
or edi, 0x80
mov eax, dword [esp + 0x24]
cmp eax, esi
jb 0x4015be
mov eax, esi
mov dword [esp + 8], edi
mov ecx, eax
mov dword [esp], eax
cmp eax, 2
jb 0x4017a8
mov edx, dword [esp + 0x10]
mov ecx, esi
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov edi, dword [esp]
cmp byte [edx + edi - 1], 0x30
jne 0x4020b5
lea eax, [ecx - 1]
dec edi
mov dword [esp], edi
cmp edi, 2
jb 0x4020b7
cmp ecx, 1
mov ecx, eax
jne 0x4015e0
jmp 0x4020b7
mov byte [esp + 0x3d], al
mov al, 1
mov dword [esp + 4], eax
mov esi, ecx
and esi, 0xfffff
shr ecx, 0x14
and ecx, 0x7ff
mov dword [esp + 8], edx
je 0x401b42
add ecx, 0xfffffc01
mov dword [esp + 0x18], ecx
mov eax, 0xffffffff
add edi, eax
mov eax, 0xfffff
adc esi, eax
add edi, 1
adc esi, 0
jmp 0x401b57
mov dword [esp + 0x18], eax
mov dword [esp + 8], edx
movzx ecx, byte [esi]
mov byte [esp + 0xa4], cl
lea edi, [esp + 0xa5]
cmp dword [esp], 0
mov ebx, esi
je 0x401694
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 edi, [esp + 0xa6]
mov eax, dword [esp + 0x24]
lea edx, [eax - 1]
cmp edx, dword [esp]
jbe 0x4016a8
mov eax, dword [esp]
inc eax
mov dword [esp + 0x24], eax
mov dword [esp + 0xc], eax
cmp eax, 2
jb 0x401c9d
mov eax, dword [esp]
mov ecx, eax
cmp eax, edx
jb 0x4016c0
mov ecx, edx
lea esi, [ecx - 1]
mov edx, 1
cmp esi, 7
jb 0x401731
mov esi, ecx
and esi, 0xfffffff8
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx eax, byte [ebx + edx + 1]
mov byte [edi + edx], al
movzx eax, byte [ebx + edx + 2]
mov byte [edi + edx + 1], al
movzx eax, byte [ebx + edx + 3]
mov byte [edi + edx + 2], al
movzx eax, byte [ebx + edx + 4]
mov byte [edi + edx + 3], al
movzx eax, byte [ebx + edx + 5]
mov byte [edi + edx + 4], al
movzx eax, byte [ebx + edx + 6]
mov byte [edi + edx + 5], al
movzx eax, byte [ebx + edx + 7]
mov byte [edi + edx + 6], al
movzx eax, byte [ebx + edx + 8]
mov byte [edi + edx + 7], al
add edx, 8
cmp esi, edx
jne 0x4016e0
add edi, edx
inc edx
mov esi, edi
and ecx, 7
je 0x401c9f
add ebx, edx
xor edx, edx
movzx eax, byte [ebx + edx]
mov byte [esi + edx], al
inc edx
cmp ecx, edx
jne 0x401740
add esi, edx
jmp 0x401c9f
mov ecx, dword [esp + 0x28]
lea eax, [ecx + 8]
mov esi, dword [ecx]
mov dword [esp + 0xc], esi
mov esi, dword [ecx + 4]
cmp byte [esp + 0x2c], 0x75
je 0x401cc8
test esi, esi
jns 0x401cc8
neg dword [esp + 0xc]
mov ecx, 0
sbb ecx, esi
or edx, 0xa0
mov dword [esp + 0x14], ecx
mov dword [esp + 0x28], eax
jmp 0x401cd6
inc ecx
jmp 0x4012d1
add ecx, 2
or edx, 0x200
jmp case.0x4012c6.74
mov eax, esi
jmp 0x4020b7
and edx, 0xffffffef
mov dword [esp + 0x18], 8
mov dword [esp + 0x14], str.0123456789ABCDEFXP
mov eax, dword [esp + 0x2c]
cmp al, 0x58
je 0x4017d2
mov dword [esp + 0x14], str.0123456789abcdefxp
mov dword [esp + 0x24], 0x440
mov byte [esp + 0x3c], 0
mov ecx, 0x440
test dl, 8
je 0x4017fe
cmp al, 0x58
setne al
mov word [esp + 0x3c], 0x3002
shl al, 5
or al, 0x58
mov byte [esp + 0x3e], al
test dl, 0x20
jne 0x401523
mov eax, dword [esp + 0x28]
mov esi, dword [eax]
mov dword [esp], esi
add eax, 4
mov dword [esp + 0x28], eax
xor esi, esi
mov dword [esp + 0x38], 0
mov byte [esp + 0x30], 0
mov eax, dword [esp]
mov dword [esp + 0xc], esi
or eax, esi
jne 0x401841
mov byte [esp + 0x3c], 0
cmp dword [esp + 0x18], 0
je 0x401b26
lea esi, [esp + 0x264]
mov dword [esp + 8], edx
nop
nop
nop
nop
mov eax, 0xffffffff
mov cl, ch
shl eax, cl
not eax
mov edi, dword [esp]
and eax, edi
mov ebx, dword [esp + 0x24]
mov cl, bh
mov edx, dword [esp + 0xc]
shrd edi, edx, cl
mov ecx, dword [esp + 0x14]
movzx ecx, byte [ecx + eax]
mov eax, esi
mov byte [esi - 1], cl
mov cl, bh
shr edx, cl
mov esi, ebx
test bh, 0x20
je 0x401889
mov edi, edx
xor edx, edx
lea ecx, [eax - 1]
mov dword [esp + 4], ecx
mov dword [esp], edi
mov dword [esp + 0xc], edx
or edi, edx
mov edx, dword [esp + 8]
jne 0x4018c5
mov edi, dword [esp + 4]
mov edx, edi
lea ebx, [esp + 0x264]
xor edx, ebx
mov ecx, edi
not ecx
and ecx, ebx
mov ebx, dword [ebp + 8]
add ecx, ecx
sub ecx, edx
mov edx, dword [esp + 8]
cmp ecx, dword [esp + 0x18]
jge 0x401914
mov ebx, esi
mov ecx, esi
test dl, 0x40
mov esi, dword [esp + 4]
je 0x401850
lea ecx, [ebx + 1]
mov dword [esp + 0x24], ecx
mov edx, ecx
shr edx, 4
xor edx, ecx
test dl, 0xf
jne 0x401850
mov ecx, 0xfffffffe
sub ecx, ebx
not ecx
and ecx, 0xfffffff0
mov dword [esp + 0x24], ecx
movzx edx, byte [0x44f001]
xor dl, 8
mov byte [eax - 2], dl
add eax, 0xfffffffe
mov esi, eax
jmp 0x401850
shl esi, 0x14
and esi, 0xf000000
add esi, ecx
mov dword [esp + 0xc], esi
mov dword [esp + 0x24], ecx
mov dword [esp], 0
jmp 0x401fe1
mov byte [esp + 0x3c], 0
test dl, 8
je 0x401944
mov word [esp + 0x3c], 0x3001
mov dword [esp + 0x24], 0x330
mov dword [esp + 0x14], str.0123456789ABCDEFXP
mov ecx, 0x330
test dl, 0x20
je 0x401807
jmp 0x401523
mov eax, dword [esp + 0x28]
mov eax, dword [eax]
mov dword [esp + 4], str.null
test eax, eax
je 0x40197d
mov dword [esp + 4], eax
mov eax, dword [esp + 0x18]
mov esi, eax
test eax, eax
jns 0x40198c
mov esi, 0xffffffff
mov eax, dword [esp + 4]
test al, 3
je 0x402725
mov dword [esp], esi
add esi, eax
cmp dword [esp + 0x18], 0
je 0x402a76
cmp byte [eax], 0
je 0x402a0d
lea ecx, [eax + 1]
mov eax, dword [esp]
dec eax
test cl, 3
je 0x402a11
test eax, eax
je 0x402a76
cmp byte [ecx], 0
je 0x401a32
mov eax, dword [esp + 4]
lea ecx, [eax + 2]
mov eax, dword [esp]
add eax, 0xfffffffe
test cl, 3
je 0x402a11
test eax, eax
je 0x402a76
cmp byte [ecx], 0
je 0x401a32
mov eax, dword [esp + 4]
lea ecx, [eax + 3]
mov eax, dword [esp]
add eax, 0xfffffffd
test cl, 3
je 0x402a11
test eax, eax
je 0x402a76
cmp byte [ecx], 0
je 0x401a32
mov eax, dword [esp + 4]
lea ecx, [eax + 4]
add dword [esp], 0xfffffffc
test cl, 3
je 0x4036fe
cmp dword [esp], 0
je 0x402a76
mov esi, ecx
jmp 0x402a76
mov eax, dword [esp + 0x2c]
mov byte [esp + 0x263], al
mov dword [esp + 0x24], 1
mov byte [esp + 0x3c], 0
mov byte [esp + 0x30], 0
mov dword [esp + 0x38], 0
mov dword [esp + 0xc], 0
lea eax, [esp + 0x263]
mov dword [esp + 4], eax
xor edx, edx
mov dword [esp], 0
xor esi, esi
mov dword [esp + 0x44], 0
jmp 0x402aa6
mov ecx, dword [esp + 0x28]
movzx eax, byte [ecx]
mov byte [esp + 0x263], al
mov dword [esp + 0x24], 1
mov byte [esp + 0x3c], 0
mov byte [esp + 0x30], 0
mov dword [esp + 0x38], 0
add ecx, 4
mov dword [esp + 0x28], ecx
mov dword [esp + 0xc], 0
lea eax, [esp + 0x263]
jmp 0x402420
mov eax, dword [esp + 0x28]
fld qword [eax]
add eax, 8
mov dword [esp + 0x28], eax
test edx, 0x100
jne 0x401ee8
jmp 0x402193
mov edx, dword [esp + 0x28]
mov eax, dword [edx]
mov ecx, dword [esp + 0x4c]
sub ecx, edi
add ecx, esi
mov dword [eax], ecx
add edx, 4
mov dword [esp + 0x28], edx
mov eax, dword [esp + 0x48]
jmp 0x403582
cmp byte [ecx + 2], 0x32
je 0x4021e8
mov ecx, dword [esp + 0x48]
jmp case.0x4012c6.74
mov eax, dword [esp + 0x2c]
jmp 0x4012d5
mov dword [esp + 0x24], 0
mov dword [esp + 0xc], 0
lea eax, [esp + 0x264]
jmp 0x402420
xor eax, eax
mov ecx, edi
or ecx, esi
je 0x401b4f
mov eax, 0xfffffc02
mov dword [esp + 0x18], eax
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x14]
lea ecx, [eax*4]
xor ebx, ebx
mov eax, 0x8000000
shrd ebx, eax, cl
mov edx, 0x8000000
shr edx, cl
test cl, 0x20
je 0x401b7c
mov ebx, edx
xor edx, edx
cmp dword [esp + 0x14], 0xf
jl 0x401b87
xor ebx, ebx
xor edx, edx
shld esi, edi, 8
shl edi, 8
add edi, ebx
adc esi, edx
mov edx, dword [esp + 4]
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 + 0xc]
movzx ecx, byte [eax + ecx]
mov byte [esp + 0xa4], cl
cmp dword [esp + 0x14], 0
je 0x401c87
mov dword [esp + 0x50], edi
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
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0xa6]
mov dword [esp + 0x10], eax
mov edi, ecx
cmp ecx, 0xd
mov ebx, dword [esp + 0x18]
jb 0x401c07
mov edi, 0xd
mov eax, ecx
sub eax, edi
jg 0x401c0f
xor eax, eax
mov dword [esp], eax
mov edx, edi
and edx, 3
je 0x4021f0
mov dword [esp + 4], edi
xor ebx, ebx
mov ecx, dword [esp + 0xc]
mov edi, dword [esp + 0x50]
nop
nop
nop
nop
nop
mov eax, esi
shr eax, 0x18
and eax, 0xf
movzx eax, byte [ecx + eax]
shld esi, edi, 4
mov byte [esp + ebx + 0xa6], al
shl edi, 4
inc ebx
cmp edx, ebx
jne 0x401c30
mov dword [esp + 0x50], edi
lea eax, [esp + 0xa6]
lea edx, [eax + ebx]
mov edi, dword [esp + 4]
sub edi, ebx
mov ebx, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
cmp ecx, 4
jae 0x402200
lea esi, [esp + 0xa6]
mov dword [esp + 0xc], esi
mov edi, dword [esp]
jmp 0x402278
lea edx, [esp + 0xa5]
mov dword [esp + 0x10], edx
xor edi, edi
mov dword [esp + 0xc], edx
jmp 0x402274
mov esi, edi
mov eax, dword [esp + 4]
movzx eax, byte [eax + 0xe]
mov byte [esp + 0x31], al
mov eax, dword [esp + 0x18]
test eax, eax
mov dword [esp + 0x14], esi
jle 0x401fea
dec eax
mov byte [esp + 0x32], 0x2b
mov edi, eax
jmp 0x401ff6
mov dword [esp + 0x14], esi
mov dword [esp + 0x28], eax
jmp 0x401cd6
mov dword [esp + 0xc], ecx
test edx, 0x100
jne 0x401ea7
movzx ebx, byte [0x44f001]
mov eax, ebx
add al, bl
and al, 0x10
mov ecx, ebx
sub cl, al
add cl, 8
mov byte [esp + 0x2c], cl
xor bl, 8
mov esi, 0x200
mov dword [esp + 4], 0
mov dword [esp + 8], edx
mov ecx, dword [esp + 0x14]
mov byte [esp + 0x50], bl
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov ebx, dword [esp + 0xc]
cmp ebx, 0x5f5e100
mov eax, ecx
sbb eax, 0
jb 0x401d60
push 0
push 0x5f5e100
push ecx
push ebx
call fcn.0040c5a0
mov dword [esp + 0x14], edx
mov edx, dword [esp + 8]
imul ecx, eax, 0x5f5e100
sub ebx, ecx
mov dword [esp + 0xc], eax
jmp 0x401d70
mov dword [esp + 0x14], 0
mov dword [esp + 0xc], 0
lea eax, [esp + 0x5c]
lea edi, [eax + esi]
test dl, 0x40
jne 0x401dd0
mov dword [esp], edi
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, 2
mov edi, eax
or eax, 2
imul eax, ecx
xor ecx, 2
and edi, 0x7d
imul edi, ecx
movzx eax, word [edi + eax + str.00010203040506070809101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899]
mov word [esp + esi + 0x62], ax
add esi, 0xfffffffe
cmp ebx, 0x64
mov ebx, edx
jae 0x401d80
mov edx, dword [esp + 8]
mov eax, dword [esp + 4]
mov edi, dword [esp]
jmp 0x401e40
test ebx, ebx
mov eax, dword [esp + 4]
jne 0x401e10
jmp 0x401e40
mov dword [esp], edi
mov edi, eax
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 + 0x63], bl
dec esi
mov ebx, edx
mov edx, dword [esp + 8]
mov eax, edi
mov edi, dword [esp]
test ebx, ebx
je 0x401e40
test dl, 0x40
je 0x401de0
cmp eax, 3
je 0x401e20
mov dword [esp], edi
inc eax
jmp 0x401de3
movzx eax, byte [esp + 0x2c]
mov byte [esp + esi + 0x63], al
dec esi
dec edi
xor eax, eax
test ebx, ebx
jne 0x401e10
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov dword [esp + 4], eax
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x14]
or eax, ecx
lea eax, [esp + esi + 0x64]
je 0x401f2f
cmp eax, edi
movzx ebx, byte [esp + 0x50]
jne 0x401e89
jmp 0x401d20
inc eax
mov dword [esp + 4], eax
mov byte [esp + esi + 0x63], 0x30
dec esi
lea eax, [esp + esi]
add eax, 0x64
cmp eax, edi
je 0x401d20
test dl, 0x40
je 0x401e75
mov eax, dword [esp + 4]
cmp eax, 3
jne 0x401e70
mov byte [esp + esi + 0x63], bl
dec esi
dec edi
mov dword [esp + 4], 0
jmp 0x401e7b
mov eax, 1
mov ecx, dword [esp + 0x18]
cmp ecx, 0xffffffff
je 0x401eb7
mov eax, ecx
mov dword [esp + 0x18], 0
cmp dword [esp + 0xc], 0x400
mov ecx, dword [esp + 0x14]
sbb ecx, 0
jb 0x401ed4
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0xc]
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x5c], eax
fild qword [esp + 0x58]
xor eax, eax
test edx, 0x800
sete al
fld qword [eax*8 + 0x44c550]
cmp edx, 0x3ffffff
ja 0x401faf
fld st(0)
fchs
fxch st(1)
fucom st(2)
fnstsw ax
sahf
jbe 0x402119
fxch st(2)
fucom st(1)
fnstsw ax
sahf
fxch st(2)
jbe 0x402119
fstp st(0)
fstp st(0)
jmp 0x402193
mov dword [esp + 4], eax
cmp byte [esp + esi + 0x64], 0x30
sete al
cmp esi, 0x200
setne cl
mov byte [esp + 0x30], 0
mov byte [esp + 0x3c], 0
mov ebx, edx
mov dl, 0x2d
test bl, bl
js 0x401f68
mov dl, 0x20
test byte [esp + 8], 4
jne 0x401f68
mov dl, 0x2b
test byte [esp + 8], 2
je 0x401f71
mov byte [esp + 0x3c], 1
mov byte [esp + 0x3d], dl
and cl, al
movzx eax, cl
mov edx, dword [esp + 4]
add edx, eax
mov eax, edx
and eax, dword [esp + 0x54]
mov esi, edx
not esi
lea ecx, [esp + 0x264]
and esi, ecx
sub esi, eax
mov dword [esp + 0x24], esi
jne 0x401fb6
mov byte [edx - 1], 0x30
dec edx
mov dword [esp + 4], edx
mov dword [esp + 0x24], 1
mov esi, 1
jmp 0x401fba
fstp st(0)
jmp 0x402193
mov dword [esp + 4], edx
mov edx, dword [esp + 8]
mov ebx, dword [ebp + 8]
mov dword [esp], 0
cmp dword [esp + 0x18], 0
jg 0x401fd7
mov dword [esp + 0x18], 0
add esi, 0x3000000
mov dword [esp + 0xc], esi
mov esi, dword [esp + 0x18]
jmp 0x402aa6
mov byte [esp + 0x32], 0x2d
mov edi, 1
sub edi, eax
xor eax, eax
cmp edi, 0x64
setge al
mov esi, eax
mov eax, edi
mov ecx, 0x66666667
imul ecx
mov ecx, edx
mov eax, edx
shr eax, 0x1f
sar ecx, 2
add ecx, eax
lea eax, [ecx + ecx]
lea eax, [eax + eax*4]
mov ebx, edi
sub ebx, eax
mov eax, ecx
mov edx, 0x66666667
imul edx
mov eax, edx
shr eax, 0x1f
sar edx, 2
add edx, eax
lea eax, [esi + 4]
add bl, 0x30
add edx, edx
lea edx, [edx + edx*4]
mov dword [esp + 4], edx
mov dword [esp + 0x18], eax
mov byte [esp + 0x30], al
mov byte [esp + esi + 0x34], bl
mov edx, ecx
sub edx, dword [esp + 4]
add dl, 0x30
mov byte [esp + esi + 0x33], dl
cmp edi, 0x64
jl 0x40208e
mov eax, edi
mov ecx, 0x51eb851f
mul ecx
mov ecx, edx
shr ecx, 5
mov eax, ecx
mov edx, 0x1999999a
mul edx
add edx, edx
lea eax, [edx + edx*4]
mov edx, ecx
sub edx, eax
or dl, 0x30
lea eax, [esp + 0x30]
mov esi, dword [esp + 0x18]
mov byte [esi + eax - 2], dl
mov eax, dword [esp]
sub eax, dword [esp + 0xc]
inc eax
mov dword [esp], eax
mov dword [esp + 0x38], ecx
mov dword [esp + 0xc], 0x3000001
mov edx, dword [esp + 8]
mov ebx, dword [ebp + 8]
mov esi, dword [esp + 0x14]
jmp 0x4029f5
mov eax, ecx
add dword [esp + 0x28], 8
mov ecx, dword [esp]
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0x38]
cmp ecx, 0xfffffffd
mov edx, dword [esp + 8]
jl 0x4020f1
cmp ecx, esi
jg 0x4020f1
test ecx, ecx
jle 0x4023d3
sub dword [esp], ecx
jg 0x4023e1
mov dword [esp], 0
jmp 0x4023e1
mov ecx, dword [esp]
cmp eax, ecx
jle 0x402101
dec ecx
mov dword [esp], ecx
jmp 0x401413
mov dword [esp], 0
sub eax, 1
jb 0x401413
mov dword [esp], eax
jmp 0x401413
fdiv st(2), st(0)
lea ecx, [edx + 0x1000000]
cmp edx, 0x2ffffff
ja 0x40218d
fucom st(2)
fnstsw ax
sahf
jbe 0x40213b
fxch st(2)
fucom st(1)
fnstsw ax
sahf
fxch st(2)
ja 0x40218d
fdiv st(2), st(0)
lea ecx, [edx + 0x2000000]
cmp edx, 0x1ffffff
ja 0x40218d
fucom st(2)
fnstsw ax
sahf
jbe 0x40215d
fxch st(2)
fucom st(1)
fnstsw ax
sahf
fxch st(2)
ja 0x40218d
fdiv st(2), st(0)
lea ecx, [edx + 0x3000000]
cmp edx, 0xffffff
ja 0x40218d
fucom st(2)
fnstsw ax
sahf
jbe 0x4036ef
fxch st(2)
fucom st(1)
fstp st(1)
fnstsw ax
sahf
fldz
fxch st(1)
fxch st(2)
jbe 0x4036ef
fstp st(0)
fstp st(0)
mov edx, ecx
mov esi, edx
mov ecx, 6
mov eax, dword [esp + 0x18]
cmp eax, 0xffffffff
je 0x4021a5
mov ecx, eax
sub esp, 0x18
fstp qword [esp + 8]
lea eax, [esp + 0x50]
mov dword [esp + 4], eax
lea eax, [esp + 0x7c]
mov dword [esp], eax
mov dword [esp + 0x18], ecx
mov dword [esp + 0x10], ecx
lea ecx, [esp + 0x28]
lea edx, [esp + 0x3c]
call fcn.00403760
add esp, 0x18
mov edx, esi
test eax, eax
je 0x4023e1
or edx, 0x80
jmp 0x4023e1
add ecx, 3
jmp case.0x4012c6.74
lea edx, [esp + 0xa6]
cmp ecx, 4
jb 0x401c74
mov ebx, esi
mov eax, edi
mov edi, dword [esp + 0x50]
nop
nop
nop
nop
nop
nop
nop
nop
mov dword [esp + 4], eax
mov eax, esi
shr eax, 0x18
and eax, 0xf
mov ecx, dword [esp + 0xc]
movzx eax, byte [ecx + eax]
mov byte [edx], al
mov eax, esi
shr eax, 0x14
and eax, 0xf
movzx eax, byte [ecx + eax]
mov byte [edx + 1], al
mov eax, esi
shr eax, 0x10
and eax, 0xf
movzx eax, byte [ecx + eax]
mov byte [edx + 2], al
shld ebx, edi, 0x10
shl edi, 0x10
shr esi, 0xc
and esi, 0xf
movzx eax, byte [ecx + esi]
mov byte [edx + 3], al
mov eax, dword [esp + 4]
add edx, 4
mov esi, ebx
add eax, 0xfffffffc
jne 0x402210
lea esi, [esp + 0xa6]
mov dword [esp + 0xc], esi
mov edi, dword [esp]
mov ebx, dword [esp + 0x18]
mov eax, dword [esp + 0x2c]
cmp al, 0x41
setne al
shl al, 5
or al, 0x50
mov byte [esp + 0x31], al
test ebx, ebx
js 0x402295
mov byte [esp + 0x32], 0x2b
jmp 0x40229c
mov byte [esp + 0x32], 0x2d
neg ebx
cmp ebx, 0x3e7
mov dword [esp], edi
mov dword [esp + 4], edx
ja 0x4022be
cmp ebx, 0x63
jbe 0x4023b7
mov dword [esp + 0x14], 5
jmp 0x4022c6
mov dword [esp + 0x14], 6
mov dword [esp + 0x18], 0
mov eax, ebx
mov ecx, 0xcccccccd
mul ecx
shr edx, 2
and edx, 0xfffffffe
mov esi, ebx
lea ebx, [edx + edx*4]
mov eax, esi
mov edi, 0x66666667
imul edi
mov ecx, edx
mov eax, edx
shr eax, 0x1f
sar ecx, 2
add ecx, eax
mov eax, ecx
imul edi
mov eax, esi
sub eax, ebx
mov ebx, dword [esp + 0x14]
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 eax, [edx + edx*4]
sub ecx, eax
add cl, 0x30
mov byte [esp + ebx + 0x2f], cl
cmp byte [esp + 0x18], 0
jne 0x4027d7
mov edi, esi
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
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 byte [ebx + eax - 2], cl
cmp esi, 0x3e8
jb 0x4027d7
mov eax, edi
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 byte [ebx + eax - 3], cl
jmp 0x4027d7
cmp ebx, 9
jbe 0x4027cb
mov dword [esp + 0x14], 4
mov al, 1
mov dword [esp + 0x18], eax
jmp 0x4022ce
mov esi, dword [esp]
cmp eax, esi
jl 0x4023dc
mov eax, esi
sub eax, ecx
mov dword [esp], eax
mov byte [esp + 0x30], 0
mov byte [esp + 0x3c], 0
mov al, 0x2d
test dl, dl
js 0x4023ff
mov al, 0x20
test dl, 4
jne 0x4023ff
mov al, 0x2b
test dl, 2
je 0x402408
mov byte [esp + 0x3c], 1
mov byte [esp + 0x3d], al
mov ecx, dword [esp + 0x38]
cmp ecx, 0x7000
jne 0x402429
mov dword [esp + 0xc], 0
mov eax, dword [esp + 0x10]
mov dword [esp + 4], eax
jmp 0x402a9d
test ecx, ecx
mov dword [esp + 8], edx
jle 0x4024d6
mov dword [esp + 4], 0
test dl, 0x40
je 0x402461
mov esi, 0x258
sub esi, ecx
mov eax, esi
mov edx, 0xaaaaaaab
mul edx
shr edx, 1
lea eax, [edx + edx*2]
mov edx, dword [esp + 8]
sub esi, eax
mov dword [esp + 4], esi
cmp ecx, dword [esp + 0x24]
jae 0x402554
xor eax, eax
lea ecx, [esp + 0xa4]
mov dword [esp + 0xc], ecx
jmp 0x4024a2
mov edx, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
movzx ecx, byte [ecx + eax]
lea esi, [edx + 1]
mov dword [esp + 0xc], esi
mov byte [edx], cl
inc eax
mov ecx, dword [esp + 0x38]
cmp eax, ecx
jae 0x4025cf
mov ecx, dword [esp + 8]
test cl, 0x40
je 0x402480
mov edx, dword [esp + 4]
inc edx
mov dword [esp + 4], edx
cmp edx, 4
jne 0x402480
and ecx, 0x40
shr ecx, 6
mov dword [esp + 4], ecx
movzx ecx, byte [0x44f001]
xor cl, 8
mov edx, dword [esp + 0xc]
mov byte [edx], cl
inc edx
jmp 0x402484
mov byte [esp + 0xa4], 0x30
lea esi, [esp + 0xa5]
mov edx, dword [esp]
test edx, edx
je 0x402503
movzx eax, byte [section..data]
xor al, 0xaf
mov byte [esp + 0xa5], al
lea esi, [esp + 0xa6]
neg ecx
mov edi, edx
cmp edx, ecx
jl 0x40250d
mov edi, ecx
test edi, edi
mov dword [esp + 4], edi
je 0x40272c
mov eax, esi
and eax, 3
je 0x40272c
mov ecx, esi
not esi
and esi, 3
lea ebx, [edi - 1]
cmp esi, ebx
jb 0x402534
mov esi, ebx
lea eax, [esi + 1]
push eax
push 0x30
mov edi, ecx
push ecx
call fcn.0040c690
add esp, 0xc
lea ecx, [esi + edi]
inc ecx
sub ebx, esi
mov edi, dword [esp + 4]
jmp 0x402730
xor eax, eax
mov esi, 0xffffffff
mov ebx, 1
lea ecx, [esp + 0xa4]
mov dword [esp + 0x14], ecx
jmp 0x402594
mov dword [esp + 4], ecx
mov edi, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
movzx ecx, byte [ecx + ebx - 1]
mov byte [edi], cl
lea ecx, [edi + 1]
mov dword [esp + 0x14], ecx
inc eax
dec esi
inc ebx
cmp eax, dword [esp + 0x24]
jae 0x40266a
test dl, 0x40
je 0x402571
mov ecx, dword [esp + 4]
inc ecx
cmp ecx, 4
jne 0x40256d
mov ecx, edx
and ecx, 0x40
shr ecx, 6
mov dword [esp + 4], ecx
movzx ecx, byte [0x44f001]
mov edx, ecx
add dl, cl
and dl, 0x10
sub cl, dl
mov edx, dword [esp + 8]
add cl, 8
mov edi, dword [esp + 0x14]
mov byte [edi], cl
inc edi
jmp 0x402575
mov esi, dword [esp + 0xc]
cmp dword [esp], 0
je 0x4025ef
movzx ecx, byte [section..data]
xor cl, 0xaf
mov byte [edx + 1], cl
add edx, 2
mov ecx, dword [esp + 0x38]
mov esi, edx
mov dword [esp + 0x14], esi
mov edx, dword [esp + 0x24]
mov esi, edx
sub esi, ecx
cmp esi, dword [esp]
jbe 0x402613
mov edx, ecx
mov esi, dword [esp]
and edx, esi
mov esi, ecx
xor esi, dword [esp]
lea edx, [esi + edx*2]
mov dword [esp + 0x24], edx
cmp eax, edx
jae 0x40263c
mov esi, dword [esp + 0x14]
nop
nop
nop
nop
nop
mov ecx, dword [esp + 0x10]
movzx ecx, byte [ecx + eax]
mov byte [esi], cl
inc esi
inc eax
mov edx, dword [esp + 0x24]
cmp eax, edx
jb 0x402620
mov dword [esp + 0x14], esi
mov ecx, dword [esp + 0x38]
lea eax, [esp + 0xa4]
mov esi, dword [esp + 0xc]
sub esi, eax
add esi, 0x3000000
mov dword [esp + 0xc], esi
mov eax, dword [esp]
sub eax, edx
add eax, ecx
mov dword [esp], eax
mov edx, dword [esp + 8]
mov esi, dword [esp + 0x14]
jmp 0x402967
mov dword [esp + 0xc], edi
mov ecx, dword [esp + 0x38]
mov edi, ecx
sub ecx, eax
jbe 0x402789
test dl, 0x40
jne 0x402887
cmp edi, eax
je 0x4026eb
mov eax, dword [esp + 0x14]
and eax, 3
je 0x4026eb
mov ecx, 2
sub ecx, dword [esp + 0xc]
and ecx, 3
mov eax, edi
sub eax, ebx
mov edx, ecx
mov dword [esp + 0x18], ecx
cmp ecx, eax
jb 0x4026ae
mov edx, eax
mov dword [esp + 0x2c], edx
lea eax, [edx + 1]
push eax
push 0x30
push dword [esp + 0x1c]
call fcn.0040c690
add esp, 0xc
add esi, edi
mov eax, dword [esp + 0x18]
cmp esi, eax
jb 0x4026d0
mov esi, eax
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x2c]
add eax, ecx
add eax, 2
mov dword [esp + 0x14], eax
sub edi, esi
sub edi, ebx
mov ecx, edi
mov edx, dword [esp + 8]
cmp ecx, 4
jb 0x402887
mov esi, ecx
and esi, 0xfffffffc
push esi
push 0x30
mov edi, dword [esp + 0x1c]
push edi
mov ebx, ecx
call fcn.0040c690
mov ecx, ebx
mov edx, dword [esp + 0x14]
add esp, 0xc
add edi, esi
mov esi, edi
and ecx, 3
mov ebx, dword [ebp + 8]
test ecx, ecx
jne 0x4028a4
jmp 0x402790
mov ecx, eax
jmp 0x402a13
mov ecx, esi
mov ebx, edi
cmp ebx, 4
jl 0x40276c
mov eax, ebx
cmp ebx, 7
jl 0x402741
mov eax, 7
neg eax
lea esi, [ebx + eax]
add esi, 3
and esi, 0xfffffffc
lea eax, [esi + 4]
push eax
push 0x30
mov edi, ecx
push ecx
call fcn.0040c690
add esp, 0xc
lea ecx, [esi + edi]
add ecx, 4
sub ebx, esi
add ebx, 0xfffffffc
mov edi, dword [esp + 4]
test ebx, ebx
je 0x40280f
push ebx
push 0x30
mov esi, ecx
push ecx
call fcn.0040c690
add esp, 0xc
add esi, ebx
jmp 0x402811
mov ebx, dword [ebp + 8]
mov esi, dword [esp + 0x14]
mov ecx, esi
lea eax, [esp + 0xa4]
sub ecx, eax
add ecx, 0x3000000
mov dword [esp + 0xc], ecx
cmp dword [esp], 0
je 0x4028e5
movzx eax, byte [section..data]
mov ecx, eax
or cl, 0x50
not al
or al, 0xaf
and al, cl
not al
mov byte [esi], al
inc esi
jmp 0x402967
mov byte [esp + 0x30], 3
or bl, 0x30
mov byte [esp + 0x33], bl
add dword [esp + 0x28], 8
mov ecx, dword [esp + 4]
mov eax, ecx
sub eax, dword [esp + 0xc]
mov dword [esp + 0x38], eax
lea eax, [esp + 0xa4]
sub ecx, eax
mov dword [esp + 0x24], ecx
mov dword [esp + 0xc], 0x3000001
mov dword [esp + 4], eax
mov ebx, dword [ebp + 8]
mov edx, dword [esp + 8]
jmp 0x402aa4
mov esi, ecx
mov eax, dword [esp + 0x24]
lea ecx, [eax + edi]
cmp ecx, dword [esp]
mov ebx, dword [ebp + 8]
jle 0x40282b
mov eax, dword [esp]
sub eax, dword [esp + 4]
mov dword [esp + 0x24], eax
test eax, eax
mov dword [esp + 0xc], eax
je 0x402950
mov dword [esp + 0x14], esi
mov esi, dword [esp]
mov dword [esp + 0x18], esi
cmp esi, ecx
jl 0x40284a
mov dword [esp + 0x18], ecx
mov ecx, eax
and ecx, 3
je 0x4028ee
xor esi, esi
mov eax, dword [esp + 0x14]
nop
nop
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 0x402860
add eax, esi
mov dword [esp + 0x14], eax
mov ecx, dword [esp + 0xc]
sub ecx, esi
mov ebx, dword [ebp + 8]
jmp 0x4028f0
mov ebx, dword [ebp + 8]
mov esi, dword [esp + 0x14]
test ecx, ecx
jne 0x4028a4
jmp 0x402790
mov byte [esi], 0x30
dec ecx
inc esi
test ecx, ecx
je 0x402790
test dl, 0x40
je 0x402897
mov eax, dword [esp + 4]
inc eax
mov dword [esp + 4], eax
cmp eax, 4
jne 0x402897
movzx eax, byte [0x44f001]
mov dword [esp + 0xc], ecx
mov ecx, eax
add cl, al
and cl, 0x10
sub al, cl
mov ecx, dword [esp + 0xc]
add al, 8
mov byte [esi], al
mov dword [esp + 4], 0
inc esi
test ecx, ecx
jne 0x4028a4
jmp 0x402790
mov dword [esp], 0
jmp 0x402967
mov ecx, eax
mov edx, dword [esp + 4]
sub edx, dword [esp + 0x18]
cmp edx, 0xfffffffc
mov esi, dword [esp + 0x14]
ja 0x402950
mov edx, dword [esp + 0x10]
mov eax, esi
lea esi, [edx + 1]
mov dword [esp + 0x10], esi
movzx edx, byte [edx]
mov byte [eax], dl
mov edx, dword [esp + 0x10]
lea esi, [edx + 1]
mov dword [esp + 0x10], esi
movzx edx, byte [edx]
mov byte [eax + 1], dl
mov edx, dword [esp + 0x10]
lea esi, [edx + 1]
mov dword [esp + 0x10], esi
movzx edx, byte [edx]
mov byte [eax + 2], dl
mov edx, dword [esp + 0x10]
lea esi, [edx + 1]
mov dword [esp + 0x10], esi
mov esi, eax
movzx edx, byte [edx]
mov byte [eax + 3], dl
add esi, 4
add ecx, 0xfffffffc
jne 0x402901
mov eax, dword [esp + 4]
add eax, dword [esp + 0xc]
sub dword [esp], eax
mov dword [esp + 0xc], 0x3000001
mov edx, dword [esp + 8]
test edx, 0x100
je 0x4029f5
mov eax, edx
and eax, 0x400
sete byte [esp + 0x30]
mov byte [esp + 0x31], 0x20
cmp edx, 0x1000000
jb 0x4029f5
mov ecx, edx
shr ecx, 0x18
test edx, 0x800
jne 0x4029bb
movzx ecx, byte [ecx + str._kMGT]
mov edx, eax
shr edx, 0xa
neg edx
mov byte [esp + edx + 0x32], cl
mov edx, dword [esp + 8]
cmp eax, 1
mov eax, 0
adc al, 1
jmp 0x4029f1
movzx ecx, byte [ecx + str._KMGT]
mov edx, dword [esp + 8]
shr edx, 0xa
or edx, 0xfffffffe
neg edx
mov byte [esp + edx + 0x30], cl
mov edx, dword [esp + 8]
cmp eax, 1
mov eax, 0
adc al, 1
test edx, 0x1000
jne 0x4029f1
movzx eax, al
mov byte [esp + eax + 0x31], 0x69
inc eax
mov byte [esp + 0x30], al
lea eax, [esp + 0xa4]
sub esi, eax
mov dword [esp + 0x24], esi
xor esi, esi
mov dword [esp + 4], eax
jmp 0x402aa6
mov esi, eax
jmp 0x402a76
mov esi, eax
mov dword [esp], esi
mov dword [esp + 0xc], ecx
mov eax, ecx
mov dword [esp + 8], edx
mov ecx, esi
cmp esi, 4
jb 0x402a4a
mov edi, eax
mov eax, dword [eax]
mov edx, 0x1010100
sub edx, eax
or edx, eax
not edx
lea eax, [edi + 4]
lea esi, [ecx - 4]
test edx, 0x80808080
mov edx, dword [esp + 8]
je 0x402a20
jmp 0x402a54
test ecx, ecx
mov edi, eax
je 0x4036e8
mov eax, edx
mov edx, dword [esp]
add dword [esp + 0xc], edx
xor edx, edx
mov esi, edi
cmp byte [esi + edx], 0
je 0x402a72
inc edx
cmp ecx, edx
jne 0x402a61
mov esi, dword [esp + 0xc]
jmp 0x402a74
add esi, edx
mov edx, eax
add dword [esp + 0x28], 4
sub esi, dword [esp + 4]
mov dword [esp + 0x24], esi
mov byte [esp + 0x3c], 0
mov byte [esp + 0x30], 0
mov dword [esp + 0x38], 0
mov dword [esp + 0xc], 0
mov dword [esp], 0
xor esi, esi
mov dword [esp + 8], edx
mov ecx, dword [esp + 0x24]
cmp esi, ecx
jg 0x402ab4
mov esi, ecx
movsx eax, byte [esp + 0x3c]
movsx edi, byte [esp + 0x30]
mov edx, dword [esp]
mov dword [esp + 0x18], esi
add edx, esi
add edx, eax
add edx, edi
mov esi, dword [esp + 0x44]
cmp esi, edx
jg 0x402ad5
mov esi, edx
sub esi, edx
mov edx, esi
sub dword [esp + 0x18], ecx
mov ecx, dword [esp + 8]
test cl, 1
mov esi, dword [esp + 0x20]
mov edi, dword [esp + 0x1c]
jne 0x402afb
test cl, 0x10
jne 0x402aff
mov dword [esp + 8], 0
mov ecx, edx
jmp 0x402b0f
mov ecx, dword [esp + 0x18]
cmp edx, ecx
jg 0x402b09
mov edx, ecx
mov dword [esp + 0x18], edx
xor ecx, ecx
mov dword [esp + 0x44], ecx
add ecx, dword [esp + 0x18]
jne 0x402b22
mov edx, dword [esp + 8]
jmp 0x403033
mov edx, dword [esp + 8]
test dl, 1
jne 0x402c98
mov ecx, dword [esp + 0x44]
test ecx, ecx
jg 0x402b5c
jmp 0x402c98
mov esi, eax
mov dword [esp + 0x1c], eax
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 8]
mov eax, dword [esp + 0x20]
sub ecx, eax
test ecx, ecx
jle 0x402c8b
mov eax, ecx
test ebx, ebx
je 0x402b77
mov eax, dword [esp + 0x1c]
sub eax, esi
add eax, 0x200
mov edi, ecx
cmp ecx, eax
jl 0x402b75
mov edi, eax
mov eax, edi
test eax, eax
mov dword [esp + 0x44], ecx
mov dword [esp + 0x20], eax
je 0x402c00
mov eax, esi
and eax, 3
je 0x402bf0
mov ecx, esi
not esi
and esi, 3
mov eax, dword [esp + 0x20]
lea edi, [eax - 1]
cmp esi, edi
jb 0x402b9e
mov esi, edi
lea eax, [esi + 1]
push eax
push 0x20
mov ebx, ecx
push ecx
call fcn.0040c690
add esp, 0xc
lea ecx, [esi + ebx]
inc ecx
sub edi, esi
mov edx, dword [esp + 8]
mov ebx, dword [ebp + 8]
mov eax, dword [esp + 0x20]
cmp edi, 4
jge 0x402c09
test edi, edi
je 0x402c4f
push edi
push 0x20
mov esi, ecx
push ecx
call fcn.0040c690
mov eax, dword [esp + 0x2c]
mov edx, dword [esp + 0x14]
add esp, 0xc
add esi, edi
jmp 0x402c51
mov ecx, esi
mov eax, dword [esp + 0x20]
jmp 0x402c02
mov ecx, esi
mov edi, eax
cmp edi, 4
jl 0x402bc5
mov eax, edi
cmp edi, 7
jl 0x402c15
mov eax, 7
neg eax
lea esi, [edi + eax]
add esi, 3
and esi, 0xfffffffc
lea eax, [esi + 4]
push eax
push 0x20
mov ebx, ecx
push ecx
call fcn.0040c690
add esp, 0xc
lea ecx, [esi + ebx]
add ecx, 4
sub edi, esi
add edi, 0xfffffffc
mov edx, dword [esp + 8]
mov ebx, dword [ebp + 8]
mov eax, dword [esp + 0x20]
test edi, edi
jne 0x402bcd
mov esi, ecx
test ebx, ebx
mov ecx, dword [esp + 0x44]
je 0x402b52
mov eax, esi
mov edi, dword [esp + 0x1c]
sub eax, edi
cmp eax, 0x1ff
jl 0x402b4e
add dword [esp + 0x4c], eax
push eax
push dword [ebp + 0xc]
push edi
call ebx
add esp, 0xc
test eax, eax
jne 0x402b40
jmp 0x403734
mov dword [esp + 0x44], ecx
movzx eax, byte [esp + 0x3c]
mov edi, dword [esp + 0x1c]
lea ecx, [esp + 0x3d]
mov dword [esp + 0x10], ecx
jmp 0x402cbd
mov esi, eax
mov edi, eax
mov edx, dword [esp + 8]
movzx eax, byte [esp + 0x3c]
test al, al
je 0x402ddd
movsx ecx, al
mov eax, ecx
test ebx, ebx
je 0x402ce7
mov eax, edi
xor eax, esi
mov edx, edi
not edx
and edx, esi
add edx, edx
sub eax, edx
add eax, 0x200
cmp eax, ecx
jl 0x402ce7
mov eax, ecx
sub cl, al
mov byte [esp + 0x3c], cl
test eax, eax
je 0x402d8b
mov ecx, eax
and ecx, 3
je 0x402dd0
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], edi
xor edx, edx
nop
nop
nop
nop
nop
nop
mov ebx, esi
mov esi, dword [esp + 0x10]
lea edi, [esi + 1]
mov dword [esp + 0x10], edi
movzx eax, byte [esi]
mov esi, ebx
mov byte [ebx + edx], al
inc edx
cmp ecx, edx
jne 0x402d10
add esi, edx
mov eax, dword [esp + 0x20]
mov ecx, eax
sub ecx, edx
mov ebx, dword [ebp + 8]
mov edi, dword [esp + 0x1c]
cmp eax, 4
jb 0x402d8b
mov eax, dword [esp + 0x10]
lea edx, [eax + 1]
mov dword [esp + 0x10], edx
movzx eax, byte [eax]
mov byte [esi], al
mov eax, dword [esp + 0x10]
lea edx, [eax + 1]
mov dword [esp + 0x10], edx
movzx eax, byte [eax]
mov byte [esi + 1], al
mov eax, dword [esp + 0x10]
lea edx, [eax + 1]
mov dword [esp + 0x10], edx
movzx eax, byte [eax]
mov byte [esi + 2], al
mov eax, dword [esp + 0x10]
lea edx, [eax + 1]
mov dword [esp + 0x10], edx
movzx eax, byte [eax]
mov byte [esi + 3], al
add esi, 4
add ecx, 0xfffffffc
jne 0x402d40
test ebx, ebx
je 0x402cb4
mov eax, esi
sub eax, edi
lea ecx, [eax + 1]
cmp ecx, 0x200
jl 0x402cb4
add dword [esp + 0x4c], eax
push eax
push dword [ebp + 0xc]
push edi
call ebx
add esp, 0xc
test eax, eax
jne 0x402cb0
jmp 0x403734
mov ecx, eax
cmp eax, 4
jae 0x402d40
jmp 0x402d8b
mov dword [esp + 0x1c], edi
mov ecx, dword [esp + 0xc]
mov eax, ecx
shr eax, 0x18
mov dword [esp + 0x20], eax
xor ebx, ebx
test dl, 0x40
mov edi, dword [esp + 0x18]
jne 0x402dff
test edi, edi
jg 0x402e3c
jmp 0x402e23
and ecx, 0xffffff
mov eax, edi
xor eax, ecx
and ecx, edi
lea eax, [eax + ecx*2]
mov ebx, dword [esp + 0x20]
lea ecx, [ebx + 1]
xor edx, edx
div ecx
sub ebx, edx
mov edx, dword [esp + 8]
test edi, edi
jg 0x402e3c
lea eax, [esp + 0x3d]
mov dword [esp + 0x10], eax
jmp 0x403151
sub edi, dword [esp + 0xc]
test edi, edi
jle 0x403027
mov ecx, edi
cmp dword [ebp + 8], 0
je 0x402e65
mov eax, esi
sub eax, dword [esp + 0x1c]
mov ecx, eax
xor ecx, 0x200
not eax
and eax, 0x200
add eax, eax
sub eax, ecx
mov ecx, edi
cmp edi, eax
jl 0x402e65
mov ecx, eax
test dl, 0x40
mov dword [esp + 0xc], ecx
jne 0x402f08
test ecx, ecx
je 0x402ebf
mov eax, esi
and eax, 3
je 0x402f47
mov ecx, esi
mov edx, esi
not edx
and edx, 3
mov eax, dword [esp + 0xc]
lea ecx, [eax - 1]
cmp edx, ecx
jb 0x402e97
mov edx, ecx
mov dword [esp + 0x18], edx
lea eax, [edx + 1]
push eax
push 0x30
push esi
mov dword [esp + 0x20], ecx
call fcn.0040c690
mov ecx, dword [esp + 0x20]
add esp, 0xc
mov eax, dword [esp + 0x18]
add esi, eax
inc esi
sub ecx, eax
mov edx, dword [esp + 8]
cmp ecx, 4
jl 0x402f08
mov dword [esp + 0x18], edi
mov eax, ecx
cmp ecx, 7
jl 0x402ed4
mov eax, 7
neg eax
lea edi, [ecx + eax]
add edi, 3
and edi, 0xfffffffc
lea eax, [edi + 4]
push eax
push 0x30
push esi
mov dword [esp + 0x20], ecx
call fcn.0040c690
mov ecx, dword [esp + 0x20]
add esp, 0xc
add esi, edi
add esi, 4
sub ecx, edi
add ecx, 0xfffffffc
mov edx, dword [esp + 8]
mov edi, dword [esp + 0x18]
test ecx, ecx
je 0x402f70
test cl, 1
jne 0x402f20
mov eax, ecx
cmp ecx, 1
jne 0x402fe4
jmp 0x402f70
mov al, 0x30
test dl, 0x40
je 0x402f57
cmp ebx, dword [esp + 0x20]
jne 0x402f56
movzx eax, byte [0x44f001]
mov ebx, ecx
mov ecx, eax
add cl, al
and cl, 0x10
sub al, cl
mov ecx, ebx
add al, 8
xor ebx, ebx
jmp 0x402f57
mov ecx, dword [esp + 0xc]
cmp ecx, 4
jge 0x402ec4
jmp 0x402f08
inc ebx
mov byte [esi], al
inc esi
lea eax, [ecx - 1]
cmp ecx, 1
jne 0x402fe4
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [ebp + 8], 0
je 0x402e30
mov eax, esi
mov ecx, dword [esp + 0x1c]
sub eax, ecx
cmp eax, 0x1ff
jl 0x402e30
add dword [esp + 0x4c], eax
push eax
push dword [ebp + 0xc]
push ecx
call dword [ebp + 8]
add esp, 0xc
test eax, eax
je 0x403734
mov esi, eax
mov dword [esp + 0x1c], eax
mov edx, dword [esp + 8]
jmp 0x402e30
movzx ecx, byte [0x44f001]
mov edx, ecx
add dl, cl
and dl, 0x10
sub cl, dl
mov edx, dword [esp + 8]
add cl, 8
xor ebx, ebx
mov byte [esi + 1], cl
add esi, 2
add eax, 0xfffffffe
je 0x402f70
mov cl, 0x30
test dl, 0x40
je 0x403011
cmp ebx, dword [esp + 0x20]
jne 0x403010
movzx edx, byte [0x44f001]
mov ch, dl
add ch, dl
and ch, 0x10
sub dl, ch
add dl, 8
xor ebx, ebx
jmp 0x403013
inc ebx
mov dl, 0x30
mov byte [esi], dl
mov edx, dword [esp + 8]
test dl, 0x40
je 0x402fd9
cmp ebx, dword [esp + 0x20]
je 0x402fc0
inc ebx
jmp 0x402fd9
movzx eax, byte [esp + 0x3c]
mov edi, dword [esp + 0x1c]
mov ebx, dword [ebp + 8]
lea ecx, [esp + 0x3d]
mov dword [esp + 0x10], ecx
jmp 0x40304d
mov esi, eax
mov edi, eax
mov edx, dword [esp + 8]
movzx eax, byte [esp + 0x3c]
test al, al
je 0x40314d
movsx ecx, al
mov eax, ecx
test ebx, ebx
je 0x40306d
mov eax, edi
sub eax, esi
add eax, 0x200
cmp eax, ecx
jl 0x40306d
mov eax, ecx
sub cl, al
mov byte [esp + 0x3c], cl
test eax, eax
je 0x40310b
mov ecx, eax
and ecx, 3
je 0x403140
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], edi
xor edx, edx
mov ebx, esi
mov esi, dword [esp + 0x10]
lea edi, [esi + 1]
mov dword [esp + 0x10], edi
movzx eax, byte [esi]
mov esi, ebx
mov byte [ebx + edx], al
inc edx
cmp ecx, edx
jne 0x403090
add esi, edx
mov eax, dword [esp + 0x20]
mov ecx, eax
sub ecx, edx
mov ebx, dword [ebp + 8]
mov edi, dword [esp + 0x1c]
cmp eax, 4
jb 0x40310b
mov eax, dword [esp + 0x10]
lea edx, [eax + 1]
mov dword [esp + 0x10], edx
movzx eax, byte [eax]
mov byte [esi], al
mov eax, dword [esp + 0x10]
lea edx, [eax + 1]
mov dword [esp + 0x10], edx
movzx eax, byte [eax]
mov byte [esi + 1], al
mov eax, dword [esp + 0x10]
lea edx, [eax + 1]
mov dword [esp + 0x10], edx
movzx eax, byte [eax]
mov byte [esi + 2], al
mov eax, dword [esp + 0x10]
lea edx, [eax + 1]
mov dword [esp + 0x10], edx
movzx eax, byte [eax]
mov byte [esi + 3], al
add esi, 4
add ecx, 0xfffffffc
jne 0x4030c0
test ebx, ebx
je 0x403044
mov eax, esi
sub eax, edi
cmp eax, 0x1ff
jl 0x403044
add dword [esp + 0x4c], eax
push eax
push dword [ebp + 0xc]
push edi
call ebx
add esp, 0xc
test eax, eax
jne 0x403040
jmp 0x403734
mov ecx, eax
cmp eax, 4
jae 0x4030c0
jmp 0x40310b
mov dword [esp + 0x1c], edi
mov edi, dword [esp + 0x24]
test edi, edi
jne 0x40341c
mov edi, dword [esp]
test edi, edi
mov ebx, dword [esp + 0x1c]
jne 0x403199
lea eax, [esp + 0x31]
mov dword [esp + 0x10], eax
movzx ecx, byte [esp + 0x30]
test cl, cl
je 0x40356a
mov edi, ebx
mov ebx, dword [ebp + 8]
jmp 0x4032f5
mov edi, dword [esp]
sub edi, dword [esp + 0x20]
je 0x403168
mov eax, ebx
sub eax, esi
add eax, 0x200
mov ecx, edi
mov dword [esp + 0x20], edi
mov dword [esp], edi
cmp edi, eax
jl 0x4031b3
mov dword [esp + 0x20], eax
cmp dword [ebp + 8], 0
jne 0x4031c0
mov eax, dword [esp]
mov dword [esp + 0x20], eax
cmp dword [esp + 0x20], 0
mov dword [esp + 0x1c], ebx
je 0x403240
mov eax, esi
and eax, 3
je 0x403240
mov edi, esi
mov ebx, esi
not ebx
and ebx, 3
mov eax, dword [esp + 0x20]
lea esi, [eax - 1]
cmp ebx, esi
jb 0x4031e8
mov ebx, esi
lea eax, [ebx + 1]
push eax
push 0x30
push edi
call fcn.0040c690
add esp, 0xc
lea ecx, [ebx + edi]
inc ecx
sub esi, ebx
mov ebx, dword [esp + 0x1c]
mov edx, dword [esp + 8]
cmp esi, 4
jge 0x40324b
test esi, esi
je 0x40328a
push esi
push 0x30
mov ebx, ecx
push ecx
call fcn.0040c690
mov edx, dword [esp + 0x14]
add esp, 0xc
add ebx, esi
mov esi, ebx
mov eax, dword [ebp + 8]
mov ebx, dword [esp + 0x1c]
test eax, eax
jne 0x403297
jmp 0x403190
mov ecx, esi
mov esi, dword [esp + 0x20]
cmp esi, 4
jl 0x40320a
mov eax, esi
cmp esi, 7
jl 0x403257
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.0040c690
add esp, 0xc
lea ecx, [edi + ebx]
add ecx, 4
sub esi, edi
add esi, 0xfffffffc
mov ebx, dword [esp + 0x1c]
mov edx, dword [esp + 8]
test esi, esi
jne 0x40320e
mov esi, ecx
mov eax, dword [ebp + 8]
test eax, eax
je 0x403190
mov ecx, esi
xor ecx, ebx
mov eax, ebx
not eax
and eax, esi
add eax, eax
sub eax, ecx
cmp eax, 0x1ff
jl 0x403190
add dword [esp + 0x4c], eax
push eax
push dword [ebp + 0xc]
push ebx
call dword [ebp + 8]
add esp, 0xc
test eax, eax
je 0x403734
mov esi, eax
mov ebx, eax
mov edx, dword [esp + 8]
jmp 0x403190
mov edx, dword [esp + 8]
movzx ecx, byte [esp + 0x30]
test cl, cl
mov eax, dword [esp + 0x48]
je 0x403573
movsx edx, cl
mov eax, edi
sub eax, esi
add eax, 0x200
cmp eax, edx
jl 0x403307
mov eax, edx
test ebx, ebx
jne 0x40330d
mov eax, edx
sub cl, al
mov byte [esp + 0x30], cl
test eax, eax
je 0x4033ab
mov ecx, eax
and ecx, 3
je 0x4033f0
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], edi
xor edx, edx
mov eax, esi
mov esi, dword [esp + 0x10]
lea edi, [esi + 1]
mov dword [esp + 0x10], edi
movzx ebx, byte [esi]
mov esi, eax
mov byte [eax + edx], bl
inc edx
cmp ecx, edx
jne 0x403330
add esi, edx
mov eax, dword [esp + 0x20]
mov ecx, eax
sub ecx, edx
mov ebx, dword [ebp + 8]
mov edi, dword [esp + 0x1c]
cmp eax, 4
jb 0x4033ab
mov eax, dword [esp + 0x10]
lea edx, [eax + 1]
mov dword [esp + 0x10], edx
movzx eax, byte [eax]
mov byte [esi], al
mov eax, dword [esp + 0x10]
lea edx, [eax + 1]
mov dword [esp + 0x10], edx
movzx eax, byte [eax]
mov byte [esi + 1], al
mov eax, dword [esp + 0x10]
lea edx, [eax + 1]
mov dword [esp + 0x10], edx
movzx eax, byte [eax]
mov byte [esi + 2], al
mov eax, dword [esp + 0x10]
lea edx, [eax + 1]
mov dword [esp + 0x10], edx
movzx eax, byte [eax]
mov byte [esi + 3], al
add esi, 4
add ecx, 0xfffffffc
jne 0x403360
test ebx, ebx
je 0x4032e0
mov eax, esi
sub eax, edi
cmp eax, 0x1ff
jl 0x4032e0
add dword [esp + 0x4c], eax
push eax
push dword [ebp + 0xc]
push edi
call ebx
add esp, 0xc
test eax, eax
je 0x403734
mov esi, eax
mov edi, eax
jmp 0x4032e0
mov ecx, eax
cmp eax, 4
jae 0x403360
jmp 0x4033ab
mov dword [esp + 0x1c], edi
mov eax, esi
not eax
mov edi, dword [esp + 0x20]
and eax, edi
not edi
and edi, esi
sub edi, eax
mov esi, ecx
je 0x40315d
mov eax, dword [esp + 0x1c]
mov ebx, esi
sub eax, esi
add eax, 0x200
mov ecx, edi
cmp edi, eax
mov esi, edi
jl 0x403433
mov ecx, eax
cmp dword [ebp + 8], 0
jne 0x40343b
mov ecx, esi
mov eax, ecx
mov dword [esp + 0x20], ecx
cmp ecx, 4
mov edi, dword [esp + 4]
jl 0x40346b
nop
nop
nop
nop
nop
nop
mov ecx, dword [edi]
mov dword [ebx], ecx
add ebx, 4
add edi, 4
mov ecx, eax
xor ecx, 4
and eax, 0xfffffffb
add eax, eax
sub eax, ecx
cmp eax, 3
jg 0x403450
mov dword [esp + 4], edi
test eax, eax
je 0x4034c0
mov ecx, eax
and ecx, 7
je 0x4034d0
mov dword [esp + 0xc], esi
xor edx, edx
mov edi, ebx
mov esi, dword [esp + 4]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx ebx, byte [esi + edx]
mov byte [edi + edx], bl
inc edx
cmp ecx, edx
jne 0x403490
add edi, edx
mov ebx, edi
mov ecx, eax
sub ecx, edx
add esi, edx
mov dword [esp + 4], esi
mov edx, dword [esp + 8]
mov esi, dword [esp + 0xc]
jmp 0x4034d2
mov edi, dword [esp + 4]
jmp 0x403521
mov ecx, eax
cmp eax, 8
mov edi, dword [esp + 4]
jb 0x403521
nop
nop
nop
nop
nop
movzx eax, byte [edi]
mov byte [ebx], al
movzx eax, byte [edi + 1]
mov byte [ebx + 1], al
movzx eax, byte [edi + 2]
mov byte [ebx + 2], al
movzx eax, byte [edi + 3]
mov byte [ebx + 3], al
movzx eax, byte [edi + 4]
mov byte [ebx + 4], al
movzx eax, byte [edi + 5]
mov byte [ebx + 5], al
movzx eax, byte [edi + 6]
mov byte [ebx + 6], al
movzx eax, byte [edi + 7]
add edi, 8
mov byte [ebx + 7], al
add ebx, 8
add ecx, 0xfffffff8
jne 0x4034e0
mov dword [esp + 4], edi
mov ecx, ebx
mov ebx, dword [ebp + 8]
test ebx, ebx
je 0x403404
mov eax, ecx
mov edi, dword [esp + 0x1c]
sub eax, edi
cmp eax, 0x1ff
jl 0x403400
add dword [esp + 0x4c], eax
push eax
push dword [ebp + 0xc]
push edi
call ebx
add esp, 0xc
test eax, eax
je 0x403734
mov ecx, eax
mov dword [esp + 0x1c], eax
mov edx, dword [esp + 8]
jmp 0x403404
mov eax, dword [esp + 0x48]
mov edi, ebx
mov ebx, dword [ebp + 8]
test dl, 1
je 0x403582
mov ecx, dword [esp + 0x44]
test ecx, ecx
jle 0x403582
jne 0x403598
mov dword [esp + 0x1c], edi
inc eax
jmp 0x401051
mov eax, dword [esp + 0x48]
sub ecx, edx
je 0x403582
mov dword [esp + 0x44], ecx
mov edx, ecx
test ebx, ebx
je 0x4035c5
mov eax, edi
xor eax, esi
mov ecx, edi
not ecx
and ecx, esi
add ecx, ecx
sub eax, ecx
mov ecx, dword [esp + 0x44]
add eax, 0x200
mov edx, ecx
cmp ecx, eax
jl 0x4035c1
mov edx, eax
mov eax, dword [esp + 0x48]
test edx, edx
mov dword [esp + 8], edx
mov dword [esp + 0x1c], edi
je 0x403670
mov eax, esi
and eax, 3
je 0x403610
mov edi, esi
mov ebx, esi
not ebx
and ebx, 3
lea esi, [edx - 1]
cmp ebx, esi
jb 0x4035ee
mov ebx, esi
lea eax, [ebx + 1]
push eax
push 0x20
push edi
call fcn.0040c690
add esp, 0xc
lea ecx, [ebx + edi]
inc ecx
sub esi, ebx
mov ebx, dword [ebp + 8]
mov edi, dword [esp + 0x1c]
jmp 0x403614
mov ecx, esi
mov esi, edx
mov eax, dword [esp + 0x48]
cmp esi, 4
jl 0x403680
mov eax, esi
cmp esi, 7
jl 0x403629
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.0040c690
add esp, 0xc
lea ecx, [edi + ebx]
add ecx, 4
sub esi, edi
add esi, 0xfffffffc
mov ebx, dword [ebp + 8]
mov edi, dword [esp + 0x1c]
mov eax, dword [esp + 0x48]
test esi, esi
jne 0x403684
mov esi, ecx
jmp 0x4036a2
mov ecx, esi
mov esi, edx
cmp esi, 4
jge 0x40361d
nop
nop
nop
nop
nop
nop
nop
test esi, esi
je 0x40365f
push esi
push 0x20
mov edi, ebx
mov ebx, ecx
push ecx
call fcn.0040c690
mov eax, dword [esp + 0x54]
add esp, 0xc
add ebx, esi
mov esi, ebx
mov ebx, edi
mov edi, dword [esp + 0x1c]
mov edx, dword [esp + 8]
test ebx, ebx
mov ecx, dword [esp + 0x44]
je 0x403594
mov eax, esi
sub eax, edi
cmp eax, 0x1ff
jl 0x403590
add dword [esp + 0x4c], eax
push eax
push dword [ebp + 0xc]
push edi
call ebx
add esp, 0xc
test eax, eax
je 0x403734
mov esi, eax
mov edi, eax
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 8]
jmp 0x403594
mov esi, edi
jmp 0x402a76
fstp st(1)
fdivp st(1)
or edx, 0x4000000
jmp 0x402193
mov esi, dword [esp]
jmp 0x402a13
test ebx, ebx
je 0x40373a
mov ecx, esi
not ecx
mov edx, dword [esp + 0x1c]
and ecx, edx
mov eax, edx
not eax
and eax, esi
sub eax, ecx
test eax, eax
jle 0x403741
add dword [esp + 0x4c], eax
push eax
push dword [ebp + 0xc]
push edx
call ebx
add esp, 0xc
mov esi, eax
mov edx, eax
jmp 0x403741
xor esi, esi
xor edx, edx
jmp 0x403741
mov byte [esi], 0
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x4c]
add eax, esi
sub eax, edx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret