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 edi, dword [ebp + 0x10]
lea eax, [esp + 0xac]
not eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x4c], 0
mov esi, edi
jmp 0x40104a
mov ecx, edi
mov edi, dword [esp + 0x24]
mov byte [edi], al
inc edi
inc ecx
mov dword [esp + 0x24], edi
mov dword [esp + 0x20], esi
mov edi, ecx
test cl, 3
je 0x401060
movzx eax, byte [ecx]
jmp 0x40107e
mov eax, dword [ecx]
mov esi, eax
not esi
and esi, 0x80808080
mov ecx, eax
xor ecx, 0x25252525
add ecx, 0xfefefeff
test ecx, esi
je 0x4010cd
cmp al, 0x25
je 0x40114a
mov edx, dword [ebp + 8]
mov esi, dword [esp + 0x20]
test al, al
je 0x403658
test edx, edx
je 0x401040
mov ecx, dword [esp + 0x24]
sub ecx, esi
cmp ecx, 0x1ff
jl 0x401040
add dword [esp + 0x4c], ecx
push ecx
push dword [ebp + 0xc]
push esi
call edx
add esp, 0xc
test eax, eax
je 0x40367c
mov ecx, edi
movzx edx, byte [edi]
mov esi, eax
mov edi, eax
mov eax, edx
jmp 0x401046
mov ecx, dword [esp + 0x20]
not ecx
mov edx, dword [esp + 0x24]
jmp 0x401118
mov esi, eax
mov eax, dword [esp + 0x24]
mov dword [eax], esi
add eax, 4
mov dword [esp + 0x24], eax
mov eax, dword [edi + 4]
add edi, 4
mov esi, eax
not esi
and esi, 0x80808080
mov ebx, eax
xor ebx, 0x25252525
add ebx, 0xfefefeff
add edx, 4
test ebx, esi
jne 0x40107e
lea ebx, [eax - 0x1010101]
test esi, ebx
jne 0x401086
cmp dword [ebp + 8], 0
je 0x4010e0
mov esi, edx
xor esi, dword [esp + 0x20]
mov ebx, edx
and ebx, ecx
add ebx, ebx
sub esi, ebx
add esi, 0x200
cmp esi, 4
jge 0x4010e0
jmp 0x40107e
add edi, 2
mov ecx, edi
xor ebx, ebx
mov esi, dword [esp + 0x20]
mov edi, dword [esp + 0x24]
jmp 0x401160
or ebx, 1
inc ecx
nop
movzx eax, byte [ecx - 1]
lea edx, [eax - 0x20]
cmp edx, 0x3f
ja case.0x40116c.33
jmp dword [edx*4 + 0x44c564]
mov eax, ebx
xor eax, 4
add eax, ebx
mov edx, ebx
and edx, 0xfffffffb
sub eax, edx
inc ecx
mov ebx, eax
jmp 0x401160
or ebx, 8
inc ecx
jmp 0x401160
or ebx, 0x400
inc ecx
jmp 0x401160
or ebx, 0x40
inc ecx
jmp 0x401160
test ebx, 0x100
jne 0x4011bb
or ebx, 0x100
inc ecx
jmp 0x401160
mov eax, ebx
not eax
or eax, 0xfffffffd
add ebx, eax
add ebx, 3
inc ecx
jmp 0x401160
test ebx, 0x800
jne 0x4011cc
or ebx, 0x800
inc ecx
jmp 0x401160
or ebx, 0x1000
inc ecx
jmp 0x401160
or ebx, 0x10
movzx eax, byte [ecx]
jmp 0x4011de
dec ecx
mov dword [esp + 8], ebx
cmp al, 0x2a
jne 0x4011fe
mov eax, dword [esp + 0x28]
mov edx, dword [eax]
mov dword [esp + 0x30], edx
add eax, 4
mov dword [esp + 0x28], eax
movzx eax, byte [ecx + 1]
inc ecx
jmp 0x401243
mov edx, eax
add dl, 0xd0
mov dword [esp + 0x30], 0
cmp dl, 9
ja 0x401243
mov dword [esp + 0x30], 0
nop
nop
nop
nop
nop
nop
nop
nop
movzx eax, al
mov edx, dword [esp + 0x30]
lea edx, [edx + edx*4]
lea eax, [eax + edx*2]
add eax, 0xffffffd0
mov dword [esp + 0x30], eax
movzx eax, byte [ecx + 1]
inc ecx
mov edx, eax
add dl, 0xd0
cmp dl, 0xa
jb 0x401220
mov dword [esp + 4], 0xffffffff
cmp al, 0x2e
jne 0x4012c7
movzx eax, byte [ecx + 1]
cmp al, 0x2a
jne 0x401271
mov eax, dword [esp + 0x28]
mov edx, dword [eax]
mov dword [esp + 4], edx
add eax, 4
mov dword [esp + 0x28], eax
movzx eax, byte [ecx + 2]
add ecx, 2
jmp 0x4012c7
inc ecx
mov edx, eax
add dl, 0xd0
mov dword [esp + 4], 0
cmp dl, 9
ja 0x4012c7
xor esi, esi
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 0x401290
mov dword [esp + 4], esi
mov esi, dword [esp + 0x20]
movzx eax, al
add eax, 0xffffffb7
cmp eax, 0x31
ja case.0x4012d2.74
jmp dword [eax*4 + 0x44c664]
inc ecx
movzx edx, byte [ecx]
mov dword [esp + 0x58], ecx
movzx eax, dl
add eax, 0xffffffbf
cmp eax, 0x37
ja case.0x4012f0.67
jmp dword [eax*4 + 0x44c72c]
test byte [esp + 8], 0x20
jne 0x40175c
mov eax, dword [esp + 0x28]
mov ecx, dword [eax]
add eax, 4
mov dword [esp + 0x28], eax
mov dword [esp + 0x14], 0
cmp dl, 0x75
je 0x4020c6
test ecx, ecx
mov esi, dword [esp + 4]
jns 0x4020b2
neg ecx
mov edx, dword [esp + 8]
or edx, 0x80
jmp 0x4020e2
movzx edx, byte [ecx + 1]
cmp dl, 0x6c
jne 0x4017a1
or dword [esp + 8], 0x20
add ecx, 2
jmp case.0x4012d2.74
lea eax, [ecx + 1]
movzx edx, byte [ecx + 1]
cmp edx, 0x33
je 0x401bb5
cmp edx, 0x36
jne 0x401bc6
cmp byte [ecx + 2], 0x34
jne 0x401bbf
or dword [esp + 8], 0x20
add ecx, 3
jmp case.0x4012d2.74
cmp byte [ecx + 1], 0x68
je 0x4017a7
inc ecx
or dword [esp + 8], 0x200
jmp case.0x4012d2.74
mov esi, str.0123456789ABCDEFXP
cmp dl, 0x45
je 0x4013ab
mov esi, str.0123456789abcdefxp
mov eax, dword [esp + 0x28]
fld qword [eax]
mov ecx, 6
mov eax, dword [esp + 4]
cmp eax, 0xffffffff
je 0x4013c1
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 + 0x84]
mov dword [esp], eax
lea ecx, [esp + 0x28]
lea edx, [esp + 0x34]
call fcn.004036a0
add esp, 0x18
test eax, eax
je 0x401405
or dword [esp + 8], 0x80
add dword [esp + 0x28], 8
mov byte [esp + 0x34], 0
mov byte [esp + 0x40], 0
mov al, 0x2d
cmp byte [esp + 8], 0
js 0x40142f
mov al, 0x20
test byte [esp + 8], 4
jne 0x40142f
mov al, 0x2b
test byte [esp + 8], 2
je 0x401438
mov byte [esp + 0x40], 1
mov byte [esp + 0x41], al
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x14], 0
mov edx, dword [esp + 0x10]
cmp eax, 0x7000
je 0x402aaa
mov dword [esp + 0x48], eax
movzx ecx, byte [edx]
mov byte [esp + 0xac], cl
lea eax, [esp + 0xad]
cmp dword [esp + 0x18], 0
je 0x401484
movzx ecx, byte [section..data]
mov byte [esp + 0xad], cl
lea eax, [esp + 0xae]
mov dword [esp + 4], eax
mov ebx, dword [esp + 0x1c]
lea ecx, [ebx - 1]
cmp ecx, dword [esp + 0x18]
jbe 0x4014ae
mov ebx, dword [esp + 0x18]
mov ecx, ebx
xor ecx, 1
mov eax, edx
mov edx, ebx
and edx, 1
lea ebx, [ecx + edx*2]
mov edx, eax
mov dword [esp + 0x1c], ebx
cmp ebx, 2
mov dword [esp + 0x2c], ebx
jb 0x401576
mov dword [esp + 0x14], esi
mov dword [esp + 0xc], edx
lea eax, [ebx - 1]
lea esi, [ebx - 2]
mov edx, 1
cmp esi, 7
mov dword [esp + 0x50], eax
jb 0x401545
mov esi, eax
and esi, 0xfffffff8
xor edx, edx
mov ebx, dword [esp + 0xc]
mov ecx, dword [esp + 4]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx eax, byte [ebx + edx + 1]
mov byte [ecx + edx], al
movzx eax, byte [ebx + edx + 2]
mov byte [ecx + edx + 1], al
movzx eax, byte [ebx + edx + 3]
mov byte [ecx + edx + 2], al
movzx eax, byte [ebx + edx + 4]
mov byte [ecx + edx + 3], al
movzx eax, byte [ebx + edx + 5]
mov byte [ecx + edx + 4], al
movzx eax, byte [ebx + edx + 6]
mov byte [ecx + edx + 5], al
movzx eax, byte [ebx + edx + 7]
mov byte [ecx + edx + 6], al
movzx eax, byte [ebx + edx + 8]
mov byte [ecx + edx + 7], al
add edx, 8
cmp esi, edx
jne 0x4014f0
add ecx, edx
mov dword [esp + 4], ecx
inc edx
mov ebx, dword [esp + 0x50]
and ebx, 7
mov esi, dword [esp + 0x14]
je 0x401576
mov esi, dword [esp + 0xc]
add esi, edx
xor edx, edx
mov ecx, dword [esp + 4]
nop
nop
movzx eax, byte [esi + edx]
mov byte [ecx + edx], al
inc edx
cmp ebx, edx
jne 0x401560
add ecx, edx
mov dword [esp + 4], ecx
mov esi, dword [esp + 0x14]
movzx eax, byte [esi + 0xe]
mov byte [esp + 0x35], al
mov eax, dword [esp + 0x48]
test eax, eax
jle 0x401d3a
dec eax
mov byte [esp + 0x36], 0x2b
mov esi, eax
jmp 0x401d46
mov eax, str.0123456789ABCDEFXP
mov dword [esp + 0x54], edx
cmp dl, 0x41
je 0x4015aa
mov eax, str.0123456789abcdefxp
mov dword [esp + 0xc], eax
mov ecx, 6
mov eax, dword [esp + 4]
cmp eax, 0xffffffff
mov edx, dword [esp + 8]
je 0x4015c2
mov ecx, eax
mov dword [esp + 0x48], ecx
mov eax, dword [esp + 0x28]
mov ecx, dword [eax + 4]
test ecx, ecx
jns 0x4015d7
or edx, 0x80
mov eax, dword [esp + 0x28]
mov ebx, dword [eax]
mov al, 0x2d
test dl, dl
js 0x40171c
mov al, 0x20
test dl, 4
jne 0x40171c
mov al, 0x2b
test dl, 2
jne 0x40171c
mov dword [esp + 0x18], 0
jmp 0x401726
mov dword [esp + 0x2c], str.0123456789ABCDEFXP
cmp dl, 0x42
je 0x40161f
mov dword [esp + 0x2c], str.0123456789abcdefxp
mov byte [esp + 0x40], 0
test byte [esp + 8], 8
je 0x401641
cmp dl, 0x42
setne al
mov word [esp + 0x40], 0x3002
shl al, 5
or al, 0x42
mov byte [esp + 0x42], al
mov dword [esp + 0x1c], 0x180
mov ecx, 1
jmp 0x401842
mov esi, str.0123456789ABCDEFXP
cmp dl, 0x47
je 0x401662
mov esi, str.0123456789abcdefxp
mov eax, dword [esp + 0x28]
fld qword [eax]
mov ecx, dword [esp + 4]
cmp ecx, 1
mov eax, ecx
adc eax, 0
mov ebx, 6
cmp ecx, 0xffffffff
je 0x401680
mov ebx, eax
lea eax, [ebx - 1]
or eax, 0x80000000
sub esp, 0x18
fstp qword [esp + 8]
lea ecx, [esp + 0x54]
mov dword [esp + 4], ecx
lea ecx, [esp + 0x84]
mov dword [esp], ecx
mov dword [esp + 0x10], eax
lea ecx, [esp + 0x28]
lea edx, [esp + 0x34]
call fcn.004036a0
add esp, 0x18
test eax, eax
je 0x4016c1
or dword [esp + 8], 0x80
mov ecx, dword [esp + 0x1c]
cmp ecx, ebx
jb 0x4016cb
mov ecx, ebx
mov dword [esp + 0x14], esi
mov eax, ecx
cmp ecx, 2
jb 0x4017b7
mov ecx, dword [esp + 0x10]
mov dword [esp + 0xc], ecx
mov ecx, ebx
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov edx, dword [esp + 0xc]
cmp byte [edx + eax - 1], 0x30
jne 0x401e27
mov esi, eax
lea edx, [ecx - 1]
dec esi
mov eax, esi
cmp esi, 2
jb 0x401e29
cmp ecx, 1
mov ecx, edx
jne 0x4016f0
jmp 0x401e29
mov byte [esp + 0x41], al
mov al, 1
mov dword [esp + 0x18], eax
mov esi, ecx
and esi, 0xfffff
shr ecx, 0x14
and ecx, 0x7ff
je 0x401be9
add ecx, 0xfffffc01
mov eax, 0xffffffff
add ebx, eax
mov eax, 0xfffff
adc esi, eax
add ebx, 1
adc esi, 0
jmp 0x401bfd
mov ecx, dword [esp + 0x28]
lea ebx, [ecx + 8]
mov eax, dword [ecx]
mov ecx, dword [ecx + 4]
cmp dl, 0x75
je 0x4020d0
test ecx, ecx
mov esi, dword [esp + 4]
mov edx, ecx
jns 0x4020b8
neg eax
mov ecx, 0
sbb ecx, edx
mov edx, dword [esp + 8]
or edx, 0x80
mov dword [esp + 0x14], ecx
mov ecx, eax
mov dword [esp + 0x28], ebx
jmp 0x4020e2
inc ecx
jmp 0x4012dd
add ecx, 2
or dword [esp + 8], 0x200
jmp case.0x4012d2.74
mov edx, ebx
jmp 0x401e29
and dword [esp + 8], 0xffffffef
mov dword [esp + 4], 8
mov dword [esp + 0x2c], str.0123456789ABCDEFXP
cmp dl, 0x58
je 0x4017e0
mov dword [esp + 0x2c], str.0123456789abcdefxp
mov dword [esp + 0x1c], 0x440
mov byte [esp + 0x40], 0
mov ecx, 4
test byte [esp + 8], 8
je 0x401842
cmp dl, 0x58
setne al
mov word [esp + 0x40], 0x3002
shl al, 5
or al, 0x58
mov byte [esp + 0x42], al
jmp 0x401842
mov byte [esp + 0x40], 0
mov ecx, dword [esp + 8]
mov eax, ecx
or eax, 8
xor ecx, 0xfffffff7
test eax, ecx
je 0x40182d
mov word [esp + 0x40], 0x3001
mov dword [esp + 0x1c], 0x330
mov dword [esp + 0x2c], str.0123456789ABCDEFXP
mov ecx, 3
mov edx, dword [esp + 8]
mov eax, edx
xor eax, 0xffffffdf
or edx, 0x20
test edx, eax
je 0x401864
mov eax, dword [esp + 0x28]
mov ebx, dword [eax]
mov esi, dword [eax + 4]
lea edx, [eax + 8]
mov dword [esp + 0x28], edx
jmp 0x401873
mov eax, dword [esp + 0x28]
mov ebx, dword [eax]
add eax, 4
mov dword [esp + 0x28], eax
xor esi, esi
mov dword [esp + 0x3c], 0
mov byte [esp + 0x34], 0
mov edx, ebx
or edx, esi
jne 0x401896
mov byte [esp + 0x40], 0
cmp dword [esp + 4], 0
je 0x401bcd
mov edx, 0xffffffff
shl edx, cl
not edx
and edx, ebx
mov eax, dword [esp + 0x1c]
mov cl, ah
shrd ebx, 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 0x4018c6
mov edx, ebx
jmp 0x4018ca
mov edx, esi
xor esi, esi
mov dword [esp + 0x14], eax
mov ecx, edx
mov dword [esp + 0x18], esi
or ecx, esi
jne 0x4018f0
mov ecx, 1
cmp dword [esp + 4], 2
jge 0x4018f0
lea ebx, [esp + 0x26b]
jmp 0x401a0a
lea ebx, [esp + 0x26b]
mov eax, edx
lea edx, [esp + 0x26c]
mov dword [esp + 0xc], edx
mov edx, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
test byte [esp + 8], 0x40
jne 0x401930
mov dword [esp + 0xc], ebx
mov eax, dword [esp + 0x14]
jmp 0x401996
mov ecx, dword [esp + 0x14]
lea esi, [ecx + 1]
mov dword [esp + 0x1c], esi
mov eax, 0xfffffffe
sub eax, ecx
or eax, 0xf
add eax, ecx
add eax, 2
mov ecx, esi
shr ecx, 4
and ecx, 0xf
cmp eax, ecx
jne 0x401990
and esi, 0xfffffff0
mov dword [esp + 0x1c], esi
movzx eax, byte [0x44f001]
mov ecx, eax
add cl, al
and cl, 0x94
sub al, cl
add al, 0x4a
mov ecx, dword [esp + 0xc]
mov byte [ecx - 2], al
add ecx, 0xfffffffe
mov dword [esp + 0xc], ecx
mov eax, dword [esp + 0x1c]
jmp 0x401996
mov eax, esi
mov dword [esp + 0xc], ebx
mov ebx, 0xffffffff
mov cl, ah
shl ebx, cl
not ebx
and ebx, edx
mov esi, edx
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x14], eax
mov cl, ah
mov edx, dword [esp + 0x18]
shrd esi, edx, cl
mov eax, dword [esp + 0x2c]
movzx eax, byte [eax + ebx]
mov ebx, dword [esp + 0xc]
mov byte [ebx - 1], al
mov eax, dword [esp + 0x14]
mov cl, ah
shr edx, cl
mov ecx, edx
test ah, 0x20
mov eax, ebx
jne 0x4019e0
mov edx, esi
jmp 0x4019e4
mov edx, ecx
xor ecx, ecx
lea ebx, [eax - 1]
mov eax, edx
mov dword [esp + 0x18], ecx
or eax, ecx
jne 0x401910
lea ecx, [esp + 0x26c]
mov eax, ebx
sub ecx, ebx
cmp ecx, dword [esp + 4]
jl 0x401910
mov esi, dword [esp + 0x14]
shl esi, 0x14
and esi, 0xf000000
add esi, ecx
mov dword [esp + 0x14], esi
mov dword [esp + 0x1c], ecx
xor eax, eax
mov edx, ebx
mov esi, dword [esp + 4]
jmp 0x402aae
mov eax, dword [esp + 0x28]
mov eax, dword [eax]
mov edx, str.null
test eax, eax
je 0x401a3f
mov edx, eax
mov eax, dword [esp + 4]
mov ebx, eax
test eax, eax
jns 0x401a4e
mov ebx, 0xffffffff
test dl, 3
je 0x402788
lea esi, [ebx + edx]
test eax, eax
je 0x402a85
cmp byte [edx], 0
je 0x4028e1
lea ecx, [edx + 1]
lea eax, [ebx - 1]
test cl, 3
je 0x402a1b
test eax, eax
je 0x402a85
cmp byte [ecx], 0
je 0x403640
lea ecx, [edx + 2]
lea eax, [ebx - 2]
test cl, 3
je 0x402a1b
test eax, eax
je 0x402a85
cmp byte [ecx], 0
je 0x403640
lea ecx, [edx + 3]
lea eax, [ebx - 3]
test cl, 3
je 0x402a1b
test eax, eax
je 0x402a85
cmp byte [ecx], 0
je 0x403640
lea ecx, [edx + 4]
add ebx, 0xfffffffc
test cl, 3
je 0x402a1d
test ebx, ebx
je 0x401ae0
mov esi, ecx
mov edi, dword [esp + 0x24]
jmp 0x402a85
mov byte [esp + 0x26b], dl
mov dword [esp + 0x1c], 1
mov byte [esp + 0x40], 0
mov byte [esp + 0x34], 0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x14], 0
lea edx, [esp + 0x26b]
mov dword [esp + 8], 0
xor eax, eax
xor esi, esi
mov dword [esp + 0x30], 0
jmp 0x402aae
mov ecx, dword [esp + 0x28]
movzx eax, byte [ecx]
mov byte [esp + 0x26b], al
mov dword [esp + 0x1c], 1
mov byte [esp + 0x40], 0
mov byte [esp + 0x34], 0
mov dword [esp + 0x3c], 0
add ecx, 4
mov dword [esp + 0x28], ecx
mov dword [esp + 0x14], 0
lea edx, [esp + 0x26b]
jmp 0x402aaa
mov eax, dword [esp + 0x28]
fld qword [eax]
add eax, 8
mov dword [esp + 0x28], eax
test dword [esp + 8], 0x100
mov edx, dword [esp + 4]
jne 0x4022a1
jmp 0x4023fe
mov edx, dword [esp + 0x28]
mov eax, dword [edx]
mov ecx, dword [esp + 0x4c]
sub ecx, esi
add ecx, edi
mov dword [eax], ecx
add edx, 4
mov dword [esp + 0x28], edx
jmp 0x40351d
cmp byte [ecx + 2], 0x32
je 0x401e82
mov ecx, eax
jmp case.0x4012d2.74
mov ecx, eax
jmp 0x4012dd
mov dword [esp + 0x1c], 0
mov dword [esp + 0x14], 0
lea edx, [esp + 0x26c]
jmp 0x402aaa
mov ecx, ebx
or ecx, esi
mov ecx, 0
je 0x401bf9
mov ecx, 0xfffffc02
mov dword [esp + 0x3c], ecx
shld esi, ebx, 8
shl ebx, 8
mov dword [esp + 0x50], ebx
mov ebx, dword [esp + 0x48]
cmp ebx, 0xe
mov dword [esp + 8], edx
mov dword [esp + 0x2c], ecx
jg 0x401c5e
mov edx, ebx
and edx, 0xfb
mov ecx, ebx
and ebx, 4
or ecx, 4
imul ecx, ebx
xor ebx, 4
imul ebx, edx
add ecx, ebx
xor ebx, ebx
mov eax, 0x8000000
shrd ebx, eax, cl
mov edx, 0x8000000
shr edx, cl
test cl, 0x20
je 0x401c4e
mov ebx, edx
xor edx, edx
mov eax, dword [esp + 0x50]
add eax, ebx
mov dword [esp + 0x50], eax
adc esi, edx
mov ebx, dword [esp + 0x48]
mov edx, dword [esp + 0x18]
movzx ecx, dl
lea eax, [esp + 0x40]
mov word [ecx + eax + 1], 0x7830
or dl, 2
mov byte [esp + 0x40], dl
mov ecx, esi
shr ecx, 0x1c
mov eax, dword [esp + 0xc]
movzx ecx, byte [eax + ecx]
mov byte [esp + 0xac], cl
test ebx, ebx
je 0x401d20
movzx ecx, byte [section..data]
mov byte [esp + 0xad], cl
lea eax, [esp + 0xae]
mov dword [esp + 0x10], eax
mov ecx, ebx
cmp ebx, 0xd
jb 0x401cb8
mov ecx, 0xd
mov eax, ebx
sub eax, ecx
jg 0x401cc0
xor eax, eax
mov dword [esp + 0x18], eax
mov eax, ecx
and eax, 3
je 0x401e8a
mov dword [esp + 4], ecx
xor edx, edx
mov ebx, dword [esp + 0x50]
mov dword [esp + 0x14], eax
nop
nop
nop
mov eax, esi
shr eax, 0x18
and eax, 0xf
mov ecx, dword [esp + 0xc]
movzx eax, byte [ecx + eax]
shld esi, ebx, 4
mov byte [esp + edx + 0xae], al
mov eax, dword [esp + 0x14]
shl ebx, 4
inc edx
cmp eax, edx
jne 0x401ce0
mov dword [esp + 0x50], ebx
lea eax, [esp + 0xae]
lea ebx, [eax + edx]
mov ecx, dword [esp + 4]
sub ecx, edx
jmp 0x401e91
lea ebx, [esp + 0xad]
mov dword [esp + 0x10], ebx
mov dword [esp + 0x18], 0
mov esi, ebx
jmp 0x401f15
mov byte [esp + 0x36], 0x2d
mov esi, 1
sub esi, eax
cmp esi, 0x64
mov eax, 4
sbb eax, 0xffffffff
mov dword [esp + 0xc], 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 ebx, esi
mov eax, esi
mov ecx, 0x66666667
imul ecx
mov ecx, edx
mov eax, edx
shr eax, 0x1f
sar ecx, 2
add ecx, eax
mov eax, ecx
mov edx, 0x66666667
imul edx
sub ebx, dword [esp + 0x14]
mov eax, edx
shr eax, 0x1f
sar edx, 2
add edx, eax
add edx, edx
lea edx, [edx + edx*4]
mov eax, ecx
sub eax, edx
or bl, 0x30
mov edx, dword [esp + 0xc]
mov byte [esp + 0x34], dl
mov byte [esp + edx + 0x34], bl
add al, 0x30
mov byte [esp + edx + 0x33], al
cmp esi, 0x64
jb 0x401dfa
mov ebx, edx
mov eax, esi
mov ecx, 0x51eb851f
imul ecx
mov ecx, edx
mov eax, edx
shr eax, 0x1f
sar ecx, 5
add ecx, eax
mov eax, ecx
mov edx, 0x66666667
imul edx
mov eax, edx
shr eax, 0x1f
shr edx, 2
add edx, eax
add edx, edx
lea eax, [edx + edx*4]
mov edx, ecx
sub edx, eax
add dl, 0x30
lea eax, [esp + 0x34]
mov byte [ebx + eax - 2], dl
mov edx, dword [esp + 0x2c]
mov eax, edx
xor eax, 1
add edx, edx
and edx, 0xfffffffc
add eax, dword [esp + 0x18]
sub eax, edx
mov dword [esp + 0x18], eax
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x14], 0x3000001
mov ecx, dword [esp + 4]
jmp 0x4029f5
mov edx, ecx
add dword [esp + 0x28], 8
mov dword [esp + 0x1c], eax
mov ecx, dword [esp + 0x3c]
cmp ecx, 0xfffffffd
jl 0x401e56
cmp ecx, ebx
jg 0x401e56
test ecx, ecx
jle 0x4020a1
sub eax, ecx
jg 0x401e4d
xor eax, eax
mov dword [esp + 0x18], eax
jmp 0x402458
cmp edx, eax
jle 0x401e68
dec eax
mov dword [esp + 0x18], eax
mov esi, dword [esp + 0x14]
jmp 0x40140a
mov dword [esp + 0x18], 0
sub edx, 1
jb 0x401e79
mov dword [esp + 0x18], edx
mov esi, dword [esp + 0x14]
jmp 0x40140a
add ecx, 3
jmp case.0x4012d2.74
lea ebx, [esp + 0xae]
cmp dword [esp + 0x48], 4
jb 0x401f0e
mov dword [esp + 0x14], esi
mov eax, ecx
mov ecx, dword [esp + 0x50]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov dword [esp + 4], eax
mov eax, esi
shr eax, 0x18
and eax, 0xf
mov edx, dword [esp + 0xc]
movzx eax, byte [edx + eax]
mov byte [ebx], al
mov eax, esi
shr eax, 0x14
and eax, 0xf
movzx eax, byte [edx + eax]
mov byte [ebx + 1], al
mov eax, esi
shr eax, 0x10
and eax, 0xf
movzx eax, byte [edx + eax]
mov byte [ebx + 2], al
mov eax, esi
mov esi, dword [esp + 0x14]
shld esi, ecx, 0x10
shl ecx, 0x10
shr eax, 0xc
and eax, 0xf
movzx eax, byte [edx + eax]
mov byte [ebx + 3], al
mov eax, dword [esp + 4]
add ebx, 4
mov dword [esp + 0x14], esi
add eax, 0xfffffffc
jne 0x401eb0
lea esi, [esp + 0xae]
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 + 0x2c]
test eax, eax
js 0x401f56
mov byte [esp + 0x36], 0x2b
cmp eax, 0x3e7
ja 0x401f64
cmp eax, 0x63
jbe 0x40207d
mov dword [esp + 0x48], ebx
mov dword [esp + 4], esi
mov dword [esp + 0xc], 5
jmp 0x401f74
mov byte [esp + 0x36], 0x2d
neg eax
cmp eax, 0x3e7
jbe 0x401f3b
mov dword [esp + 0x48], ebx
mov dword [esp + 4], esi
mov dword [esp + 0xc], 6
mov dword [esp + 0x14], 0
mov dword [esp + 0x2c], eax
mov ecx, 0xcccccccd
mul ecx
shr edx, 2
and edx, 0xfffffffe
lea esi, [edx + edx*4]
mov eax, dword [esp + 0x2c]
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 ebx, dword [esp + 0x2c]
sub ebx, esi
mov esi, dword [esp + 0xc]
mov eax, esi
mov byte [esp + 0x34], al
or bl, 0x30
mov byte [esp + esi + 0x34], bl
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 + esi + 0x33], cl
mov eax, dword [esp + 0x2c]
cmp byte [esp + 0x14], 0
mov esi, dword [esp + 4]
mov ebx, dword [esp + 0x48]
jne 0x40279a
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 + 0xc]
mov byte [edx + eax - 2], cl
mov eax, dword [esp + 0x2c]
cmp eax, 0x3e8
jb 0x40279a
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 + 0xc]
mov byte [edx + eax - 3], cl
jmp 0x40279a
cmp eax, 9
jbe 0x40278f
mov dword [esp + 0x48], ebx
mov dword [esp + 4], esi
mov dword [esp + 0xc], 4
mov cl, 1
mov dword [esp + 0x14], ecx
jmp 0x401f7c
cmp edx, eax
jl 0x4020a7
mov edx, eax
sub edx, ecx
mov dword [esp + 0x18], edx
jmp 0x402458
mov edx, dword [esp + 8]
jmp 0x4020e2
mov dword [esp + 0x14], edx
mov dword [esp + 0x28], ebx
mov edx, dword [esp + 8]
jmp 0x4020e0
mov edx, dword [esp + 8]
mov esi, dword [esp + 4]
jmp 0x4020e2
mov dword [esp + 0x14], ecx
mov dword [esp + 0x28], ebx
mov edx, dword [esp + 8]
mov esi, dword [esp + 4]
mov ecx, eax
mov dword [esp + 8], edx
test edx, 0x100
jne 0x402270
mov dword [esp + 0x2c], ecx
movzx eax, byte [0x44f001]
xor al, 0x4a
mov byte [esp + 0x18], al
mov esi, 0x200
xor edx, edx
nop
nop
nop
nop
nop
nop
mov dword [esp + 0x48], edx
mov ecx, dword [esp + 0x2c]
cmp ecx, 0x5f5e100
mov edx, dword [esp + 0x14]
mov eax, edx
sbb eax, 0
jb 0x402150
push 0
push 0x5f5e100
push edx
push ecx
mov ebx, ecx
call fcn.0040c920
mov dword [esp + 0x14], edx
imul ecx, eax, 0x5f5e100
sub ebx, ecx
mov ecx, ebx
mov dword [esp + 0x2c], eax
jmp 0x402160
mov dword [esp + 0x14], 0
mov dword [esp + 0x2c], 0
lea eax, [esp + 0x64]
lea ebx, [eax + esi]
test byte [esp + 8], 0x40
jne 0x4021c0
mov dword [esp + 0xc], ebx
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
mov edx, 0x51eb851f
mul edx
shr edx, 5
imul eax, edx, 0x64
mov ebx, ecx
sub ebx, eax
movzx eax, word [ebx + ebx + str.00010203040506070809101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899]
mov word [esp + esi + 0x6a], ax
add esi, 0xfffffffe
cmp ecx, 0x64
mov ecx, edx
jae 0x402180
mov edx, dword [esp + 0x48]
mov ebx, dword [esp + 0xc]
jmp 0x402230
test ecx, ecx
mov edx, dword [esp + 0x48]
jne 0x4021fe
jmp 0x402230
mov dword [esp + 0xc], ebx
mov ebx, edx
mov eax, ecx
mov edx, 0xcccccccd
mul edx
shr edx, 3
lea eax, [edx + edx]
lea eax, [eax + eax*4]
sub ecx, eax
or cl, 0x30
mov byte [esp + esi + 0x6b], cl
dec esi
mov ecx, edx
mov edx, ebx
mov ebx, dword [esp + 0xc]
test ecx, ecx
je 0x402230
test byte [esp + 8], 0x40
je 0x4021d0
cmp edx, 3
je 0x402211
mov dword [esp + 0xc], ebx
inc edx
jmp 0x4021d4
movzx eax, byte [esp + 0x18]
mov byte [esp + esi + 0x6b], al
dec esi
dec ebx
xor edx, edx
test ecx, ecx
jne 0x4021fe
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp + 0x2c]
or eax, dword [esp + 0x14]
jne 0x402247
jmp 0x4022e8
inc edx
mov byte [esp + esi + 0x6b], 0x30
dec esi
lea eax, [esp + esi]
add eax, 0x6c
cmp eax, ebx
je 0x402110
test byte [esp + 8], 0x40
je 0x402241
cmp edx, 3
jne 0x402240
movzx eax, byte [esp + 0x18]
mov byte [esp + esi + 0x6b], al
dec esi
dec ebx
xor edx, edx
jmp 0x402247
mov eax, 1
cmp esi, 0xffffffff
je 0x40227c
mov eax, esi
xor edx, edx
mov esi, ecx
cmp ecx, 0x400
mov ecx, dword [esp + 0x14]
sbb ecx, 0
jb 0x402291
mov edx, eax
mov dword [esp + 0x60], esi
mov eax, dword [esp + 0x14]
mov dword [esp + 0x64], eax
fild qword [esp + 0x60]
xor eax, eax
mov ecx, dword [esp + 8]
test ecx, 0x800
sete al
fld qword [eax*8 + 0x44c550]
cmp ecx, 0x3ffffff
ja 0x4022e1
fld st(0)
fchs
fxch st(1)
fucom st(2)
fnstsw ax
sahf
jbe 0x402379
fxch st(2)
fucom st(1)
fnstsw ax
sahf
fxch st(2)
jbe 0x402379
fstp st(0)
fstp st(0)
jmp 0x4023fe
cmp byte [esp + esi + 0x6c], 0x30
sete al
cmp esi, 0x200
setne cl
mov byte [esp + 0x34], 0
mov byte [esp + 0x40], 0
mov dl, 0x2d
cmp byte [esp + 8], 0
js 0x40231e
mov dl, 0x20
test byte [esp + 8], 4
jne 0x40231e
mov dl, 0x2b
test byte [esp + 8], 2
je 0x402327
mov byte [esp + 0x40], 1
mov byte [esp + 0x41], dl
and cl, al
movzx eax, cl
add esi, eax
lea edx, [esp + esi]
add edx, 0x6c
lea eax, [esi - 0x200]
neg eax
mov dword [esp + 0x1c], eax
cmp esi, 0x200
jne 0x40235c
mov byte [edx - 1], 0x30
dec edx
mov dword [esp + 0x1c], 1
mov ecx, 1
jmp 0x40235e
mov ecx, eax
mov esi, dword [esp + 4]
xor eax, eax
test esi, esi
jg 0x40236a
xor esi, esi
add ecx, 0x3000000
mov dword [esp + 0x14], ecx
jmp 0x402aae
fdiv st(2), st(0)
mov eax, dword [esp + 8]
lea ecx, [eax + 0x1000000]
cmp eax, 0x2ffffff
ja 0x4023f6
fucom st(2)
fnstsw ax
sahf
jbe 0x40239e
fxch st(2)
fucom st(1)
fnstsw ax
sahf
fxch st(2)
ja 0x4023f6
fdiv st(2), st(0)
mov eax, dword [esp + 8]
lea ecx, [eax + 0x2000000]
cmp eax, 0x1ffffff
ja 0x4023f6
fucom st(2)
fnstsw ax
sahf
jbe 0x4023c3
fxch st(2)
fucom st(1)
fnstsw ax
sahf
fxch st(2)
ja 0x4023f6
fdiv st(2), st(0)
mov eax, dword [esp + 8]
lea ecx, [eax + 0x3000000]
cmp eax, 0xffffff
ja 0x4023f6
fucom st(2)
fnstsw ax
sahf
jbe 0x403647
fxch st(2)
fucom st(1)
fstp st(1)
fnstsw ax
sahf
fldz
fxch st(1)
fxch st(2)
jbe 0x403647
fstp st(0)
fstp st(0)
mov dword [esp + 8], ecx
mov eax, 6
cmp edx, 0xffffffff
je 0x40240a
mov eax, edx
sub esp, 0x18
fstp qword [esp + 8]
mov ecx, eax
lea eax, [esp + 0x54]
mov dword [esp + 4], eax
lea eax, [esp + 0x84]
mov dword [esp], eax
mov dword [esp + 0x30], ecx
mov dword [esp + 0x10], ecx
lea ecx, [esp + 0x28]
lea edx, [esp + 0x34]
call fcn.004036a0
add esp, 0x18
test eax, eax
je 0x402458
mov ecx, dword [esp + 8]
mov eax, ecx
not eax
or eax, 0xffffff7f
add ecx, eax
add ecx, 0x81
jmp 0x40245c
mov ecx, dword [esp + 8]
mov byte [esp + 0x34], 0
mov byte [esp + 0x40], 0
mov al, 0x2d
mov dword [esp + 8], ecx
test cl, cl
js 0x402482
mov al, 0x20
test byte [esp + 8], 4
jne 0x402482
mov al, 0x2b
test byte [esp + 8], 2
je 0x40248b
mov byte [esp + 0x40], 1
mov byte [esp + 0x41], al
mov ecx, dword [esp + 0x3c]
cmp ecx, 0x7000
jne 0x4024a8
mov dword [esp + 0x14], 0
mov edx, dword [esp + 0x10]
jmp 0x402aaa
test ecx, ecx
jle 0x402530
xor esi, esi
test byte [esp + 8], 0x40
je 0x4024d0
mov esi, 0x258
sub esi, ecx
mov eax, esi
mov edx, 0xaaaaaaab
mul edx
shr edx, 1
lea eax, [edx + edx*2]
sub esi, eax
cmp ecx, dword [esp + 0x1c]
jae 0x4025c0
xor eax, eax
lea ebx, [esp + 0xac]
jmp 0x40250a
mov edx, ebx
mov ecx, dword [esp + 0x10]
movzx ecx, byte [ecx + eax]
inc ebx
mov byte [edx], cl
inc eax
mov ecx, dword [esp + 0x3c]
cmp eax, ecx
jae 0x402640
test byte [esp + 8], 0x40
je 0x4024f0
inc esi
cmp esi, 4
jne 0x4024f0
mov esi, dword [esp + 8]
and esi, 0x40
shr esi, 6
movzx ecx, byte [0x44f001]
xor cl, 0x4a
mov byte [ebx], cl
inc ebx
jmp 0x4024f0
mov byte [esp + 0xac], 0x30
lea eax, [esp + 0xad]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x18]
test eax, eax
je 0x402568
movzx eax, byte [section..data]
mov byte [esp + 0xad], al
lea eax, [esp + 0xae]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x18]
neg ecx
mov ebx, eax
cmp eax, ecx
jl 0x402572
mov ebx, ecx
test ebx, ebx
je 0x4027cd
mov ecx, dword [esp + 4]
mov eax, ecx
and eax, 3
je 0x4027c9
mov eax, ebx
mov ebx, ecx
not ebx
and ebx, 3
mov dword [esp + 0x14], eax
lea esi, [eax - 1]
cmp ebx, esi
jb 0x40259f
mov ebx, esi
lea eax, [ebx + 1]
push eax
push 0x30
push ecx
call fcn.0040ca10
mov ecx, dword [esp + 0x10]
add esp, 0xc
add ecx, ebx
inc ecx
sub esi, ebx
mov ebx, dword [esp + 0x14]
jmp 0x4027d3
mov dword [esp + 0xc], esi
xor eax, eax
mov esi, 0xffffffff
mov ebx, 1
lea ecx, [esp + 0xac]
jmp 0x4025fd
mov edx, ecx
mov ecx, dword [esp + 0x10]
movzx ecx, byte [ecx + ebx - 1]
mov byte [edx], cl
lea ecx, [edx + 1]
inc eax
dec esi
inc ebx
cmp eax, dword [esp + 0x1c]
jae 0x4026cc
test byte [esp + 8], 0x40
je 0x4025e0
mov edx, dword [esp + 0xc]
inc edx
mov dword [esp + 0xc], edx
cmp edx, 4
jne 0x4025e0
mov edx, dword [esp + 8]
and edx, 0x40
shr edx, 6
mov dword [esp + 0xc], edx
mov dword [esp + 4], ecx
movzx ecx, byte [0x44f001]
mov edx, ecx
add dl, cl
and dl, 0x94
sub cl, dl
add cl, 0x4a
mov edx, dword [esp + 4]
mov byte [edx], cl
inc edx
jmp 0x4025e2
mov esi, ebx
mov dword [esp + 4], ebx
cmp dword [esp + 0x18], 0
je 0x402662
movzx ecx, byte [section..data]
mov byte [edx + 1], cl
add edx, 2
mov ecx, dword [esp + 0x3c]
mov dword [esp + 4], edx
mov edx, dword [esp + 0x1c]
mov esi, edx
sub esi, ecx
cmp esi, dword [esp + 0x18]
jbe 0x40267a
mov edx, dword [esp + 0x18]
add edx, ecx
mov dword [esp + 0x1c], edx
cmp eax, edx
jae 0x4026ac
mov esi, dword [esp + 4]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov ecx, dword [esp + 0x10]
movzx ecx, byte [ecx + eax]
mov byte [esi], cl
inc esi
inc eax
mov edx, dword [esp + 0x1c]
cmp eax, edx
jb 0x402690
mov dword [esp + 4], esi
mov ecx, dword [esp + 0x3c]
lea eax, [esp + 0xac]
sub ebx, eax
add ebx, 0x3000000
mov eax, dword [esp + 0x18]
sub eax, edx
add eax, ecx
mov ecx, dword [esp + 4]
jmp 0x402953
mov dword [esp + 0x14], edx
mov edx, dword [esp + 0x3c]
mov dword [esp + 4], edx
sub edx, eax
jbe 0x402929
test byte [esp + 8], 0x40
jne 0x4028e8
cmp dword [esp + 4], eax
je 0x402752
mov eax, ecx
and eax, 3
je 0x402752
mov edx, 2
sub edx, dword [esp + 0x14]
and edx, 3
mov eax, dword [esp + 4]
sub eax, ebx
mov dword [esp + 0x2c], edx
mov dword [esp + 0x48], edx
cmp edx, eax
mov edx, dword [esp + 0x2c]
jb 0x40271c
mov edx, eax
mov dword [esp + 0x2c], edx
lea eax, [edx + 1]
push eax
push 0x30
push ecx
call fcn.0040ca10
add esp, 0xc
add esi, dword [esp + 4]
mov eax, dword [esp + 0x48]
cmp esi, eax
jb 0x40273d
mov esi, eax
mov edx, dword [esp + 4]
sub edx, esi
sub edx, ebx
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x2c]
add ecx, eax
add ecx, 2
mov ebx, edx
cmp edx, 4
jb 0x402777
mov esi, ebx
and esi, 0xfffffffc
push esi
push 0x30
push ecx
mov dword [esp + 0x10], ecx
call fcn.0040ca10
mov ecx, dword [esp + 0x10]
add esp, 0xc
add ecx, esi
and ebx, 3
mov eax, dword [esp + 0xc]
test ebx, ebx
jne 0x4028fd
jmp 0x402929
mov ecx, edx
jmp 0x402a1d
mov byte [esp + 0x34], 3
or al, 0x30
mov byte [esp + 0x37], al
add dword [esp + 0x28], 8
mov eax, ebx
sub eax, esi
mov dword [esp + 0x3c], eax
lea eax, [esp + 0xac]
sub ebx, eax
mov dword [esp + 0x1c], ebx
xor esi, esi
mov dword [esp + 0x14], 0x3000001
mov edx, eax
mov eax, dword [esp + 0x18]
jmp 0x402aae
mov esi, ebx
jmp 0x4027d3
mov esi, ebx
mov ecx, dword [esp + 4]
cmp esi, 4
jl 0x4027fa
nop
nop
nop
nop
nop
nop
nop
nop
mov dword [ecx], 0x30303030
add ecx, 4
mov eax, esi
xor eax, 4
and esi, 0xfffffffb
add esi, esi
sub esi, eax
cmp esi, 3
jg 0x4027e0
test esi, esi
je 0x402818
push esi
push 0x30
push ecx
mov dword [esp + 0x10], ecx
call fcn.0040ca10
add esp, 0xc
mov eax, dword [esp + 4]
add eax, esi
mov esi, eax
jmp 0x40281a
mov esi, ecx
mov eax, dword [esp + 0x1c]
mov ecx, eax
xor ecx, ebx
mov edx, eax
and edx, ebx
lea ecx, [ecx + edx*2]
cmp ecx, dword [esp + 0x18]
jle 0x402839
mov eax, dword [esp + 0x18]
sub eax, ebx
mov dword [esp + 0x1c], eax
test eax, eax
mov dword [esp + 0xc], eax
je 0x402878
mov ecx, eax
and ecx, 3
je 0x40287c
mov dword [esp + 0x14], ebx
xor edx, edx
mov eax, esi
mov esi, dword [esp + 0x10]
lea ebx, [esi + 1]
mov dword [esp + 0x10], ebx
movzx ebx, byte [esi]
mov byte [eax + edx], bl
inc edx
cmp ecx, edx
jne 0x402850
add eax, edx
mov esi, eax
mov ecx, dword [esp + 0xc]
mov eax, ecx
sub eax, edx
mov ebx, dword [esp + 0x14]
jmp 0x40287e
mov ecx, esi
jmp 0x4028d0
mov ecx, eax
cmp ecx, 4
mov ecx, esi
jb 0x4028d0
mov edx, dword [esp + 0x10]
lea esi, [edx + 1]
mov dword [esp + 0x10], esi
movzx edx, byte [edx]
mov byte [ecx], dl
mov edx, dword [esp + 0x10]
lea esi, [edx + 1]
mov dword [esp + 0x10], esi
movzx edx, byte [edx]
mov byte [ecx + 1], dl
mov edx, dword [esp + 0x10]
lea esi, [edx + 1]
mov dword [esp + 0x10], esi
movzx edx, byte [edx]
mov byte [ecx + 2], dl
mov edx, dword [esp + 0x10]
lea esi, [edx + 1]
mov dword [esp + 0x10], esi
movzx edx, byte [edx]
mov byte [ecx + 3], dl
add ecx, 4
add eax, 0xfffffffc
jne 0x402885
add ebx, dword [esp + 0xc]
mov eax, dword [esp + 0x18]
sub eax, ebx
mov ebx, 0x3000001
jmp 0x402953
mov esi, edx
jmp 0x402a85
mov eax, dword [esp + 0xc]
mov ebx, edx
test ebx, ebx
jne 0x4028fd
jmp 0x402929
mov byte [ecx], 0x30
dec ebx
inc ecx
test ebx, ebx
je 0x402929
test byte [esp + 8], 0x40
je 0x4028f4
inc eax
cmp eax, 4
jne 0x4028f4
movzx eax, byte [0x44f001]
mov edx, ecx
mov ecx, eax
add cl, al
and cl, 0x94
sub al, cl
mov ecx, edx
add al, 0x4a
mov byte [edx], al
xor eax, eax
inc ecx
test ebx, ebx
jne 0x4028fd
mov ebx, ecx
lea eax, [esp + 0xac]
sub ebx, eax
add ebx, 0x3000000
cmp dword [esp + 0x18], 0
je 0x402951
movzx eax, byte [section..data]
mov byte [ecx], al
mov eax, dword [esp + 0x18]
inc ecx
jmp 0x402953
xor eax, eax
mov dword [esp + 0x18], eax
mov esi, dword [esp + 8]
test esi, 0x100
mov dword [esp + 0x14], ebx
je 0x4029f5
mov eax, esi
and eax, 0x400
sete byte [esp + 0x34]
mov byte [esp + 0x35], 0x20
cmp esi, 0x1000000
jb 0x4029f5
mov dword [esp + 4], ecx
mov ecx, esi
shr ecx, 0x18
test esi, 0x800
jne 0x4029b8
movzx ecx, byte [ecx + str._kMGT]
mov edx, esi
shl edx, 0x15
sar edx, 0x1f
lea esi, [esp + 0x34]
mov byte [edx + esi + 2], cl
cmp eax, 1
mov eax, 0
adc al, 1
jmp 0x4029ed
movzx ecx, byte [ecx + str._KMGT]
mov edx, eax
shr edx, 0xa
neg edx
cmp eax, 1
mov eax, 0
adc al, 1
mov byte [esp + edx + 0x36], cl
mov ecx, esi
and ecx, 0x1800
cmp ecx, 0x800
jne 0x4029ed
movzx eax, al
mov byte [esp + eax + 0x35], 0x69
inc eax
mov ecx, dword [esp + 4]
mov byte [esp + 0x34], al
mov eax, ecx
mov edx, ecx
lea ecx, [esp + 0xac]
xor eax, ecx
and edx, dword [esp + 0x5c]
add edx, edx
sub edx, eax
mov dword [esp + 0x1c], edx
xor esi, esi
mov edx, ecx
mov eax, dword [esp + 0x18]
jmp 0x402aae
mov ebx, eax
mov dword [esp + 4], ebx
mov esi, ebx
mov dword [esp + 0x18], ecx
mov eax, ecx
mov dword [esp + 0xc], edx
nop
nop
nop
mov ebx, eax
mov ecx, esi
cmp esi, 4
jb 0x402a5a
mov eax, dword [ebx]
mov edx, 0x1010100
sub edx, eax
or edx, eax
not edx
lea eax, [ebx + 4]
lea esi, [ecx - 4]
test edx, 0x80808080
mov edx, dword [esp + 0xc]
je 0x402a30
jmp 0x402a62
test ecx, ecx
je 0x403639
mov eax, edx
mov edx, dword [esp + 4]
add dword [esp + 0x18], edx
xor edx, edx
mov esi, ebx
cmp byte [esi + edx], 0
je 0x402a81
inc edx
cmp ecx, edx
jne 0x402a70
mov esi, dword [esp + 0x18]
jmp 0x402a83
add esi, edx
mov edx, eax
add dword [esp + 0x28], 4
sub esi, edx
mov dword [esp + 0x1c], esi
mov byte [esp + 0x40], 0
mov byte [esp + 0x34], 0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x14], 0
xor eax, eax
xor esi, esi
mov dword [esp + 0xc], edx
mov dword [esp + 0x18], eax
mov ecx, dword [esp + 0x1c]
cmp esi, ecx
jg 0x402ac0
mov esi, ecx
movsx eax, byte [esp + 0x40]
mov ebx, esi
movsx esi, byte [esp + 0x34]
mov edx, dword [esp + 0x18]
mov dword [esp + 4], ebx
add edx, ebx
add edx, eax
add edx, esi
cmp dword [esp + 0x30], edx
jg 0x402ae4
mov dword [esp + 0x30], edx
sub dword [esp + 0x30], edx
sub dword [esp + 4], ecx
mov ecx, dword [esp + 8]
test cl, 1
mov esi, dword [esp + 0x20]
jne 0x402b0c
test cl, 0x10
mov edx, dword [esp + 0xc]
jne 0x402b12
mov dword [esp + 8], 0
jmp 0x402b30
mov edx, dword [esp + 0xc]
jmp 0x402b30
mov ecx, dword [esp + 4]
cmp dword [esp + 0x30], ecx
jg 0x402b20
mov dword [esp + 0x30], ecx
mov ecx, dword [esp + 0x30]
mov dword [esp + 4], ecx
mov dword [esp + 0x30], 0
mov ecx, dword [esp + 0x30]
add ecx, dword [esp + 4]
je 0x402fde
test byte [esp + 8], 1
jne 0x402c9d
cmp dword [esp + 0x30], 0
jg 0x402b76
jmp 0x402c9d
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x30]
sub eax, ecx
mov dword [esp + 0x30], eax
test eax, eax
jle 0x402c98
mov ecx, esi
sub ecx, edi
add ecx, 0x200
mov ebx, dword [esp + 0x30]
mov eax, ebx
cmp ebx, ecx
jl 0x402b8c
mov eax, ecx
mov ecx, dword [esp + 0x30]
cmp dword [ebp + 8], 0
je 0x402b98
mov ecx, eax
test ecx, ecx
mov dword [esp + 0x24], ecx
mov dword [esp + 0x20], esi
je 0x402bf0
mov eax, edi
and eax, 3
je 0x402bf0
mov esi, edi
not esi
and esi, 3
lea ebx, [ecx - 1]
cmp esi, ebx
jb 0x402bbb
mov esi, ebx
lea eax, [esi + 1]
push eax
push 0x20
push edi
call fcn.0040ca10
mov eax, ebx
add esp, 0xc
add edi, esi
inc edi
sub eax, esi
mov esi, dword [esp + 0x20]
mov edx, dword [esp + 0xc]
mov ecx, dword [esp + 0x24]
cmp eax, 4
jge 0x402bf7
jmp 0x402c37
mov eax, ecx
cmp eax, 4
jl 0x402c37
mov ecx, eax
mov ebx, eax
cmp eax, 7
jl 0x402c05
mov eax, 7
neg eax
lea esi, [ebx + eax]
add esi, 3
and esi, 0xfffffffc
lea eax, [esi + 4]
push eax
push 0x20
push edi
call fcn.0040ca10
mov eax, ebx
add esp, 0xc
add edi, esi
add edi, 4
sub eax, esi
add eax, 0xfffffffc
mov esi, dword [esp + 0x20]
mov edx, dword [esp + 0xc]
mov ecx, dword [esp + 0x24]
test eax, eax
je 0x402c57
push eax
push 0x20
push edi
mov ebx, esi
mov esi, eax
call fcn.0040ca10
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x18]
add esp, 0xc
add edi, esi
mov esi, ebx
cmp dword [ebp + 8], 0
je 0x402b64
mov eax, edi
sub eax, esi
lea ecx, [eax + 1]
cmp ecx, 0x200
jl 0x402b60
add dword [esp + 0x4c], eax
push eax
push dword [ebp + 0xc]
push esi
call dword [ebp + 8]
add esp, 0xc
test eax, eax
je 0x40367c
mov edi, eax
mov esi, eax
mov edx, dword [esp + 0xc]
jmp 0x402b60
movzx eax, byte [esp + 0x40]
lea ecx, [esp + 0x41]
mov dword [esp + 0x10], ecx
jmp 0x402cbd
mov edi, eax
mov esi, eax
mov edx, dword [esp + 0xc]
movzx eax, byte [esp + 0x40]
test al, al
je 0x402dcd
movsx ecx, al
mov eax, ecx
cmp dword [ebp + 8], 0
je 0x402ced
mov eax, edi
sub eax, esi
mov edx, eax
xor edx, 0x200
not eax
and eax, 0x200
add eax, eax
sub eax, edx
cmp eax, ecx
jl 0x402ced
mov eax, ecx
sub cl, al
mov byte [esp + 0x40], cl
test eax, eax
je 0x402d8b
mov ecx, eax
and ecx, 3
je 0x402dc0
mov dword [esp + 0x24], eax
mov ebx, esi
xor edx, edx
nop
nop
mov esi, dword [esp + 0x10]
lea eax, [esi + 1]
mov dword [esp + 0x10], eax
movzx eax, byte [esi]
mov byte [edi + edx], al
inc edx
cmp ecx, edx
jne 0x402d10
add edi, edx
mov eax, dword [esp + 0x24]
mov ecx, eax
sub ecx, edx
mov esi, ebx
cmp eax, 4
jb 0x402d8b
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp + 0x10]
lea edx, [eax + 1]
mov dword [esp + 0x10], edx
movzx eax, byte [eax]
mov byte [edi], al
mov eax, dword [esp + 0x10]
lea edx, [eax + 1]
mov dword [esp + 0x10], edx
movzx eax, byte [eax]
mov byte [edi + 1], al
mov eax, dword [esp + 0x10]
lea edx, [eax + 1]
mov dword [esp + 0x10], edx
movzx eax, byte [eax]
mov byte [edi + 2], al
mov eax, dword [esp + 0x10]
lea edx, [eax + 1]
mov dword [esp + 0x10], edx
movzx eax, byte [eax]
mov byte [edi + 3], al
add edi, 4
add ecx, 0xfffffffc
jne 0x402d40
cmp dword [ebp + 8], 0
je 0x402cb4
mov eax, edi
sub eax, esi
cmp eax, 0x1ff
jl 0x402cb4
add dword [esp + 0x4c], eax
push eax
push dword [ebp + 0xc]
push esi
call dword [ebp + 8]
add esp, 0xc
test eax, eax
jne 0x402cb0
jmp 0x40367c
mov ecx, eax
cmp eax, 4
jae 0x402d40
jmp 0x402d8b
mov dword [esp + 0x20], esi
mov eax, dword [esp + 0x14]
mov ecx, eax
shr ecx, 0x18
mov dword [esp + 0x24], ecx
xor esi, esi
test byte [esp + 8], 0x40
je 0x402e01
and eax, 0xffffff
add eax, dword [esp + 4]
mov esi, dword [esp + 0x24]
lea ecx, [esi + 1]
xor edx, edx
div ecx
sub esi, edx
mov edx, dword [esp + 0xc]
cmp dword [esp + 4], 0
jle 0x40362c
mov eax, dword [esp + 4]
jmp 0x402e34
mov eax, dword [esp + 4]
sub eax, dword [esp + 0x14]
test eax, eax
mov edx, dword [esp + 0xc]
jle 0x402fd5
mov dword [esp + 4], eax
mov ecx, eax
cmp dword [ebp + 8], 0
je 0x402e63
mov ecx, edi
sub ecx, dword [esp + 0x20]
mov eax, ecx
not eax
and ecx, 0xfffffdff
and eax, 0x200
sub eax, ecx
mov ecx, dword [esp + 4]
mov edx, ecx
cmp ecx, eax
jl 0x402e63
mov ecx, eax
test byte [esp + 8], 0x40
mov dword [esp + 0x14], ecx
jne 0x402ee0
test ecx, ecx
je 0x402ea3
mov eax, edi
and eax, 3
je 0x402ea3
mov ebx, edi
not ebx
and ebx, 3
dec ecx
cmp ebx, ecx
jb 0x402e87
mov ebx, ecx
lea eax, [ebx + 1]
push eax
push 0x30
push edi
mov dword [esp + 0x38], ecx
call fcn.0040ca10
mov ecx, dword [esp + 0x38]
add esp, 0xc
add edi, ebx
inc edi
sub ecx, ebx
cmp ecx, 4
jl 0x402ee0
mov eax, ecx
cmp ecx, 7
jl 0x402eb4
mov eax, 7
neg eax
lea ebx, [ecx + eax]
add ebx, 3
and ebx, 0xfffffffc
lea eax, [ebx + 4]
push eax
push 0x30
push edi
mov dword [esp + 0x38], ecx
call fcn.0040ca10
mov ecx, dword [esp + 0x38]
add esp, 0xc
add edi, ebx
add edi, 4
sub ecx, ebx
add ecx, 0xfffffffc
test ecx, ecx
je 0x402f30
test cl, 1
jne 0x402f00
mov eax, ecx
cmp ecx, 1
jne 0x402f97
jmp 0x402f30
mov al, 0x30
test byte [esp + 8], 0x40
je 0x402f1d
cmp esi, dword [esp + 0x24]
jne 0x402f1c
movzx eax, byte [0x44f001]
xor al, 0x4a
xor esi, esi
jmp 0x402f1d
inc esi
mov byte [edi], al
inc edi
lea eax, [ecx - 1]
cmp ecx, 1
jne 0x402f97
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [ebp + 8], 0
je 0x402e20
mov eax, edi
mov edx, dword [esp + 0x20]
sub eax, edx
lea ecx, [eax + 1]
cmp ecx, 0x200
jl 0x402e20
add dword [esp + 0x4c], eax
push eax
push dword [ebp + 0xc]
push edx
call dword [ebp + 8]
add esp, 0xc
test eax, eax
je 0x40367c
mov edi, eax
mov dword [esp + 0x20], eax
jmp 0x402e20
movzx ecx, byte [0x44f001]
xor cl, 0x4a
xor esi, esi
mov byte [edi + 1], cl
add edi, 2
add eax, 0xfffffffe
je 0x402f30
mov cl, 0x30
test byte [esp + 8], 0x40
je 0x402fc1
cmp esi, dword [esp + 0x24]
jne 0x402fc0
movzx edx, byte [0x44f001]
xor dl, 0x4a
xor esi, esi
jmp 0x402fc3
inc esi
mov dl, 0x30
mov byte [edi], dl
test byte [esp + 8], 0x40
je 0x402f8c
cmp esi, dword [esp + 0x24]
je 0x402f80
inc esi
jmp 0x402f8c
movzx eax, byte [esp + 0x40]
mov esi, dword [esp + 0x20]
lea ecx, [esp + 0x41]
mov dword [esp + 0x10], ecx
jmp 0x402ffd
mov edi, eax
mov esi, eax
mov edx, dword [esp + 0xc]
movzx eax, byte [esp + 0x40]
test al, al
je 0x4030fd
movsx ebx, al
mov edx, esi
sub edx, edi
add edx, 0x200
cmp edx, ebx
jl 0x403018
mov edx, ebx
cmp dword [ebp + 8], 0
je 0x403020
mov ebx, edx
sub al, bl
mov byte [esp + 0x40], al
test ebx, ebx
je 0x4030bb
mov eax, ebx
and eax, 3
je 0x4030f0
mov dword [esp + 0x20], esi
xor edx, edx
nop
mov esi, dword [esp + 0x10]
lea ecx, [esi + 1]
mov dword [esp + 0x10], ecx
movzx ecx, byte [esi]
mov byte [edi + edx], cl
inc edx
cmp eax, edx
jne 0x403040
add edi, edx
mov eax, ebx
sub eax, edx
mov esi, dword [esp + 0x20]
cmp ebx, 4
jb 0x4030bb
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov ecx, dword [esp + 0x10]
lea edx, [ecx + 1]
mov dword [esp + 0x10], edx
movzx ecx, byte [ecx]
mov byte [edi], cl
mov ecx, dword [esp + 0x10]
lea edx, [ecx + 1]
mov dword [esp + 0x10], edx
movzx ecx, byte [ecx]
mov byte [edi + 1], cl
mov ecx, dword [esp + 0x10]
lea edx, [ecx + 1]
mov dword [esp + 0x10], edx
movzx ecx, byte [ecx]
mov byte [edi + 2], cl
mov ecx, dword [esp + 0x10]
lea edx, [ecx + 1]
mov dword [esp + 0x10], edx
movzx ecx, byte [ecx]
mov byte [edi + 3], cl
add edi, 4
add eax, 0xfffffffc
jne 0x403070
cmp dword [ebp + 8], 0
je 0x402ff4
mov eax, edi
sub eax, esi
cmp eax, 0x1ff
jl 0x402ff4
add dword [esp + 0x4c], eax
push eax
push dword [ebp + 0xc]
push esi
call dword [ebp + 8]
add esp, 0xc
test eax, eax
jne 0x402ff0
jmp 0x40367c
mov eax, ebx
cmp ebx, 4
jae 0x403070
jmp 0x4030bb
mov dword [esp + 0x20], esi
mov ecx, dword [esp + 0x1c]
test ecx, ecx
jne 0x403362
mov edx, dword [esp + 0x18]
test edx, edx
mov esi, dword [esp + 0x20]
jne 0x40325e
lea eax, [esp + 0x35]
mov dword [esp + 0x10], eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx ecx, byte [esp + 0x34]
test cl, cl
je 0x40350d
movsx eax, cl
mov edx, esi
sub edx, edi
add edx, 0x200
cmp edx, eax
jl 0x403150
mov edx, eax
cmp dword [ebp + 8], 0
je 0x403158
mov eax, edx
movzx ecx, cl
sub ecx, eax
mov byte [esp + 0x34], cl
test eax, eax
je 0x4031fb
mov ecx, eax
and ecx, 3
je 0x403240
mov dword [esp + 0x20], esi
xor edx, edx
nop
nop
nop
nop
nop
nop
mov esi, dword [esp + 0x10]
lea ebx, [esi + 1]
mov dword [esp + 0x10], ebx
movzx ebx, byte [esi]
mov byte [edi + edx], bl
inc edx
cmp ecx, edx
jne 0x403180
add edi, edx
mov ecx, eax
sub ecx, edx
mov esi, dword [esp + 0x20]
cmp eax, 4
jb 0x4031fb
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp + 0x10]
lea edx, [eax + 1]
mov dword [esp + 0x10], edx
movzx eax, byte [eax]
mov byte [edi], al
mov eax, dword [esp + 0x10]
lea edx, [eax + 1]
mov dword [esp + 0x10], edx
movzx eax, byte [eax]
mov byte [edi + 1], al
mov eax, dword [esp + 0x10]
lea edx, [eax + 1]
mov dword [esp + 0x10], edx
movzx eax, byte [eax]
mov byte [edi + 2], al
mov eax, dword [esp + 0x10]
lea edx, [eax + 1]
mov dword [esp + 0x10], edx
movzx eax, byte [eax]
mov byte [edi + 3], al
add edi, 4
add ecx, 0xfffffffc
jne 0x4031b0
cmp dword [ebp + 8], 0
je 0x403130
mov eax, edi
sub eax, esi
lea ecx, [eax + 1]
cmp ecx, 0x200
jl 0x403130
add dword [esp + 0x4c], eax
push eax
push dword [ebp + 0xc]
push esi
call dword [ebp + 8]
add esp, 0xc
test eax, eax
je 0x40367c
mov edi, eax
mov esi, eax
jmp 0x403130
mov ecx, eax
cmp eax, 4
jae 0x4031b0
jmp 0x4031fb
mov edx, dword [esp + 0x18]
sub edx, dword [esp + 0x24]
je 0x40311d
mov ecx, esi
sub ecx, edi
add ecx, 0x200
mov eax, edx
mov dword [esp + 0x18], edx
cmp edx, ecx
jl 0x403274
mov eax, ecx
mov ecx, dword [esp + 0x18]
cmp dword [ebp + 8], 0
je 0x403280
mov ecx, eax
test ecx, ecx
mov dword [esp + 0x24], ecx
mov dword [esp + 0x20], esi
je 0x4032c0
mov eax, edi
and eax, 3
je 0x4032c0
mov ebx, edi
not ebx
and ebx, 3
lea esi, [ecx - 1]
cmp ebx, esi
jb 0x4032a3
mov ebx, esi
lea eax, [ebx + 1]
push eax
push 0x30
push edi
call fcn.0040ca10
add esp, 0xc
add edi, ebx
inc edi
sub esi, ebx
cmp esi, 4
jge 0x4032c7
jmp 0x4032f7
mov esi, ecx
cmp esi, 4
jl 0x4032f7
mov eax, esi
cmp esi, 7
jl 0x4032d3
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.0040ca10
add esp, 0xc
add edi, ebx
add edi, 4
sub esi, ebx
add esi, 0xfffffffc
test esi, esi
je 0x403309
push esi
push 0x30
push edi
call fcn.0040ca10
add esp, 0xc
add edi, esi
mov esi, dword [esp + 0x20]
cmp dword [ebp + 8], 0
je 0x403250
mov ecx, edi
not ecx
and ecx, esi
mov eax, esi
not eax
and eax, edi
sub eax, ecx
cmp eax, 0x1ff
jl 0x403250
add dword [esp + 0x4c], eax
push eax
push dword [ebp + 0xc]
push esi
call dword [ebp + 8]
add esp, 0xc
test eax, eax
je 0x40367c
mov edi, eax
mov esi, eax
jmp 0x403250
mov edx, ebx
mov esi, dword [esp + 0x24]
mov ecx, dword [esp + 0xc]
sub ecx, esi
je 0x40310d
mov esi, ecx
cmp dword [ebp + 8], 0
je 0x40337d
mov eax, dword [esp + 0x20]
sub eax, edi
add eax, 0x200
mov esi, ecx
cmp ecx, eax
jl 0x40337d
mov esi, eax
cmp esi, 4
mov dword [esp + 0x24], esi
mov dword [esp + 0xc], ecx
jl 0x4033e0
lea ebx, [esi - 4]
mov eax, ebx
shr eax, 2
inc eax
and eax, 7
je 0x4033e4
mov dword [esp + 4], ebx
shl eax, 2
mov ebx, edx
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov ecx, dword [ebx + edx]
mov dword [edi + edx], ecx
add edx, 4
cmp eax, edx
jne 0x4033b0
add edi, edx
mov esi, dword [esp + 0x24]
mov ecx, esi
sub ecx, edx
add ebx, edx
mov eax, ecx
mov edx, ebx
mov ebx, dword [esp + 4]
cmp ebx, 0x1c
jae 0x4033f0
jmp 0x403431
mov eax, esi
jmp 0x403431
mov ecx, esi
cmp ebx, 0x1c
jb 0x403431
nop
nop
nop
nop
nop
mov eax, dword [edx]
mov dword [edi], eax
mov eax, dword [edx + 4]
mov dword [edi + 4], eax
mov eax, dword [edx + 8]
mov dword [edi + 8], eax
mov eax, dword [edx + 0xc]
mov dword [edi + 0xc], eax
mov eax, dword [edx + 0x10]
mov dword [edi + 0x10], eax
mov eax, dword [edx + 0x14]
mov dword [edi + 0x14], eax
mov eax, dword [edx + 0x18]
mov dword [edi + 0x18], eax
mov eax, dword [edx + 0x1c]
mov dword [edi + 0x1c], eax
add edi, 0x20
add edx, 0x20
lea eax, [ecx - 0x20]
add ecx, 0xffffffdc
cmp ecx, 0xfffffff8
mov ecx, eax
jb 0x4033f0
test eax, eax
je 0x4034b1
mov ecx, eax
and ecx, 7
je 0x403500
mov esi, edx
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx ebx, byte [esi + edx]
mov byte [edi + edx], bl
inc edx
cmp ecx, edx
jne 0x403450
add edi, edx
mov ecx, eax
sub ecx, edx
add esi, edx
mov edx, esi
mov esi, dword [esp + 0x24]
cmp eax, 8
jb 0x4034b1
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]
mov byte [edi + 7], al
add edi, 8
add edx, 8
add ecx, 0xfffffff8
jne 0x403470
cmp dword [ebp + 8], 0
je 0x403356
mov ebx, edx
mov ecx, edi
not ecx
mov edx, dword [esp + 0x20]
and ecx, edx
mov eax, edx
not eax
and eax, edi
sub eax, ecx
lea ecx, [eax + 1]
cmp ecx, 0x200
jl 0x403350
add dword [esp + 0x4c], eax
push eax
push dword [ebp + 0xc]
push edx
call dword [ebp + 8]
add esp, 0xc
test eax, eax
je 0x40367c
mov edi, eax
mov dword [esp + 0x20], eax
jmp 0x403350
mov ecx, eax
cmp eax, 8
jae 0x403470
jmp 0x4034b1
test byte [esp + 8], 1
je 0x40351d
cmp dword [esp + 0x30], 0
jle 0x40351d
jne 0x403536
mov ecx, dword [esp + 0x58]
inc ecx
jmp 0x40104a
sub dword [esp + 0x30], edx
je 0x40351d
mov ecx, esi
sub ecx, edi
add ecx, 0x200
mov edx, dword [esp + 0x30]
mov eax, edx
cmp edx, ecx
jl 0x40354c
mov eax, ecx
mov edx, dword [esp + 0x30]
cmp dword [ebp + 8], 0
je 0x403558
mov edx, eax
test edx, edx
mov dword [esp + 0x20], esi
je 0x4035a0
mov eax, edi
and eax, 3
je 0x4035a0
mov esi, edi
not esi
and esi, 3
mov dword [esp + 8], edx
lea ebx, [edx - 1]
cmp esi, ebx
jb 0x40357b
mov esi, ebx
lea eax, [esi + 1]
push eax
push 0x20
push edi
call fcn.0040ca10
add esp, 0xc
add edi, esi
inc edi
sub ebx, esi
mov esi, dword [esp + 0x20]
mov edx, dword [esp + 8]
cmp ebx, 4
jl 0x4035ca
jmp 0x4035b0
mov ebx, edx
cmp ebx, 4
jl 0x4035ca
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov dword [edi], 0x20202020
add edi, 4
mov eax, ebx
xor eax, 4
and ebx, 0xfffffffb
add ebx, ebx
sub ebx, eax
cmp ebx, 3
jg 0x4035b0
test ebx, ebx
je 0x4035e4
push ebx
push 0x20
push edi
mov esi, edx
call fcn.0040ca10
mov edx, esi
mov esi, dword [esp + 0x2c]
add esp, 0xc
add edi, ebx
mov ebx, dword [ebp + 8]
test ebx, ebx
je 0x403530
mov ecx, edi
not ecx
and ecx, esi
mov eax, esi
not eax
and eax, edi
sub eax, ecx
cmp eax, 0x1ff
jl 0x403530
mov dword [esp + 8], edx
add dword [esp + 0x4c], eax
push eax
push dword [ebp + 0xc]
push esi
call dword [ebp + 8]
add esp, 0xc
test eax, eax
je 0x40367c
mov edi, eax
mov esi, eax
mov edx, dword [esp + 8]
jmp 0x403530
lea eax, [esp + 0x41]
mov dword [esp + 0x10], eax
jmp 0x403101
mov esi, ebx
jmp 0x402a85
mov esi, ecx
jmp 0x402a85
fstp st(1)
fdivp st(1)
or dword [esp + 8], 0x4000000
jmp 0x4023fe
test edx, edx
je 0x403682
mov ecx, dword [esp + 0x24]
mov eax, ecx
sub eax, esi
test eax, eax
jle 0x403689
add dword [esp + 0x4c], eax
push eax
push dword [ebp + 0xc]
push esi
call edx
add esp, 0xc
mov ecx, eax
mov esi, eax
jmp 0x403689
xor ecx, ecx
xor esi, esi
jmp 0x403689
mov ecx, dword [esp + 0x24]
mov byte [ecx], 0
mov eax, dword [esp + 0x4c]
add eax, ecx
sub eax, esi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret