Function at 0x401000
Capabilities:
Encode data using xor
Parse credit card information

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x268
mov eax, dword [ebp + 0x18]
mov dword [esp + 0x28], eax
mov ecx, dword [ebp + 0x14]
mov esi, dword [ebp + 0x10]
lea eax, [esp + 0x264]
not eax
mov dword [esp + 0x54], eax
mov eax, ecx
mov edi, dword [ebp + 8]
mov dword [esp + 0x48], 0
mov ebx, esi
jmp 0x401048
mov byte [esi], al
inc esi
mov eax, dword [esp + 0x30]
inc eax
test al, 3
mov dword [esp + 0x30], eax
je 0x401060
movzx eax, byte [eax]
jmp 0x401100
mov eax, dword [eax]
mov ecx, eax
xor ecx, 0xdadadada
add ecx, 0x1010101
or ecx, eax
not ecx
test ecx, 0x80808080
jne 0x401100
mov ecx, esi
sub ecx, ebx
jmp 0x4010c0
mov dword [esi], eax
add esi, 4
mov edx, dword [esp + 0x30]
mov eax, dword [edx + 4]
add edx, 4
mov dword [esp + 0x30], edx
mov edx, eax
xor edx, 0xdadadada
add edx, 0x1010101
or edx, eax
not edx
add ecx, 4
test edx, 0x80808080
jne 0x401100
mov edx, 0x1010100
sub edx, eax
or edx, eax
not edx
test edx, 0x80808080
jne 0x401104
test edi, edi
je 0x401090
mov edx, ecx
and edx, 0xfffffdff
mov edi, ebx
mov ebx, esi
mov esi, ecx
not esi
and esi, 0x200
sub esi, edx
cmp esi, 4
mov esi, ebx
mov ebx, edi
mov edi, dword [ebp + 8]
jge 0x401090
nop
nop
nop
nop
nop
cmp al, 0x25
je 0x40114a
test al, al
je 0x403591
test edi, edi
je 0x401040
mov ecx, esi
sub ecx, ebx
cmp ecx, 0x1ff
jl 0x401040
add dword [esp + 0x48], ecx
push ecx
push dword [ebp + 0xc]
push ebx
call edi
add esp, 0xc
test eax, eax
je 0x4035b1
mov esi, eax
mov eax, dword [esp + 0x30]
movzx eax, byte [eax]
mov ebx, esi
jmp 0x401040
mov ecx, dword [esp + 0x30]
add ecx, 2
xor edi, edi
jmp 0x401160
or edi, 1
inc ecx
nop
nop
nop
nop
nop
nop
nop
movzx eax, byte [ecx - 1]
lea edx, [eax - 0x20]
cmp edx, 0x3f
ja case.0x401170.33
jmp dword [edx*4 + 0x44a564]
or edi, 4
inc ecx
jmp 0x401160
or edi, 8
inc ecx
jmp 0x401160
or edi, 0x400
inc ecx
jmp 0x401160
mov edx, edi
mov eax, edi
xor eax, 0x40
add eax, edi
and edx, 0xffffffbf
sub eax, edx
inc ecx
mov edi, eax
jmp 0x401160
test edi, 0x100
jne 0x4011b6
or edi, 0x100
inc ecx
jmp 0x401160
or edi, 2
inc ecx
jmp 0x401160
test edi, 0x800
jne 0x4011c7
or edi, 0x800
inc ecx
jmp 0x401160
or edi, 0x1000
inc ecx
jmp 0x401160
mov edx, edi
or edx, 0x10
movzx eax, byte [ecx]
cmp al, 0x2a
jne 0x4011f7
mov eax, dword [esp + 0x28]
mov edi, dword [eax]
add eax, 4
mov dword [esp + 0x28], eax
movzx eax, byte [ecx + 1]
inc ecx
jmp 0x40122f
dec ecx
mov edx, edi
cmp al, 0x2a
je 0x4011dc
mov dword [esp + 8], edx
mov edx, eax
add dl, 0xd0
xor edi, edi
cmp dl, 9
ja 0x40122b
xor edi, edi
nop
nop
nop
nop
nop
nop
nop
movzx eax, al
lea edx, [edi + edi*4]
lea edi, [eax + edx*2]
add edi, 0xffffffd0
movzx eax, byte [ecx + 1]
inc ecx
mov edx, eax
add dl, 0xd0
cmp dl, 0xa
jb 0x401210
mov edx, dword [esp + 8]
mov dword [esp + 0x10], 0xffffffff
cmp al, 0x2e
mov dword [esp + 0x20], edi
jne 0x4012ad
movzx eax, byte [ecx + 1]
cmp al, 0x2a
jne 0x401265
mov eax, dword [esp + 0x28]
mov edi, dword [eax]
mov dword [esp + 0x10], edi
mov edi, dword [esp + 0x20]
add eax, 4
mov dword [esp + 0x28], eax
movzx eax, byte [ecx + 2]
add ecx, 2
jmp 0x4012ad
mov dword [esp + 8], edx
inc ecx
mov edx, eax
add dl, 0xd0
mov dword [esp + 0x10], 0
cmp dl, 9
ja 0x4012a9
xor edi, edi
nop
nop
movzx eax, al
lea edx, [edi + edi*4]
lea edi, [eax + edx*2]
add edi, 0xffffffd0
movzx eax, byte [ecx + 1]
inc ecx
mov edx, eax
add dl, 0xd0
cmp dl, 0xa
jb 0x401280
mov dword [esp + 0x10], edi
mov edx, dword [esp + 8]
mov edi, dword [esp + 0x20]
jmp 0x4012ad
mov edx, dword [esp + 8]
movzx eax, al
add eax, 0xffffffb7
cmp eax, 0x31
ja case.0x4012b8.74
jmp dword [eax*4 + 0x44a664]
inc ecx
movzx eax, byte [ecx]
mov dword [esp + 0x30], ecx
mov dword [esp + 4], eax
movzx eax, al
add eax, 0xffffffbf
cmp eax, 0x37
mov dword [esp + 0x4c], esi
ja case.0x4012de.67
jmp dword [eax*4 + 0x44a72c]
test dl, 0x20
jne 0x40177d
mov eax, dword [esp + 0x28]
mov ecx, dword [eax]
add eax, 4
mov dword [esp + 0x28], eax
mov dword [esp + 0x18], 0
cmp byte [esp + 4], 0x75
je 0x401c90
test ecx, ecx
jns 0x401c90
neg ecx
mov dword [esp + 0x14], ecx
or edx, 0x80
jmp 0x401c9e
movzx eax, byte [ecx + 1]
cmp al, 0x6c
jne 0x4017be
or edx, 0x20
add ecx, 2
jmp case.0x4012b8.74
lea eax, [ecx + 1]
mov dword [esp + 0x30], eax
movzx eax, byte [ecx + 1]
cmp eax, 0x33
je 0x401c33
mov dword [esp + 4], eax
cmp eax, 0x36
jne 0x401c46
cmp byte [ecx + 2], 0x34
jne 0x401c3d
or edx, 0x20
add ecx, 3
jmp case.0x4012b8.74
cmp byte [ecx + 1], 0x68
je 0x4017c4
inc ecx
or edx, 0x200
jmp case.0x4012b8.74
mov eax, dword [esp + 0x10]
jmp 0x4018e2
mov eax, str.0123456789ABCDEFXP
cmp byte [esp + 4], 0x45
je 0x4013a1
mov eax, str.0123456789abcdefxp
mov dword [esp + 0x2c], eax
mov esi, edx
mov eax, dword [esp + 0x28]
fld qword [eax]
mov eax, 6
mov ecx, dword [esp + 0x10]
cmp ecx, 0xffffffff
je 0x4013bd
mov eax, ecx
mov dword [esp + 0x14], eax
or eax, 0x80000000
sub esp, 0x18
mov dword [esp + 0x10], eax
fstp qword [esp + 8]
lea eax, [esp + 0x54]
mov dword [esp + 4], eax
lea eax, [esp + 0x7c]
mov dword [esp], eax
lea ecx, [esp + 0x24]
lea edx, [esp + 0x3c]
call fcn.004035e0
add esp, 0x18
mov edx, esi
test eax, eax
je 0x4013fc
or edx, 0x80
add dword [esp + 0x28], 8
mov byte [esp + 0x34], 0
mov byte [esp + 0x40], 0
mov al, 0x2d
test dl, dl
js 0x40141f
mov al, 0x20
test dl, 4
jne 0x40141f
mov al, 0x2b
test dl, 2
je 0x401428
mov byte [esp + 0x40], 1
mov byte [esp + 0x41], al
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x18], 0
mov eax, dword [esp + 0xc]
mov dword [esp + 0x10], ecx
cmp ecx, 0x7000
mov dword [esp], eax
jne 0x401647
xor esi, esi
xor eax, eax
mov edi, dword [esp + 0x20]
jmp 0x4029a0
mov esi, str.0123456789ABCDEFXP
cmp byte [esp + 4], 0x41
je 0x401469
mov esi, str.0123456789abcdefxp
mov dword [esp + 0x2c], 6
mov eax, dword [esp + 0x10]
cmp eax, 0xffffffff
je 0x40147e
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x28]
mov ecx, dword [eax + 4]
test ecx, ecx
jns 0x40148f
or edx, 0x80
mov dword [esp + 0x1c], ebx
mov eax, dword [esp + 0x28]
mov edi, dword [eax]
mov al, 0x2d
test dl, dl
js 0x4015e8
mov al, 0x20
test dl, 4
jne 0x4015e8
mov al, 0x2b
test dl, 2
jne 0x4015e8
xor ebx, ebx
jmp 0x4015ee
mov dword [esp + 0x14], str.0123456789ABCDEFXP
mov eax, dword [esp + 4]
cmp al, 0x42
je 0x4014d8
mov dword [esp + 0x14], str.0123456789abcdefxp
mov byte [esp + 0x40], 0
mov dword [esp + 8], edx
test dl, 8
je 0x4014fb
cmp al, 0x42
setne al
mov word [esp + 0x40], 0x3002
shl al, 5
or al, 0x42
mov byte [esp + 0x42], al
mov dword [esp + 0x24], 0x180
mov edx, 0x180
test byte [esp + 8], 0x20
je 0x40193d
mov eax, dword [esp + 0x28]
mov ecx, dword [eax]
mov edi, dword [eax + 4]
add eax, 8
mov dword [esp + 0x28], eax
jmp 0x40194c
mov eax, str.0123456789ABCDEFXP
cmp byte [esp + 4], 0x47
je 0x401539
mov eax, str.0123456789abcdefxp
mov dword [esp + 0x2c], eax
mov esi, edx
mov eax, dword [esp + 0x28]
fld qword [eax]
mov ecx, dword [esp + 0x10]
cmp ecx, 1
mov eax, ecx
adc eax, 0
mov edi, 6
cmp ecx, 0xffffffff
je 0x40155d
mov edi, eax
lea eax, [edi - 1]
or eax, 0x80000000
sub esp, 0x18
fstp qword [esp + 8]
lea ecx, [esp + 0x54]
mov dword [esp + 4], ecx
lea ecx, [esp + 0x7c]
mov dword [esp], ecx
mov dword [esp + 0x10], eax
lea ecx, [esp + 0x24]
lea edx, [esp + 0x3c]
call fcn.004035e0
add esp, 0x18
test eax, eax
je 0x401599
or esi, 0x80
mov eax, dword [esp + 0x24]
cmp eax, edi
jb 0x4015a3
mov eax, edi
mov dword [esp + 0x1c], ebx
mov dword [esp + 8], esi
mov esi, eax
cmp eax, 2
jb 0x4018d3
mov edx, dword [esp + 0xc]
mov ecx, edi
nop
nop
nop
nop
cmp byte [edx + esi - 1], 0x30
jne 0x402061
mov ebx, esi
lea eax, [ecx - 1]
dec ebx
mov esi, ebx
cmp ebx, 2
jb 0x402063
cmp ecx, 1
mov ecx, eax
jne 0x4015c0
jmp 0x402063
mov byte [esp + 0x41], al
mov bl, 1
mov eax, ecx
and eax, 0xfffff
shr ecx, 0x14
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0x18]
not ecx
and ecx, 0x3ff
and dword [esp + 0x18], 0x400
sub dword [esp + 0x18], ecx
cmp dword [esp + 0x18], 0xfffffc01
mov dword [esp + 0x10], esi
mov dword [esp + 8], edx
jne 0x4017d2
mov ecx, edi
or ecx, eax
mov ecx, 0
je 0x40163a
mov ecx, 0xfffffc02
mov dword [esp + 0x18], ecx
mov dword [esp + 0x3c], ecx
jmp 0x4017e6
mov dword [esp + 8], edx
movzx ecx, byte [eax]
mov byte [esp + 0xa4], cl
lea esi, [esp + 0xa5]
mov eax, dword [esp + 0x14]
test eax, eax
je 0x40167d
movzx ecx, byte [section..data]
mov byte [esp + 0xa5], cl
lea esi, [esp + 0xa6]
mov eax, dword [esp + 0x14]
mov edi, dword [esp + 0x24]
mov ecx, edi
not ecx
and ecx, 1
mov edx, edi
and edx, 0xfffffffe
sub edx, ecx
cmp edx, eax
jbe 0x40169a
lea edi, [eax + 1]
mov dword [esp + 0x24], edi
cmp edi, 2
mov dword [esp + 4], esi
mov dword [esp + 0x18], edi
jb 0x401756
lea eax, [edi - 1]
lea esi, [edi - 2]
mov edx, 1
cmp esi, 7
jb 0x401729
mov dword [esp + 0x50], eax
mov esi, eax
and esi, 0xfffffff8
xor edx, edx
mov edi, dword [esp]
mov ecx, dword [esp + 4]
nop
nop
nop
movzx eax, byte [edi + edx + 1]
mov byte [ecx + edx], al
movzx eax, byte [edi + edx + 2]
mov byte [ecx + edx + 1], al
movzx eax, byte [edi + edx + 3]
mov byte [ecx + edx + 2], al
movzx eax, byte [edi + edx + 4]
mov byte [ecx + edx + 3], al
movzx eax, byte [edi + edx + 5]
mov byte [ecx + edx + 4], al
movzx eax, byte [edi + edx + 6]
mov byte [ecx + edx + 5], al
movzx eax, byte [edi + edx + 7]
mov byte [ecx + edx + 6], al
movzx eax, byte [edi + edx + 8]
mov byte [ecx + edx + 7], al
add edx, 8
cmp esi, edx
jne 0x4016d0
add ecx, edx
mov dword [esp + 4], ecx
inc edx
mov eax, dword [esp + 0x50]
and eax, 7
je 0x401756
mov esi, dword [esp]
add esi, edx
xor edx, edx
mov ecx, dword [esp + 4]
nop
nop
nop
nop
nop
nop
nop
mov edi, eax
movzx eax, byte [esi + edx]
mov byte [ecx + edx], al
mov eax, edi
inc edx
cmp edi, edx
jne 0x401740
add ecx, edx
mov dword [esp + 4], ecx
mov eax, dword [esp + 0x2c]
movzx eax, byte [eax + 0xe]
mov byte [esp + 0x35], al
mov eax, dword [esp + 0x10]
mov esi, eax
dec esi
mov dword [esp + 0x1c], ebx
js 0x401f9d
mov byte [esp + 0x36], 0x2b
jmp 0x401fa9
mov ecx, dword [esp + 0x28]
lea esi, [ecx + 8]
mov eax, dword [ecx]
mov dword [esp + 0x14], eax
mov eax, dword [ecx + 4]
cmp byte [esp + 4], 0x75
je 0x401c96
test eax, eax
jns 0x401c96
neg dword [esp + 0x14]
mov ecx, 0
sbb ecx, eax
or edx, 0x80
mov dword [esp + 0x18], ecx
mov dword [esp + 0x28], esi
jmp 0x401c9e
inc ecx
jmp 0x4012c3
add ecx, 2
or edx, 0x200
jmp case.0x4012b8.74
mov ecx, 0xffffffff
add edi, ecx
mov ecx, 0xfffff
adc eax, ecx
add edi, 1
adc eax, 0
mov ecx, dword [esp + 0x2c]
lea ecx, [ecx*4]
xor esi, esi
mov edx, 0x8000000
shrd esi, edx, cl
shr edx, cl
test cl, 0x20
je 0x401806
mov esi, edx
xor edx, edx
cmp dword [esp + 0x2c], 0xf
jl 0x401811
xor esi, esi
xor edx, edx
shld eax, edi, 8
shl edi, 8
add edi, esi
adc eax, edx
movzx ecx, bl
lea edx, [esp + 0x40]
mov word [ecx + edx + 1], 0x7830
or bl, 2
mov byte [esp + 0x40], bl
mov ecx, eax
shr ecx, 0x1c
mov edx, dword [esp + 0x10]
movzx ecx, byte [edx + ecx]
mov byte [esp + 0xa4], cl
mov edx, dword [esp + 0x2c]
test edx, edx
je 0x401c76
movzx ecx, byte [section..data]
mov byte [esp + 0xa5], cl
lea ecx, [esp + 0xa6]
mov dword [esp + 0xc], ecx
mov ecx, edx
cmp edx, 0xd
jb 0x401876
mov ecx, 0xd
sub edx, ecx
mov dword [esp + 0x14], edx
jg 0x401886
mov dword [esp + 0x14], 0
mov esi, ecx
and esi, 3
je 0x40212b
mov dword [esp], ecx
xor edx, edx
mov ecx, dword [esp + 0x10]
nop
nop
nop
nop
nop
nop
mov ebx, eax
shr ebx, 0x18
and ebx, 0xf
movzx ebx, byte [ecx + ebx]
shld eax, edi, 4
mov byte [esp + edx + 0xa6], bl
shl edi, 4
inc edx
cmp esi, edx
jne 0x4018a0
lea esi, [esp + 0xa6]
lea ebx, [esi + edx]
mov ecx, dword [esp]
sub ecx, edx
jmp 0x402132
mov eax, edi
jmp 0x402063
and edx, 0xffffffef
mov eax, 8
mov dword [esp + 8], edx
mov dword [esp + 0x14], str.0123456789ABCDEFXP
cmp byte [esp + 4], 0x58
je 0x4018fd
mov dword [esp + 0x14], str.0123456789abcdefxp
mov dword [esp + 0x10], eax
mov dword [esp + 0x24], 0x440
mov byte [esp + 0x40], 0
mov edx, 0x440
test byte [esp + 8], 8
je 0x401932
cmp byte [esp + 4], 0x58
setne al
mov word [esp + 0x40], 0x3002
shl al, 5
or al, 0x58
mov byte [esp + 0x42], al
test byte [esp + 8], 0x20
jne 0x401513
mov eax, dword [esp + 0x28]
mov ecx, dword [eax]
add eax, 4
mov dword [esp + 0x28], eax
xor edi, edi
mov dword [esp + 0x3c], 0
mov byte [esp + 0x34], 0
mov eax, ecx
or eax, edi
jne 0x40196f
mov byte [esp + 0x40], 0
cmp dword [esp + 0x10], 0
je 0x401c4f
mov dword [esp + 4], ecx
mov dword [esp + 0x1c], ebx
lea eax, [esp + 0x264]
nop
nop
mov dword [esp], eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, 0xffffffff
mov cl, dh
shl eax, cl
not eax
mov esi, dword [esp + 4]
and eax, esi
mov edx, dword [esp + 0x24]
mov cl, dh
shrd esi, edi, cl
mov ecx, dword [esp + 0x14]
movzx ecx, byte [ecx + eax]
mov eax, dword [esp]
mov byte [eax - 1], cl
mov cl, dh
shr edi, cl
mov ebx, edx
test dh, 0x20
je 0x4019c7
mov esi, edi
xor edi, edi
lea ecx, [eax - 1]
mov dword [esp], ecx
mov dword [esp + 4], esi
mov ecx, esi
or ecx, edi
jne 0x4019f3
mov ecx, dword [esp]
mov esi, ecx
and esi, dword [esp + 0x54]
not ecx
lea edx, [esp + 0x264]
and ecx, edx
sub ecx, esi
cmp ecx, dword [esp + 0x10]
jge 0x401a34
mov edx, ebx
test byte [esp + 8], 0x40
je 0x401990
lea edx, [ebx + 1]
mov dword [esp + 0x24], edx
mov ecx, edx
shr ecx, 4
xor ecx, edx
test cl, 0xf
jne 0x401990
mov edx, 0xfffffffe
sub edx, ebx
not edx
and edx, 0xfffffff0
mov dword [esp + 0x24], edx
movzx ecx, byte [0x44d001]
xor cl, 0x83
mov byte [eax - 2], cl
add eax, 0xfffffffe
jmp 0x401980
shl ebx, 0x14
and ebx, 0xf000000
add ebx, ecx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x24], ecx
xor esi, esi
mov edi, dword [esp + 0x20]
mov edx, dword [esp + 8]
mov eax, dword [esp + 0x10]
mov ebx, dword [esp + 0x1c]
jmp 0x4029a0
mov byte [esp + 0x40], 0
mov dword [esp + 8], edx
test dl, 8
je 0x401a73
mov word [esp + 0x40], 0x3001
mov dword [esp + 0x24], 0x330
mov dword [esp + 0x14], str.0123456789ABCDEFXP
mov edx, 0x330
test byte [esp + 8], 0x20
je 0x40193d
jmp 0x401513
mov eax, dword [esp + 0x28]
mov eax, dword [eax]
mov dword [esp], str.null
test eax, eax
je 0x401aac
mov dword [esp], eax
mov eax, dword [esp + 0x10]
mov ecx, eax
test eax, eax
jns 0x401abb
mov ecx, 0xffffffff
mov dword [esp + 8], edx
mov edx, dword [esp]
test dl, 3
je 0x402661
mov esi, edx
add edx, ecx
test eax, eax
je 0x402966
cmp byte [esi], 0
je 0x4028d7
lea eax, [esi + 1]
lea esi, [ecx - 1]
test al, 3
je 0x402925
test esi, esi
je 0x402966
cmp byte [eax], 0
je 0x402964
mov eax, dword [esp]
add eax, 2
lea esi, [ecx - 2]
test al, 3
je 0x402925
test esi, esi
je 0x402966
cmp byte [eax], 0
je 0x402964
mov eax, dword [esp]
add eax, 3
lea esi, [ecx - 3]
test al, 3
je 0x402925
test esi, esi
je 0x402966
cmp byte [eax], 0
je 0x402964
mov eax, dword [esp]
add eax, 4
add ecx, 0xfffffffc
test al, 3
je 0x402927
mov esi, edi
test ecx, ecx
je 0x401b5c
mov edx, eax
mov edi, esi
jmp 0x402966
mov eax, dword [esp + 4]
mov byte [esp + 0x263], al
mov dword [esp + 0x24], 1
mov byte [esp + 0x40], 0
mov byte [esp + 0x34], 0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x18], 0
lea eax, [esp + 0x263]
mov dword [esp], eax
xor edx, edx
xor esi, esi
xor eax, eax
xor edi, edi
jmp 0x4029a0
mov ecx, dword [esp + 0x28]
movzx eax, byte [ecx]
add ecx, 4
mov dword [esp + 0x28], ecx
mov byte [esp + 0x263], al
mov dword [esp + 0x24], 1
mov byte [esp + 0x40], 0
mov byte [esp + 0x34], 0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x18], 0
lea eax, [esp + 0x263]
jmp 0x40236f
mov eax, dword [esp + 0x28]
fld qword [eax]
add eax, 8
mov dword [esp + 0x28], eax
test edx, 0x100
jne 0x401e8f
jmp 0x4020cc
mov eax, esi
xor eax, ebx
mov ecx, dword [esp + 0x48]
sub ecx, eax
mov eax, ebx
not eax
and eax, esi
lea eax, [ecx + eax*2]
mov edx, dword [esp + 0x28]
mov ecx, dword [edx]
mov dword [ecx], eax
add edx, 4
mov dword [esp + 0x28], edx
mov eax, dword [esp + 0x30]
jmp 0x403077
cmp byte [ecx + 2], 0x32
je 0x402123
mov ecx, dword [esp + 0x30]
jmp case.0x4012b8.74
mov eax, dword [esp + 4]
jmp 0x4012c7
mov dword [esp + 0x24], 0
mov dword [esp + 0x18], 0
lea eax, [esp + 0x264]
mov dword [esp], eax
xor esi, esi
xor eax, eax
mov edi, dword [esp + 0x20]
jmp 0x40299c
lea ebx, [esp + 0xa5]
mov dword [esp + 0xc], ebx
mov dword [esp + 0x14], 0
mov edi, ebx
jmp 0x40219b
mov dword [esp + 0x14], ecx
jmp 0x401c9e
mov dword [esp + 0x18], eax
mov dword [esp + 0x28], esi
test edx, 0x100
jne 0x401e4e
movzx ecx, byte [0x44d001]
mov eax, ecx
or al, 0x7c
mov ah, cl
not ah
or ah, 0x83
and ah, al
not ah
mov byte [esp + 0x50], ah
mov eax, ecx
add al, cl
and al, 6
sub cl, al
add cl, 0x83
mov byte [esp + 4], cl
mov edi, 0x200
xor ecx, ecx
mov dword [esp + 8], edx
mov dword [esp + 0x1c], ebx
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov dword [esp + 0x2c], ecx
mov ebx, dword [esp + 0x14]
cmp ebx, 0x5f5e100
mov ecx, dword [esp + 0x18]
mov eax, ecx
sbb eax, 0
jb 0x401d30
push 0
push 0x5f5e100
push ecx
push ebx
call fcn.0040c680
mov dword [esp + 0x18], edx
mov edx, dword [esp + 8]
imul ecx, eax, 0x5f5e100
sub ebx, ecx
mov dword [esp + 0x14], eax
jmp 0x401d40
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
lea eax, [esp + 0x5c]
lea esi, [eax + edi]
test dl, 0x40
jne 0x401da0
mov dword [esp], esi
nop
mov eax, ebx
mov ecx, 0x51eb851f
mul ecx
shr edx, 5
imul esi, edx, 0x64
mov eax, ebx
sub eax, esi
mov esi, eax
and esi, 0x7d
mov ecx, eax
and ecx, 2
or eax, 2
imul eax, ecx
xor ecx, 2
imul ecx, esi
movzx eax, word [ecx + eax + str.00010203040506070809101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899]
mov word [esp + edi + 0x62], ax
add edi, 0xfffffffe
cmp ebx, 0x64
mov ebx, edx
jae 0x401d50
mov edx, dword [esp + 8]
mov ecx, dword [esp + 0x2c]
mov esi, dword [esp]
jmp 0x401e10
test ebx, ebx
mov ecx, dword [esp + 0x2c]
jne 0x401de0
jmp 0x401e10
mov dword [esp], esi
mov esi, ecx
mov eax, ebx
mov ecx, 0xcccccccd
mul ecx
shr edx, 3
lea eax, [edx + edx]
lea eax, [eax + eax*4]
sub ebx, eax
or bl, 0x30
mov byte [esp + edi + 0x63], bl
dec edi
mov ebx, edx
mov edx, dword [esp + 8]
mov ecx, esi
mov esi, dword [esp]
test ebx, ebx
je 0x401e10
test dl, 0x40
je 0x401db0
cmp ecx, 3
je 0x401df0
mov dword [esp], esi
inc ecx
jmp 0x401db3
movzx eax, byte [esp + 0x50]
mov byte [esp + edi + 0x63], al
dec edi
dec esi
xor ecx, ecx
test ebx, ebx
jne 0x401de0
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp + 0x14]
or eax, dword [esp + 0x18]
jne 0x401e27
jmp 0x401efb
inc ecx
mov byte [esp + edi + 0x63], 0x30
dec edi
lea eax, [esp + edi]
add eax, 0x64
cmp eax, esi
je 0x401cf0
test dl, 0x40
je 0x401e21
cmp ecx, 3
jne 0x401e20
movzx eax, byte [esp + 4]
mov byte [esp + edi + 0x63], al
dec edi
dec esi
xor ecx, ecx
jmp 0x401e27
mov eax, 1
mov ecx, dword [esp + 0x10]
cmp ecx, 0xffffffff
je 0x401e5e
mov eax, ecx
mov dword [esp + 0x10], 0
cmp dword [esp + 0x14], 0x400
mov ecx, dword [esp + 0x18]
sbb ecx, 0
jb 0x401e7b
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x5c], eax
fild qword [esp + 0x58]
xor eax, eax
test edx, 0x800
sete al
fld qword [eax*8 + 0x44a550]
cmp edx, 0x3ffffff
ja 0x4020ca
fld st(0)
fchs
jmp 0x401ee0
fdiv st(2), st(0)
mov eax, edx
and eax, 0x1000000
xor edx, 0x1000000
lea edx, [edx + eax*2]
cmp edx, 0x4000000
fxch st(1)
jae 0x4020c8
fxch st(1)
fucom st(2)
fnstsw ax
sahf
jbe 0x401ec0
fxch st(2)
fucom st(1)
fnstsw ax
sahf
fxch st(2)
jbe 0x401ec0
fstp st(0)
jmp 0x4020ca
cmp byte [esp + edi + 0x64], 0x30
sete al
cmp edi, 0x200
setne cl
mov byte [esp + 0x34], 0
mov byte [esp + 0x40], 0
mov ebx, edx
mov dl, 0x2d
test bl, bl
mov ebx, dword [esp + 0x1c]
js 0x401f34
mov dl, 0x20
test byte [esp + 8], 4
jne 0x401f34
mov dl, 0x2b
test byte [esp + 8], 2
je 0x401f3d
mov byte [esp + 0x40], 1
mov byte [esp + 0x41], dl
and cl, al
movzx eax, cl
add edi, eax
lea eax, [esp + edi]
add eax, 0x64
lea edx, [edi - 0x200]
neg edx
mov dword [esp + 0x24], edx
cmp edi, 0x200
jne 0x401f75
mov byte [eax - 1], 0x30
dec eax
mov dword [esp], eax
mov dword [esp + 0x24], 1
mov ecx, 1
jmp 0x401f7a
mov ecx, edx
mov dword [esp], eax
mov edx, dword [esp + 8]
mov eax, dword [esp + 0x10]
xor esi, esi
test eax, eax
mov edi, dword [esp + 0x20]
jg 0x401f8e
xor eax, eax
add ecx, 0x3000000
mov dword [esp + 0x18], ecx
jmp 0x4029a0
mov byte [esp + 0x36], 0x2d
mov esi, 1
sub esi, eax
xor eax, eax
cmp esi, 0x64
setge al
mov edi, eax
mov eax, esi
mov ecx, 0x66666667
imul ecx
mov ecx, edx
mov eax, edx
shr eax, 0x1f
sar ecx, 2
add ecx, eax
lea eax, [ecx + ecx]
lea eax, [eax + eax*4]
mov ebx, esi
sub ebx, eax
mov eax, ecx
mov edx, 0x66666667
imul edx
mov eax, edx
shr eax, 0x1f
sar edx, 2
add edx, eax
lea eax, [edi + 4]
add bl, 0x30
add edx, edx
lea edx, [edx + edx*4]
mov dword [esp], edx
mov dword [esp + 0x10], eax
mov byte [esp + 0x34], al
mov byte [esp + edi + 0x38], bl
mov edx, ecx
sub edx, dword [esp]
add dl, 0x30
mov byte [esp + edi + 0x37], dl
cmp esi, 0x64
mov edi, dword [esp + 0x20]
jl 0x402043
mov eax, esi
mov ecx, 0x51eb851f
mul ecx
mov ecx, edx
shr ecx, 5
mov eax, ecx
mov edx, 0x1999999a
mul edx
add edx, edx
lea eax, [edx + edx*4]
mov edx, ecx
sub edx, eax
or dl, 0x30
lea eax, [esp + 0x34]
mov esi, dword [esp + 0x10]
mov byte [esi + eax - 2], dl
mov esi, dword [esp + 0x14]
sub esi, dword [esp + 0x18]
inc esi
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x18], 0x3000001
mov ebx, dword [esp + 0x1c]
jmp 0x4028b8
mov eax, ecx
add dword [esp + 0x28], 8
mov dword [esp + 0x24], esi
mov ecx, dword [esp + 0x3c]
cmp ecx, 0xfffffffd
mov edx, dword [esp + 8]
jl 0x40209c
cmp ecx, edi
jg 0x40209c
test ecx, ecx
mov ebx, dword [esp + 0x1c]
jle 0x402320
sub esi, ecx
jg 0x40208f
xor esi, esi
mov dword [esp + 0x14], esi
mov edi, dword [esp + 0x20]
jmp 0x402330
cmp eax, esi
mov ebx, dword [esp + 0x1c]
jle 0x4020ae
dec esi
mov dword [esp + 0x14], esi
jmp 0x401401
mov dword [esp + 0x14], 0
sub eax, 1
jb 0x401401
mov dword [esp + 0x14], eax
jmp 0x401401
fstp st(1)
fstp st(0)
mov esi, edx
mov eax, 6
mov ecx, dword [esp + 0x10]
cmp ecx, 0xffffffff
je 0x4020de
mov eax, ecx
sub esp, 0x18
fstp qword [esp + 8]
mov ecx, eax
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 + 0x24]
lea edx, [esp + 0x3c]
call fcn.004035e0
add esp, 0x18
mov edx, esi
test eax, eax
je 0x402330
or edx, 0x80
jmp 0x402330
add ecx, 3
jmp case.0x4012b8.74
lea ebx, [esp + 0xa6]
cmp dword [esp + 0x2c], 4
jb 0x402194
mov esi, eax
nop
nop
nop
nop
nop
mov dword [esp], ecx
mov edx, eax
shr edx, 0x18
and edx, 0xf
mov ecx, dword [esp + 0x10]
movzx edx, byte [ecx + edx]
mov byte [ebx], dl
mov edx, eax
shr edx, 0x14
and edx, 0xf
movzx edx, byte [ecx + edx]
mov byte [ebx + 1], dl
mov edx, eax
shr edx, 0x10
and edx, 0xf
movzx edx, byte [ecx + edx]
mov byte [ebx + 2], dl
shld esi, edi, 0x10
shl edi, 0x10
shr eax, 0xc
and eax, 0xf
movzx eax, byte [ecx + eax]
mov ecx, dword [esp]
mov byte [ebx + 3], al
add ebx, 4
mov eax, esi
add ecx, 0xfffffffc
jne 0x402140
lea edi, [esp + 0xa6]
cmp byte [esp + 4], 0x41
setne al
shl al, 5
or al, 0x50
mov byte [esp + 0x35], al
mov eax, dword [esp + 0x18]
test eax, eax
js 0x4021da
mov byte [esp + 0x36], 0x2b
cmp eax, 0x3e7
ja 0x4021e8
cmp eax, 0x63
jbe 0x4022fd
mov dword [esp + 0x2c], ebx
mov dword [esp + 4], edi
mov dword [esp], 5
jmp 0x4021f7
mov byte [esp + 0x36], 0x2d
neg eax
cmp eax, 0x3e7
jbe 0x4021c0
mov dword [esp + 0x2c], ebx
mov dword [esp + 4], edi
mov dword [esp], 6
mov dword [esp + 0x10], 0
mov dword [esp + 0x18], eax
mov ecx, 0xcccccccd
mul ecx
shr edx, 2
and edx, 0xfffffffe
lea esi, [edx + edx*4]
mov eax, dword [esp + 0x18]
mov edi, 0x66666667
imul edi
mov ecx, edx
mov eax, edx
shr eax, 0x1f
sar ecx, 2
add ecx, eax
mov eax, ecx
imul edi
mov ebx, dword [esp + 0x18]
sub ebx, esi
mov esi, dword [esp]
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 + 0x18]
cmp byte [esp + 0x10], 0
mov edi, dword [esp + 4]
mov ebx, dword [esp + 0x2c]
jne 0x402772
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]
mov byte [edx + eax - 2], cl
mov eax, dword [esp + 0x18]
cmp eax, 0x3e8
jb 0x402772
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]
mov byte [edx + eax - 3], cl
jmp 0x402772
cmp eax, 9
jbe 0x402767
mov dword [esp + 0x2c], ebx
mov dword [esp + 4], edi
mov dword [esp], 4
mov cl, 1
mov dword [esp + 0x10], ecx
jmp 0x4021ff
cmp eax, esi
jl 0x402326
mov eax, esi
sub eax, ecx
mov dword [esp + 0x14], eax
mov edi, dword [esp + 0x20]
mov byte [esp + 0x34], 0
mov byte [esp + 0x40], 0
mov al, 0x2d
test dl, dl
js 0x40234e
mov al, 0x20
test dl, 4
jne 0x40234e
mov al, 0x2b
test dl, 2
je 0x402357
mov byte [esp + 0x40], 1
mov byte [esp + 0x41], al
mov ecx, dword [esp + 0x3c]
cmp ecx, 0x7000
jne 0x40237b
mov dword [esp + 0x18], 0
mov eax, dword [esp + 0xc]
mov dword [esp], eax
xor esi, esi
xor eax, eax
jmp 0x4029a0
test ecx, ecx
mov dword [esp + 8], edx
mov dword [esp + 0x1c], ebx
jle 0x402419
xor esi, esi
test dl, 0x40
je 0x4023ad
mov esi, 0x258
sub esi, ecx
mov eax, esi
mov edx, 0xaaaaaaab
mul edx
shr edx, 1
lea eax, [edx + edx*2]
mov edx, dword [esp + 8]
sub esi, eax
mov dword [esp], esi
cmp ecx, dword [esp + 0x24]
jae 0x40249b
xor ecx, ecx
lea eax, [esp + 0xa4]
jmp 0x402402
and edx, 0x40
shr edx, 6
mov dword [esp], edx
movzx edx, byte [0x44d001]
mov dh, dl
or dh, 0x7c
not dl
or dl, 0x83
and dl, dh
not dl
mov byte [eax], dl
inc eax
mov esi, eax
mov eax, dword [esp + 0xc]
movzx edx, byte [eax + ecx]
lea eax, [esi + 1]
mov byte [esi], dl
inc ecx
mov edx, dword [esp + 0x3c]
cmp ecx, edx
jae 0x402501
mov edx, dword [esp + 8]
test dl, 0x40
je 0x4023e6
mov esi, dword [esp]
inc esi
cmp esi, 4
je 0x4023c5
mov dword [esp], esi
jmp 0x4023e6
mov byte [esp + 0xa4], 0x30
lea ebx, [esp + 0xa5]
mov eax, dword [esp + 0x14]
test eax, eax
je 0x402449
movzx eax, byte [section..data]
mov byte [esp + 0xa5], al
lea ebx, [esp + 0xa6]
mov eax, dword [esp + 0x14]
neg ecx
mov esi, eax
cmp eax, ecx
jl 0x402453
mov esi, ecx
test esi, esi
mov dword [esp], esi
je 0x402668
mov eax, ebx
and eax, 3
je 0x402668
mov ecx, ebx
mov eax, esi
mov esi, ebx
not esi
and esi, 3
lea edi, [eax - 1]
cmp esi, edi
jb 0x40247d
mov esi, edi
lea eax, [esi + 1]
push eax
push 0x30
mov ebx, ecx
push ecx
call fcn.0040c8c0
add esp, 0xc
add ebx, esi
inc ebx
sub edi, esi
mov esi, dword [esp]
jmp 0x40266a
xor eax, eax
mov edi, 0xffffffff
mov ebx, 1
lea esi, [esp + 0xa4]
jmp 0x4024cb
mov ecx, dword [esp + 0xc]
movzx ecx, byte [ecx + ebx - 1]
mov byte [esi], cl
mov ecx, esi
inc esi
inc eax
dec edi
inc ebx
cmp eax, dword [esp + 0x24]
jae 0x40259a
test dl, 0x40
je 0x4024b0
mov ecx, dword [esp]
inc ecx
mov dword [esp], ecx
cmp ecx, 4
jne 0x4024b0
and edx, 0x40
shr edx, 6
mov dword [esp], edx
movzx ecx, byte [0x44d001]
mov edx, ecx
add dl, cl
and dl, 6
sub cl, dl
mov edx, dword [esp + 8]
add cl, 0x83
mov byte [esi], cl
inc esi
jmp 0x4024b0
mov dword [esp + 4], eax
cmp dword [esp + 0x14], 0
je 0x402521
movzx edx, byte [section..data]
mov byte [esi + 1], dl
add esi, 2
mov edx, dword [esp + 0x3c]
mov dword [esp + 4], esi
mov esi, dword [esp + 0x24]
mov edi, esi
sub edi, edx
cmp edi, dword [esp + 0x14]
jbe 0x402539
mov esi, dword [esp + 0x14]
add esi, edx
mov dword [esp + 0x24], esi
cmp ecx, esi
jae 0x40256c
mov edi, dword [esp + 4]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov edx, dword [esp + 0xc]
movzx edx, byte [edx + ecx]
mov byte [edi], dl
inc edi
inc ecx
mov esi, dword [esp + 0x24]
cmp ecx, esi
jb 0x402550
mov dword [esp + 4], edi
mov edx, dword [esp + 0x3c]
mov edi, dword [esp + 0x20]
lea ecx, [esp + 0xa4]
sub eax, ecx
mov ecx, eax
and ecx, 0x3000000
xor eax, 0x3000000
lea eax, [eax + ecx*2]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x14]
sub eax, esi
add eax, edx
jmp 0x402829
mov dword [esp + 4], esi
mov esi, dword [esp + 0x3c]
mov dword [esp + 0x10], esi
sub esi, eax
jbe 0x402728
test dl, 0x40
jne 0x4028de
cmp dword [esp + 0x10], eax
je 0x402621
mov eax, dword [esp + 4]
and eax, 3
je 0x402621
mov edx, 2
mov esi, ecx
sub edx, ecx
and edx, 3
mov eax, dword [esp + 0x10]
sub eax, ebx
mov ecx, edx
mov dword [esp + 0x18], edx
cmp edx, eax
jb 0x4025e4
mov ecx, eax
mov dword [esp + 0x2c], ecx
lea eax, [ecx + 1]
push eax
push 0x30
push dword [esp + 0xc]
call fcn.0040c8c0
add esp, 0xc
add edi, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
cmp edi, eax
jb 0x402608
mov edi, eax
mov eax, dword [esp + 0x2c]
add eax, esi
add eax, 2
mov dword [esp + 4], eax
mov esi, dword [esp + 0x10]
sub esi, edi
sub esi, ebx
mov edx, dword [esp + 8]
cmp esi, 4
mov ebx, dword [esp + 0x1c]
jb 0x4028e2
mov dword [esp + 0x10], esi
mov esi, dword [esp + 0x10]
and esi, 0xfffffffc
push esi
push 0x30
mov edi, dword [esp + 0xc]
push edi
call fcn.0040c8c0
mov edx, dword [esp + 0x14]
add esp, 0xc
add edi, esi
mov esi, dword [esp + 0x10]
mov ecx, edi
and esi, 3
mov edi, dword [esp + 0x20]
jmp 0x4028ea
mov eax, edx
jmp 0x402927
mov edi, esi
cmp edi, 4
jl 0x4026a2
mov eax, edi
cmp edi, 7
jl 0x40267b
mov eax, 7
neg eax
lea esi, [edi + eax]
add esi, 3
and esi, 0xfffffffc
lea eax, [esi + 4]
push eax
push 0x30
push ebx
call fcn.0040c8c0
add esp, 0xc
add ebx, esi
add ebx, 4
sub edi, esi
add edi, 0xfffffffc
mov esi, dword [esp]
test edi, edi
je 0x4026b4
push edi
push 0x30
push ebx
call fcn.0040c8c0
add esp, 0xc
add ebx, edi
mov eax, dword [esp + 0x24]
lea ecx, [eax + esi]
cmp ecx, dword [esp + 0x14]
mov edi, dword [esp + 0x20]
jle 0x4026cf
mov eax, dword [esp + 0x14]
sub eax, esi
mov dword [esp + 0x24], eax
test eax, eax
je 0x40280e
mov edx, dword [esp + 0x14]
mov dword [esp + 4], edx
cmp edx, ecx
jl 0x4026e7
mov dword [esp + 4], ecx
mov ecx, eax
and ecx, 3
je 0x4027b6
xor esi, esi
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov edi, dword [esp + 0xc]
lea edx, [edi + 1]
mov dword [esp + 0xc], edx
movzx edx, byte [edi]
mov byte [ebx + esi], dl
inc esi
cmp ecx, esi
jne 0x402700
add ebx, esi
mov ecx, eax
sub ecx, esi
mov edi, dword [esp + 0x20]
mov esi, dword [esp]
jmp 0x4027b8
mov ebx, dword [esp + 0x1c]
mov edi, dword [esp + 0x20]
mov ecx, dword [esp + 4]
mov esi, ecx
lea eax, [esp + 0xa4]
sub esi, eax
add esi, 0x3000000
mov dword [esp + 0x18], esi
cmp dword [esp + 0x14], 0
je 0x4027ae
movzx eax, byte [section..data]
mov byte [ecx], al
mov eax, dword [esp + 0x14]
inc ecx
mov dword [esp + 4], ecx
jmp 0x40282d
mov byte [esp + 0x34], 3
or al, 0x30
mov byte [esp + 0x37], al
add dword [esp + 0x28], 8
mov eax, ebx
sub eax, edi
mov dword [esp + 0x3c], eax
lea eax, [esp + 0xa4]
sub ebx, eax
mov dword [esp + 0x24], ebx
mov dword [esp + 0x18], 0x3000001
mov dword [esp], eax
xor eax, eax
mov ebx, dword [esp + 0x1c]
mov edi, dword [esp + 0x20]
mov edx, dword [esp + 8]
mov esi, dword [esp + 0x14]
jmp 0x4029a0
mov dword [esp + 4], ecx
xor eax, eax
jmp 0x40282d
mov ecx, eax
mov edx, esi
sub edx, dword [esp + 4]
cmp edx, 0xfffffffc
ja 0x40280e
mov edx, dword [esp + 0xc]
lea esi, [edx + 1]
mov dword [esp + 0xc], esi
movzx edx, byte [edx]
mov byte [ebx], dl
mov edx, dword [esp + 0xc]
lea esi, [edx + 1]
mov dword [esp + 0xc], esi
movzx edx, byte [edx]
mov byte [ebx + 1], dl
mov edx, dword [esp + 0xc]
lea esi, [edx + 1]
mov dword [esp + 0xc], esi
movzx edx, byte [edx]
mov byte [ebx + 2], dl
mov edx, dword [esp + 0xc]
lea esi, [edx + 1]
mov dword [esp + 0xc], esi
movzx edx, byte [edx]
mov byte [ebx + 3], dl
add ebx, 4
add ecx, 0xfffffffc
jne 0x4027c3
mov dword [esp + 4], ebx
mov ecx, dword [esp]
add ecx, eax
mov eax, dword [esp + 0x14]
sub eax, ecx
mov dword [esp + 0x18], 0x3000001
mov ebx, dword [esp + 0x1c]
mov edx, dword [esp + 8]
mov esi, eax
test edx, 0x100
je 0x4028bc
mov eax, edx
and eax, 0x400
sete byte [esp + 0x34]
mov byte [esp + 0x35], 0x20
cmp edx, 0x1000000
jb 0x4028bc
mov ecx, edx
shr ecx, 0x18
mov ebx, eax
shr ebx, 0xa
mov edx, 2
sub edx, ebx
mov ebx, dword [esp + 8]
cmp eax, 1
mov eax, 0
adc al, 1
test ebx, 0x800
jne 0x402888
movzx ecx, byte [ecx + str._kMGT]
mov byte [esp + edx + 0x34], cl
jmp 0x4028b0
movzx ecx, byte [ecx + str._KMGT]
mov byte [esp + edx + 0x34], cl
mov ecx, ebx
xor ecx, 0xffffefff
mov edx, ebx
or edx, 0x1000
test edx, ecx
jne 0x4028b0
movzx eax, al
mov byte [esp + eax + 0x35], 0x69
inc eax
mov ebx, dword [esp + 0x1c]
mov byte [esp + 0x34], al
mov edx, dword [esp + 8]
lea eax, [esp + 0xa4]
mov ecx, dword [esp + 4]
sub ecx, eax
mov dword [esp + 0x24], ecx
mov dword [esp], eax
xor eax, eax
jmp 0x4029a0
mov edx, esi
jmp 0x402966
mov ebx, dword [esp + 0x1c]
mov edi, dword [esp + 0x20]
mov ecx, dword [esp + 4]
mov eax, dword [esp]
test esi, esi
jne 0x402903
jmp 0x402734
mov byte [ecx], 0x30
dec esi
inc ecx
test esi, esi
je 0x402734
test dl, 0x40
je 0x4028f6
inc eax
cmp eax, 4
jne 0x4028f6
movzx eax, byte [0x44d001]
xor al, 0x83
mov byte [ecx], al
xor eax, eax
inc ecx
test esi, esi
jne 0x402903
jmp 0x402734
mov ecx, esi
cmp ecx, 4
jb 0x40294d
mov edx, dword [eax]
mov esi, edx
not esi
add edx, 0xfefefeff
and edx, esi
test edx, 0x80808080
jne 0x402951
add eax, 4
add ecx, 0xfffffffc
cmp ecx, 3
ja 0x40292c
test ecx, ecx
je 0x40295f
lea edx, [eax + ecx]
cmp byte [eax], 0
je 0x40295f
inc eax
dec ecx
jne 0x402954
mov eax, edx
sub eax, dword [esp]
jmp 0x402975
mov edx, eax
mov ecx, edx
not ecx
mov eax, dword [esp]
and ecx, eax
not eax
and eax, edx
sub eax, ecx
add dword [esp + 0x28], 4
mov dword [esp + 0x24], eax
mov byte [esp + 0x40], 0
mov byte [esp + 0x34], 0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x18], 0
xor esi, esi
xor eax, eax
mov edx, dword [esp + 8]
mov dword [esp + 0x20], edi
mov dword [esp + 0x14], esi
mov dword [esp + 8], edx
mov ecx, dword [esp + 0x24]
cmp eax, ecx
jg 0x4029b6
mov eax, ecx
mov edi, eax
movsx eax, byte [esp + 0x40]
movsx esi, byte [esp + 0x34]
mov edx, dword [esp + 0x14]
mov dword [esp + 0x10], edi
add edx, edi
add edx, eax
add edx, esi
mov edi, dword [esp + 0x20]
cmp edi, edx
jg 0x4029da
mov edi, edx
sub edi, edx
sub dword [esp + 0x10], ecx
mov ecx, dword [esp + 8]
test cl, 1
mov esi, dword [esp + 0x4c]
jne 0x4029ff
test cl, 0x10
mov edx, dword [esp]
jne 0x402a04
mov dword [esp + 8], 0
jmp 0x402a14
mov edx, dword [esp]
jmp 0x402a14
mov ecx, dword [esp + 0x10]
cmp edi, ecx
jg 0x402a0e
mov edi, ecx
mov dword [esp + 0x10], edi
xor edi, edi
mov ecx, edi
add ecx, dword [esp + 0x10]
mov ecx, dword [esp + 8]
je 0x402eeb
test cl, 1
mov edx, ecx
jne 0x402b79
test edi, edi
jg 0x402a4e
jmp 0x402b79
mov edi, dword [esp + 0x20]
sub edi, ecx
test edi, edi
jle 0x402b74
mov ecx, edi
cmp dword [ebp + 8], 0
je 0x402a67
mov eax, ebx
sub eax, esi
add eax, 0x200
mov ecx, edi
cmp edi, eax
jl 0x402a67
mov ecx, eax
test ecx, ecx
mov dword [esp + 4], ecx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], edi
je 0x402ae0
mov eax, esi
and eax, 3
je 0x402ad0
mov ecx, esi
not esi
and esi, 3
mov eax, dword [esp + 4]
lea edi, [eax - 1]
cmp esi, edi
jb 0x402a92
mov esi, edi
lea eax, [esi + 1]
push eax
push 0x20
mov ebx, ecx
push ecx
call fcn.0040c8c0
add esp, 0xc
lea ecx, [esi + ebx]
inc ecx
sub edi, esi
mov ebx, dword [esp + 0x1c]
mov edx, dword [esp + 8]
cmp edi, 4
jge 0x402ae9
test edi, edi
je 0x402b28
push edi
push 0x20
mov esi, ecx
push ecx
call fcn.0040c8c0
mov edx, dword [esp + 0x14]
add esp, 0xc
add esi, edi
jmp 0x402b2a
mov ecx, esi
mov edi, dword [esp + 4]
cmp edi, 4
jge 0x402ae9
jmp 0x402ab6
mov edi, ecx
mov ecx, esi
cmp edi, 4
jl 0x402ab6
mov eax, edi
cmp edi, 7
jl 0x402af5
mov eax, 7
neg eax
lea esi, [edi + eax]
add esi, 3
and esi, 0xfffffffc
lea eax, [esi + 4]
push eax
push 0x20
mov ebx, ecx
push ecx
call fcn.0040c8c0
add esp, 0xc
lea ecx, [esi + ebx]
add ecx, 4
sub edi, esi
add edi, 0xfffffffc
mov ebx, dword [esp + 0x1c]
mov edx, dword [esp + 8]
test edi, edi
jne 0x402aba
mov esi, ecx
mov edi, dword [ebp + 8]
test edi, edi
mov ecx, dword [esp + 4]
je 0x402a40
mov eax, esi
sub eax, ebx
cmp eax, 0x1ff
mov edi, dword [esp + 0x20]
jl 0x402a44
add dword [esp + 0x48], eax
push eax
push dword [ebp + 0xc]
push ebx
call dword [ebp + 8]
add esp, 0xc
test eax, eax
je 0x4035b1
mov esi, eax
mov ebx, eax
mov edx, dword [esp + 8]
mov ecx, dword [esp + 4]
jmp 0x402a44
movzx eax, byte [esp + 0x40]
mov dword [esp + 0x20], edi
lea ecx, [esp + 0x41]
mov dword [esp + 0xc], ecx
test al, al
je 0x402cad
mov edi, dword [ebp + 8]
jmp 0x402bb5
mov esi, eax
mov ebx, eax
mov edx, dword [esp + 8]
movzx eax, byte [esp + 0x40]
test al, al
je 0x402cad
movsx ecx, al
mov eax, ecx
test edi, edi
je 0x402bcd
mov eax, ebx
sub eax, esi
add eax, 0x200
cmp eax, ecx
jl 0x402bcd
mov eax, ecx
sub cl, al
mov byte [esp + 0x40], cl
test eax, eax
je 0x402c6b
mov ecx, eax
and ecx, 3
je 0x402ca0
mov dword [esp + 4], eax
mov dword [esp + 0x1c], ebx
xor edx, edx
mov ebx, esi
mov esi, dword [esp + 0xc]
lea edi, [esi + 1]
mov dword [esp + 0xc], edi
movzx eax, byte [esi]
mov esi, ebx
mov byte [ebx + edx], al
inc edx
cmp ecx, edx
jne 0x402bf0
add esi, edx
mov eax, dword [esp + 4]
mov ecx, eax
sub ecx, edx
mov edi, dword [ebp + 8]
mov ebx, dword [esp + 0x1c]
cmp eax, 4
jb 0x402c6b
mov eax, dword [esp + 0xc]
lea edx, [eax + 1]
mov dword [esp + 0xc], edx
movzx eax, byte [eax]
mov byte [esi], al
mov eax, dword [esp + 0xc]
lea edx, [eax + 1]
mov dword [esp + 0xc], edx
movzx eax, byte [eax]
mov byte [esi + 1], al
mov eax, dword [esp + 0xc]
lea edx, [eax + 1]
mov dword [esp + 0xc], edx
movzx eax, byte [eax]
mov byte [esi + 2], al
mov eax, dword [esp + 0xc]
lea edx, [eax + 1]
mov dword [esp + 0xc], edx
movzx eax, byte [eax]
mov byte [esi + 3], al
add esi, 4
add ecx, 0xfffffffc
jne 0x402c20
test edi, edi
je 0x402ba4
mov eax, esi
sub eax, ebx
cmp eax, 0x1ff
jl 0x402ba4
add dword [esp + 0x48], eax
push eax
push dword [ebp + 0xc]
push ebx
call edi
add esp, 0xc
test eax, eax
jne 0x402ba0
jmp 0x4035b1
mov ecx, eax
cmp eax, 4
jae 0x402c20
jmp 0x402c6b
mov eax, dword [esp + 0x18]
mov ecx, eax
shr ecx, 0x18
mov dword [esp + 4], ecx
xor edi, edi
test dl, 0x40
je 0x402ce1
and eax, 0xffffff
add eax, dword [esp + 0x10]
mov edi, dword [esp + 4]
mov edx, edi
and edx, 1
mov ecx, edi
xor ecx, 1
lea ecx, [ecx + edx*2]
xor edx, edx
div ecx
sub edi, edx
mov edx, dword [esp + 0x10]
test edx, edx
jg 0x402d12
lea eax, [esp + 0x41]
mov dword [esp + 0xc], eax
mov edx, dword [esp]
jmp 0x40302d
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
sub edx, eax
test edx, edx
jle 0x402edf
mov ecx, ebx
sub ecx, esi
add ecx, 0x200
mov eax, edx
mov dword [esp + 0x10], edx
cmp edx, ecx
jl 0x402d28
mov eax, ecx
mov ecx, dword [esp + 0x10]
cmp dword [ebp + 8], 0
mov edx, dword [esp + 8]
je 0x402d38
mov ecx, eax
test dl, 0x40
mov dword [esp + 0x18], ecx
jne 0x402dda
test ecx, ecx
mov dword [esp + 0x1c], ebx
je 0x402d8c
mov eax, esi
and eax, 3
je 0x402d8c
mov eax, ecx
mov ecx, esi
not esi
and esi, 3
dec eax
cmp esi, eax
jb 0x402d64
mov esi, eax
mov dword [esp + 0x4c], eax
lea eax, [esi + 1]
push eax
push 0x30
mov ebx, ecx
push ecx
call fcn.0040c8c0
add esp, 0xc
add ebx, esi
inc ebx
mov ecx, dword [esp + 0x4c]
sub ecx, esi
mov esi, ebx
mov ebx, dword [esp + 0x1c]
mov edx, dword [esp + 8]
cmp ecx, 4
jl 0x402dda
mov edx, ecx
mov ecx, esi
mov eax, edx
mov esi, edx
cmp edx, 7
jl 0x402da3
mov eax, 7
neg eax
mov dword [esp + 0x4c], esi
add esi, eax
add esi, 3
and esi, 0xfffffffc
lea eax, [esi + 4]
push eax
push 0x30
mov ebx, ecx
push ecx
call fcn.0040c8c0
mov ecx, dword [esp + 0x58]
add esp, 0xc
add ebx, esi
add ebx, 4
sub ecx, esi
mov esi, ebx
add ecx, 0xfffffffc
mov ebx, dword [esp + 0x1c]
mov edx, dword [esp + 8]
test ecx, ecx
je 0x402e30
test cl, 1
jne 0x402df0
mov eax, ecx
cmp ecx, 1
jne 0x402e87
jmp 0x402e30
mov al, 0x30
test dl, 0x40
je 0x402e1d
cmp edi, dword [esp + 4]
jne 0x402e0a
movzx eax, byte [0x44d001]
xor al, 0x83
xor edi, edi
jmp 0x402e1d
mov dword [esp + 0x4c], ecx
mov ecx, edi
and ecx, 1
xor edi, 1
lea edi, [edi + ecx*2]
mov ecx, dword [esp + 0x4c]
mov byte [esi], al
inc esi
lea eax, [ecx - 1]
cmp ecx, 1
jne 0x402e87
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [ebp + 8], 0
je 0x402d00
mov eax, esi
sub eax, ebx
cmp eax, 0x1ff
jl 0x402d00
add dword [esp + 0x48], eax
push eax
push dword [ebp + 0xc]
push ebx
call dword [ebp + 8]
add esp, 0xc
test eax, eax
je 0x4035b1
mov esi, eax
mov ebx, eax
jmp 0x402d00
movzx ecx, byte [0x44d001]
xor cl, 0x83
xor edi, edi
mov byte [esi + 1], cl
add esi, 2
add eax, 0xfffffffe
je 0x402e30
mov cl, 0x30
test dl, 0x40
je 0x402ebb
cmp edi, dword [esp + 4]
jne 0x402eb0
movzx edx, byte [0x44d001]
xor dl, 0x83
xor edi, edi
jmp 0x402ebd
mov edx, edi
and edx, 1
xor edi, 1
lea edi, [edi + edx*2]
mov dl, 0x30
mov byte [esi], dl
mov edx, dword [esp + 8]
test dl, 0x40
je 0x402e7c
cmp edi, dword [esp + 4]
je 0x402e70
mov edx, edi
and edx, 1
xor edi, 1
lea edi, [edi + edx*2]
mov edx, dword [esp + 8]
jmp 0x402e7c
movzx eax, byte [esp + 0x40]
mov edi, dword [esp + 0x20]
mov edx, dword [esp]
mov dword [esp + 0x20], edi
lea ecx, [esp + 0x41]
mov dword [esp + 0xc], ecx
test al, al
je 0x40302d
mov edi, dword [ebp + 8]
jmp 0x402f20
mov edx, dword [esp]
movzx eax, byte [esp + 0x40]
test al, al
je 0x40302d
movsx ecx, al
mov edx, ebx
sub edx, esi
add edx, 0x200
cmp edx, ecx
jl 0x402f33
mov edx, ecx
test edi, edi
je 0x402f39
mov ecx, edx
sub al, cl
mov byte [esp + 0x40], al
test ecx, ecx
je 0x402fdb
mov eax, ecx
and eax, 3
je 0x403020
mov dword [esp + 4], ecx
mov dword [esp + 0x1c], ebx
xor edx, edx
nop
nop
nop
nop
mov ebx, esi
mov esi, dword [esp + 0xc]
lea edi, [esi + 1]
mov dword [esp + 0xc], edi
movzx ecx, byte [esi]
mov esi, ebx
mov byte [ebx + edx], cl
inc edx
cmp eax, edx
jne 0x402f60
add esi, edx
mov ecx, dword [esp + 4]
mov eax, ecx
sub eax, edx
mov edi, dword [ebp + 8]
mov ebx, dword [esp + 0x1c]
cmp ecx, 4
jb 0x402fdb
mov ecx, dword [esp + 0xc]
lea edx, [ecx + 1]
mov dword [esp + 0xc], edx
movzx ecx, byte [ecx]
mov byte [esi], cl
mov ecx, dword [esp + 0xc]
lea edx, [ecx + 1]
mov dword [esp + 0xc], edx
movzx ecx, byte [ecx]
mov byte [esi + 1], cl
mov ecx, dword [esp + 0xc]
lea edx, [ecx + 1]
mov dword [esp + 0xc], edx
movzx ecx, byte [ecx]
mov byte [esi + 2], cl
mov ecx, dword [esp + 0xc]
lea edx, [ecx + 1]
mov dword [esp + 0xc], edx
movzx ecx, byte [ecx]
mov byte [esi + 3], cl
add esi, 4
add eax, 0xfffffffc
jne 0x402f90
test edi, edi
je 0x402f10
mov eax, esi
sub eax, ebx
cmp eax, 0x1ff
jl 0x402f10
add dword [esp + 0x48], eax
push eax
push dword [ebp + 0xc]
push ebx
call edi
add esp, 0xc
test eax, eax
je 0x4035b1
mov esi, eax
mov ebx, eax
jmp 0x402f10
mov eax, ecx
cmp ecx, 4
jae 0x402f90
jmp 0x402fdb
mov edi, dword [esp + 0x24]
test edi, edi
jne 0x403087
mov eax, dword [esp + 0x14]
test eax, eax
mov edi, dword [ebp + 8]
jne 0x403300
lea eax, [esp + 0x35]
mov dword [esp + 0xc], eax
movzx ecx, byte [esp + 0x34]
test cl, cl
jne 0x4031e5
mov eax, dword [esp + 0x30]
mov edx, dword [esp + 8]
test dl, 1
je 0x40307a
cmp dword [esp + 0x20], 0
jle 0x40307a
mov edi, dword [esp + 0x20]
jne 0x40347c
mov edi, dword [ebp + 8]
inc eax
jmp 0x401048
mov eax, dword [esp]
sub edi, eax
je 0x403035
mov ecx, edi
cmp dword [ebp + 8], 0
je 0x4030ae
mov eax, esi
sub eax, ebx
mov ecx, eax
xor ecx, 0x200
not eax
and eax, 0x200
add eax, eax
sub eax, ecx
mov ecx, edi
cmp edi, eax
jl 0x4030ae
mov ecx, eax
mov eax, ecx
mov dword [esp], ecx
cmp ecx, 4
jl 0x4030db
nop
nop
nop
nop
nop
nop
nop
nop
mov ecx, dword [edx]
mov dword [esi], ecx
add esi, 4
add edx, 4
mov ecx, eax
xor ecx, 4
and eax, 0xfffffffb
add eax, eax
sub eax, ecx
cmp eax, 3
jg 0x4030c0
test eax, eax
je 0x403171
mov ecx, eax
and ecx, 7
je 0x4031c0
mov dword [esp + 4], edi
mov dword [esp + 0x1c], ebx
mov edi, edx
xor edx, edx
nop
nop
nop
nop
nop
nop
movzx ebx, byte [edi + edx]
mov byte [esi + edx], bl
inc edx
cmp ecx, edx
jne 0x403100
add esi, edx
mov ecx, eax
sub ecx, edx
add edi, edx
mov ebx, dword [esp + 0x1c]
mov edx, edi
mov edi, dword [esp + 4]
cmp eax, 8
jb 0x403171
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx eax, byte [edx]
mov byte [esi], al
movzx eax, byte [edx + 1]
mov byte [esi + 1], al
movzx eax, byte [edx + 2]
mov byte [esi + 2], al
movzx eax, byte [edx + 3]
mov byte [esi + 3], al
movzx eax, byte [edx + 4]
mov byte [esi + 4], al
movzx eax, byte [edx + 5]
mov byte [esi + 5], al
movzx eax, byte [edx + 6]
mov byte [esi + 6], al
movzx eax, byte [edx + 7]
mov byte [esi + 7], al
add esi, 8
add edx, 8
add ecx, 0xfffffff8
jne 0x403130
cmp dword [ebp + 8], 0
je 0x403080
mov eax, esi
sub eax, ebx
cmp eax, 0x1ff
jl 0x403080
mov ecx, ebx
mov ebx, edi
mov edi, 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 0x4035b1
mov esi, eax
mov edx, edi
mov edi, ebx
mov ebx, esi
jmp 0x403080
mov ecx, eax
cmp eax, 8
jae 0x403130
jmp 0x403171
mov edx, dword [esp + 8]
movzx ecx, byte [esp + 0x34]
test cl, cl
mov eax, dword [esp + 0x30]
je 0x403061
movsx eax, cl
mov edx, ebx
sub edx, esi
add edx, 0x200
cmp edx, eax
jl 0x4031f8
mov edx, eax
test edi, edi
je 0x4031fe
mov eax, edx
sub cl, al
mov byte [esp + 0x34], cl
test eax, eax
je 0x40329b
mov ecx, eax
and ecx, 3
je 0x4032e0
mov dword [esp], eax
mov dword [esp + 0x1c], ebx
xor edx, edx
mov eax, esi
mov esi, dword [esp + 0xc]
lea edi, [esi + 1]
mov dword [esp + 0xc], edi
movzx ebx, byte [esi]
mov esi, eax
mov byte [eax + edx], bl
inc edx
cmp ecx, edx
jne 0x403220
add esi, edx
mov eax, dword [esp]
mov ecx, eax
sub ecx, edx
mov edi, dword [ebp + 8]
mov ebx, dword [esp + 0x1c]
cmp eax, 4
jb 0x40329b
nop
mov eax, dword [esp + 0xc]
lea edx, [eax + 1]
mov dword [esp + 0xc], edx
movzx eax, byte [eax]
mov byte [esi], al
mov eax, dword [esp + 0xc]
lea edx, [eax + 1]
mov dword [esp + 0xc], edx
movzx eax, byte [eax]
mov byte [esi + 1], al
mov eax, dword [esp + 0xc]
lea edx, [eax + 1]
mov dword [esp + 0xc], edx
movzx eax, byte [eax]
mov byte [esi + 2], al
mov eax, dword [esp + 0xc]
lea edx, [eax + 1]
mov dword [esp + 0xc], edx
movzx eax, byte [eax]
mov byte [esi + 3], al
add esi, 4
add ecx, 0xfffffffc
jne 0x403250
test edi, edi
je 0x4031d0
mov eax, esi
sub eax, ebx
cmp eax, 0x1ff
jl 0x4031d0
add dword [esp + 0x48], eax
push eax
push dword [ebp + 0xc]
push ebx
call edi
add esp, 0xc
test eax, eax
je 0x4035b1
mov esi, eax
mov ebx, eax
jmp 0x4031d0
mov ecx, eax
cmp eax, 4
jae 0x403250
jmp 0x40329b
mov ecx, dword [esp + 4]
mov eax, dword [esp + 0x14]
sub eax, ecx
je 0x403044
mov edx, ebx
mov ecx, ebx
sub ecx, esi
add ecx, 0x200
mov ebx, eax
mov dword [esp + 0x14], eax
cmp eax, ecx
jl 0x403318
mov ebx, ecx
mov ecx, dword [esp + 0x14]
test edi, edi
je 0x403322
mov ecx, ebx
test ecx, ecx
mov dword [esp + 4], ecx
je 0x403380
mov dword [esp + 0x1c], edx
lea edx, [ecx + 3]
xor ebx, ebx
mov eax, esi
mov esi, ecx
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov dword [esp], edx
mov edi, eax
add eax, ebx
mov edx, eax
xor edx, 0xfffffffc
mov ecx, eax
or ecx, 3
test ecx, edx
je 0x403390
mov eax, edi
mov byte [edi + ebx], 0x30
dec esi
inc ebx
mov edx, dword [esp]
dec edx
mov ecx, dword [esp + 4]
cmp ecx, ebx
jne 0x403340
add eax, ebx
mov edi, dword [ebp + 8]
mov esi, eax
mov ebx, dword [esp + 0x1c]
jmp 0x403420
mov ebx, edx
jmp 0x403420
mov dword [esp + 0x10], eax
mov dword [esp + 0x4c], edi
mov ecx, dword [esp + 4]
mov eax, ecx
sub eax, ebx
cmp eax, 4
jl 0x4033f0
cmp esi, 7
jl 0x4033af
mov esi, 7
mov eax, ecx
sub eax, esi
sub eax, ebx
add eax, 3
and eax, 0xfffffffc
add eax, 4
push eax
push 0x30
push dword [esp + 0x18]
call fcn.0040c8c0
mov ecx, dword [esp + 0x10]
add esp, 0xc
mov edx, dword [esp]
sub edx, esi
and edx, 0xfffffffc
mov eax, dword [esp + 0x4c]
add eax, edx
lea esi, [ebx + eax]
add esi, 4
mov eax, ecx
sub eax, edx
sub eax, ebx
add eax, 0xfffffffc
jmp 0x4033f4
mov esi, dword [esp + 0x10]
test eax, eax
mov edi, dword [ebp + 8]
mov ebx, dword [esp + 0x1c]
je 0x403420
push eax
push 0x30
push esi
mov dword [esp + 0xc], eax
call fcn.0040c8c0
mov ecx, dword [esp + 0x10]
add esp, 0xc
add esi, dword [esp]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
test edi, edi
je 0x4032f4
mov eax, esi
sub eax, ebx
mov ecx, eax
and ecx, 1
mov edx, eax
xor edx, 1
lea ecx, [edx + ecx*2]
cmp ecx, 0x200
jl 0x4032f0
add dword [esp + 0x48], eax
push eax
push dword [ebp + 0xc]
push ebx
call edi
add esp, 0xc
test eax, eax
je 0x4035b1
mov esi, eax
mov ebx, eax
jmp 0x4032f0
mov eax, dword [esp + 0x30]
sub edi, edx
je 0x403077
mov ecx, ebx
sub ecx, esi
add ecx, 0x200
mov eax, edi
cmp edi, ecx
jl 0x40348e
mov eax, ecx
mov edx, edi
cmp dword [ebp + 8], 0
je 0x403498
mov edx, eax
test edx, edx
mov dword [esp], edx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], edi
je 0x403500
mov eax, esi
and eax, 3
je 0x403500
mov edi, esi
not esi
and esi, 3
lea ebx, [edx - 1]
cmp esi, ebx
jb 0x4034be
mov esi, ebx
lea eax, [esi + 1]
push eax
push 0x20
push edi
call fcn.0040c8c0
add esp, 0xc
lea ecx, [esi + edi]
inc ecx
sub ebx, esi
mov edi, dword [esp + 0x20]
cmp ebx, 4
jge 0x403509
test ebx, ebx
je 0x403544
push ebx
push 0x20
mov esi, ecx
push ecx
call fcn.0040c8c0
add esp, 0xc
add esi, ebx
jmp 0x403546
mov ecx, esi
mov ebx, edx
cmp ebx, 4
jl 0x4034dc
mov eax, ebx
cmp ebx, 7
jl 0x403515
mov eax, 7
neg eax
lea esi, [ebx + eax]
add esi, 3
and esi, 0xfffffffc
lea eax, [esi + 4]
push eax
push 0x20
mov edi, ecx
push ecx
call fcn.0040c8c0
add esp, 0xc
lea ecx, [esi + edi]
add ecx, 4
sub ebx, esi
add ebx, 0xfffffffc
mov edi, dword [esp + 0x20]
test ebx, ebx
jne 0x4034e0
mov esi, ecx
mov ebx, dword [esp + 0x1c]
mov eax, dword [esp + 0x30]
mov edx, dword [esp]
cmp dword [ebp + 8], 0
je 0x403474
mov eax, esi
sub eax, ebx
lea ecx, [eax + 1]
cmp ecx, 0x200
jl 0x403470
add dword [esp + 0x48], eax
push eax
push dword [ebp + 0xc]
push ebx
call dword [ebp + 8]
add esp, 0xc
test eax, eax
je 0x4035b1
mov esi, eax
mov ebx, eax
mov eax, dword [esp + 0x30]
mov edx, dword [esp]
jmp 0x403474
test edi, edi
je 0x4035b7
mov eax, esi
sub eax, ebx
test eax, eax
jle 0x4035ba
add dword [esp + 0x48], eax
push eax
push dword [ebp + 0xc]
push ebx
call edi
add esp, 0xc
mov esi, eax
mov ebx, eax
jmp 0x4035ba
xor esi, esi
xor ebx, ebx
jmp 0x4035ba
mov byte [esi], 0
mov eax, ebx
xor eax, esi
mov ecx, dword [esp + 0x48]
sub ecx, eax
not ebx
and ebx, esi
lea eax, [ecx + ebx*2]
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret