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 + 0x30], eax
mov ebx, dword [ebp + 0x14]
mov edi, dword [ebp + 0x10]
mov dword [esp + 0x48], 0
mov esi, edi
jmp 0x40103a
mov esi, ebx
mov ebx, dword [esp + 0x2c]
mov byte [edi], al
inc ebx
inc edi
mov dword [esp + 0x24], esi
test bl, 3
je 0x401050
movzx eax, byte [ebx]
jmp 0x40106e
mov eax, dword [ebx]
mov edx, eax
not edx
and edx, 0x80808080
mov ecx, eax
xor ecx, 0x25252525
add ecx, 0xfefefeff
test ecx, edx
je 0x4010ce
cmp al, 0x25
je 0x40112c
test al, al
mov esi, dword [esp + 0x24]
je 0x403858
cmp dword [ebp + 8], 0
je 0x401036
mov dword [esp + 0x2c], ebx
mov ecx, edi
sub ecx, esi
mov edx, ecx
xor edx, 1
mov ebx, esi
mov esi, ecx
and esi, 1
lea edx, [edx + esi*2]
cmp edx, 0x200
jl 0x401030
add dword [esp + 0x48], ecx
push ecx
push dword [ebp + 0xc]
push ebx
call dword [ebp + 8]
add esp, 0xc
test eax, eax
je 0x403885
mov edi, eax
mov ebx, dword [esp + 0x2c]
movzx eax, byte [ebx]
mov esi, edi
jmp 0x401036
mov ecx, dword [esp + 0x24]
sub ecx, edi
add ecx, 0x200
jmp 0x40110e
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx + 4]
add ebx, 4
mov edx, eax
not edx
and edx, 0x80808080
mov esi, eax
xor esi, 0x25252525
add esi, 0xfefefeff
add ecx, 0xfffffffc
test esi, edx
jne 0x40106e
lea esi, [eax - 0x1010101]
test edx, esi
jne 0x401076
cmp dword [ebp + 8], 0
je 0x4010e0
cmp ecx, 4
jge 0x4010e0
jmp 0x40106e
add ebx, 2
mov ecx, ebx
xor ebx, ebx
jmp 0x401143
mov edx, 1
nop
nop
nop
nop
nop
nop
or ebx, edx
inc ecx
movzx eax, byte [ecx - 1]
lea esi, [eax - 0x20]
cmp esi, 0x3f
ja case.0x401154.33
mov edx, 2
jmp dword [esi*4 + 0x44c564]
mov edx, 4
jmp case.0x401154.43
mov edx, 0x400
jmp case.0x401154.43
mov edx, 0x100
test ebx, 0x100
je case.0x401154.43
mov edx, ebx
and edx, 0x800
add edx, 0x800
jmp case.0x401154.43
mov edx, 8
jmp case.0x401154.43
mov edx, 0x40
jmp case.0x401154.43
or ebx, 0x10
movzx eax, byte [ecx]
jmp 0x40119d
dec ecx
cmp al, 0x2a
mov esi, dword [esp + 0x24]
mov dword [esp + 0xc], ebx
jne 0x4011c1
mov eax, dword [esp + 0x30]
mov edx, dword [eax]
mov dword [esp + 0x50], edx
add eax, 4
mov dword [esp + 0x30], eax
movzx eax, byte [ecx + 1]
inc ecx
jmp 0x401217
mov edx, eax
add dl, 0xd0
mov dword [esp + 0x50], 0
cmp dl, 9
ja 0x401217
xor esi, esi
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov ebx, esi
and ebx, 0xa
mov edx, esi
or esi, 0xa
imul esi, ebx
xor ebx, 0xa
and edx, 0xfffffff5
imul edx, ebx
add esi, edx
movzx eax, al
add esi, eax
add esi, 0xffffffd0
movzx eax, byte [ecx + 1]
inc ecx
mov edx, eax
add dl, 0xd0
cmp dl, 0xa
jb 0x4011e0
mov dword [esp + 0x50], esi
mov esi, dword [esp + 0x24]
mov ebx, 0xffffffff
cmp al, 0x2e
jne 0x40126b
movzx eax, byte [ecx + 1]
cmp al, 0x2a
jne 0x40123e
mov eax, dword [esp + 0x30]
mov ebx, dword [eax]
add eax, 4
mov dword [esp + 0x30], eax
movzx eax, byte [ecx + 2]
add ecx, 2
jmp 0x40126b
inc ecx
mov edx, eax
add dl, 0xd0
xor ebx, ebx
cmp dl, 9
ja 0x40126b
xor ebx, ebx
nop
nop
nop
movzx eax, al
lea edx, [ebx + ebx*4]
lea ebx, [eax + edx*2]
add ebx, 0xffffffd0
movzx eax, byte [ecx + 1]
inc ecx
mov edx, eax
add dl, 0xd0
cmp dl, 0xa
jb 0x401250
movzx eax, al
add eax, 0xffffffb7
cmp eax, 0x31
mov dword [esp + 0x1c], ebx
ja case.0x40127a.74
jmp dword [eax*4 + 0x44c664]
inc ecx
jmp case.0x40127a.74
movzx edx, byte [ecx + 1]
cmp dl, 0x6c
jne 0x4012c1
or dword [esp + 0xc], 0x20
add ecx, 2
jmp case.0x40127a.74
lea ebx, [ecx + 1]
movzx edx, byte [ecx + 1]
cmp edx, 0x33
je 0x4012d6
cmp edx, 0x36
jne 0x4012e8
cmp byte [ecx + 2], 0x34
jne 0x4012dc
add ecx, 3
or dword [esp + 0xc], 0x20
jmp case.0x40127a.74
cmp byte [ecx + 1], 0x68
je 0x4012c4
inc ecx
jmp 0x4012c7
inc ecx
jmp 0x4012e6
add ecx, 2
mov eax, dword [esp + 0xc]
or eax, 0x200
mov dword [esp + 0xc], eax
jmp case.0x40127a.74
cmp byte [ecx + 2], 0x32
je 0x4012e0
mov ecx, ebx
jmp case.0x40127a.74
add ecx, 3
movzx edx, byte [ecx]
mov ebx, ecx
movzx eax, dl
add eax, 0xffffffbf
cmp eax, 0x37
mov dword [esp + 0x2c], ebx
ja case.0x4012fb.67
jmp dword [eax*4 + 0x44c72c]
test byte [esp + 0xc], 0x20
jne 0x40178d
mov eax, dword [esp + 0x30]
mov ecx, dword [eax]
add eax, 4
mov dword [esp + 0x30], eax
mov dword [esp + 0x10], 0
cmp dl, 0x75
je 0x401d84
test ecx, ecx
jns 0x401d84
neg ecx
mov dword [esp + 0x14], ecx
mov edx, dword [esp + 0xc]
or edx, 0x80
jmp 0x401d9a
mov eax, str.0123456789ABCDEFXP
cmp dl, 0x45
je 0x401357
mov eax, str.0123456789abcdefxp
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x30]
fld qword [eax]
mov ecx, 6
mov eax, dword [esp + 0x1c]
cmp eax, 0xffffffff
je 0x401371
mov ecx, eax
mov dword [esp + 0x18], ecx
mov eax, ecx
or eax, 0x80000000
sub esp, 0x18
mov dword [esp + 0x10], eax
fstp qword [esp + 8]
lea eax, [esp + 0x54]
mov dword [esp + 4], eax
lea eax, [esp + 0x7c]
mov dword [esp], eax
lea ecx, [esp + 0x38]
lea edx, [esp + 0x40]
call fcn.004038a0
add esp, 0x18
test eax, eax
je 0x4013b2
or dword [esp + 0xc], 0x80
add dword [esp + 0x30], 8
mov edx, dword [esp + 0x18]
mov dword [esp + 0x18], edx
mov byte [esp + 0x34], 0
mov byte [esp + 0x40], 0
mov al, 0x2d
cmp byte [esp + 0xc], 0
js 0x4013e4
mov al, 0x20
test byte [esp + 0xc], 4
jne 0x4013e4
mov al, 0x2b
test byte [esp + 0xc], 2
je 0x4013ed
mov byte [esp + 0x40], 1
mov byte [esp + 0x41], al
mov eax, dword [esp + 0x3c]
mov edx, dword [esp + 0x20]
cmp eax, 0x7000
je 0x402b76
mov dword [esp + 0x1c], eax
movzx eax, byte [edx]
mov byte [esp + 0xa4], al
lea ebx, [esp + 0xa5]
cmp dword [esp + 0x18], 0
je 0x40143c
movzx eax, byte [section..data]
mov ecx, eax
add cl, al
and cl, 0xb2
sub al, cl
add al, 0xd9
mov byte [esp + 0xa5], al
lea ebx, [esp + 0xa6]
mov eax, dword [esp + 0x28]
lea ecx, [eax - 1]
cmp ecx, dword [esp + 0x18]
jbe 0x401452
mov eax, dword [esp + 0x18]
inc eax
mov dword [esp + 0x28], eax
mov dword [esp + 8], eax
cmp eax, 2
jb 0x40150e
mov dword [esp + 0x10], edx
mov eax, dword [esp + 0x18]
mov esi, eax
cmp eax, ecx
jb 0x40146f
mov esi, ecx
lea ecx, [esi - 1]
mov edx, 1
cmp ecx, 7
jb 0x4014e7
mov dword [esp + 4], esi
mov ecx, esi
and ecx, 0xfffffff8
xor edx, edx
mov esi, ebx
mov ebx, dword [esp + 0x10]
nop
nop
nop
movzx eax, byte [ebx + edx + 1]
mov byte [esi + edx], al
movzx eax, byte [ebx + edx + 2]
mov byte [esi + edx + 1], al
movzx eax, byte [ebx + edx + 3]
mov byte [esi + edx + 2], al
movzx eax, byte [ebx + edx + 4]
mov byte [esi + edx + 3], al
movzx eax, byte [ebx + edx + 5]
mov byte [esi + edx + 4], al
movzx eax, byte [ebx + edx + 6]
mov byte [esi + edx + 5], al
movzx eax, byte [ebx + edx + 7]
mov byte [esi + edx + 6], al
movzx eax, byte [ebx + edx + 8]
mov byte [esi + edx + 7], al
add edx, 8
cmp ecx, edx
jne 0x401490
add esi, edx
inc edx
mov ebx, esi
mov esi, dword [esp + 4]
and esi, 7
je 0x40150e
mov eax, dword [esp + 0x10]
add eax, edx
mov edx, eax
xor ecx, ecx
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx eax, byte [edx + ecx]
mov byte [ebx + ecx], al
inc ecx
cmp esi, ecx
jne 0x401500
add ebx, ecx
mov eax, dword [esp + 0x14]
movzx eax, byte [eax + 0xe]
mov byte [esp + 0x35], al
mov esi, dword [esp + 0x1c]
mov eax, esi
not eax
and eax, 1
and esi, 0xfffffffe
sub esi, eax
mov dword [esp + 4], ebx
js 0x4020a4
mov byte [esp + 0x36], 0x2b
jmp 0x4020ab
mov eax, str.0123456789ABCDEFXP
mov dword [esp + 0x54], edx
cmp dl, 0x41
je 0x401551
mov eax, str.0123456789abcdefxp
mov dword [esp + 0x18], eax
mov dword [esp + 0x4c], 6
mov eax, dword [esp + 0x1c]
cmp eax, 0xffffffff
mov edx, dword [esp + 0xc]
je 0x40156e
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x30]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov ebx, eax
not ebx
or ebx, 0xfffff
add ecx, 0xffffffff
adc ebx, eax
add ecx, 1
adc ebx, 0
test eax, eax
mov dword [esp + 4], ecx
jns 0x40159a
or edx, 0x80
mov cl, 0x2d
test dl, dl
js 0x401704
mov cl, 0x20
test dl, 4
jne 0x401704
mov cl, 0x2b
test dl, 2
jne 0x401704
mov dword [esp + 0x10], 0
jmp 0x40170e
mov dword [esp + 0x14], str.0123456789ABCDEFXP
cmp dl, 0x42
je 0x4015dc
mov dword [esp + 0x14], str.0123456789abcdefxp
mov byte [esp + 0x40], 0
test byte [esp + 0xc], 8
je 0x4015fe
cmp dl, 0x42
setne al
mov word [esp + 0x40], 0x3002
shl al, 5
or al, 0x42
mov byte [esp + 0x42], al
mov dword [esp + 0x28], 0x180
mov ecx, 1
test byte [esp + 0xc], 0x20
je 0x40184c
mov edx, dword [esp + 0x30]
mov esi, dword [edx]
mov eax, dword [edx + 4]
add edx, 8
jmp 0x401857
mov eax, str.0123456789ABCDEFXP
cmp dl, 0x47
je 0x401636
mov eax, str.0123456789abcdefxp
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x30]
fld qword [eax]
mov ecx, dword [esp + 0x1c]
cmp ecx, 1
mov eax, ecx
adc eax, 0
mov edx, 6
cmp ecx, 0xffffffff
mov ebx, dword [esp + 0xc]
je 0x40165c
mov edx, eax
mov dword [esp + 0x18], edx
lea eax, [edx - 1]
or eax, 0x80000000
sub esp, 0x18
fstp qword [esp + 8]
lea ecx, [esp + 0x54]
mov dword [esp + 4], ecx
lea ecx, [esp + 0x7c]
mov dword [esp], ecx
mov dword [esp + 0x10], eax
lea ecx, [esp + 0x38]
lea edx, [esp + 0x40]
call fcn.004038a0
add esp, 0x18
test eax, eax
je 0x40169c
or ebx, 0x80
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x18]
cmp eax, ecx
jb 0x4016aa
mov eax, ecx
mov dword [esp + 0xc], ebx
mov esi, eax
cmp eax, 2
jb 0x401748
mov eax, dword [esp + 0x20]
mov dword [esp + 4], eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, esi
not eax
and eax, 1
mov ebx, esi
and ebx, 0xfffffffe
sub ebx, eax
mov eax, dword [esp + 4]
cmp byte [eax + ebx], 0x30
jne 0x401748
mov edx, esi
lea ebx, [ecx - 1]
dec edx
cmp ecx, 1
setne al
mov esi, edx
cmp edx, 2
jb 0x40174c
cmp ecx, 1
mov ecx, ebx
jne 0x4016d0
jmp 0x40174c
mov byte [esp + 0x41], cl
mov cl, 1
mov dword [esp + 0x10], ecx
shr eax, 0x14
and eax, 0x7ff
mov dword [esp + 0xc], edx
je 0x401c31
add eax, 0xfffffc01
mov dword [esp + 0x1c], eax
mov ecx, 0xffffffff
add ecx, 1
mov edx, 0xfffff
adc edx, 0
or dword [esp + 4], ecx
or ebx, edx
mov ecx, dword [esp + 0x4c]
jmp 0x401c4c
mov ebx, ecx
mov al, 1
add dword [esp + 0x30], 8
mov edx, esi
mov dword [esp + 0x28], esi
mov ecx, dword [esp + 0x3c]
cmp ecx, 0xfffffffd
jl 0x4017d8
cmp ecx, dword [esp + 0x18]
jg 0x4017d8
mov eax, ebx
test ecx, ecx
mov ebx, dword [esp + 0x2c]
jle 0x40248d
cmp ecx, edx
mov esi, dword [esp + 0x24]
jl 0x4024a6
mov dword [esp + 0x14], 0
jmp 0x4024b6
mov ecx, dword [esp + 0x30]
lea eax, [ecx + 8]
mov dword [esp + 4], eax
mov eax, dword [ecx]
mov dword [esp + 0x14], eax
mov eax, dword [ecx + 4]
cmp dl, 0x75
je 0x401d8a
test eax, eax
jns 0x401d8a
neg dword [esp + 0x14]
mov ecx, 0
sbb ecx, eax
mov edx, dword [esp + 0xc]
or edx, 0x80
mov dword [esp + 0x10], ecx
mov eax, dword [esp + 4]
mov dword [esp + 0x30], eax
jmp 0x401d9a
mov ecx, ebx
cmp ebx, edx
mov ebx, dword [esp + 0x2c]
jle 0x402187
dec edx
mov esi, dword [esp + 0x24]
jmp 0x4013bb
and dword [esp + 0xc], 0xffffffef
mov dword [esp + 0x1c], 8
mov dword [esp + 0x14], str.0123456789ABCDEFXP
cmp dl, 0x58
je 0x401812
mov dword [esp + 0x14], str.0123456789abcdefxp
mov dword [esp + 0x28], 0x440
mov byte [esp + 0x40], 0
mov ecx, 4
test byte [esp + 0xc], 8
je 0x401841
cmp dl, 0x58
setne al
mov word [esp + 0x40], 0x3002
shl al, 5
or al, 0x58
mov byte [esp + 0x42], al
test byte [esp + 0xc], 0x20
jne 0x401616
mov edx, dword [esp + 0x30]
mov esi, dword [edx]
xor eax, eax
add edx, 4
mov dword [esp + 0x30], edx
mov dword [esp + 0x3c], 0
mov byte [esp + 0x34], 0
mov edx, esi
or edx, eax
jne 0x40187e
mov byte [esp + 0x40], 0
cmp dword [esp + 0x1c], 0
je 0x401c07
mov edx, 0xffffffff
shl edx, cl
not edx
and edx, esi
mov ecx, dword [esp + 0x28]
mov dword [esp + 8], ecx
mov ecx, dword [esp + 8]
mov cl, ch
shrd esi, eax, cl
mov ecx, dword [esp + 0x14]
movzx ecx, byte [ecx + edx]
mov byte [esp + 0x263], cl
mov edx, dword [esp + 8]
mov cl, dh
shr eax, cl
mov ecx, edx
test ch, 0x20
je 0x4018bc
mov esi, eax
xor eax, eax
mov ecx, esi
or ecx, eax
jne 0x4018de
mov ecx, 1
cmp dword [esp + 0x1c], 2
jge 0x4018de
lea eax, [esp + 0x263]
mov dword [esp + 0x10], eax
jmp 0x4019d8
lea ecx, [esp + 0x263]
mov dword [esp + 0x10], ecx
lea edx, [esp + 0x264]
mov dword [esp + 4], edx
mov edx, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
test byte [esp + 0xc], 0x40
mov dword [esp + 0x18], edx
jne 0x401920
mov eax, dword [esp + 0x10]
mov dword [esp + 4], eax
mov eax, dword [esp + 8]
jmp 0x401968
mov ebx, esi
mov esi, dword [esp + 8]
inc esi
mov dword [esp + 0x28], esi
mov ecx, esi
shr ecx, 4
xor ecx, esi
test cl, 0xf
je 0x401943
mov eax, dword [esp + 0x10]
mov dword [esp + 4], eax
mov eax, esi
jmp 0x401966
and esi, 0xfffffff0
mov dword [esp + 0x28], esi
movzx ecx, byte [0x44f001]
xor cl, 0x7d
mov eax, dword [esp + 4]
mov byte [eax - 2], cl
add eax, 0xfffffffe
mov dword [esp + 4], eax
mov eax, dword [esp + 0x28]
mov esi, ebx
mov ebx, 0xffffffff
mov cl, ah
shl ebx, cl
not ebx
and ebx, esi
mov eax, dword [esp + 0x28]
mov cl, ah
mov edx, dword [esp + 0x18]
shrd esi, edx, cl
mov ecx, dword [esp + 0x14]
movzx ecx, byte [ecx + ebx]
mov ebx, dword [esp + 4]
mov byte [ebx - 1], cl
mov cl, ah
shr edx, cl
test ah, 0x20
mov dword [esp + 8], eax
je 0x4019a2
mov esi, edx
xor edx, edx
mov ebx, dword [esp + 0x2c]
mov eax, dword [esp + 4]
dec eax
mov dword [esp + 0x10], eax
mov ecx, esi
or ecx, edx
jne 0x401900
lea ecx, [esp + 0x264]
mov eax, edx
mov edx, esi
mov esi, ebx
sub ecx, dword [esp + 0x10]
mov esi, edx
mov edx, eax
cmp ecx, dword [esp + 0x1c]
jl 0x401900
mov edx, dword [esp + 8]
shl edx, 0x14
and edx, 0xf000000
add edx, ecx
mov dword [esp + 8], edx
mov dword [esp + 0x28], ecx
mov dword [esp + 0x14], 0
mov esi, dword [esp + 0x24]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x10]
jmp 0x402b88
mov byte [esp + 0x40], 0
test byte [esp + 0xc], 8
je 0x401a1b
mov word [esp + 0x40], 0x3001
mov dword [esp + 0x28], 0x330
mov dword [esp + 0x14], str.0123456789ABCDEFXP
mov ecx, 3
test byte [esp + 0xc], 0x20
je 0x40184c
jmp 0x401616
mov eax, dword [esp + 0x30]
mov eax, dword [eax]
mov edx, str.null
test eax, eax
je 0x401a51
mov edx, eax
mov ecx, dword [esp + 0x1c]
mov dword [esp + 8], ecx
mov eax, ecx
test ecx, ecx
jns 0x401a67
mov dword [esp + 8], 0xffffffff
test dl, 3
je 0x40249f
mov ecx, dword [esp + 8]
add ecx, edx
mov dword [esp + 4], ecx
test eax, eax
je 0x402b55
cmp byte [edx], 0
je 0x4029ae
lea ecx, [edx + 1]
mov eax, dword [esp + 8]
dec eax
mov dword [esp + 0x1c], ecx
test cl, 3
je 0x402ab5
test eax, eax
je 0x402b55
mov ecx, dword [esp + 0x1c]
cmp byte [ecx], 0
je 0x4037b3
lea ecx, [edx + 2]
mov eax, dword [esp + 8]
add eax, 0xfffffffe
mov dword [esp + 0x1c], ecx
test cl, 3
je 0x402ab5
test eax, eax
je 0x402b55
mov ecx, dword [esp + 0x1c]
cmp byte [ecx], 0
je 0x4037b3
lea ecx, [edx + 3]
mov eax, dword [esp + 8]
add eax, 0xfffffffd
mov dword [esp + 0x1c], ecx
test cl, 3
je 0x402ab5
test eax, eax
je 0x402b55
mov ecx, dword [esp + 0x1c]
cmp byte [ecx], 0
je 0x4037b3
lea eax, [edx + 4]
add dword [esp + 8], 0xfffffffc
test al, 3
je 0x402abd
cmp dword [esp + 8], 0
je 0x401b28
mov dword [esp + 4], eax
mov esi, dword [esp + 0x24]
mov ebx, dword [esp + 0x2c]
mov eax, dword [esp + 4]
jmp 0x402b59
mov byte [esp + 0x263], dl
mov dword [esp + 0x28], 1
mov byte [esp + 0x40], 0
mov byte [esp + 0x34], 0
mov dword [esp + 0x3c], 0
mov dword [esp + 8], 0
lea edx, [esp + 0x263]
mov dword [esp + 0xc], 0
mov dword [esp + 0x14], 0
xor ecx, ecx
mov dword [esp + 0x50], 0
jmp 0x402b88
mov ecx, dword [esp + 0x30]
movzx eax, byte [ecx]
add ecx, 4
mov dword [esp + 0x30], ecx
mov byte [esp + 0x263], al
mov dword [esp + 0x28], 1
mov byte [esp + 0x40], 0
mov byte [esp + 0x34], 0
mov dword [esp + 0x3c], 0
mov dword [esp + 8], 0
lea edx, [esp + 0x263]
jmp 0x402b7e
mov eax, dword [esp + 0x30]
fld qword [eax]
add eax, 8
mov dword [esp + 0x30], eax
test dword [esp + 0xc], 0x100
jne 0x401fad
jmp 0x402226
mov edx, dword [esp + 0x30]
mov eax, dword [edx]
mov ecx, dword [esp + 0x48]
sub ecx, esi
add ecx, edi
mov dword [eax], ecx
add edx, 4
mov dword [esp + 0x30], edx
jmp 0x40367e
mov dword [esp + 0x28], 0
mov dword [esp + 8], 0
lea edx, [esp + 0x264]
mov dword [esp + 0x14], 0
xor ecx, ecx
mov esi, dword [esp + 0x24]
jmp 0x402b88
xor eax, eax
mov ecx, dword [esp + 4]
or ecx, ebx
mov ecx, dword [esp + 0x4c]
je 0x401c44
mov eax, 0xfffffc02
mov dword [esp + 0x1c], eax
mov dword [esp + 0x3c], eax
lea ecx, [ecx*4]
xor esi, esi
mov eax, 0x8000000
shrd esi, eax, cl
mov edx, 0x8000000
shr edx, cl
test cl, 0x20
je 0x401c6d
mov esi, edx
xor edx, edx
cmp dword [esp + 0x4c], 0xf
mov eax, dword [esp + 4]
jl 0x401c7c
xor esi, esi
xor edx, edx
shld ebx, eax, 8
shl eax, 8
add eax, esi
mov dword [esp + 4], eax
adc ebx, edx
mov edx, dword [esp + 0x10]
movzx ecx, dl
lea eax, [esp + 0x40]
mov word [ecx + eax + 1], 0x7830
or dl, 2
mov byte [esp + 0x40], dl
mov esi, ebx
shr ebx, 0x1c
mov eax, dword [esp + 0x18]
movzx ecx, byte [eax + ebx]
mov byte [esp + 0xa4], cl
mov ebx, dword [esp + 0x4c]
test ebx, ebx
je 0x401d6e
movzx ecx, byte [section..data]
xor cl, 0xd9
mov byte [esp + 0xa5], cl
lea eax, [esp + 0xa6]
mov dword [esp + 0x20], eax
mov ecx, ebx
cmp ebx, 0xd
jb 0x401cec
mov ecx, 0xd
sub ebx, ecx
jg 0x401cf2
xor ebx, ebx
mov eax, ecx
and eax, 3
mov dword [esp + 0x14], ebx
je 0x402279
mov dword [esp + 0x10], ecx
xor ebx, ebx
mov edx, dword [esp + 4]
mov dword [esp + 8], eax
nop
mov ecx, esi
mov eax, esi
shr eax, 0x18
and eax, 0xf
mov esi, dword [esp + 0x18]
movzx eax, byte [esi + eax]
shld ecx, edx, 4
mov esi, ecx
mov byte [esp + ebx + 0xa6], al
mov eax, dword [esp + 8]
shl edx, 4
inc ebx
cmp eax, ebx
jne 0x401d10
mov dword [esp + 4], edx
lea eax, [esp + 0xa6]
lea edx, [eax + ebx]
mov ecx, dword [esp + 0x10]
sub ecx, ebx
mov ebx, dword [esp + 0x14]
cmp dword [esp + 0x4c], 4
jae 0x40228b
lea eax, [esp + 0xa6]
mov dword [esp + 0x10], eax
jmp 0x402315
lea edx, [esp + 0xa5]
mov dword [esp + 0x20], edx
xor ebx, ebx
mov dword [esp + 0x10], edx
jmp 0x402315
mov dword [esp + 0x14], ecx
jmp 0x401d96
mov dword [esp + 0x10], eax
mov eax, dword [esp + 4]
mov dword [esp + 0x30], eax
mov edx, dword [esp + 0xc]
mov dword [esp + 0xc], edx
test edx, 0x100
jne 0x401f6e
mov dword [esp + 0x54], edi
movzx ecx, byte [0x44f001]
mov eax, ecx
xor al, 0x7d
mov byte [esp + 0x4c], al
mov eax, ecx
add al, cl
and al, 0xfa
sub cl, al
add cl, 0x7d
mov byte [esp + 8], cl
mov edi, 0x200
xor ebx, ebx
mov edx, dword [esp + 0x10]
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov dword [esp + 0x18], ebx
mov ebx, dword [esp + 0x14]
cmp ebx, 0x5f5e100
mov eax, edx
sbb eax, 0
jb 0x401e20
push 0
push 0x5f5e100
push edx
push ebx
call fcn.0040c8b0
imul ecx, eax, 0x5f5e100
sub ebx, ecx
mov dword [esp + 0x14], eax
jmp 0x401e2a
xor edx, edx
mov dword [esp + 0x14], 0
lea eax, [esp + 0x5c]
add eax, edi
mov dword [esp + 4], eax
test byte [esp + 0xc], 0x40
mov dword [esp + 0x10], edx
jne 0x401f37
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
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 esi, eax
and esi, 2
or eax, 2
imul eax, esi
xor esi, 2
imul esi, ecx
movzx eax, word [esi + eax + str.00010203040506070809101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899]
mov word [esp + edi + 0x62], ax
add edi, 0xfffffffe
cmp ebx, 0x64
mov ebx, edx
jae 0x401e50
mov esi, dword [esp + 0x24]
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov eax, ecx
or eax, edx
je 0x401ff8
mov dword [esp + 0x14], ecx
lea eax, [esp + edi]
add eax, 0x64
cmp eax, dword [esp + 4]
mov ecx, dword [esp + 0xc]
mov ebx, dword [esp + 0x18]
jne 0x401ee9
jmp 0x401de0
mov eax, edi
mov byte [esp + eax + 0x63], 0x30
dec eax
mov edi, eax
add eax, esp
add eax, 0x64
cmp eax, dword [esp + 4]
je 0x401de0
test cl, 0x40
je 0x401ed0
cmp ebx, 3
mov eax, edi
je 0x401ef8
inc ebx
jmp 0x401ed2
movzx ebx, byte [esp + 8]
mov byte [esp + eax + 0x63], bl
dec eax
dec dword [esp + 4]
xor ebx, ebx
jmp 0x401ed8
inc eax
mov dword [esp + 0x18], 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 + edi + 0x63], bl
dec edi
mov ebx, edx
mov edx, dword [esp + 0x10]
test ebx, ebx
je 0x401e98
test byte [esp + 0xc], 0x40
je 0x401f15
mov eax, dword [esp + 0x18]
cmp eax, 3
jne 0x401f10
movzx eax, byte [esp + 0x4c]
mov byte [esp + edi + 0x63], al
dec edi
dec dword [esp + 4]
mov dword [esp + 0x18], 0
test ebx, ebx
jne 0x401f3f
jmp 0x401e98
mov eax, 1
mov ecx, dword [esp + 0x1c]
cmp ecx, 0xffffffff
mov edx, dword [esp + 0x10]
je 0x401f82
mov eax, ecx
mov dword [esp + 0x1c], 0
cmp dword [esp + 0x14], 0x400
mov ecx, edx
sbb ecx, 0
jb 0x401f9d
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], edx
fild qword [esp + 0x58]
xor eax, eax
mov ecx, dword [esp + 0xc]
test ecx, 0x800
sete al
fld qword [eax*8 + 0x44c550]
cmp ecx, 0x3ffffff
ja 0x40209d
fld st(0)
fchs
fxch st(1)
fucom st(2)
fnstsw ax
sahf
jbe 0x4021a1
fxch st(2)
fucom st(1)
fnstsw ax
sahf
fxch st(2)
jbe 0x4021a1
fstp st(0)
fstp st(0)
jmp 0x402226
mov ecx, edi
cmp byte [esp + edi + 0x64], 0x30
sete al
cmp edi, 0x200
setne cl
mov byte [esp + 0x34], 0
mov byte [esp + 0x40], 0
mov dl, 0x2d
cmp byte [esp + 0xc], 0
mov ebx, dword [esp + 0x2c]
js 0x402034
mov dl, 0x20
test byte [esp + 0xc], 4
jne 0x402034
mov dl, 0x2b
test byte [esp + 0xc], 2
je 0x40203d
mov byte [esp + 0x40], 1
mov byte [esp + 0x41], dl
and cl, al
movzx eax, cl
add edi, eax
lea edx, [esp + edi]
add edx, 0x64
lea eax, [edi - 0x200]
neg eax
mov dword [esp + 0x28], eax
cmp edi, 0x200
jne 0x402070
mov byte [edx - 1], 0x30
dec edx
mov dword [esp + 0x28], 1
mov eax, 1
mov edi, dword [esp + 0x54]
mov dword [esp + 0x14], 0
cmp dword [esp + 0x1c], 0
jg 0x40208b
mov dword [esp + 0x1c], 0
add eax, 0x3000000
mov dword [esp + 8], eax
mov ecx, dword [esp + 0x1c]
jmp 0x402b88
fstp st(0)
jmp 0x402226
mov byte [esp + 0x36], 0x2d
neg esi
cmp esi, 0x64
mov eax, 4
sbb eax, 0xffffffff
mov dword [esp + 0x10], eax
mov eax, esi
mov ecx, 0xcccccccd
mul ecx
shr edx, 2
and edx, 0xfffffffe
lea eax, [edx + edx*4]
mov dword [esp + 0x14], eax
mov ecx, esi
mov eax, esi
mov edx, 0x66666667
imul edx
mov ebx, edx
mov eax, edx
shr eax, 0x1f
sar ebx, 2
add ebx, eax
mov eax, ebx
mov edx, 0x66666667
imul edx
sub ecx, dword [esp + 0x14]
mov eax, edx
shr eax, 0x1f
sar edx, 2
add edx, eax
add edx, edx
lea edx, [edx + edx*4]
mov eax, ebx
sub eax, edx
or cl, 0x30
mov edx, dword [esp + 0x10]
mov byte [esp + 0x34], dl
mov byte [esp + edx + 0x34], cl
add al, 0x30
mov byte [esp + edx + 0x33], al
cmp esi, 0x64
jb 0x402161
mov eax, esi
mov ecx, 0x51eb851f
imul ecx
mov ebx, edx
mov eax, edx
shr eax, 0x1f
sar ebx, 5
add ebx, eax
mov eax, ebx
mov ecx, 0x66666667
imul ecx
mov eax, edx
shr eax, 0x1f
shr edx, 2
add edx, eax
add edx, edx
lea eax, [edx + edx*4]
mov ecx, ebx
sub ecx, eax
add cl, 0x30
lea eax, [esp + 0x34]
mov edx, dword [esp + 0x10]
mov byte [edx + eax - 2], cl
mov eax, dword [esp + 0x18]
sub eax, dword [esp + 8]
inc eax
mov dword [esp + 0x3c], ebx
mov dword [esp + 8], 0x3000001
mov dword [esp + 0x14], eax
mov esi, dword [esp + 0x24]
mov ebx, dword [esp + 0x2c]
jmp 0x402a9b
xor edx, edx
test al, al
mov esi, dword [esp + 0x24]
je 0x4013bb
mov eax, ecx
not eax
lea edx, [eax + ecx*2]
jmp 0x4013bb
fdiv st(2), st(0)
mov eax, dword [esp + 0xc]
lea ecx, [eax + 0x1000000]
cmp eax, 0x2ffffff
ja 0x40221e
fucom st(2)
fnstsw ax
sahf
jbe 0x4021c6
fxch st(2)
fucom st(1)
fnstsw ax
sahf
fxch st(2)
ja 0x40221e
fdiv st(2), st(0)
mov eax, dword [esp + 0xc]
lea ecx, [eax + 0x2000000]
cmp eax, 0x1ffffff
ja 0x40221e
fucom st(2)
fnstsw ax
sahf
jbe 0x4021eb
fxch st(2)
fucom st(1)
fnstsw ax
sahf
fxch st(2)
ja 0x40221e
fdiv st(2), st(0)
mov eax, dword [esp + 0xc]
lea ecx, [eax + 0x3000000]
cmp eax, 0xffffff
ja 0x40221e
fucom st(2)
fnstsw ax
sahf
jbe 0x403847
fxch st(2)
fucom st(1)
fstp st(1)
fnstsw ax
sahf
fldz
fxch st(1)
fxch st(2)
jbe 0x403847
fstp st(0)
fstp st(0)
mov dword [esp + 0xc], ecx
mov ecx, 6
mov eax, dword [esp + 0x1c]
cmp eax, 0xffffffff
je 0x402236
mov ecx, eax
sub esp, 0x18
fstp qword [esp + 8]
lea eax, [esp + 0x54]
mov dword [esp + 4], eax
lea eax, [esp + 0x7c]
mov dword [esp], eax
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x10], ecx
lea ecx, [esp + 0x38]
lea edx, [esp + 0x40]
call fcn.004038a0
add esp, 0x18
test eax, eax
je 0x4024b6
or dword [esp + 0xc], 0x80
jmp 0x4024b6
lea edx, [esp + 0xa6]
cmp dword [esp + 0x4c], 4
jb 0x401d5e
mov dword [esp + 8], esi
mov eax, ecx
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov dword [esp + 0x10], eax
mov eax, esi
shr eax, 0x18
and eax, 0xf
mov ebx, dword [esp + 0x18]
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 ecx, dword [esp + 8]
mov eax, dword [esp + 4]
shld ecx, eax, 0x10
shl eax, 0x10
mov dword [esp + 4], eax
shr esi, 0xc
and esi, 0xf
movzx eax, byte [ebx + esi]
mov byte [edx + 3], al
mov eax, dword [esp + 0x10]
add edx, 4
mov dword [esp + 8], ecx
mov esi, ecx
add eax, 0xfffffffc
jne 0x4022a0
lea eax, [esp + 0xa6]
mov dword [esp + 0x10], eax
mov ebx, dword [esp + 0x14]
mov eax, dword [esp + 0x54]
cmp al, 0x41
setne al
shl al, 5
or al, 0x50
mov byte [esp + 0x35], al
mov eax, dword [esp + 0x1c]
test eax, eax
js 0x402336
mov byte [esp + 0x36], 0x2b
jmp 0x40233d
mov byte [esp + 0x36], 0x2d
neg eax
cmp eax, 0x3e7
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], edx
ja 0x40235f
cmp eax, 0x63
jbe 0x402471
mov dword [esp + 4], 5
jmp 0x402367
mov dword [esp + 4], 6
mov dword [esp + 8], 0
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x1c]
mov ecx, 0xcccccccd
mul ecx
shr edx, 2
and edx, 0xfffffffe
lea esi, [edx + edx*4]
mov eax, dword [esp + 0x1c]
mov ebx, 0x66666667
imul ebx
mov ecx, edx
mov eax, edx
shr eax, 0x1f
sar ecx, 2
add ecx, eax
mov eax, ecx
imul ebx
mov eax, dword [esp + 0x1c]
sub eax, esi
mov ebx, dword [esp + 4]
mov byte [esp + 0x34], bl
or al, 0x30
mov byte [esp + ebx + 0x34], al
mov eax, edx
shr eax, 0x1f
sar edx, 2
add edx, eax
add edx, edx
lea eax, [edx + edx*4]
sub ecx, eax
add cl, 0x30
mov byte [esp + ebx + 0x33], cl
cmp byte [esp + 8], 0
mov esi, dword [esp + 0x24]
mov ebx, dword [esp + 0x2c]
jne 0x4028ed
mov eax, dword [esp + 0x1c]
mov ecx, 0x51eb851f
imul ecx
mov ecx, edx
mov eax, edx
shr eax, 0x1f
sar ecx, 5
add ecx, eax
mov eax, ecx
mov edx, 0x66666667
imul edx
mov eax, edx
shr eax, 0x1f
sar edx, 2
add edx, eax
add edx, edx
lea eax, [edx + edx*4]
sub ecx, eax
add cl, 0x30
lea eax, [esp + 0x34]
mov edx, dword [esp + 4]
mov byte [edx + eax - 2], cl
mov eax, dword [esp + 0x1c]
cmp eax, 0x3e8
jb 0x4028ed
mov ecx, 0x10624dd3
imul ecx
mov ecx, edx
mov eax, edx
shr eax, 0x1f
sar ecx, 6
add ecx, eax
mov eax, ecx
mov edx, 0x66666667
imul edx
mov eax, edx
shr eax, 0x1f
shr edx, 2
add edx, eax
add edx, edx
lea eax, [edx + edx*4]
sub ecx, eax
add cl, 0x30
lea eax, [esp + 0x34]
mov edx, dword [esp + 4]
mov byte [edx + eax - 3], cl
jmp 0x4028ed
cmp eax, 9
jbe 0x4028da
mov dword [esp + 4], 4
mov cl, 1
mov dword [esp + 8], ecx
jmp 0x40236f
cmp eax, edx
mov esi, dword [esp + 0x24]
jl 0x402497
mov eax, edx
sub eax, ecx
mov dword [esp + 0x14], eax
jmp 0x4024b6
mov eax, edx
jmp 0x402abd
mov eax, edx
not eax
and eax, ecx
not ecx
and ecx, edx
sub ecx, eax
mov dword [esp + 0x14], ecx
mov byte [esp + 0x34], 0
mov byte [esp + 0x40], 0
mov al, 0x2d
cmp byte [esp + 0xc], 0
js 0x4024db
mov al, 0x20
test byte [esp + 0xc], 4
jne 0x4024db
mov al, 0x2b
test byte [esp + 0xc], 2
je 0x4024e4
mov byte [esp + 0x40], 1
mov byte [esp + 0x41], al
mov ecx, dword [esp + 0x3c]
cmp ecx, 0x7000
jne 0x402501
mov dword [esp + 8], 0
mov edx, dword [esp + 0x20]
jmp 0x402b7e
test ecx, ecx
jle 0x4025a4
mov dword [esp + 0x10], 0
test byte [esp + 0xc], 0x40
je 0x402533
mov eax, 0x258
sub eax, ecx
mov dword [esp + 0x10], eax
mov edx, 0xaaaaaaab
mul edx
shr edx, 1
lea eax, [edx + edx*2]
sub dword [esp + 0x10], eax
cmp ecx, dword [esp + 0x28]
jae 0x40264c
xor eax, eax
lea ecx, [esp + 0xa4]
mov dword [esp + 8], ecx
jmp 0x402572
mov dword [esp + 0x10], ecx
mov edx, dword [esp + 8]
mov ecx, dword [esp + 0x20]
movzx ecx, byte [ecx + eax]
lea esi, [edx + 1]
mov dword [esp + 8], esi
mov byte [edx], cl
inc eax
mov ecx, dword [esp + 0x3c]
cmp eax, ecx
jae 0x4026bb
test byte [esp + 0xc], 0x40
je 0x402550
mov ecx, dword [esp + 0x10]
inc ecx
cmp ecx, 4
jne 0x40254c
mov ecx, dword [esp + 0xc]
and ecx, 0x40
shr ecx, 6
mov dword [esp + 0x10], ecx
movzx ecx, byte [0x44f001]
xor cl, 0x7d
mov edx, dword [esp + 8]
mov byte [edx], cl
inc edx
jmp 0x402554
mov byte [esp + 0xa4], 0x30
lea eax, [esp + 0xa5]
mov dword [esp + 4], eax
cmp dword [esp + 0x14], 0
je 0x4025e2
movzx eax, byte [section..data]
mov edx, eax
add dl, al
and dl, 0xb2
sub al, dl
add al, 0xd9
mov byte [esp + 0xa5], al
lea eax, [esp + 0xa6]
mov dword [esp + 4], eax
neg ecx
mov eax, dword [esp + 0x14]
mov esi, eax
cmp eax, ecx
jl 0x4025f0
mov esi, ecx
test esi, esi
mov dword [esp + 0x18], esi
je 0x4027be
mov ecx, dword [esp + 4]
mov eax, ecx
and eax, 3
je 0x4027be
mov ebx, ecx
not ebx
and ebx, 3
lea ecx, [esi - 1]
cmp ebx, ecx
jb 0x40261b
mov ebx, ecx
lea eax, [ebx + 1]
push eax
push 0x30
mov esi, dword [esp + 0xc]
push esi
mov dword [esp + 0x1c], ecx
call fcn.0040c9a0
mov ecx, dword [esp + 0x1c]
add esp, 0xc
add esi, ebx
inc esi
mov dword [esp + 4], esi
sub ecx, ebx
mov ebx, dword [esp + 0x2c]
mov esi, dword [esp + 0x18]
jmp 0x4027c0
xor eax, eax
lea ecx, [esp + 0xa4]
mov dword [esp + 4], ecx
jmp 0x402689
mov dword [esp + 0x10], ecx
mov edx, dword [esp + 4]
mov dword [esp + 0x18], edx
mov edx, dword [esp + 0x20]
movzx edx, byte [edx + eax]
mov ecx, dword [esp + 0x18]
inc ecx
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x18]
mov byte [ecx], dl
inc eax
cmp eax, dword [esp + 0x28]
jae 0x402745
test byte [esp + 0xc], 0x40
je 0x40265f
mov ecx, dword [esp + 0x10]
inc ecx
cmp ecx, 4
jne 0x40265b
mov ecx, dword [esp + 0xc]
and ecx, 0x40
shr ecx, 6
mov dword [esp + 0x10], ecx
movzx ecx, byte [0x44f001]
xor cl, 0x7d
mov edx, dword [esp + 4]
mov byte [edx], cl
inc edx
jmp 0x402663
mov esi, dword [esp + 8]
mov dword [esp + 4], esi
cmp dword [esp + 0x14], 0
je 0x4026e2
movzx ecx, byte [section..data]
xor cl, 0xd9
mov byte [edx + 1], cl
add edx, 2
mov ecx, dword [esp + 0x3c]
mov dword [esp + 4], edx
mov edx, dword [esp + 0x28]
mov esi, edx
sub esi, ecx
cmp esi, dword [esp + 0x14]
jbe 0x402705
mov edx, ecx
mov esi, dword [esp + 0x14]
and edx, esi
mov esi, ecx
xor esi, dword [esp + 0x14]
lea edx, [esi + edx*2]
mov dword [esp + 0x28], edx
mov dword [esp + 0x18], edx
cmp eax, edx
jae 0x4028ac
mov esi, dword [esp + 0x24]
mov edx, dword [esp + 4]
nop
nop
nop
nop
nop
nop
nop
mov ecx, dword [esp + 0x20]
movzx ecx, byte [ecx + eax]
mov byte [edx], cl
inc edx
inc eax
mov ecx, dword [esp + 0x28]
cmp eax, ecx
jb 0x402720
mov dword [esp + 0x18], ecx
mov dword [esp + 4], edx
mov ecx, dword [esp + 0x3c]
jmp 0x4028b0
mov edx, dword [esp + 0x3c]
mov ecx, edx
sub ecx, eax
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x10]
jbe 0x4029c3
test byte [esp + 0xc], 0x40
jne 0x4029b5
cmp edx, eax
je 0x4029c3
mov esi, dword [esp + 0x18]
inc esi
mov dword [esp + 8], edx
mov edx, esi
xor edx, 0xfffffffc
mov ebx, esi
or ebx, 3
test ebx, edx
je 0x4037ba
mov edx, dword [esp + 0x18]
mov byte [edx + 1], 0x30
inc edx
mov dword [esp + 0x18], edx
dec dword [esp + 0x1c]
inc dword [esp + 4]
inc esi
mov edx, dword [esp + 8]
dec edx
cmp eax, edx
jne 0x402773
mov eax, dword [esp + 0x18]
inc eax
mov dword [esp + 4], eax
mov esi, dword [esp + 0x24]
mov ebx, dword [esp + 0x2c]
jmp 0x4029c3
mov ecx, esi
cmp ecx, 4
jl 0x402810
mov eax, ecx
cmp ecx, 7
jl 0x4027d1
mov eax, 7
neg eax
add eax, ecx
add eax, 3
and eax, 0xfffffffc
mov dword [esp + 8], eax
add eax, 4
push eax
push 0x30
mov ebx, dword [esp + 0xc]
push ebx
mov dword [esp + 0x1c], ecx
call fcn.0040c9a0
mov ecx, dword [esp + 0x1c]
add esp, 0xc
mov eax, dword [esp + 8]
add ebx, eax
add ebx, 4
mov dword [esp + 4], ebx
sub ecx, eax
add ecx, 0xfffffffc
mov ebx, dword [esp + 0x2c]
test ecx, ecx
je 0x402834
push ecx
push 0x30
mov esi, dword [esp + 0xc]
push esi
mov dword [esp + 0x1c], ecx
call fcn.0040c9a0
add esp, 0xc
add esi, dword [esp + 0x10]
mov dword [esp + 4], esi
mov esi, dword [esp + 0x18]
mov eax, dword [esp + 0x28]
lea ecx, [eax + esi]
cmp ecx, dword [esp + 0x14]
jle 0x40284b
mov eax, dword [esp + 0x14]
sub eax, esi
mov dword [esp + 0x28], eax
test eax, eax
mov dword [esp + 0x10], eax
je 0x40291e
mov edx, dword [esp + 0x14]
mov dword [esp + 8], edx
cmp edx, ecx
jl 0x402867
mov dword [esp + 8], ecx
mov ecx, eax
and ecx, 3
je 0x402924
xor esi, esi
mov eax, dword [esp + 4]
nop
nop
nop
nop
nop
nop
nop
nop
mov ebx, dword [esp + 0x20]
lea edx, [ebx + 1]
mov dword [esp + 0x20], edx
movzx edx, byte [ebx]
mov byte [eax + esi], dl
inc esi
cmp ecx, esi
jne 0x402880
add eax, esi
mov dword [esp + 4], eax
mov ecx, dword [esp + 0x10]
sub ecx, esi
mov ebx, dword [esp + 0x2c]
mov esi, dword [esp + 0x18]
jmp 0x402926
mov esi, dword [esp + 0x24]
lea eax, [esp + 0xa4]
mov edx, dword [esp + 8]
sub edx, eax
add edx, 0x3000000
mov dword [esp + 8], edx
mov eax, dword [esp + 0x14]
sub eax, dword [esp + 0x18]
add eax, ecx
mov dword [esp + 0x14], eax
jmp 0x4029fd
mov byte [esp + 0x34], 3
or al, 0x30
mov byte [esp + 0x37], al
mov esi, dword [esp + 0x24]
mov ebx, dword [esp + 0x2c]
add dword [esp + 0x30], 8
mov ecx, dword [esp + 0x18]
mov eax, ecx
sub eax, dword [esp + 0x10]
mov dword [esp + 0x3c], eax
lea eax, [esp + 0xa4]
sub ecx, eax
mov dword [esp + 0x28], ecx
xor ecx, ecx
mov dword [esp + 8], 0x3000001
mov edx, eax
jmp 0x402b88
mov eax, dword [esp + 4]
jmp 0x402980
mov ecx, eax
mov edx, esi
sub edx, dword [esp + 8]
cmp edx, 0xfffffffc
mov eax, dword [esp + 4]
ja 0x402980
mov edx, dword [esp + 0x20]
lea esi, [edx + 1]
mov dword [esp + 0x20], esi
movzx edx, byte [edx]
mov byte [eax], dl
mov edx, dword [esp + 0x20]
lea esi, [edx + 1]
mov dword [esp + 0x20], esi
movzx edx, byte [edx]
mov byte [eax + 1], dl
mov edx, dword [esp + 0x20]
lea esi, [edx + 1]
mov dword [esp + 0x20], esi
movzx edx, byte [edx]
mov byte [eax + 2], dl
mov edx, dword [esp + 0x20]
lea esi, [edx + 1]
mov dword [esp + 0x20], esi
movzx edx, byte [edx]
mov byte [eax + 3], dl
add eax, 4
add ecx, 0xfffffffc
jne 0x402935
mov dword [esp + 4], eax
mov eax, dword [esp + 0x10]
add eax, dword [esp + 0x18]
mov ecx, eax
not ecx
mov edx, dword [esp + 0x14]
and ecx, edx
not edx
and edx, eax
sub ecx, edx
mov dword [esp + 8], 0x3000001
mov dword [esp + 0x14], ecx
mov esi, dword [esp + 0x24]
jmp 0x4029fd
mov eax, edx
jmp 0x402b59
mov eax, dword [esp + 0x1c]
mov edx, eax
test eax, eax
jne 0x403827
mov edx, dword [esp + 4]
mov ecx, edx
lea eax, [esp + 0xa4]
sub ecx, eax
add ecx, 0x3000000
mov dword [esp + 8], ecx
cmp dword [esp + 0x14], 0
je 0x4029f5
movzx eax, byte [section..data]
xor al, 0xd9
mov byte [edx], al
inc edx
mov dword [esp + 4], edx
jmp 0x4029fd
mov dword [esp + 0x14], 0
mov eax, dword [esp + 0xc]
test eax, 0x100
je 0x402a9b
mov ecx, eax
and ecx, 0x400
sete byte [esp + 0x34]
mov byte [esp + 0x35], 0x20
cmp eax, 0x1000000
jb 0x402a9b
mov edx, eax
shr edx, 0x18
mov dword [esp + 0x10], edx
mov ebx, ecx
shr ebx, 0xa
mov edx, 2
sub edx, ebx
cmp ecx, 1
mov ecx, 0
adc cl, 1
mov dword [esp + 0x18], ecx
test eax, 0x800
jne 0x402a61
mov eax, dword [esp + 0x10]
movzx ecx, byte [eax + str._kMGT]
mov byte [esp + edx + 0x34], cl
jmp 0x402a8f
mov ecx, dword [esp + 0x10]
movzx ecx, byte [ecx + str._KMGT]
mov byte [esp + edx + 0x34], cl
and eax, 0x1800
cmp eax, 0x800
jne 0x402a8f
mov eax, dword [esp + 0x18]
movzx eax, al
mov byte [esp + eax + 0x35], 0x69
inc eax
mov ebx, dword [esp + 0x2c]
jmp 0x402a97
mov ebx, dword [esp + 0x2c]
mov eax, dword [esp + 0x18]
mov byte [esp + 0x34], al
lea eax, [esp + 0xa4]
mov ecx, dword [esp + 4]
sub ecx, eax
mov dword [esp + 0x28], ecx
xor ecx, ecx
mov edx, eax
jmp 0x402b88
mov dword [esp + 8], eax
mov eax, dword [esp + 0x1c]
mov esi, dword [esp + 8]
lea ecx, [esi + esi]
mov dword [esp + 0x18], ecx
mov ecx, esi
mov dword [esp + 0x1c], eax
mov dword [esp + 0x10], edx
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov esi, ecx
cmp ecx, 4
mov dword [esp + 4], eax
jb 0x402b20
mov edx, dword [eax]
lea ecx, [edx - 0x1010101]
not edx
and edx, ecx
mov ecx, edx
or ecx, 0x80808080
xor edx, 0x7f7f7f7f
add eax, 4
lea ebx, [esi - 4]
add dword [esp + 0x18], 0xfffffff8
test ecx, edx
mov ecx, ebx
mov edx, dword [esp + 0x10]
mov ebx, dword [esp + 0x2c]
je 0x402ae0
jmp 0x402b24
test esi, esi
je 0x402b51
mov dword [esp + 0x14], esi
mov eax, dword [esp + 8]
add dword [esp + 0x1c], eax
xor ecx, ecx
mov esi, dword [esp + 0x24]
mov eax, dword [esp + 4]
cmp byte [eax + ecx], 0
je 0x402b4d
inc ecx
cmp dword [esp + 0x14], ecx
jne 0x402b3a
mov eax, dword [esp + 0x1c]
jmp 0x402b59
add eax, ecx
jmp 0x402b59
mov esi, dword [esp + 0x24]
mov eax, dword [esp + 4]
add dword [esp + 0x30], 4
sub eax, edx
mov dword [esp + 0x28], eax
mov byte [esp + 0x40], 0
mov byte [esp + 0x34], 0
mov dword [esp + 0x3c], 0
mov dword [esp + 8], 0
mov dword [esp + 0x14], 0
xor ecx, ecx
mov dword [esp + 0x10], edx
mov eax, dword [esp + 0x28]
cmp ecx, eax
jg 0x402b96
mov ecx, eax
mov dword [esp + 4], eax
movsx eax, byte [esp + 0x40]
movsx edx, byte [esp + 0x34]
mov dword [esp + 0x18], edx
mov edx, ecx
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x1c], edx
add ecx, edx
add ecx, eax
add ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x50]
cmp edx, ecx
jg 0x402bc4
mov edx, ecx
mov dword [esp + 0x50], edx
mov edx, ecx
mov ecx, dword [esp + 0x50]
xor ecx, edx
not edx
and edx, dword [esp + 0x50]
add edx, edx
sub edx, ecx
mov ecx, dword [esp + 4]
sub dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0xc]
test cl, 1
jne 0x402bf8
test cl, 0x10
jne 0x402bfc
mov dword [esp + 0xc], 0
mov ecx, edx
jmp 0x402c0c
mov ecx, dword [esp + 0x1c]
cmp edx, ecx
jg 0x402c06
mov edx, ecx
mov dword [esp + 0x1c], edx
xor ecx, ecx
mov dword [esp + 0x18], ecx
add ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x10]
je 0x4030de
test byte [esp + 0xc], 1
jne 0x402d5f
mov ecx, dword [esp + 0x18]
test ecx, ecx
jg 0x402c4e
jmp 0x402d5f
mov ecx, dword [esp + 0x18]
sub ecx, edx
test ecx, ecx
jle 0x402d56
mov eax, esi
sub eax, edi
add eax, 0x200
mov edx, ecx
cmp ecx, eax
jl 0x402c5f
mov edx, eax
cmp dword [ebp + 8], 0
jne 0x402c67
mov edx, ecx
test edx, edx
mov dword [esp + 0x18], ecx
mov dword [esp + 0x24], esi
je 0x402cc0
mov eax, edi
and eax, 3
je 0x402cc0
mov ebx, edi
not ebx
and ebx, 3
mov dword [esp + 4], edx
lea esi, [edx - 1]
cmp ebx, esi
jb 0x402c8e
mov ebx, esi
lea eax, [ebx + 1]
push eax
push 0x20
push edi
call fcn.0040c9a0
add esp, 0xc
add edi, ebx
inc edi
sub esi, ebx
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 4]
cmp esi, 4
jl 0x402ced
jmp 0x402cd0
mov esi, edx
cmp esi, 4
jl 0x402ced
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov dword [edi], 0x20202020
add edi, 4
mov eax, esi
not eax
and eax, 4
and esi, 0x7ffffffb
sub esi, eax
cmp esi, 3
jg 0x402cd0
test esi, esi
je 0x402d07
push esi
push 0x20
push edi
mov ebx, edx
call fcn.0040c9a0
mov edx, ebx
mov ecx, dword [esp + 0x24]
add esp, 0xc
add edi, esi
mov esi, dword [esp + 0x24]
cmp dword [ebp + 8], 0
mov ebx, dword [esp + 0x2c]
je 0x402c44
mov eax, edi
sub eax, esi
lea ecx, [eax + 1]
cmp ecx, 0x200
jl 0x402c40
mov ecx, esi
mov esi, edx
add dword [esp + 0x48], eax
push eax
push dword [ebp + 0xc]
push ecx
call dword [ebp + 8]
add esp, 0xc
test eax, eax
je 0x403885
mov edi, eax
mov ecx, dword [esp + 0x18]
mov edx, esi
mov esi, edi
jmp 0x402c44
mov dword [esp + 0x18], ecx
movzx eax, byte [esp + 0x40]
lea ecx, [esp + 0x41]
mov dword [esp + 0x20], ecx
jmp 0x402d79
mov edi, eax
mov esi, eax
movzx eax, byte [esp + 0x40]
test al, al
je 0x402e8d
movsx edx, al
mov ecx, esi
sub ecx, edi
add ecx, 0x200
cmp ecx, edx
jl 0x402d94
mov ecx, edx
cmp dword [ebp + 8], 0
jne 0x402d9c
mov ecx, edx
sub al, cl
mov byte [esp + 0x40], al
test ecx, ecx
je 0x402e3b
mov eax, ecx
and eax, 3
je 0x402e80
mov ebx, ecx
mov dword [esp + 0x24], esi
xor edx, edx
nop
nop
nop
mov esi, dword [esp + 0x20]
lea ecx, [esi + 1]
mov dword [esp + 0x20], ecx
movzx ecx, byte [esi]
mov byte [edi + edx], cl
inc edx
cmp eax, edx
jne 0x402dc0
add edi, edx
mov ecx, ebx
mov eax, ebx
sub eax, edx
mov esi, dword [esp + 0x24]
mov ebx, dword [esp + 0x2c]
cmp ecx, 4
jb 0x402e3b
nop
nop
nop
nop
nop
mov ecx, dword [esp + 0x20]
lea edx, [ecx + 1]
mov dword [esp + 0x20], edx
movzx ecx, byte [ecx]
mov byte [edi], cl
mov ecx, dword [esp + 0x20]
lea edx, [ecx + 1]
mov dword [esp + 0x20], edx
movzx ecx, byte [ecx]
mov byte [edi + 1], cl
mov ecx, dword [esp + 0x20]
lea edx, [ecx + 1]
mov dword [esp + 0x20], edx
movzx ecx, byte [ecx]
mov byte [edi + 2], cl
mov ecx, dword [esp + 0x20]
lea edx, [ecx + 1]
mov dword [esp + 0x20], edx
movzx ecx, byte [ecx]
mov byte [edi + 3], cl
add edi, 4
add eax, 0xfffffffc
jne 0x402df0
cmp dword [ebp + 8], 0
je 0x402d74
mov eax, edi
sub eax, esi
lea ecx, [eax + 1]
cmp ecx, 0x200
jl 0x402d74
add dword [esp + 0x48], eax
push eax
push dword [ebp + 0xc]
push esi
call dword [ebp + 8]
add esp, 0xc
test eax, eax
jne 0x402d70
jmp 0x403885
mov eax, ecx
cmp ecx, 4
jae 0x402df0
jmp 0x402e3b
mov dword [esp + 0x24], esi
mov eax, dword [esp + 8]
mov ecx, eax
shr ecx, 0x18
mov dword [esp + 4], ecx
xor esi, esi
test byte [esp + 0xc], 0x40
je 0x402ebd
and eax, 0xffffff
add eax, dword [esp + 0x1c]
mov esi, dword [esp + 4]
lea ecx, [esi + 1]
xor edx, edx
div ecx
sub esi, edx
cmp dword [esp + 0x1c], 0
jle 0x4037a2
mov ecx, dword [esp + 0x1c]
jmp 0x402ee4
mov ecx, dword [esp + 0x1c]
sub ecx, dword [esp + 8]
test ecx, ecx
mov edx, dword [esp + 0x10]
jle 0x4030d5
mov eax, dword [esp + 0x24]
sub eax, edi
add eax, 0x200
mov edx, ecx
mov dword [esp + 8], ecx
mov dword [esp + 0x1c], ecx
cmp ecx, eax
jl 0x402f60
mov dword [esp + 8], eax
cmp dword [ebp + 8], 0
je 0x402f66
test byte [esp + 0xc], 0x40
jne 0x402f75
cmp dword [esp + 8], 0
je 0x402f80
mov eax, edi
and eax, 3
je 0x402f80
mov edx, edi
not edx
and edx, 3
mov eax, dword [esp + 8]
lea ecx, [eax - 1]
cmp edx, ecx
jb 0x402f30
mov edx, ecx
mov dword [esp + 0x4c], edx
lea eax, [edx + 1]
push eax
push 0x30
push edi
mov dword [esp + 0x5c], ecx
call fcn.0040c9a0
mov edx, dword [esp + 0x5c]
add esp, 0xc
mov eax, dword [esp + 0x4c]
add edi, eax
inc edi
sub edx, eax
cmp edx, 4
jge 0x402f89
jmp 0x402fc8
cmp dword [ebp + 8], 0
jne 0x402f07
mov eax, dword [esp + 0x1c]
mov dword [esp + 8], eax
test byte [esp + 0xc], 0x40
je 0x402f0e
mov edx, dword [esp + 8]
jmp 0x402fc8
mov edx, dword [esp + 8]
cmp edx, 4
jl 0x402fc8
mov eax, edx
cmp edx, 7
jl 0x402f95
mov eax, 7
neg eax
add eax, edx
add eax, 3
and eax, 0xfffffffc
mov dword [esp + 0x4c], eax
add eax, 4
push eax
push 0x30
push edi
mov dword [esp + 0x5c], edx
call fcn.0040c9a0
mov edx, dword [esp + 0x5c]
add esp, 0xc
mov eax, dword [esp + 0x4c]
add edi, eax
add edi, 4
sub edx, eax
add edx, 0xfffffffc
test edx, edx
je 0x403020
test dl, 1
jne 0x402fe0
mov eax, edx
cmp edx, 1
jne 0x403090
jmp 0x403020
mov al, 0x30
test byte [esp + 0xc], 0x40
je 0x403006
cmp esi, dword [esp + 4]
jne 0x403005
movzx eax, byte [0x44f001]
mov ecx, eax
add cl, al
and cl, 0xfa
sub al, cl
add al, 0x7d
xor esi, esi
jmp 0x403006
inc esi
mov byte [edi], al
inc edi
lea eax, [edx - 1]
cmp edx, 1
jne 0x403090
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [ebp + 8], 0
je 0x402ed0
mov eax, edi
mov edx, dword [esp + 0x24]
sub eax, edx
lea ecx, [eax + 1]
cmp ecx, 0x200
jl 0x402ed0
add dword [esp + 0x48], eax
push eax
push dword [ebp + 0xc]
push edx
call dword [ebp + 8]
add esp, 0xc
test eax, eax
je 0x403885
mov edi, eax
mov dword [esp + 0x24], eax
jmp 0x402ed0
movzx ecx, byte [0x44f001]
mov edx, ecx
add dl, cl
and dl, 0xfa
sub cl, dl
add cl, 0x7d
xor esi, esi
mov byte [edi + 1], cl
add edi, 2
add eax, 0xfffffffe
je 0x403020
mov cl, 0x30
test byte [esp + 0xc], 0x40
je 0x4030c1
cmp esi, dword [esp + 4]
jne 0x4030c0
movzx edx, byte [0x44f001]
mov ch, dl
add ch, dl
and ch, 0xfa
sub dl, ch
add dl, 0x7d
xor esi, esi
jmp 0x4030c3
inc esi
mov dl, 0x30
mov byte [edi], dl
test byte [esp + 0xc], 0x40
je 0x403085
cmp esi, dword [esp + 4]
je 0x403070
inc esi
jmp 0x403085
movzx eax, byte [esp + 0x40]
mov esi, dword [esp + 0x24]
lea ecx, [esp + 0x41]
mov dword [esp + 0x20], ecx
jmp 0x4030fd
mov edi, eax
mov esi, eax
mov edx, dword [esp + 0x10]
movzx eax, byte [esp + 0x40]
test al, al
je 0x40321d
movsx edx, al
mov ecx, esi
sub ecx, edi
add ecx, 0x200
cmp ecx, edx
jl 0x403118
mov ecx, edx
cmp dword [ebp + 8], 0
jne 0x403120
mov ecx, edx
sub al, cl
mov byte [esp + 0x40], al
test ecx, ecx
je 0x4031cb
mov eax, ecx
and eax, 3
je 0x403210
mov ebx, ecx
mov dword [esp + 0x24], esi
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov esi, dword [esp + 0x20]
lea ecx, [esi + 1]
mov dword [esp + 0x20], ecx
movzx ecx, byte [esi]
mov byte [edi + edx], cl
inc edx
cmp eax, edx
jne 0x403150
add edi, edx
mov ecx, ebx
mov eax, ebx
sub eax, edx
mov esi, dword [esp + 0x24]
mov ebx, dword [esp + 0x2c]
cmp ecx, 4
jb 0x4031cb
nop
nop
nop
nop
nop
mov ecx, dword [esp + 0x20]
lea edx, [ecx + 1]
mov dword [esp + 0x20], edx
movzx ecx, byte [ecx]
mov byte [edi], cl
mov ecx, dword [esp + 0x20]
lea edx, [ecx + 1]
mov dword [esp + 0x20], edx
movzx ecx, byte [ecx]
mov byte [edi + 1], cl
mov ecx, dword [esp + 0x20]
lea edx, [ecx + 1]
mov dword [esp + 0x20], edx
movzx ecx, byte [ecx]
mov byte [edi + 2], cl
mov ecx, dword [esp + 0x20]
lea edx, [ecx + 1]
mov dword [esp + 0x20], edx
movzx ecx, byte [ecx]
mov byte [edi + 3], cl
add edi, 4
add eax, 0xfffffffc
jne 0x403180
cmp dword [ebp + 8], 0
je 0x4030f4
mov ecx, edi
xor ecx, esi
mov eax, esi
not eax
and eax, edi
add eax, eax
sub eax, ecx
cmp eax, 0x1ff
jl 0x4030f4
add dword [esp + 0x48], eax
push eax
push dword [ebp + 0xc]
push esi
call dword [ebp + 8]
add esp, 0xc
test eax, eax
jne 0x4030f0
jmp 0x403885
mov eax, ecx
cmp ecx, 4
jae 0x403180
jmp 0x4031cb
mov dword [esp + 0x24], esi
mov ecx, dword [esp + 0x28]
test ecx, ecx
jne 0x4034b0
mov eax, dword [esp + 0x14]
test eax, eax
mov esi, dword [esp + 0x24]
jne 0x40337c
lea eax, [esp + 0x35]
mov dword [esp + 0x20], eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx ecx, byte [esp + 0x34]
test cl, cl
je 0x40366d
movsx edx, cl
mov eax, esi
sub eax, edi
add eax, 0x200
cmp eax, edx
jl 0x40326f
mov eax, edx
cmp dword [ebp + 8], 0
jne 0x403277
mov eax, edx
sub cl, al
mov byte [esp + 0x34], cl
test eax, eax
je 0x40331b
mov ecx, eax
and ecx, 3
je 0x403360
mov dword [esp + 0x24], esi
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov esi, dword [esp + 0x20]
lea ebx, [esi + 1]
mov dword [esp + 0x20], ebx
movzx ebx, byte [esi]
mov byte [edi + edx], bl
inc edx
cmp ecx, edx
jne 0x4032a0
add edi, edx
mov ecx, eax
sub ecx, edx
mov esi, dword [esp + 0x24]
mov ebx, dword [esp + 0x2c]
cmp eax, 4
jb 0x40331b
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp + 0x20]
lea edx, [eax + 1]
mov dword [esp + 0x20], edx
movzx eax, byte [eax]
mov byte [edi], al
mov eax, dword [esp + 0x20]
lea edx, [eax + 1]
mov dword [esp + 0x20], edx
movzx eax, byte [eax]
mov byte [edi + 1], al
mov eax, dword [esp + 0x20]
lea edx, [eax + 1]
mov dword [esp + 0x20], edx
movzx eax, byte [eax]
mov byte [edi + 2], al
mov eax, dword [esp + 0x20]
lea edx, [eax + 1]
mov dword [esp + 0x20], edx
movzx eax, byte [eax]
mov byte [edi + 3], al
add edi, 4
add ecx, 0xfffffffc
jne 0x4032d0
cmp dword [ebp + 8], 0
je 0x403250
mov eax, edi
sub eax, esi
lea ecx, [eax + 1]
cmp ecx, 0x200
jl 0x403250
add dword [esp + 0x48], eax
push eax
push dword [ebp + 0xc]
push esi
call dword [ebp + 8]
add esp, 0xc
test eax, eax
je 0x403885
mov edi, eax
mov esi, eax
jmp 0x403250
mov ecx, eax
cmp eax, 4
jae 0x4032d0
jmp 0x40331b
mov eax, dword [esp + 0x14]
sub eax, edx
je 0x40323d
mov dword [esp + 0x14], eax
mov edx, eax
cmp dword [ebp + 8], 0
je 0x4033a7
mov eax, esi
xor eax, edi
mov ecx, esi
not ecx
and ecx, edi
add ecx, ecx
sub eax, ecx
add eax, 0x200
mov ecx, dword [esp + 0x14]
mov edx, ecx
cmp ecx, eax
jl 0x4033a7
mov edx, eax
test edx, edx
mov dword [esp + 4], edx
mov dword [esp + 0x24], esi
je 0x4033f0
mov eax, edi
and eax, 3
je 0x4033f0
mov ebx, edi
not ebx
and ebx, 3
lea esi, [edx - 1]
cmp ebx, esi
jb 0x4033ca
mov ebx, esi
lea eax, [ebx + 1]
push eax
push 0x30
push edi
call fcn.0040c9a0
add esp, 0xc
add edi, ebx
inc edi
sub esi, ebx
mov ebx, dword [esp + 0x2c]
mov edx, dword [esp + 4]
cmp esi, 4
jge 0x4033f7
jmp 0x40342f
mov esi, edx
cmp esi, 4
jl 0x40342f
mov eax, esi
cmp esi, 7
jl 0x403403
mov eax, 7
neg eax
lea ebx, [esi + eax]
add ebx, 3
and ebx, 0xfffffffc
lea eax, [ebx + 4]
push eax
push 0x30
push edi
call fcn.0040c9a0
add esp, 0xc
add edi, ebx
add edi, 4
sub esi, ebx
add esi, 0xfffffffc
mov ebx, dword [esp + 0x2c]
mov edx, dword [esp + 4]
test esi, esi
je 0x403445
push esi
push 0x30
push edi
call fcn.0040c9a0
mov edx, dword [esp + 0x10]
add esp, 0xc
add edi, esi
mov esi, dword [esp + 0x24]
cmp dword [ebp + 8], 0
je 0x403370
mov eax, edi
sub eax, esi
cmp eax, 0x1ff
jl 0x403370
add dword [esp + 0x48], eax
push eax
push dword [ebp + 0xc]
push esi
call dword [ebp + 8]
add esp, 0xc
test eax, eax
je 0x403885
mov edi, eax
mov esi, eax
mov edx, dword [esp + 4]
jmp 0x403370
mov edx, ebx
mov ebx, esi
mov esi, dword [esp + 4]
mov eax, esi
mov ecx, dword [esp + 0x10]
xor eax, ecx
not esi
and esi, ecx
add esi, esi
sub esi, eax
mov ecx, esi
je 0x40322d
mov esi, ecx
cmp dword [ebp + 8], 0
je 0x4034cb
mov eax, dword [esp + 0x24]
sub eax, edi
add eax, 0x200
mov esi, ecx
cmp ecx, eax
jl 0x4034cb
mov esi, eax
cmp esi, 4
mov dword [esp + 4], esi
mov dword [esp + 0x10], ecx
jl 0x403520
lea eax, [esi - 4]
mov dword [esp + 8], eax
shr eax, 2
inc eax
and eax, 7
je 0x403524
shl eax, 2
mov ebx, edx
xor edx, edx
nop
mov ecx, dword [ebx + edx]
mov dword [edi + edx], ecx
add edx, 4
cmp eax, edx
jne 0x4034f0
add edi, edx
mov esi, dword [esp + 4]
mov ecx, esi
sub ecx, edx
add ebx, edx
mov eax, ecx
mov edx, ebx
mov ebx, dword [esp + 0x2c]
cmp dword [esp + 8], 0x1c
jae 0x403530
jmp 0x403571
mov eax, esi
jmp 0x403571
mov ecx, esi
cmp dword [esp + 8], 0x1c
jb 0x403571
nop
nop
nop
mov eax, dword [edx]
mov dword [edi], eax
mov eax, dword [edx + 4]
mov dword [edi + 4], eax
mov eax, dword [edx + 8]
mov dword [edi + 8], eax
mov eax, dword [edx + 0xc]
mov dword [edi + 0xc], eax
mov eax, dword [edx + 0x10]
mov dword [edi + 0x10], eax
mov eax, dword [edx + 0x14]
mov dword [edi + 0x14], eax
mov eax, dword [edx + 0x18]
mov dword [edi + 0x18], eax
mov eax, dword [edx + 0x1c]
mov dword [edi + 0x1c], eax
add edi, 0x20
add edx, 0x20
lea eax, [ecx - 0x20]
add ecx, 0xffffffdc
cmp ecx, 0xfffffff8
mov ecx, eax
jb 0x403530
test eax, eax
je 0x403601
mov ecx, eax
and ecx, 7
je 0x403660
mov esi, edx
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
movzx ebx, byte [esi + edx]
mov byte [edi + edx], bl
inc edx
cmp ecx, edx
jne 0x403590
add edi, edx
mov ecx, eax
sub ecx, edx
add esi, edx
mov ebx, dword [esp + 0x2c]
mov edx, esi
mov esi, dword [esp + 4]
cmp eax, 8
jb 0x403601
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx eax, byte [edx]
mov byte [edi], al
movzx eax, byte [edx + 1]
mov byte [edi + 1], al
movzx eax, byte [edx + 2]
mov byte [edi + 2], al
movzx eax, byte [edx + 3]
mov byte [edi + 3], al
movzx eax, byte [edx + 4]
mov byte [edi + 4], al
movzx eax, byte [edx + 5]
mov byte [edi + 5], al
movzx eax, byte [edx + 6]
mov byte [edi + 6], al
movzx eax, byte [edx + 7]
add edx, 8
mov byte [edi + 7], al
add edi, 8
add ecx, 0xfffffff8
jne 0x4035c0
cmp dword [ebp + 8], 0
je 0x403498
mov esi, ebx
mov ebx, edx
mov eax, edi
mov edx, dword [esp + 0x24]
sub eax, edx
lea ecx, [eax + 1]
cmp ecx, 0x200
jl 0x403490
mov ecx, eax
mov edi, dword [esp + 0x48]
and ecx, edi
xor edi, eax
lea edi, [edi + ecx*2]
mov dword [esp + 0x48], edi
push eax
push dword [ebp + 0xc]
push edx
call dword [ebp + 8]
add esp, 0xc
test eax, eax
je 0x403885
mov edi, eax
mov dword [esp + 0x24], eax
jmp 0x403490
mov ecx, eax
cmp eax, 8
jae 0x4035c0
jmp 0x403601
test byte [esp + 0xc], 1
je 0x40367e
mov ecx, dword [esp + 0x18]
test ecx, ecx
jle 0x40367e
jne 0x403698
inc ebx
jmp 0x40103a
mov ecx, dword [esp + 0x18]
sub ecx, edx
je 0x40367e
mov edx, ecx
cmp dword [ebp + 8], 0
je 0x4036b1
mov eax, esi
sub eax, edi
add eax, 0x200
mov edx, ecx
cmp ecx, eax
jl 0x4036b1
mov edx, eax
test edx, edx
mov dword [esp + 0x18], ecx
mov dword [esp + 0xc], edx
mov dword [esp + 0x24], esi
je 0x403700
mov eax, edi
and eax, 3
je 0x403700
mov ebx, edi
not ebx
and ebx, 3
lea esi, [edx - 1]
cmp ebx, esi
jb 0x4036d8
mov ebx, esi
lea eax, [ebx + 1]
push eax
push 0x20
push edi
call fcn.0040c9a0
add esp, 0xc
add edi, ebx
inc edi
sub esi, ebx
mov ebx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x18]
cmp esi, 4
jge 0x403707
jmp 0x40373f
mov esi, edx
cmp esi, 4
jl 0x40373f
mov eax, esi
cmp esi, 7
jl 0x403713
mov eax, 7
neg eax
lea ebx, [esi + eax]
add ebx, 3
and ebx, 0xfffffffc
lea eax, [ebx + 4]
push eax
push 0x20
push edi
call fcn.0040c9a0
add esp, 0xc
add edi, ebx
add edi, 4
sub esi, ebx
add esi, 0xfffffffc
mov ebx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x18]
test esi, esi
je 0x403755
push esi
push 0x20
push edi
call fcn.0040c9a0
mov ecx, dword [esp + 0x24]
add esp, 0xc
add edi, esi
mov esi, dword [esp + 0x24]
mov edx, dword [esp + 0xc]
cmp dword [ebp + 8], 0
je 0x403694
mov eax, edi
sub eax, esi
lea ecx, [eax + 1]
cmp ecx, 0x200
jl 0x403690
add dword [esp + 0x48], eax
push eax
push dword [ebp + 0xc]
push esi
call dword [ebp + 8]
add esp, 0xc
test eax, eax
je 0x403885
mov edi, eax
mov esi, eax
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0xc]
jmp 0x403694
lea eax, [esp + 0x41]
mov dword [esp + 0x20], eax
mov edx, dword [esp + 0x10]
jmp 0x403221
mov eax, ecx
jmp 0x402b59
mov edx, dword [esp + 8]
sub edx, eax
mov eax, dword [esp + 0x18]
inc eax
cmp edx, 4
mov esi, dword [esp + 0x24]
mov ebx, dword [esp + 0x2c]
jb 0x403808
mov ecx, edx
and ecx, 0xfffffffc
push ecx
push 0x30
push eax
mov dword [esp + 0x14], edx
call fcn.0040c9a0
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x1c]
add esp, 0xc
mov eax, dword [esp + 0x1c]
and eax, 0xfffffffc
add dword [esp + 4], eax
and edx, 3
mov eax, edx
test eax, eax
jne 0x403827
jmp 0x4029c3
mov dword [esp + 4], eax
jmp 0x403827
mov eax, ecx
mov ecx, dword [esp + 4]
mov byte [ecx], 0x30
dec edx
inc ecx
mov dword [esp + 4], ecx
test edx, edx
mov ecx, eax
je 0x4029c3
test byte [esp + 0xc], 0x40
je 0x40380e
inc ecx
cmp ecx, 4
jne 0x40380e
movzx eax, byte [0x44f001]
xor al, 0x7d
mov ecx, dword [esp + 4]
mov byte [ecx], al
xor eax, eax
jmp 0x403818
fstp st(1)
fdivp st(1)
or dword [esp + 0xc], 0x4000000
jmp 0x402226
cmp dword [ebp + 8], 0
je 0x40388b
mov eax, edi
sub eax, esi
lea ecx, [eax + 0x1ff]
cmp ecx, 0x200
jl 0x40388e
add dword [esp + 0x48], eax
push eax
push dword [ebp + 0xc]
push esi
call dword [ebp + 8]
add esp, 0xc
mov edi, eax
mov esi, eax
jmp 0x40388e
xor edi, edi
xor esi, esi
jmp 0x40388e
mov byte [edi], 0
mov eax, dword [esp + 0x48]
add eax, edi
sub eax, esi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret