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, 0x270
mov eax, dword [ebp + 0x18]
mov dword [esp + 0x28], eax
mov ecx, dword [ebp + 0x14]
mov ebx, dword [ebp + 0x10]
lea eax, [esp + 0xac]
not eax
mov dword [esp + 0x5c], eax
mov eax, ecx
mov dword [esp + 0x54], 0
mov edi, ebx
jmp 0x401048
mov byte [ebx], al
inc ebx
mov eax, dword [esp + 0x34]
inc eax
mov dword [esp + 0x1c], edi
test al, 3
mov dword [esp + 0x34], eax
je 0x401060
movzx eax, byte [eax]
jmp 0x40107e
mov eax, dword [eax]
mov edx, eax
not edx
mov ecx, eax
xor ecx, 0x25252525
add ecx, 0xfefefeff
and edx, 0x80808080
test ecx, edx
je 0x4010cb
cmp al, 0x25
je 0x40114b
test al, al
mov edi, dword [esp + 0x1c]
je 0x403718
cmp dword [ebp + 8], 0
je 0x401040
mov ecx, ebx
sub ecx, edi
cmp ecx, 0x1ff
jl 0x401040
add dword [esp + 0x54], ecx
push ecx
push dword [ebp + 0xc]
push edi
call dword [ebp + 8]
add esp, 0xc
test eax, eax
je 0x403745
mov ebx, eax
mov eax, dword [esp + 0x34]
movzx eax, byte [eax]
mov edi, ebx
jmp 0x401040
mov ecx, dword [esp + 0x1c]
sub ecx, ebx
add ecx, 0x200
jmp 0x401118
mov ebx, edi
mov dword [edi], eax
add ebx, 4
mov edx, dword [esp + 0x34]
mov eax, dword [edx + 4]
add edx, 4
mov dword [esp + 0x34], edx
mov edx, eax
not edx
mov esi, eax
xor esi, 0x25252525
add esi, 0xfefefeff
and edx, 0x80808080
add ecx, 0xfffffffc
test esi, edx
jne 0x40107e
mov edi, ebx
mov esi, eax
not esi
and esi, 0x1010101
mov ebx, eax
and ebx, 0xfefefefe
sub ebx, esi
test ebx, edx
jne 0x401144
cmp dword [ebp + 8], 0
je 0x4010e0
cmp ecx, 4
jge 0x4010e0
mov ebx, edi
jmp 0x40107e
mov ebx, edi
jmp 0x401086
mov ecx, dword [esp + 0x34]
add ecx, 2
xor edi, edi
jmp 0x401163
mov edx, 1
nop
nop
nop
nop
nop
or edi, edx
inc ecx
movzx eax, byte [ecx - 1]
lea esi, [eax - 0x20]
cmp esi, 0x3f
ja case.0x401174.33
mov edx, 2
jmp dword [esi*4 + 0x44c564]
mov edx, 4
jmp case.0x401174.43
mov edx, 0x400
jmp case.0x401174.43
mov edx, 0x100
mov eax, edi
test edi, 0x100
je case.0x401174.43
mov edx, edi
and edx, 0x800
add edx, 0x800
jmp case.0x401174.43
mov edx, 8
jmp case.0x401174.43
mov edx, 0x40
jmp case.0x401174.43
mov edx, edi
or edx, 0x10
movzx eax, byte [ecx]
jmp 0x4011c3
dec ecx
mov edx, edi
cmp al, 0x2a
mov edi, dword [esp + 0x1c]
mov dword [esp + 0xc], edx
jne 0x4011e7
mov eax, dword [esp + 0x28]
mov edx, dword [eax]
mov dword [esp + 0x50], edx
add eax, 4
mov dword [esp + 0x28], eax
movzx eax, byte [ecx + 1]
inc ecx
jmp 0x401229
mov dword [esp + 0x50], 0
cmp al, 0x30
jl 0x401229
mov dword [esp + 0x50], 0
nop
nop
nop
nop
nop
cmp al, 0x39
ja 0x40138c
movzx eax, al
mov edx, dword [esp + 0x50]
lea edx, [edx + edx*4]
lea eax, [eax + edx*2]
add eax, 0xffffffd0
mov edx, dword [esp + 0xc]
mov dword [esp + 0x50], eax
movzx eax, byte [ecx + 1]
inc ecx
cmp al, 0x2f
jg 0x401200
cmp al, 0x2e
jne 0x401253
movzx eax, byte [ecx + 1]
cmp al, 0x2a
jne 0x4012df
mov eax, dword [esp + 0x28]
mov edx, dword [eax]
mov dword [esp + 8], edx
add eax, 4
mov dword [esp + 0x28], eax
movzx eax, byte [ecx + 2]
add ecx, 2
jmp 0x40125b
mov dword [esp + 8], 0xffffffff
mov edx, dword [esp + 0xc]
movzx eax, al
add eax, 0xffffffb7
cmp eax, 0x31
ja case.0x40126a.74
jmp dword [eax*4 + 0x44c664]
inc ecx
movzx eax, byte [ecx]
mov dword [esp + 0x34], ecx
mov dword [esp + 0x40], eax
movzx eax, al
add eax, 0xffffffbf
cmp eax, 0x37
ja case.0x401290.67
mov dword [esp + 0x30], ebx
jmp dword [eax*4 + 0x44c72c]
test dl, 0x20
jne 0x401741
mov eax, dword [esp + 0x28]
mov ecx, dword [eax]
add eax, 4
mov dword [esp + 0x28], eax
xor esi, esi
cmp byte [esp + 0x40], 0x75
je 0x401f66
test ecx, ecx
jns 0x401f66
neg ecx
mov dword [esp + 0x18], ecx
or edx, 0x80
test edx, 0x100
jne 0x401f76
jmp 0x40177f
inc ecx
mov edx, eax
add dl, 0xd0
mov dword [esp + 8], 0
cmp dl, 9
ja 0x40125b
xor esi, esi
nop
nop
nop
nop
nop
nop
nop
nop
movzx eax, al
lea edx, [esi + esi*4]
lea esi, [eax + edx*2]
mov eax, esi
not eax
and eax, 0x30
and esi, 0xffffffcf
sub esi, eax
movzx eax, byte [ecx + 1]
inc ecx
mov edx, eax
add dl, 0xd0
cmp dl, 0xa
jb 0x401300
mov dword [esp + 8], esi
jmp 0x40125b
movzx eax, byte [ecx + 1]
cmp al, 0x6c
jne 0x401985
or edx, 0x20
add ecx, 2
jmp case.0x40126a.74
lea eax, [ecx + 1]
movzx esi, byte [ecx + 1]
cmp esi, 0x33
je 0x401dad
mov dword [esp + 0x40], esi
cmp esi, 0x36
jne 0x401dbe
cmp byte [ecx + 2], 0x34
jne 0x401db7
or edx, 0x20
add ecx, 3
jmp case.0x40126a.74
cmp byte [ecx + 1], 0x68
je 0x40198b
inc ecx
or edx, 0x200
jmp case.0x40126a.74
mov dword [esp + 8], 0xffffffff
jmp 0x40125f
mov eax, str.0123456789ABCDEFXP
cmp byte [esp + 0x40], 0x45
je 0x4013aa
mov eax, str.0123456789abcdefxp
mov dword [esp + 0x2c], eax
mov esi, edx
mov eax, dword [esp + 0x28]
fld qword [eax]
mov ecx, 6
mov eax, dword [esp + 8]
cmp eax, 0xffffffff
je 0x4013c6
mov ecx, eax
mov dword [esp + 0x10], ecx
mov eax, ecx
or eax, 0x80000000
sub esp, 0x18
mov dword [esp + 0x10], eax
fstp qword [esp + 8]
lea eax, [esp + 0x5c]
mov dword [esp + 4], eax
lea eax, [esp + 0x84]
mov dword [esp], eax
lea ecx, [esp + 0x2c]
lea edx, [esp + 0x3c]
call fcn.00403760
add esp, 0x18
mov edx, esi
test eax, eax
je 0x40140a
or edx, 0x80
add dword [esp + 0x28], 8
mov ecx, edi
mov byte [esp + 0x38], 0
mov byte [esp + 0x48], 0
mov al, 0x2d
test dl, dl
js 0x40142f
mov al, 0x20
test dl, 4
jne 0x40142f
mov al, 0x2b
test dl, 2
je 0x401438
mov byte [esp + 0x48], 1
mov byte [esp + 0x49], al
mov esi, dword [esp + 0x44]
mov dword [esp + 0x18], 0
mov edi, dword [esp + 0x14]
cmp esi, 0x7000
jne 0x401634
mov dword [esp + 0x10], edi
xor esi, esi
xor eax, eax
mov edi, ecx
jmp 0x402aae
mov eax, str.0123456789ABCDEFXP
cmp byte [esp + 0x40], 0x41
je 0x401474
mov eax, str.0123456789abcdefxp
mov dword [esp + 4], eax
mov dword [esp + 0x18], 6
mov eax, dword [esp + 8]
cmp eax, 0xffffffff
je 0x40148d
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x28]
mov ecx, dword [eax + 4]
test ecx, ecx
jns 0x40149e
or edx, 0x80
mov eax, dword [esp + 0x28]
mov ebx, dword [eax]
mov al, 0x2d
test dl, dl
js 0x4015e8
mov al, 0x20
test dl, 4
jne 0x4015e8
mov al, 0x2b
test dl, 2
jne 0x4015e8
mov dword [esp + 0x10], 0
jmp 0x4015f2
mov dword [esp + 0x2c], str.0123456789ABCDEFXP
mov eax, dword [esp + 0x40]
cmp al, 0x42
je 0x4014e9
mov dword [esp + 0x2c], str.0123456789abcdefxp
mov byte [esp + 0x48], 0
test dl, 8
je 0x401508
cmp al, 0x42
setne al
mov word [esp + 0x48], 0x3002
shl al, 5
or al, 0x42
mov byte [esp + 0x4a], al
mov dword [esp + 0x24], 0x180
mov ecx, 1
jmp 0x401a17
mov eax, str.0123456789ABCDEFXP
cmp byte [esp + 0x40], 0x47
je 0x40152b
mov eax, str.0123456789abcdefxp
mov dword [esp + 0x2c], eax
mov edi, edx
mov eax, dword [esp + 0x28]
fld qword [eax]
mov ecx, dword [esp + 8]
cmp ecx, 1
mov eax, ecx
adc eax, 0
mov esi, 6
cmp ecx, 0xffffffff
je 0x40154f
mov esi, eax
lea eax, [esi - 1]
or eax, 0x80000000
sub esp, 0x18
fstp qword [esp + 8]
lea ecx, [esp + 0x5c]
mov dword [esp + 4], ecx
lea ecx, [esp + 0x84]
mov dword [esp], ecx
mov dword [esp + 0x10], eax
lea ecx, [esp + 0x2c]
lea edx, [esp + 0x3c]
call fcn.00403760
add esp, 0x18
test eax, eax
je 0x40158e
or edi, 0x80
mov ecx, dword [esp + 0x24]
cmp ecx, esi
jb 0x401598
mov ecx, esi
mov dword [esp + 0xc], edi
mov eax, ecx
cmp ecx, 2
mov dword [esp + 4], esi
jb 0x401999
mov edx, dword [esp + 0x14]
mov ecx, esi
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp byte [edx + eax - 1], 0x30
jne 0x4020fa
mov esi, eax
lea edi, [ecx - 1]
dec esi
mov eax, esi
cmp esi, 2
jb 0x4020fc
cmp ecx, 1
mov ecx, edi
jne 0x4015c0
jmp 0x4020fc
mov byte [esp + 0x49], al
mov al, 1
mov dword [esp + 0x10], eax
mov esi, ecx
and esi, 0xfffff
shr ecx, 0x14
and ecx, 0x7ff
mov dword [esp + 0xc], edx
je 0x401df7
add ecx, 0xfffffc01
mov dword [esp + 0x58], ecx
mov eax, 0xffffffff
add ebx, eax
mov eax, 0xfffff
adc esi, eax
add ebx, 1
mov dword [esp + 0x2c], ebx
adc esi, 0
jmp 0x401e10
mov dword [esp + 0xc], edx
movzx ecx, byte [edi]
mov byte [esp + 0xac], cl
lea ebx, [esp + 0xad]
mov ecx, dword [esp + 0x10]
test ecx, ecx
je 0x40166d
movzx ecx, byte [section..data]
xor cl, 0x2d
mov byte [esp + 0xad], cl
mov ecx, dword [esp + 0x10]
lea ebx, [esp + 0xae]
mov eax, dword [esp + 0x24]
lea edx, [eax - 1]
cmp edx, ecx
jbe 0x40167f
lea eax, [ecx + 1]
mov dword [esp + 0x24], eax
mov dword [esp + 0x20], eax
cmp eax, 2
jb 0x40171e
mov dword [esp + 4], esi
mov eax, ecx
cmp ecx, edx
jb 0x401698
mov ecx, edx
lea esi, [ecx - 1]
mov edx, 1
cmp esi, 7
jb 0x401701
mov esi, ecx
and esi, 0xfffffff8
xor edx, edx
nop
nop
nop
nop
movzx eax, byte [edi + edx + 1]
mov byte [ebx + edx], al
movzx eax, byte [edi + edx + 2]
mov byte [ebx + edx + 1], al
movzx eax, byte [edi + edx + 3]
mov byte [ebx + edx + 2], al
movzx eax, byte [edi + edx + 4]
mov byte [ebx + edx + 3], al
movzx eax, byte [edi + edx + 5]
mov byte [ebx + edx + 4], al
movzx eax, byte [edi + edx + 6]
mov byte [ebx + edx + 5], al
movzx eax, byte [edi + edx + 7]
mov byte [ebx + edx + 6], al
movzx eax, byte [edi + edx + 8]
mov byte [ebx + edx + 7], al
add edx, 8
cmp esi, edx
jne 0x4016b0
add ebx, edx
inc edx
and ecx, 7
mov esi, dword [esp + 4]
je 0x40171e
add edi, edx
xor edx, edx
nop
nop
movzx eax, byte [edi + edx]
mov byte [ebx + edx], al
inc edx
cmp ecx, edx
jne 0x401710
add ebx, edx
mov eax, dword [esp + 0x2c]
movzx eax, byte [eax + 0xe]
mov byte [esp + 0x39], al
test esi, esi
mov dword [esp + 4], ebx
jle 0x402020
dec esi
mov byte [esp + 0x3a], 0x2b
jmp 0x40202e
mov ecx, dword [esp + 0x28]
lea eax, [ecx + 8]
mov esi, dword [ecx]
mov dword [esp + 0x18], esi
mov esi, dword [ecx + 4]
cmp byte [esp + 0x40], 0x75
je 0x40176f
test esi, esi
jns 0x40176f
neg dword [esp + 0x18]
mov ecx, 0
sbb ecx, esi
or edx, 0x80
mov esi, ecx
mov dword [esp + 0x28], eax
test edx, 0x100
jne 0x401f76
mov dword [esp + 0x20], esi
movzx ecx, byte [0x44f001]
mov eax, ecx
add al, cl
and al, 0x82
sub cl, al
add cl, 0x41
mov byte [esp + 0x10], cl
mov esi, 0x200
xor ecx, ecx
mov dword [esp + 0xc], edx
mov ebx, dword [esp + 0x18]
nop
nop
nop
nop
nop
nop
nop
nop
mov dword [esp + 0x2c], ecx
cmp ebx, 0x5f5e100
mov ecx, dword [esp + 0x20]
mov eax, ecx
sbb eax, 0
jb 0x4017f0
push 0
push 0x5f5e100
push ecx
push ebx
call fcn.0040c420
mov dword [esp + 0x20], edx
mov edx, dword [esp + 0xc]
imul ecx, eax, 0x5f5e100
sub ebx, ecx
mov dword [esp + 0x18], eax
jmp 0x401800
mov dword [esp + 0x20], 0
mov dword [esp + 0x18], 0
lea eax, [esp + 0x64]
add eax, esi
mov dword [esp + 4], eax
test dl, 0x40
jne 0x401860
nop
mov eax, ebx
mov ecx, 0x51eb851f
mul ecx
shr edx, 5
imul ecx, edx, 0x64
mov eax, ebx
sub eax, ecx
mov ecx, eax
and ecx, 0x7d
mov edi, eax
and edi, 2
or eax, 2
imul eax, edi
xor edi, 2
imul edi, ecx
movzx eax, word [edi + eax + str.00010203040506070809101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899]
mov word [esp + esi + 0x6a], ax
add esi, 0xfffffffe
cmp ebx, 0x64
mov ebx, edx
jae 0x401810
mov edi, dword [esp + 0x1c]
mov edx, dword [esp + 0xc]
mov ecx, dword [esp + 0x2c]
jmp 0x4018c0
test ebx, ebx
mov ecx, dword [esp + 0x2c]
jne 0x40189f
jmp 0x4018c0
inc ecx
mov edi, ecx
mov eax, ebx
mov ecx, 0xcccccccd
mul ecx
shr edx, 3
lea eax, [edx + edx]
lea eax, [eax + eax*4]
sub ebx, eax
or bl, 0x30
mov byte [esp + esi + 0x6b], bl
dec esi
mov ebx, edx
mov edx, dword [esp + 0xc]
mov ecx, edi
mov edi, dword [esp + 0x1c]
test ebx, ebx
je 0x4018c0
test dl, 0x40
je 0x401871
cmp ecx, 3
jne 0x401870
movzx eax, byte [esp + 0x10]
mov byte [esp + esi + 0x6b], al
dec esi
dec dword [esp + 4]
xor ecx, ecx
test ebx, ebx
jne 0x40189f
nop
nop
nop
mov ebx, dword [esp + 0x18]
mov eax, ebx
or eax, dword [esp + 0x20]
jne 0x4018d7
jmp 0x401903
inc ecx
mov byte [esp + esi + 0x6b], 0x30
dec esi
lea eax, [esp + esi]
add eax, 0x6c
cmp eax, dword [esp + 4]
je 0x4017b0
test dl, 0x40
je 0x4018d1
cmp ecx, 3
jne 0x4018d0
movzx eax, byte [esp + 0x10]
mov byte [esp + esi + 0x6b], al
dec esi
dec dword [esp + 4]
xor ecx, ecx
jmp 0x4018d7
cmp byte [esp + esi + 0x6c], 0x30
sete al
cmp esi, 0x200
setne cl
mov byte [esp + 0x38], 0
mov byte [esp + 0x48], 0
mov ebx, edx
mov dl, 0x2d
test bl, bl
mov ebx, dword [esp + 0x30]
js 0x40193c
mov dl, 0x20
test byte [esp + 0xc], 4
jne 0x40193c
mov dl, 0x2b
test byte [esp + 0xc], 2
je 0x401945
mov byte [esp + 0x48], 1
mov byte [esp + 0x49], dl
and cl, al
movzx eax, cl
add esi, eax
lea eax, [esp + esi]
add eax, 0x6c
lea ecx, [esi - 0x200]
neg ecx
mov dword [esp + 0x24], ecx
cmp esi, 0x200
jne 0x401ff4
mov byte [eax - 1], 0x30
dec eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x24], 1
mov ecx, 1
jmp 0x401ff8
inc ecx
jmp 0x401275
add ecx, 2
or edx, 0x200
jmp case.0x40126a.74
mov edi, esi
jmp 0x4020fc
and edx, 0xffffffef
mov dword [esp + 8], 8
mov dword [esp + 0x2c], str.0123456789ABCDEFXP
mov eax, dword [esp + 0x40]
cmp al, 0x58
je 0x4019c3
mov dword [esp + 0x2c], str.0123456789abcdefxp
mov dword [esp + 0x24], 0x440
mov byte [esp + 0x48], 0
mov ecx, 4
test dl, 8
je 0x401a17
cmp al, 0x58
setne al
mov word [esp + 0x48], 0x3002
shl al, 5
or al, 0x58
mov byte [esp + 0x4a], al
jmp 0x401a17
mov byte [esp + 0x48], 0
test dl, 8
je 0x401a02
mov word [esp + 0x48], 0x3001
mov dword [esp + 0x24], 0x330
mov dword [esp + 0x2c], str.0123456789ABCDEFXP
mov ecx, 3
mov dword [esp + 0xc], edx
test dl, 0x20
jne 0x401a31
mov eax, dword [esp + 0x28]
mov edi, dword [eax]
add eax, 4
mov dword [esp + 0x28], eax
xor esi, esi
jmp 0x401a41
mov eax, dword [esp + 0x28]
mov edi, dword [eax]
mov esi, dword [eax + 4]
lea edx, [eax + 8]
mov dword [esp + 0x28], edx
mov dword [esp + 0x44], 0
mov byte [esp + 0x38], 0
mov edx, edi
or edx, esi
jne 0x401a64
mov byte [esp + 0x48], 0
cmp dword [esp + 8], 0
je 0x401dcb
mov edx, 0xffffffff
shl edx, cl
not edx
and edx, edi
mov eax, dword [esp + 0x24]
mov cl, ah
shrd edi, esi, cl
mov ecx, dword [esp + 0x2c]
movzx ecx, byte [ecx + edx]
mov byte [esp + 0x26b], cl
mov cl, ah
shr esi, cl
test ah, 0x20
jne 0x401a94
mov edx, edi
jmp 0x401a98
mov edx, esi
xor esi, esi
mov dword [esp + 0x18], eax
mov ecx, edx
mov dword [esp + 4], esi
or ecx, esi
mov eax, dword [esp + 8]
jne 0x401ac4
mov ecx, 1
cmp eax, 2
jge 0x401ac4
lea eax, [esp + 0x26b]
mov dword [esp + 0x10], eax
jmp 0x401bca
lea eax, [esp + 0x26b]
mov dword [esp + 0x10], eax
mov esi, edx
lea edi, [esp + 0x26c]
nop
nop
nop
nop
nop
nop
nop
nop
test byte [esp + 0xc], 0x40
jne 0x401b00
mov eax, dword [esp + 0x10]
mov dword [esp + 0x20], eax
jmp 0x401b5c
mov dword [esp + 0x40], esi
mov ebx, dword [esp + 0x18]
inc ebx
mov dword [esp + 0x24], ebx
mov ecx, ebx
and ecx, 0xf
mov esi, ebx
shr esi, 4
mov eax, esi
not eax
or eax, 0xf
add eax, esi
inc eax
cmp ecx, eax
mov eax, dword [esp + 0x10]
jne 0x401b50
and ebx, 0xfffffff0
mov dword [esp + 0x24], ebx
movzx eax, byte [0x44f001]
xor al, 0x41
mov byte [edi - 2], al
add edi, 0xfffffffe
mov dword [esp + 0x20], edi
mov eax, dword [esp + 0x24]
mov dword [esp + 0x18], eax
jmp 0x401b58
mov dword [esp + 0x18], ebx
mov dword [esp + 0x20], eax
mov esi, dword [esp + 0x40]
mov ebx, 0xffffffff
mov eax, dword [esp + 0x18]
mov cl, ah
shl ebx, cl
not ebx
and ebx, esi
mov edx, dword [esp + 0x24]
mov cl, dh
mov edi, dword [esp + 4]
shrd esi, edi, cl
mov eax, dword [esp + 0x2c]
movzx eax, byte [eax + ebx]
mov ebx, dword [esp + 0x20]
mov byte [ebx - 1], al
shr edi, cl
mov ecx, edi
mov dword [esp + 0x18], edx
test dh, 0x20
mov eax, ebx
je 0x401b9c
mov esi, ecx
xor ecx, ecx
mov ebx, dword [esp + 0x30]
mov edi, eax
dec eax
mov dword [esp + 0x10], eax
mov eax, esi
mov dword [esp + 4], ecx
or eax, ecx
jne 0x401ae0
lea ecx, [esp + 0x26c]
sub ecx, dword [esp + 0x10]
cmp ecx, dword [esp + 8]
jl 0x401ae0
mov eax, dword [esp + 0x18]
shl eax, 0x14
and eax, 0xf000000
add eax, ecx
mov dword [esp + 0x18], eax
mov dword [esp + 0x24], ecx
xor esi, esi
mov edx, dword [esp + 0xc]
mov edi, dword [esp + 0x1c]
jmp 0x402017
mov eax, dword [esp + 0x28]
mov eax, dword [eax]
mov dword [esp + 0x10], str.null
test eax, eax
je 0x401c05
mov dword [esp + 0x10], eax
mov eax, dword [esp + 8]
mov esi, eax
test eax, eax
jns 0x401c14
mov esi, 0xffffffff
mov eax, dword [esp + 0x10]
test al, 3
je 0x402a0a
lea ecx, [esi + eax]
cmp dword [esp + 8], 0
je 0x402a83
cmp byte [eax], 0
je 0x4029f6
inc eax
mov dword [esp + 0x20], esi
dec esi
mov dword [esp + 8], eax
test al, 3
je 0x402a06
test esi, esi
je 0x402a83
mov esi, dword [esp + 8]
cmp byte [esi], 0
je 0x403676
mov eax, dword [esp + 0x10]
add eax, 2
mov esi, dword [esp + 0x20]
add esi, 0xfffffffe
mov dword [esp + 8], eax
test al, 3
je 0x402a06
test esi, esi
je 0x402a83
mov esi, dword [esp + 8]
cmp byte [esi], 0
je 0x403676
mov eax, dword [esp + 0x10]
add eax, 3
mov esi, dword [esp + 0x20]
add esi, 0xfffffffd
mov dword [esp + 8], eax
test al, 3
je 0x402a06
test esi, esi
je 0x402a83
mov esi, dword [esp + 8]
cmp byte [esi], 0
je 0x403676
mov eax, dword [esp + 0x10]
add eax, 4
mov esi, dword [esp + 0x20]
add esi, 0xfffffffc
test al, 3
je 0x402a0a
test esi, esi
je 0x401cd8
mov ecx, eax
mov ebx, dword [esp + 0x30]
mov edi, dword [esp + 0x1c]
jmp 0x402a83
mov eax, dword [esp + 0x40]
mov byte [esp + 0x26b], al
mov dword [esp + 0x24], 1
mov byte [esp + 0x48], 0
mov byte [esp + 0x38], 0
mov dword [esp + 0x44], 0
mov dword [esp + 0x18], 0
lea eax, [esp + 0x26b]
mov dword [esp + 0x10], eax
xor edx, edx
xor esi, esi
xor eax, eax
mov dword [esp + 0x50], 0
jmp 0x402aae
mov ecx, dword [esp + 0x28]
movzx eax, byte [ecx]
add ecx, 4
mov dword [esp + 0x28], ecx
mov byte [esp + 0x26b], al
mov dword [esp + 0x24], 1
mov byte [esp + 0x48], 0
mov byte [esp + 0x38], 0
mov dword [esp + 0x44], 0
mov dword [esp + 0x18], 0
lea eax, [esp + 0x26b]
jmp 0x40248b
mov eax, dword [esp + 0x28]
fld qword [eax]
add eax, 8
mov dword [esp + 0x28], eax
test edx, 0x100
jne 0x401fb1
jmp 0x4021d9
mov edx, dword [esp + 0x28]
mov eax, dword [edx]
mov ecx, dword [esp + 0x54]
sub ecx, edi
add ecx, ebx
mov dword [eax], ecx
add edx, 4
mov dword [esp + 0x28], edx
jmp 0x403663
cmp byte [ecx + 2], 0x32
je 0x402238
mov ecx, eax
jmp case.0x40126a.74
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x40]
jmp 0x401279
mov dword [esp + 0x24], 0
mov dword [esp + 0x18], 0
lea eax, [esp + 0x26c]
mov dword [esp + 0x10], eax
xor esi, esi
xor eax, eax
mov edx, dword [esp + 0xc]
mov edi, dword [esp + 0x1c]
jmp 0x402aae
xor eax, eax
mov ecx, ebx
or ecx, esi
je 0x401e04
mov eax, 0xfffffc02
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x58], eax
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x18]
lea ecx, [eax*4]
xor ebx, ebx
mov eax, 0x8000000
shrd ebx, eax, cl
mov edx, 0x8000000
shr edx, cl
test cl, 0x20
je 0x401e35
mov ebx, edx
xor edx, edx
cmp dword [esp + 0x18], 0xf
jl 0x401e40
xor ebx, ebx
xor edx, edx
mov eax, dword [esp + 0x2c]
shld esi, eax, 8
shl eax, 8
add eax, ebx
mov ebx, eax
adc esi, edx
mov edx, dword [esp + 0x10]
movzx ecx, dl
lea eax, [esp + 0x48]
mov word [ecx + eax + 1], 0x7830
or dl, 2
mov byte [esp + 0x48], dl
mov ecx, esi
shr ecx, 0x1c
mov eax, dword [esp + 4]
movzx ecx, byte [eax + ecx]
mov byte [esp + 0xac], cl
mov edx, dword [esp + 0x18]
test edx, edx
je 0x401f4a
mov dword [esp + 0x2c], ebx
movzx ecx, byte [section..data]
xor cl, 0x2d
mov byte [esp + 0xad], cl
lea eax, [esp + 0xae]
mov dword [esp + 0x14], eax
mov ecx, edx
cmp edx, 0xd
mov ebx, dword [esp + 0x58]
jb 0x401eba
mov ecx, 0xd
mov eax, edx
sub eax, ecx
mov dword [esp + 0x20], eax
jg 0x401ecc
mov dword [esp + 0x20], 0
mov eax, ecx
and eax, 3
je 0x402240
mov dword [esp + 0x10], ecx
xor ebx, ebx
mov edx, dword [esp + 0x2c]
mov dword [esp + 8], eax
nop
nop
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 + 0xae], al
mov eax, dword [esp + 8]
shl edx, 4
inc ebx
cmp eax, ebx
jne 0x401ef0
mov dword [esp + 0x2c], edx
lea eax, [esp + 0xae]
lea edx, [eax + ebx]
mov ecx, dword [esp + 0x10]
sub ecx, ebx
mov ebx, dword [esp + 0x58]
cmp dword [esp + 0x18], 4
jae 0x402252
lea esi, [esp + 0xae]
mov dword [esp + 8], esi
jmp 0x4022cd
lea edx, [esp + 0xad]
mov dword [esp + 0x14], edx
mov dword [esp + 0x20], 0
mov dword [esp + 8], edx
jmp 0x4022c9
mov dword [esp + 0x18], ecx
test edx, 0x100
je 0x40177f
mov eax, 1
mov ecx, dword [esp + 8]
cmp ecx, 0xffffffff
je 0x401f86
mov eax, ecx
mov dword [esp + 8], 0
cmp dword [esp + 0x18], 0x400
mov ecx, esi
sbb ecx, 0
jb 0x401fa1
mov dword [esp + 8], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], esi
fild qword [esp + 0x60]
xor eax, eax
test edx, 0x800
sete al
fld qword [eax*8 + 0x44c550]
cmp edx, 0x3ffffff
ja 0x401fed
fld st(0)
fchs
fxch st(1)
fucom st(2)
fnstsw ax
sahf
jbe 0x40215f
fxch st(2)
fucom st(1)
fnstsw ax
sahf
fxch st(2)
jbe 0x40215f
fstp st(0)
fstp st(0)
jmp 0x4021d9
mov dword [esp + 0x10], eax
mov edx, dword [esp + 0xc]
xor esi, esi
cmp dword [esp + 8], 0
jg 0x40200d
mov dword [esp + 8], 0
add ecx, 0x3000000
mov dword [esp + 0x18], ecx
mov eax, dword [esp + 8]
jmp 0x402aae
mov byte [esp + 0x3a], 0x2d
mov eax, esi
mov esi, 1
sub esi, eax
xor eax, eax
cmp esi, 0x64
setge al
mov edi, eax
mov eax, esi
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, esi
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, [edi + 4]
add bl, 0x30
add edx, edx
lea edx, [edx + edx*4]
mov dword [esp + 8], edx
mov dword [esp + 0x18], eax
mov byte [esp + 0x38], al
mov byte [esp + edi + 0x3c], bl
mov edx, ecx
sub edx, dword [esp + 8]
add dl, 0x30
mov byte [esp + edi + 0x3b], dl
cmp esi, 0x64
jl 0x4020c6
mov eax, esi
mov ecx, 0x51eb851f
mul ecx
mov ecx, edx
shr ecx, 5
mov eax, ecx
mov edx, 0x1999999a
mul edx
add edx, edx
lea eax, [edx + edx*4]
mov edx, ecx
sub edx, eax
or dl, 0x30
lea eax, [esp + 0x38]
mov esi, dword [esp + 0x18]
mov byte [esi + eax - 2], dl
mov esi, dword [esp + 0x20]
lea eax, [esi - 1]
mov edi, dword [esp + 0x10]
mov edx, edi
not edx
and edx, eax
neg esi
and esi, edi
sub esi, edx
mov dword [esp + 0x44], ecx
mov dword [esp + 0x18], 0x3000001
mov ebx, dword [esp + 0x30]
mov edi, dword [esp + 0x1c]
mov edx, dword [esp + 0xc]
jmp 0x4029da
mov edi, ecx
add dword [esp + 0x28], 8
mov dword [esp + 0x24], eax
mov ecx, dword [esp + 0x44]
cmp ecx, 0xfffffffd
mov edx, dword [esp + 0xc]
jl 0x402135
cmp ecx, dword [esp + 4]
jg 0x402135
test ecx, ecx
jle 0x402433
mov esi, eax
sub esi, ecx
mov edi, dword [esp + 0x1c]
jg 0x40244c
xor esi, esi
jmp 0x40244c
cmp edi, eax
jle 0x402147
dec eax
mov dword [esp + 0x10], eax
mov edi, dword [esp + 0x1c]
jmp 0x40140f
mov ecx, edi
xor eax, eax
sub ecx, 1
mov edi, dword [esp + 0x1c]
jb 0x402156
mov eax, ecx
mov dword [esp + 0x10], eax
jmp 0x40140f
fdiv st(2), st(0)
lea ecx, [edx + 0x1000000]
cmp edx, 0x2ffffff
ja 0x4021d3
fucom st(2)
fnstsw ax
sahf
jbe 0x402181
fxch st(2)
fucom st(1)
fnstsw ax
sahf
fxch st(2)
ja 0x4021d3
fdiv st(2), st(0)
lea ecx, [edx + 0x2000000]
cmp edx, 0x1ffffff
ja 0x4021d3
fucom st(2)
fnstsw ax
sahf
jbe 0x4021a3
fxch st(2)
fucom st(1)
fnstsw ax
sahf
fxch st(2)
ja 0x4021d3
fdiv st(2), st(0)
lea ecx, [edx + 0x3000000]
cmp edx, 0xffffff
ja 0x4021d3
fucom st(2)
fnstsw ax
sahf
jbe 0x403709
fxch st(2)
fucom st(1)
fstp st(1)
fnstsw ax
sahf
fldz
fxch st(1)
fxch st(2)
jbe 0x403709
fstp st(0)
fstp st(0)
mov edx, ecx
mov dword [esp + 0xc], edx
mov ecx, 6
mov eax, dword [esp + 8]
cmp eax, 0xffffffff
je 0x4021ed
mov ecx, eax
sub esp, 0x18
fstp qword [esp + 8]
lea eax, [esp + 0x5c]
mov dword [esp + 4], eax
lea eax, [esp + 0x84]
mov dword [esp], eax
mov esi, ecx
mov dword [esp + 0x10], ecx
lea ecx, [esp + 0x2c]
lea edx, [esp + 0x3c]
call fcn.00403760
add esp, 0x18
test eax, eax
je 0x40222f
mov edx, dword [esp + 0xc]
or edx, 0x80
jmp 0x40244c
mov edx, dword [esp + 0xc]
jmp 0x40244c
add ecx, 3
jmp case.0x40126a.74
lea edx, [esp + 0xae]
cmp dword [esp + 0x18], 4
jb 0x401f3a
mov dword [esp + 8], esi
mov eax, ecx
mov ecx, dword [esp + 0x2c]
nop
nop
nop
nop
mov dword [esp + 0x10], 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 + 8]
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 + 0x10]
add edx, 4
mov dword [esp + 8], esi
add eax, 0xfffffffc
jne 0x402260
lea esi, [esp + 0xae]
mov dword [esp + 8], esi
mov ebx, dword [esp + 0x58]
mov eax, dword [esp + 0x40]
cmp al, 0x41
setne al
shl al, 5
or al, 0x50
mov byte [esp + 0x39], al
test ebx, ebx
js 0x4022ea
mov byte [esp + 0x3a], 0x2b
jmp 0x4022f1
mov byte [esp + 0x3a], 0x2d
neg ebx
cmp ebx, 0x3e7
mov dword [esp + 0x10], edx
ja 0x402310
cmp ebx, 0x63
jbe 0x402417
mov dword [esp + 4], 5
jmp 0x402318
mov dword [esp + 4], 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 + 4]
mov byte [esp + 0x38], bl
or al, 0x30
mov byte [esp + ebx + 0x38], 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 + 0x37], cl
cmp byte [esp + 0x18], 0
mov ebx, dword [esp + 0x30]
mov edi, dword [esp + 0x1c]
jne 0x402886
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 + 0x38]
mov edx, dword [esp + 4]
mov byte [edx + eax - 2], cl
cmp esi, 0x3e8
jb 0x402886
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 + 0x38]
mov edx, dword [esp + 4]
mov byte [edx + eax - 3], cl
jmp 0x402886
cmp ebx, 9
jbe 0x402876
mov dword [esp + 4], 4
mov al, 1
mov dword [esp + 0x18], eax
jmp 0x402320
cmp edi, eax
jl 0x402439
mov edi, eax
neg ecx
mov edx, edi
and edx, ecx
xor ecx, edi
lea esi, [ecx + edx*2]
mov edx, dword [esp + 0xc]
mov edi, dword [esp + 0x1c]
mov byte [esp + 0x38], 0
mov byte [esp + 0x48], 0
mov al, 0x2d
test dl, dl
js 0x40246a
mov al, 0x20
test dl, 4
jne 0x40246a
mov al, 0x2b
test dl, 2
je 0x402473
mov byte [esp + 0x48], 1
mov byte [esp + 0x49], al
mov ecx, dword [esp + 0x44]
cmp ecx, 0x7000
jne 0x402494
mov dword [esp + 0x18], 0
mov eax, dword [esp + 0x14]
mov dword [esp + 0x10], eax
jmp 0x402aaa
test ecx, ecx
mov dword [esp + 0xc], edx
mov dword [esp + 0x20], esi
jle 0x402522
xor edi, edi
test dl, 0x40
je 0x4024c6
mov edi, 0x258
sub edi, ecx
mov eax, edi
mov edx, 0xaaaaaaab
mul edx
shr edx, 1
lea eax, [edx + edx*2]
mov edx, dword [esp + 0xc]
sub edi, eax
cmp ecx, dword [esp + 0x24]
jae 0x4025a6
xor ecx, ecx
lea eax, [esp + 0xac]
jmp 0x4024fc
mov esi, eax
mov eax, dword [esp + 0x14]
movzx edx, byte [eax + ecx]
lea eax, [esi + 1]
mov byte [esi], dl
inc ecx
mov edx, dword [esp + 0x44]
cmp ecx, edx
jae 0x40261b
mov edx, dword [esp + 0xc]
test dl, 0x40
je 0x4024e0
inc edi
cmp edi, 4
jne 0x4024e0
mov edi, edx
and edi, 0x40
shr edi, 6
movzx edx, byte [0x44f001]
xor dl, 0x41
mov byte [eax], dl
inc eax
jmp 0x4024e0
mov byte [esp + 0xac], 0x30
lea edx, [esp + 0xad]
test esi, esi
je 0x40254c
movzx eax, byte [section..data]
xor al, 0x2d
mov byte [esp + 0xad], al
lea edx, [esp + 0xae]
neg ecx
mov edi, esi
cmp esi, ecx
jl 0x402556
mov edi, ecx
test edi, edi
mov dword [esp + 0x10], edi
je 0x402758
mov eax, edx
and eax, 3
je 0x402758
mov ecx, edx
mov esi, edx
not esi
and esi, 3
lea ebx, [edi - 1]
cmp esi, ebx
jb 0x40257f
mov esi, ebx
lea eax, [esi + 1]
push eax
push 0x30
mov edi, ecx
push ecx
call fcn.0040c520
add esp, 0xc
add edi, esi
inc edi
mov dword [esp + 4], edi
sub ebx, esi
mov esi, dword [esp + 0x20]
mov edi, dword [esp + 0x10]
jmp 0x40275e
mov dword [esp + 0x10], edi
xor ebx, ebx
mov esi, 0xffffffff
lea eax, [esp + 0xac]
mov dword [esp + 4], eax
jmp 0x4025e5
mov dword [esp + 0x10], eax
mov edi, dword [esp + 4]
mov eax, dword [esp + 0x14]
movzx eax, byte [eax + ebx]
lea ecx, [edi + 1]
mov dword [esp + 4], ecx
mov ecx, edi
mov byte [edi], al
inc ebx
dec esi
cmp ebx, dword [esp + 0x24]
jae 0x4026c6
test dl, 0x40
je 0x4025c2
mov eax, dword [esp + 0x10]
inc eax
cmp eax, 4
jne 0x4025be
mov eax, edx
and eax, 0x40
shr eax, 6
mov dword [esp + 0x10], eax
movzx eax, byte [0x44f001]
mov ecx, eax
add cl, al
and cl, 0x82
sub al, cl
add al, 0x41
mov edi, dword [esp + 4]
mov byte [edi], al
inc edi
jmp 0x4025c6
mov ebx, eax
cmp dword [esp + 0x20], 0
je 0x402643
movzx edx, byte [section..data]
mov dh, dl
add dh, dl
and dh, 0x5a
sub dl, dh
add dl, 0x2d
mov byte [esi + 1], dl
add esi, 2
mov edx, dword [esp + 0x44]
mov ebx, esi
mov dword [esp + 4], ebx
mov esi, dword [esp + 0x24]
mov ebx, esi
sub ebx, edx
cmp ebx, dword [esp + 0x20]
jbe 0x402668
mov esi, edx
mov edi, dword [esp + 0x20]
and esi, edi
mov ebx, edx
xor ebx, edi
lea esi, [ebx + esi*2]
mov dword [esp + 0x24], esi
cmp ecx, esi
mov edi, dword [esp + 4]
jae 0x40268c
mov edx, dword [esp + 0x14]
movzx edx, byte [edx + ecx]
mov byte [edi], dl
inc edi
inc ecx
mov esi, dword [esp + 0x24]
cmp ecx, esi
jb 0x402670
mov dword [esp + 4], edi
mov edx, dword [esp + 0x44]
mov ecx, eax
lea ebx, [esp + 0xac]
xor ecx, ebx
and eax, dword [esp + 0x5c]
add eax, eax
sub eax, ecx
mov ecx, eax
and ecx, 0x3000000
xor eax, 0x3000000
lea eax, [eax + ecx*2]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x20]
sub eax, esi
mov esi, eax
add esi, edx
mov ebx, dword [esp + 0x30]
jmp 0x40293f
mov ecx, dword [esp + 0x44]
mov eax, ecx
sub eax, ebx
jbe 0x40282d
test dl, 0x40
jne 0x4029fd
cmp ecx, ebx
je 0x40367f
mov dword [esp + 8], ecx
mov ecx, eax
mov eax, dword [esp + 4]
and eax, 3
je 0x40367d
mov ecx, 2
sub ecx, edi
and ecx, 3
not ebx
mov eax, dword [esp + 8]
add eax, ebx
mov edx, ecx
mov dword [esp + 0x18], ecx
cmp ecx, eax
jb 0x402716
mov edx, eax
mov dword [esp + 0x2c], edx
lea eax, [edx + 1]
push eax
push 0x30
push dword [esp + 0xc]
call fcn.0040c520
add esp, 0xc
mov ecx, dword [esp + 8]
add esi, ecx
mov eax, dword [esp + 0x18]
cmp esi, eax
jb 0x40273c
mov esi, eax
mov eax, dword [esp + 0x2c]
add eax, edi
add eax, 2
mov dword [esp + 4], eax
sub ecx, esi
add ebx, ecx
mov eax, ebx
mov edx, dword [esp + 0xc]
jmp 0x40367f
mov dword [esp + 4], edx
mov ebx, edi
cmp ebx, 4
jl 0x4027a3
mov eax, ebx
cmp ebx, 7
jl 0x40276f
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, dword [esp + 0xc]
push edi
call fcn.0040c520
add esp, 0xc
add edi, esi
add edi, 4
mov dword [esp + 4], edi
sub ebx, esi
add ebx, 0xfffffffc
mov esi, dword [esp + 0x20]
mov edi, dword [esp + 0x10]
test ebx, ebx
je 0x4027c1
push ebx
push 0x30
mov edi, dword [esp + 0xc]
push edi
call fcn.0040c520
add esp, 0xc
add edi, ebx
mov dword [esp + 4], edi
mov edi, dword [esp + 0x10]
mov ebx, dword [esp + 0x30]
mov eax, dword [esp + 0x24]
lea ecx, [eax + edi]
cmp ecx, esi
jle 0x4027d8
mov eax, esi
sub eax, edi
mov dword [esp + 0x24], eax
test eax, eax
je 0x4028c1
mov edx, esi
cmp esi, ecx
jl 0x4027e8
mov edx, ecx
mov dword [esp + 8], edx
mov ecx, eax
and ecx, 3
je 0x4028cb
xor esi, esi
mov edi, dword [esp + 4]
nop
nop
nop
mov ebx, dword [esp + 0x14]
lea edx, [ebx + 1]
mov dword [esp + 0x14], edx
movzx edx, byte [ebx]
mov byte [edi + esi], dl
inc esi
cmp ecx, esi
jne 0x402800
add edi, esi
mov dword [esp + 4], edi
mov ecx, eax
sub ecx, esi
mov ebx, dword [esp + 0x30]
mov edi, dword [esp + 0x10]
jmp 0x4028cd
mov ebx, dword [esp + 0x30]
mov edi, dword [esp + 0x1c]
mov esi, dword [esp + 0x20]
mov ecx, dword [esp + 4]
lea eax, [esp + 0xac]
sub ecx, eax
add ecx, 0x3000000
mov dword [esp + 0x18], ecx
test esi, esi
je 0x4028c7
movzx eax, byte [section..data]
mov ecx, eax
add cl, al
and cl, 0x5a
sub al, cl
add al, 0x2d
mov ecx, dword [esp + 4]
mov byte [ecx], al
inc ecx
mov dword [esp + 4], ecx
jmp 0x402947
mov byte [esp + 0x38], 3
or bl, 0x30
mov byte [esp + 0x3b], bl
mov ebx, dword [esp + 0x30]
add dword [esp + 0x28], 8
mov edx, dword [esp + 0x10]
mov eax, edx
sub eax, dword [esp + 8]
mov dword [esp + 0x44], eax
lea ecx, [esp + 0xac]
sub edx, ecx
mov dword [esp + 0x24], edx
xor eax, eax
mov dword [esp + 0x18], 0x3000001
mov dword [esp + 0x10], ecx
mov edx, dword [esp + 0xc]
mov esi, dword [esp + 0x20]
jmp 0x402aae
mov edi, dword [esp + 4]
jmp 0x402927
xor esi, esi
jmp 0x402947
mov ecx, eax
mov edx, edi
sub edx, dword [esp + 8]
cmp edx, 0xfffffffc
mov edi, dword [esp + 4]
ja 0x402927
mov edx, dword [esp + 0x14]
lea esi, [edx + 1]
mov dword [esp + 0x14], esi
movzx edx, byte [edx]
mov byte [edi], dl
mov edx, dword [esp + 0x14]
lea esi, [edx + 1]
mov dword [esp + 0x14], esi
movzx edx, byte [edx]
mov byte [edi + 1], dl
mov edx, dword [esp + 0x14]
lea esi, [edx + 1]
mov dword [esp + 0x14], esi
movzx edx, byte [edx]
mov byte [edi + 2], dl
mov edx, dword [esp + 0x14]
lea esi, [edx + 1]
mov dword [esp + 0x14], esi
movzx edx, byte [edx]
mov byte [edi + 3], dl
add edi, 4
add ecx, 0xfffffffc
jne 0x4028dc
mov dword [esp + 4], edi
mov ecx, dword [esp + 0x10]
add ecx, eax
mov esi, dword [esp + 0x20]
sub esi, ecx
mov dword [esp + 0x18], 0x3000001
mov edx, dword [esp + 0xc]
mov edi, dword [esp + 0x1c]
test edx, 0x100
je 0x4029da
mov eax, edx
and eax, 0x400
sete byte [esp + 0x38]
mov byte [esp + 0x39], 0x20
cmp edx, 0x1000000
jb 0x4029da
mov dword [esp + 0x20], esi
mov ecx, edx
shr ecx, 0x18
mov ebx, eax
shr ebx, 0xa
mov esi, edx
mov edx, 2
sub edx, ebx
cmp eax, 1
mov eax, 0
adc al, 1
test esi, 0x800
jne 0x4029a8
movzx ecx, byte [ecx + str._kMGT]
mov byte [esp + edx + 0x38], cl
mov ebx, dword [esp + 0x30]
mov edx, esi
jmp 0x4029d2
movzx ecx, byte [ecx + str._KMGT]
mov byte [esp + edx + 0x38], cl
mov ecx, esi
and ecx, 0x1800
cmp ecx, 0x800
mov edx, esi
jne 0x4029ce
movzx eax, al
mov byte [esp + eax + 0x39], 0x69
inc eax
mov ebx, dword [esp + 0x30]
mov esi, dword [esp + 0x20]
mov byte [esp + 0x38], al
lea ecx, [esp + 0xac]
mov eax, dword [esp + 4]
sub eax, ecx
mov dword [esp + 0x24], eax
xor eax, eax
mov dword [esp + 0x10], ecx
jmp 0x402aae
mov ecx, eax
jmp 0x402a83
mov ebx, dword [esp + 0x30]
jmp 0x4036b2
mov eax, dword [esp + 8]
mov dword [esp + 0x20], esi
mov ecx, esi
mov dword [esp + 8], eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov esi, ecx
cmp ecx, 4
mov dword [esp + 4], eax
jb 0x402a52
mov ecx, eax
mov eax, dword [eax]
mov edi, edx
mov edx, 0x1010100
sub edx, eax
or edx, eax
not edx
lea eax, [ecx + 4]
lea ecx, [esi - 4]
test edx, 0x80808080
mov edx, edi
mov edi, dword [esp + 0x1c]
je 0x402a20
jmp 0x402a5a
test esi, esi
je 0x40366d
mov dword [esp + 0xc], edx
mov eax, esi
mov esi, dword [esp + 8]
add esi, dword [esp + 0x20]
xor edx, edx
mov ecx, dword [esp + 4]
cmp byte [ecx + edx], 0
je 0x402a7d
inc edx
cmp eax, edx
jne 0x402a6e
mov ecx, esi
jmp 0x402a7f
add ecx, edx
mov edx, dword [esp + 0xc]
add dword [esp + 0x28], 4
sub ecx, dword [esp + 0x10]
mov dword [esp + 0x24], ecx
mov byte [esp + 0x48], 0
mov byte [esp + 0x38], 0
mov dword [esp + 0x44], 0
mov dword [esp + 0x18], 0
xor esi, esi
xor eax, eax
mov dword [esp + 0x20], esi
mov dword [esp + 0xc], edx
mov ecx, dword [esp + 0x24]
cmp eax, ecx
mov edx, eax
jg 0x402ac2
mov edx, ecx
mov dword [esp + 4], ecx
movsx eax, byte [esp + 0x48]
movsx esi, byte [esp + 0x38]
mov ecx, edx
mov edx, dword [esp + 0x20]
mov dword [esp + 8], ecx
add edx, ecx
add edx, eax
add edx, esi
mov esi, dword [esp + 0x50]
cmp esi, edx
jg 0x402aea
mov esi, edx
sub esi, edx
mov edx, esi
mov ecx, dword [esp + 4]
sub dword [esp + 8], ecx
mov ecx, dword [esp + 0xc]
test cl, 1
jne 0x402b0c
test cl, 0x10
jne 0x402b14
mov dword [esp + 0xc], 0
mov ecx, edx
mov edx, dword [esp + 8]
jmp 0x402b20
mov ecx, dword [esp + 8]
cmp edx, ecx
jg 0x402b1e
mov edx, ecx
xor ecx, ecx
mov dword [esp + 0x50], ecx
add ecx, edx
jne 0x402b31
mov edx, dword [esp + 0xc]
jmp 0x402fd2
mov dword [esp + 8], edx
mov edx, dword [esp + 0xc]
test dl, 1
jne 0x402c7f
mov edi, dword [esp + 0x50]
test edi, edi
jg 0x402b62
jmp 0x402c7b
mov esi, dword [esp + 4]
mov edi, dword [esp + 0x50]
sub edi, esi
test edi, edi
jle 0x402c72
mov eax, dword [esp + 0x1c]
sub eax, ebx
add eax, 0x200
mov esi, edi
cmp edi, eax
jl 0x402b75
mov esi, eax
cmp dword [ebp + 8], 0
jne 0x402b7d
mov esi, edi
test esi, esi
mov dword [esp + 4], esi
mov dword [esp + 0x50], edi
je 0x402bd0
mov eax, ebx
and eax, 3
je 0x402bd0
mov eax, esi
mov esi, ebx
not esi
and esi, 3
lea edi, [eax - 1]
cmp esi, edi
jb 0x402ba2
mov esi, edi
lea eax, [esi + 1]
push eax
push 0x20
push ebx
call fcn.0040c520
mov ecx, edi
add esp, 0xc
add ebx, esi
inc ebx
sub ecx, esi
mov edx, dword [esp + 0xc]
mov esi, dword [esp + 4]
cmp ecx, 4
jge 0x402bd7
jmp 0x402c13
mov ecx, esi
cmp ecx, 4
jl 0x402c13
mov eax, ecx
cmp ecx, 7
jl 0x402be3
mov eax, 7
neg eax
lea esi, [ecx + eax]
add esi, 3
and esi, 0xfffffffc
lea eax, [esi + 4]
push eax
push 0x20
push ebx
mov edi, ecx
call fcn.0040c520
mov ecx, edi
add esp, 0xc
add ebx, esi
add ebx, 4
sub ecx, esi
add ecx, 0xfffffffc
mov edx, dword [esp + 0xc]
mov esi, dword [esp + 4]
test ecx, ecx
je 0x402c2b
push ecx
push 0x20
push ebx
mov edi, ecx
call fcn.0040c520
mov edx, dword [esp + 0x18]
add esp, 0xc
add ebx, edi
cmp dword [ebp + 8], 0
je 0x402b54
mov eax, ebx
mov esi, dword [esp + 0x1c]
sub eax, esi
lea ecx, [eax + 1]
cmp ecx, 0x200
jl 0x402b50
add dword [esp + 0x54], eax
push eax
push dword [ebp + 0xc]
push esi
call dword [ebp + 8]
add esp, 0xc
test eax, eax
je 0x403745
mov ebx, eax
mov dword [esp + 0x1c], eax
mov edx, dword [esp + 0xc]
jmp 0x402b50
mov dword [esp + 0x50], edi
movzx eax, byte [esp + 0x48]
mov edi, dword [esp + 0x1c]
lea ecx, [esp + 0x49]
mov dword [esp + 0x14], ecx
test al, al
jne 0x402eb5
mov eax, dword [esp + 0x18]
mov ecx, eax
shr ecx, 0x18
mov dword [esp + 4], ecx
xor esi, esi
test dl, 0x40
je 0x402cbd
and eax, 0xffffff
add eax, dword [esp + 8]
mov esi, dword [esp + 4]
lea ecx, [esi + 1]
xor edx, edx
div ecx
sub esi, edx
mov edx, dword [esp + 0xc]
cmp dword [esp + 8], 0
jle 0x403113
mov eax, dword [esp + 8]
jmp 0x402ce0
mov eax, dword [esp + 8]
sub eax, dword [esp + 0x18]
test eax, eax
jle 0x402fcd
mov dword [esp + 8], eax
mov ecx, eax
cmp dword [ebp + 8], 0
mov dword [esp + 0x1c], edi
je 0x402d17
mov eax, ebx
sub eax, edi
mov ecx, eax
xor ecx, 0x200
not eax
and eax, 0x200
add eax, eax
sub eax, ecx
mov ecx, dword [esp + 8]
mov edi, ecx
cmp ecx, eax
jl 0x402d13
mov ecx, eax
mov edi, dword [esp + 0x1c]
test dl, 0x40
mov dword [esp + 0x18], ecx
jne 0x402da9
test ecx, ecx
je 0x402d61
mov eax, ebx
and eax, 3
je 0x402d61
mov edi, ebx
not edi
and edi, 3
dec ecx
cmp edi, ecx
jb 0x402d3d
mov edi, ecx
lea eax, [edi + 1]
push eax
push 0x30
push ebx
mov dword [esp + 0x3c], ecx
call fcn.0040c520
mov ecx, dword [esp + 0x3c]
add esp, 0xc
add ebx, edi
inc ebx
sub ecx, edi
mov edx, dword [esp + 0xc]
mov edi, dword [esp + 0x1c]
cmp ecx, 4
jl 0x402da9
mov edx, ecx
mov eax, ecx
mov edi, ecx
cmp ecx, 7
jl 0x402d76
mov eax, 7
neg eax
mov dword [esp + 0x30], edi
add edi, eax
add edi, 3
and edi, 0xfffffffc
lea eax, [edi + 4]
push eax
push 0x30
push ebx
call fcn.0040c520
mov ecx, dword [esp + 0x3c]
add esp, 0xc
add ebx, edi
add ebx, 4
sub ecx, edi
add ecx, 0xfffffffc
mov edi, dword [esp + 0x1c]
mov edx, dword [esp + 0xc]
test ecx, ecx
je 0x402df0
test cl, 1
jne 0x402dc0
mov eax, ecx
cmp ecx, 1
jne 0x402e57
jmp 0x402df0
mov al, 0x30
test dl, 0x40
je 0x402ddb
cmp esi, dword [esp + 4]
jne 0x402dda
movzx eax, byte [0x44f001]
xor al, 0x41
xor esi, esi
jmp 0x402ddb
inc esi
mov byte [ebx], al
inc ebx
lea eax, [ecx - 1]
cmp ecx, 1
jne 0x402e57
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [ebp + 8], 0
je 0x402cd0
mov eax, ebx
sub eax, edi
lea ecx, [eax + 1]
cmp ecx, 0x200
jl 0x402cd0
add dword [esp + 0x54], eax
push eax
push dword [ebp + 0xc]
push edi
call dword [ebp + 8]
add esp, 0xc
test eax, eax
je 0x403745
mov ebx, eax
mov edi, eax
mov edx, dword [esp + 0xc]
jmp 0x402cd0
movzx ecx, byte [0x44f001]
xor cl, 0x41
xor esi, esi
mov byte [ebx + 1], cl
add ebx, 2
add eax, 0xfffffffe
je 0x402df0
mov cl, 0x30
test dl, 0x40
je 0x402e81
cmp esi, dword [esp + 4]
jne 0x402e80
movzx edx, byte [0x44f001]
xor dl, 0x41
xor esi, esi
jmp 0x402e83
inc esi
mov dl, 0x30
mov byte [ebx], dl
mov edx, dword [esp + 0xc]
test dl, 0x40
je 0x402e4c
cmp esi, dword [esp + 4]
je 0x402e40
inc esi
jmp 0x402e4c
mov ebx, eax
mov edi, eax
movzx eax, byte [esp + 0x48]
test al, al
mov edx, dword [esp + 0xc]
je 0x402c8f
movsx ecx, al
mov eax, ecx
cmp dword [ebp + 8], 0
je 0x402ed9
mov eax, ebx
not eax
and eax, edi
mov edx, edi
not edx
and edx, ebx
sub eax, edx
add eax, 0x200
cmp eax, ecx
jl 0x402ed9
mov eax, ecx
sub cl, al
mov byte [esp + 0x48], cl
test eax, eax
je 0x402f7b
mov ecx, eax
and ecx, 3
je 0x402fc0
mov dword [esp + 4], eax
mov dword [esp + 0x1c], edi
xor edx, edx
nop
nop
nop
nop
mov esi, dword [esp + 0x14]
lea edi, [esi + 1]
mov dword [esp + 0x14], edi
movzx eax, byte [esi]
mov byte [ebx + edx], al
inc edx
cmp ecx, edx
jne 0x402f00
add ebx, edx
mov eax, dword [esp + 4]
mov ecx, eax
sub ecx, edx
mov edi, dword [esp + 0x1c]
cmp eax, 4
jb 0x402f7b
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp + 0x14]
lea edx, [eax + 1]
mov dword [esp + 0x14], edx
movzx eax, byte [eax]
mov byte [ebx], al
mov eax, dword [esp + 0x14]
lea edx, [eax + 1]
mov dword [esp + 0x14], edx
movzx eax, byte [eax]
mov byte [ebx + 1], al
mov eax, dword [esp + 0x14]
lea edx, [eax + 1]
mov dword [esp + 0x14], edx
movzx eax, byte [eax]
mov byte [ebx + 2], al
mov eax, dword [esp + 0x14]
lea edx, [eax + 1]
mov dword [esp + 0x14], edx
movzx eax, byte [eax]
mov byte [ebx + 3], al
add ebx, 4
add ecx, 0xfffffffc
jne 0x402f30
cmp dword [ebp + 8], 0
je 0x402ea4
mov eax, ebx
sub eax, edi
mov ecx, eax
and ecx, 1
mov edx, eax
xor edx, 1
lea ecx, [edx + ecx*2]
cmp ecx, 0x200
jl 0x402ea4
add dword [esp + 0x54], eax
push eax
push dword [ebp + 0xc]
push edi
call dword [ebp + 8]
add esp, 0xc
test eax, eax
jne 0x402ea0
jmp 0x403745
mov ecx, eax
cmp eax, 4
jae 0x402f30
jmp 0x402f7b
movzx eax, byte [esp + 0x48]
lea ecx, [esp + 0x49]
mov dword [esp + 0x14], ecx
test al, al
jne 0x402ffd
jmp 0x40311b
movzx eax, byte [esp + 0x48]
test al, al
je 0x40310d
movsx edx, al
mov ecx, edi
sub ecx, ebx
add ecx, 0x200
cmp ecx, edx
jl 0x403010
mov ecx, edx
cmp dword [ebp + 8], 0
jne 0x403018
mov ecx, edx
sub al, cl
mov byte [esp + 0x48], al
test ecx, ecx
je 0x4030bb
mov eax, ecx
and eax, 3
je 0x403100
mov dword [esp + 4], ecx
mov dword [esp + 0x1c], edi
xor edx, edx
nop
nop
nop
nop
nop
mov esi, dword [esp + 0x14]
lea edi, [esi + 1]
mov dword [esp + 0x14], edi
movzx ecx, byte [esi]
mov byte [ebx + edx], cl
inc edx
cmp eax, edx
jne 0x403040
add ebx, edx
mov ecx, dword [esp + 4]
mov eax, ecx
sub eax, edx
mov edi, dword [esp + 0x1c]
cmp ecx, 4
jb 0x4030bb
nop
nop
nop
nop
nop
nop
nop
mov ecx, dword [esp + 0x14]
lea edx, [ecx + 1]
mov dword [esp + 0x14], edx
movzx ecx, byte [ecx]
mov byte [ebx], cl
mov ecx, dword [esp + 0x14]
lea edx, [ecx + 1]
mov dword [esp + 0x14], edx
movzx ecx, byte [ecx]
mov byte [ebx + 1], cl
mov ecx, dword [esp + 0x14]
lea edx, [ecx + 1]
mov dword [esp + 0x14], edx
movzx ecx, byte [ecx]
mov byte [ebx + 2], cl
mov ecx, dword [esp + 0x14]
lea edx, [ecx + 1]
mov dword [esp + 0x14], edx
movzx ecx, byte [ecx]
mov byte [ebx + 3], cl
add ebx, 4
add eax, 0xfffffffc
jne 0x403070
cmp dword [ebp + 8], 0
je 0x402ff0
mov ecx, ebx
xor ecx, edi
mov eax, edi
not eax
and eax, ebx
add eax, eax
sub eax, ecx
cmp eax, 0x1ff
jl 0x402ff0
add dword [esp + 0x54], eax
push eax
push dword [ebp + 0xc]
push edi
call dword [ebp + 8]
add esp, 0xc
test eax, eax
je 0x403745
mov ebx, eax
mov edi, eax
jmp 0x402ff0
mov eax, ecx
cmp ecx, 4
jae 0x403070
jmp 0x4030bb
mov edx, dword [esp + 0xc]
jmp 0x40311b
lea eax, [esp + 0x49]
mov dword [esp + 0x14], eax
mov ecx, dword [esp + 0x24]
test ecx, ecx
jne 0x4033a0
mov esi, dword [esp + 0x20]
test esi, esi
jne 0x403146
lea eax, [esp + 0x39]
mov dword [esp + 0x14], eax
jmp 0x403274
sub esi, dword [esp + 4]
je 0x40312f
mov eax, edi
sub eax, ebx
add eax, 0x200
mov ecx, esi
cmp esi, eax
jl 0x403157
mov ecx, eax
cmp dword [ebp + 8], 0
jne 0x40315f
mov ecx, esi
test ecx, ecx
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], esi
mov dword [esp + 4], ecx
je 0x4031e0
mov eax, ebx
and eax, 3
je 0x4031d0
mov ecx, ebx
not ebx
and ebx, 3
mov eax, dword [esp + 4]
lea esi, [eax - 1]
cmp ebx, esi
jb 0x40318a
mov ebx, esi
lea eax, [ebx + 1]
push eax
push 0x30
mov edi, ecx
push ecx
call fcn.0040c520
add esp, 0xc
lea ecx, [ebx + edi]
inc ecx
sub esi, ebx
mov edi, dword [esp + 0x1c]
mov edx, dword [esp + 0xc]
cmp esi, 4
jge 0x4031e9
test esi, esi
je 0x403228
push esi
push 0x30
mov ebx, ecx
push ecx
call fcn.0040c520
mov edx, dword [esp + 0x18]
add esp, 0xc
add ebx, esi
jmp 0x40322a
mov ecx, ebx
mov esi, dword [esp + 4]
cmp esi, 4
jge 0x4031e9
jmp 0x4031ae
mov esi, ecx
mov ecx, ebx
cmp esi, 4
jl 0x4031ae
mov eax, esi
cmp esi, 7
jl 0x4031f5
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.0040c520
add esp, 0xc
lea ecx, [edi + ebx]
add ecx, 4
sub esi, edi
add esi, 0xfffffffc
mov edi, dword [esp + 0x1c]
mov edx, dword [esp + 0xc]
test esi, esi
jne 0x4031b2
mov ebx, ecx
mov esi, dword [esp + 0x20]
cmp dword [ebp + 8], 0
je 0x403140
mov eax, ebx
sub eax, edi
lea ecx, [eax + 1]
cmp ecx, 0x200
jl 0x403140
add dword [esp + 0x54], eax
push eax
push dword [ebp + 0xc]
push edi
call dword [ebp + 8]
add esp, 0xc
test eax, eax
je 0x403745
mov ebx, eax
mov edi, eax
mov edx, dword [esp + 0xc]
jmp 0x403140
mov edx, dword [esp + 0xc]
movzx ecx, byte [esp + 0x38]
test cl, cl
je 0x4034ed
movsx edx, cl
mov eax, edi
sub eax, ebx
add eax, 0x200
cmp eax, edx
jl 0x403293
mov eax, edx
cmp dword [ebp + 8], 0
jne 0x40329b
mov eax, edx
sub cl, al
mov byte [esp + 0x38], cl
test eax, eax
je 0x40333b
mov ecx, eax
and ecx, 3
je 0x403380
mov dword [esp + 0x1c], edi
xor edx, edx
nop
nop
nop
nop
nop
nop
mov esi, dword [esp + 0x14]
lea edi, [esi + 1]
mov dword [esp + 0x14], edi
mov edi, ebx
movzx ebx, byte [esi]
mov byte [edi + edx], bl
mov ebx, edi
inc edx
cmp ecx, edx
jne 0x4032c0
add ebx, edx
mov ecx, eax
sub ecx, edx
mov edi, dword [esp + 0x1c]
cmp eax, 4
jb 0x40333b
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp + 0x14]
lea edx, [eax + 1]
mov dword [esp + 0x14], edx
movzx eax, byte [eax]
mov byte [ebx], al
mov eax, dword [esp + 0x14]
lea edx, [eax + 1]
mov dword [esp + 0x14], edx
movzx eax, byte [eax]
mov byte [ebx + 1], al
mov eax, dword [esp + 0x14]
lea edx, [eax + 1]
mov dword [esp + 0x14], edx
movzx eax, byte [eax]
mov byte [ebx + 2], al
mov eax, dword [esp + 0x14]
lea edx, [eax + 1]
mov dword [esp + 0x14], edx
movzx eax, byte [eax]
mov byte [ebx + 3], al
add ebx, 4
add ecx, 0xfffffffc
jne 0x4032f0
cmp dword [ebp + 8], 0
je 0x403270
mov eax, ebx
sub eax, edi
cmp eax, 0x1ff
jl 0x403270
add dword [esp + 0x54], eax
push eax
push dword [ebp + 0xc]
push edi
call dword [ebp + 8]
add esp, 0xc
test eax, eax
je 0x403745
mov ebx, eax
mov edi, eax
jmp 0x403270
mov ecx, eax
cmp eax, 4
jae 0x4032f0
jmp 0x40333b
mov edi, esi
mov ecx, dword [esp + 8]
sub ecx, dword [esp + 4]
je 0x403127
mov eax, edi
sub eax, ebx
add eax, 0x200
mov dword [esp + 4], ecx
cmp ecx, eax
jl 0x4033b5
mov dword [esp + 4], eax
mov esi, edi
cmp dword [ebp + 8], 0
jne 0x4033c1
mov dword [esp + 4], ecx
mov dword [esp + 8], ecx
mov ecx, dword [esp + 4]
mov eax, ecx
cmp ecx, 4
mov edi, dword [esp + 0x10]
jl 0x403400
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov ecx, dword [edi]
mov dword [ebx], ecx
mov ecx, eax
and ecx, 0x7ffffffb
not eax
and eax, 4
sub ecx, eax
add edi, 4
add ebx, 4
mov eax, ecx
cmp ecx, 3
jg 0x4033e0
test eax, eax
je 0x403491
mov ecx, eax
and ecx, 7
je 0x4034e0
mov dword [esp + 0x1c], esi
xor edx, edx
mov esi, edi
nop
nop
nop
nop
nop
mov edi, ebx
movzx ebx, byte [esi + edx]
mov byte [edi + edx], bl
mov ebx, edi
inc edx
cmp ecx, edx
jne 0x403420
add ebx, edx
mov ecx, eax
sub ecx, edx
add esi, edx
mov edi, esi
mov esi, dword [esp + 0x1c]
mov edx, dword [esp + 0xc]
cmp eax, 8
jb 0x403491
nop
nop
nop
nop
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 0x403450
mov dword [esp + 0x10], edi
cmp dword [ebp + 8], 0
je 0x403390
mov eax, ebx
mov edi, esi
sub eax, esi
cmp eax, 0x1ff
jl 0x403392
add dword [esp + 0x54], eax
push eax
push dword [ebp + 0xc]
push edi
call dword [ebp + 8]
add esp, 0xc
test eax, eax
je 0x403745
mov ebx, eax
mov edi, eax
mov edx, dword [esp + 0xc]
jmp 0x403392
mov ecx, eax
cmp eax, 8
jae 0x403450
jmp 0x403491
test dl, 1
je 0x403663
mov ecx, dword [esp + 0x50]
test ecx, ecx
mov eax, dword [esp + 0x34]
jle 0x403667
jne 0x403520
jmp 0x403667
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x50]
sub ecx, edx
je 0x403667
mov dword [esp + 0x50], ecx
mov esi, ebx
not esi
mov edx, ecx
cmp dword [ebp + 8], 0
je 0x403551
mov eax, edi
and eax, esi
mov ecx, edi
not ecx
and ecx, ebx
sub eax, ecx
mov ecx, dword [esp + 0x50]
add eax, 0x200
mov edx, ecx
cmp ecx, eax
jl 0x40354d
mov edx, eax
mov eax, dword [esp + 0x34]
test edx, edx
mov dword [esp + 0xc], edx
mov dword [esp + 0x1c], edi
je 0x4035f0
mov ecx, ebx
and ebx, 3
je 0x4035a0
and esi, 3
lea ebx, [edx - 1]
cmp esi, ebx
jb 0x403574
mov esi, ebx
lea eax, [esi + 1]
push eax
push 0x20
mov edi, ecx
push ecx
call fcn.0040c520
add esp, 0xc
lea ecx, [esi + edi]
inc ecx
sub ebx, esi
mov edi, dword [esp + 0x1c]
jmp 0x4035a2
mov ebx, edx
mov eax, dword [esp + 0x34]
cmp ebx, 4
jl 0x403600
mov eax, ebx
cmp ebx, 7
jl 0x4035b7
mov eax, 7
neg eax
lea esi, [ebx + eax]
add esi, 3
and esi, 0xfffffffc
lea eax, [esi + 4]
push eax
push 0x20
mov edi, ecx
push ecx
call fcn.0040c520
add esp, 0xc
lea ecx, [esi + edi]
add ecx, 4
sub ebx, esi
add ebx, 0xfffffffc
mov edi, dword [esp + 0x1c]
mov eax, dword [esp + 0x34]
test ebx, ebx
jne 0x403604
mov ebx, ecx
jmp 0x40361a
mov ecx, ebx
mov ebx, edx
cmp ebx, 4
jge 0x4035ab
nop
nop
nop
nop
nop
nop
nop
test ebx, ebx
je 0x4035ea
push ebx
push 0x20
mov esi, ecx
push ecx
call fcn.0040c520
mov eax, dword [esp + 0x40]
add esp, 0xc
add esi, ebx
mov ebx, esi
mov edx, dword [esp + 0xc]
cmp dword [ebp + 8], 0
je 0x403514
mov eax, ebx
sub eax, edi
lea ecx, [eax + 1]
cmp ecx, 0x200
jl 0x403510
add dword [esp + 0x54], eax
push eax
push dword [ebp + 0xc]
push edi
call dword [ebp + 8]
add esp, 0xc
test eax, eax
je 0x403745
mov ebx, eax
mov edi, eax
mov eax, dword [esp + 0x34]
mov edx, dword [esp + 0xc]
jmp 0x403514
mov eax, dword [esp + 0x34]
inc eax
jmp 0x401048
mov ecx, dword [esp + 4]
jmp 0x402a83
mov ecx, esi
jmp 0x402a83
mov eax, ecx
cmp eax, 4
mov ebx, dword [esp + 0x30]
jb 0x4036b2
mov esi, eax
and esi, 0xfffffffc
push esi
push 0x30
mov edi, dword [esp + 0xc]
push edi
mov dword [esp + 0x14], eax
call fcn.0040c520
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
add esp, 0xc
add edi, esi
mov dword [esp + 4], edi
and eax, 3
mov edi, dword [esp + 0x1c]
mov esi, dword [esp + 0x20]
jmp 0x4036c9
mov ecx, dword [esp + 4]
mov byte [ecx], 0x30
dec eax
inc ecx
mov dword [esp + 4], ecx
test eax, eax
je 0x402839
test dl, 0x40
je 0x4036bc
mov dword [esp + 8], eax
mov eax, dword [esp + 0x10]
inc eax
mov dword [esp + 0x10], eax
cmp eax, 4
mov eax, dword [esp + 8]
jne 0x4036bc
movzx eax, byte [0x44f001]
xor al, 0x41
mov ecx, dword [esp + 4]
mov byte [ecx], al
mov eax, dword [esp + 8]
mov dword [esp + 0x10], 0
jmp 0x4036c4
fstp st(1)
fdivp st(1)
or edx, 0x4000000
jmp 0x4021d9
cmp dword [ebp + 8], 0
je 0x40374b
mov eax, ebx
sub eax, edi
lea ecx, [eax + 0x1ff]
cmp ecx, 0x200
jl 0x40374e
add dword [esp + 0x54], eax
push eax
push dword [ebp + 0xc]
push edi
call dword [ebp + 8]
add esp, 0xc
mov ebx, eax
mov edi, eax
jmp 0x40374e
xor ebx, ebx
xor edi, edi
jmp 0x40374e
mov byte [ebx], 0
mov eax, dword [esp + 0x54]
add eax, ebx
sub eax, edi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret