Function at 0x408a60
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x15c
cmp dword [esp + 0x174], 0x1ffff
mov dword [esp + 0x3c], eax
mov dword [esp + 0x44], edx
mov dword [esp + 0x4c], ecx
ja 0x408f78
cmp dword [esp + 0x174], 2
jbe 0x408df0
mov edi, dword [eax + 0x72c8]
mov eax, dword [eax + 0x72cc]
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x170]
mov dword [esp + 0x5c], edi
movzx edx, byte [eax]
mov esi, edx
and esi, 3
mov eax, esi
cmp al, 2
je 0x408bca
cmp al, 3
je 0x408bb0
cmp al, 1
je 0x408e10
mov eax, edx
shr al, 2
and eax, 3
cmp al, 1
je 0x40a2d0
cmp al, 3
jne 0x408fc8
mov eax, dword [esp + 0x170]
movzx ebx, byte [eax + 2]
movzx eax, word [eax]
shl ebx, 0x10
add ebx, eax
mov eax, 3
shr ebx, 4
lea edi, [ebx + eax]
mov dword [esp + 0x58], edi
lea edx, [edi + 0x20]
cmp dword [esp + 0x174], edx
jae 0x409a08
cmp dword [esp + 0x174], edi
jb 0x408df0
mov edi, dword [esp + 0x3c]
add eax, dword [esp + 0x170]
mov dword [esp + 8], ebx
mov dword [esp + 4], eax
lea esi, [edi + 0x73e8]
mov dword [esp], esi
call sub.msvcrt.dll_memcpy
lea eax, [esi + ebx]
mov dword [edi + 0x7368], esi
xor esi, esi
lea edx, [eax + 4]
mov dword [edi + 0x7378], ebx
mov ebx, 4
and edx, 0xfffffffc
mov dword [eax], 0
mov dword [eax + 0x1c], 0
sub eax, edx
add eax, 0x20
mov dword [edx], 0
and eax, 0xfffffffc
lea ecx, [eax - 1]
shr ecx, 2
and ecx, 1
cmp ebx, eax
jae 0x408e91
test ecx, ecx
jne 0x40b14a
mov dword [edx + ebx], esi
mov dword [edx + ebx + 4], esi
add ebx, 8
cmp ebx, eax
jb 0x408b9a
jmp 0x408e91
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x40], 0xffffffe2
mov ebx, dword [eax + 0x72f8]
test ebx, ebx
je 0x408df8
cmp dword [esp + 0x174], 4
jbe 0x408df0
mov eax, dword [esp + 0x170]
shr dl, 2
and edx, 3
mov ebx, dword [eax]
mov eax, ebx
shr eax, 4
cmp dl, 2
je 0x408f90
cmp dl, 3
je 0x408dc0
xor edx, 1
and eax, 0x3ff
shr ebx, 0xe
movzx edi, dl
and ebx, 0x3ff
mov edx, 3
mov dword [esp + 0x48], edi
mov edi, eax
lea eax, [ebx + edx]
mov dword [esp + 0x58], eax
cmp dword [esp + 0x174], eax
jb 0x408df0
mov eax, dword [esp + 0x3c]
mov ecx, dword [eax + 0x7394]
test ecx, ecx
je 0x408c4b
cmp edi, 0x300
ja 0x409000
add edx, dword [esp + 0x170]
mov eax, esi
mov dword [esp + 0x40], edx
cmp al, 3
je 0x40a130
mov eax, dword [esp + 0x48]
test eax, eax
jne 0x40a3e8
test ebx, ebx
je 0x408df0
test edi, edi
je 0x408df0
cmp ebx, edi
jae 0x40a6b0
mov eax, ebx
xor edx, edx
shl eax, 4
div edi
lea edx, [eax + eax*2]
shl edx, 3
mov esi, dword [edx + 0x417920]
mov ecx, dword [edx + 0x417924]
mov ebp, dword [edx + 0x417928]
mov eax, dword [edx + 0x41792c]
mov dword [esp + 0x54], esi
mov esi, dword [esp + 0x3c]
lea edx, [esi + 0x6aac]
mov dword [esp + 0x50], edx
lea edx, [esi + 0x73e8]
add esi, 0x2828
mov dword [esp + 0x48], edx
mov edx, edi
shr edx, 8
imul eax, edx
imul edx, ecx
mov ecx, dword [esp + 0x54]
add eax, ebp
mov ebp, eax
add edx, ecx
shr ebp, 3
add eax, ebp
cmp eax, edx
jae 0x40a65e
mov ecx, dword [esp + 0x50]
mov ebp, dword [esp + 0x40]
mov dword [esp + 4], 0x800
mov eax, esi
mov dword [esp], ecx
mov edx, ebp
mov ecx, ebx
call fcn.004062e0
cmp eax, ebx
jae 0x408df0
cmp eax, 0xffffff88
ja 0x408df0
sub ebx, eax
mov ecx, ebp
mov dword [esp + 4], esi
mov edx, edi
mov dword [esp], ebx
add ecx, eax
mov eax, dword [esp + 0x48]
call fcn.00401e00
cmp eax, 0xffffff88
ja 0x408df0
mov eax, dword [esp + 0x3c]
mov ebx, dword [esp + 0x48]
mov dword [eax + 0x7378], edi
mov dword [eax + 0x72f8], 1
mov dword [eax + 0xc], esi
mov dword [eax + 0x7368], ebx
add ebx, edi
lea edx, [ebx + 4]
mov eax, ebx
mov dword [ebx], 0
xor esi, esi
and edx, 0xfffffffc
mov dword [ebx + 0x1c], 0
mov ebx, 4
sub eax, edx
mov dword [edx], 0
add eax, 0x20
and eax, 0xfffffffc
lea ecx, [eax - 1]
shr ecx, 2
and ecx, 1
cmp ebx, eax
jae 0x408e91
test ecx, ecx
jne 0x40a308
mov dword [edx + ebx], esi
mov dword [edx + ebx + 4], esi
add ebx, 8
cmp ebx, eax
jb 0x408da5
jmp 0x408e91
and eax, 0x3ffff
shr ebx, 0x16
mov edi, eax
mov eax, dword [esp + 0x170]
movzx eax, byte [eax + 4]
shl eax, 0xa
add ebx, eax
cmp edi, 0x20000
jbe 0x408fb0
lea esi, cs:[esi]
nop
mov dword [esp + 0x40], 0xffffffec
mov eax, dword [esp + 0x40]
add esp, 0x15c
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, edx
shr al, 2
and eax, 3
cmp al, 1
je 0x40a2a0
cmp al, 3
jne 0x408fe0
mov eax, dword [esp + 0x170]
movzx ebx, byte [eax + 2]
movzx eax, word [eax]
shl ebx, 0x10
add ebx, eax
shr ebx, 4
cmp dword [esp + 0x174], 3
je 0x408df0
cmp ebx, 0x20000
ja 0x408df0
mov dword [esp + 0x58], 4
mov eax, 3
mov ecx, dword [esp + 0x170]
mov edi, dword [esp + 0x3c]
lea edx, [ebx + 0x20]
mov dword [esp + 8], edx
movzx eax, byte [ecx + eax]
lea esi, [edi + 0x73e8]
mov dword [esp], esi
mov dword [esp + 4], eax
call sub.msvcrt.dll_memset
mov dword [edi + 0x7368], esi
mov dword [edi + 0x7378], ebx
mov eax, dword [esp + 0x58]
mov esi, dword [esp + 0x170]
mov ebx, dword [esp + 0x174]
add esi, eax
sub ebx, eax
je 0x408f78
mov eax, dword [esp + 0x3c]
mov eax, dword [eax + 0x7394]
mov dword [esp + 0x50], eax
movzx eax, byte [esi]
mov dword [esp + 0x54], eax
test eax, eax
jne 0x409020
cmp ebx, 1
jne 0x408f78
mov eax, dword [esp + 0x44]
test eax, eax
je 0x40a335
mov edi, dword [esp + 0x50]
test edi, edi
jne 0x40b075
mov edi, dword [esp + 0x3c]
mov eax, 0x1000000
cmp eax, dword [edi + 0x72c8]
mov eax, edi
mov edi, dword [esp + 0x50]
sbb edi, dword [eax + 0x72cc]
jae 0x40b133
mov edi, dword [esp + 0x4c]
mov ebx, dword [esp + 0x44]
add edi, ebx
mov dword [esp + 0x70], edi
mov edi, dword [eax + 0x7368]
mov ebx, dword [eax + 0x7378]
add ebx, edi
mov dword [esp + 0xcc], edi
mov dword [esp + 0x74], ebx
mov ebx, dword [esp + 0x74]
mov eax, dword [esp + 0x70]
mov esi, dword [esp + 0x44]
sub ebx, edi
sub eax, esi
cmp eax, ebx
jb 0x40a2f8
mov dword [esp], esi
mov dword [esp + 8], ebx
mov dword [esp + 4], edi
call sub.msvcrt.dll_memcpy
mov eax, esi
add eax, ebx
mov esi, eax
mov edi, dword [esp + 0x44]
mov eax, esi
sub eax, edi
mov dword [esp + 0x40], eax
jmp 0x408df8
mov dword [esp + 0x40], 0xffffffb8
mov eax, dword [esp + 0x40]
add esp, 0x15c
pop ebx
pop esi
pop edi
pop ebp
ret
and eax, 0x3fff
mov dword [esp + 0x48], 0
shr ebx, 0x12
mov edx, 4
mov edi, eax
jmp 0x408c1d
mov dword [esp + 0x48], 0
mov edx, 5
jmp 0x408c1d
shr dl, 3
mov eax, 1
movzx ebx, dl
jmp 0x408b05
shr dl, 3
mov dword [esp + 0x58], 2
mov eax, 1
movzx ebx, dl
jmp 0x408e5d
mov eax, dword [eax + 0xc]
lea ecx, [eax + 0x4040]
add eax, 0x40
lea esi, [esi]
sub eax, 0xffffff80
cmp ecx, eax
jne 0x409010
jmp 0x408c4b
mov edi, dword [esp + 0x170]
add edi, dword [esp + 0x174]
lea eax, [esi + 1]
mov dword [esp + 0x40], edi
mov edi, dword [esp + 0x54]
cmp edi, 0x7f
jle 0x40906e
cmp edi, 0xff
je 0x40a5b9
mov edi, dword [esp + 0x40]
cmp eax, edi
jae 0x408f78
mov edx, dword [esp + 0x54]
movzx ecx, byte [esi + 1]
lea eax, [esi + 2]
add edx, 0xffffff80
shl edx, 8
lea edi, [ecx + edx]
mov dword [esp + 0x54], edi
lea ebp, [eax + 1]
cmp dword [esp + 0x40], ebp
jb 0x408f78
mov edx, dword [esp + 0x3c]
movzx eax, byte [eax]
lea edi, [edx + 0x6aac]
mov ecx, eax
mov byte [esp + 0x48], al
lea eax, [edx + 0x10]
mov dword [esp + 0x28], edi
shr cl, 6
mov dword [esp + 0x64], edi
mov edi, dword [esp + 0x54]
movzx ecx, cl
mov dword [esp + 0x24], edi
mov edi, dword [esp + 0x50]
mov dword [esp + 0x20], edi
mov edi, edx
mov edx, dword [edx + 0x72fc]
mov dword [esp + 0x18], 0x417700
mov dword [esp + 0x1c], edx
mov edx, dword [esp + 0x40]
mov dword [esp + 0x14], 0x417b20
sub edx, ebp
mov dword [esp + 0x10], 0x417bc0
mov dword [esp + 0xc], edx
mov edx, edi
mov dword [esp + 8], ebp
mov dword [esp + 4], 9
mov dword [esp], 0x23
call fcn.00408770
cmp eax, 0xffffff88
ja 0x408df0
add eax, ebp
lea edx, [edi + 8]
mov ebp, edi
movzx ecx, byte [esp + 0x48]
mov dword [esp + 0x68], eax
lea eax, [edi + 0x1018]
mov edi, dword [esp + 0x64]
shr cl, 4
mov dword [esp + 0x28], edi
mov edi, dword [esp + 0x54]
and ecx, 3
mov dword [esp + 0x24], edi
mov edi, ebp
mov ebp, dword [ebp + 0x7394]
mov dword [esp + 0x3c], edi
mov dword [esp + 0x20], ebp
mov ebp, dword [edi + 0x72fc]
mov edi, dword [esp + 0x68]
mov dword [esp + 0x18], 0x4175e0
mov dword [esp + 0x1c], ebp
mov ebp, dword [esp + 0x40]
mov dword [esp + 0x14], 0x417e20
sub ebp, edi
mov dword [esp + 0x10], 0x417ea0
mov dword [esp + 0xc], ebp
mov dword [esp + 8], edi
mov dword [esp + 4], 8
mov dword [esp], 0x1f
call fcn.00408770
cmp eax, 0xffffff88
ja 0x408df0
add edi, eax
mov ebp, dword [esp + 0x3c]
movzx ecx, byte [esp + 0x48]
mov dword [esp + 0x68], edi
mov edi, dword [esp + 0x64]
lea edx, [ebp + 4]
lea eax, [ebp + 0x1820]
shr cl, 2
mov dword [esp + 0x28], edi
mov edi, dword [esp + 0x54]
and ecx, 3
mov dword [esp + 0x24], edi
mov edi, ebp
mov ebp, dword [ebp + 0x7394]
mov dword [esp + 0x20], ebp
mov ebp, dword [edi + 0x72fc]
mov edi, dword [esp + 0x68]
mov dword [esp + 0x18], 0x4173c0
mov dword [esp + 0x1c], ebp
mov ebp, dword [esp + 0x40]
mov dword [esp + 0x14], 0x417c60
sub ebp, edi
mov dword [esp + 0x10], 0x417d40
mov dword [esp + 0xc], ebp
mov ebp, edi
mov dword [esp + 8], edi
mov dword [esp + 4], 9
mov dword [esp], 0x34
call fcn.00408770
cmp eax, 0xffffff88
ja 0x408df0
add ebp, eax
mov dword [esp + 0x48], ebp
sub ebp, esi
mov dword [esp + 0x40], ebp
cmp ebp, 0xffffff88
ja 0x408df8
mov eax, dword [esp + 0x44]
sub ebx, ebp
test eax, eax
je 0x40a321
mov edi, dword [esp + 0x5c]
mov eax, 0x2000000
mov esi, dword [esp + 0x50]
cmp eax, edi
mov eax, 0
sbb eax, dword [esp + 0x60]
setb byte [esp + 0xab]
test esi, esi
jne 0x409978
mov edi, dword [esp + 0x3c]
mov eax, 0x1000000
cmp eax, dword [edi + 0x72c8]
mov eax, edi
mov edi, dword [esp + 0x50]
sbb edi, dword [eax + 0x72cc]
jb 0x409a28
mov esi, dword [esp + 0x44]
mov edi, dword [esp + 0x4c]
mov eax, dword [esp + 0x3c]
mov edx, dword [esp + 0x54]
add edi, esi
mov dword [esp + 0x70], edi
mov esi, dword [eax + 0x7378]
mov dword [eax + 0x7394], 0
mov edi, dword [eax + 0x7368]
add esi, edi
mov dword [esp + 0xcc], edi
mov dword [esp + 0x74], esi
test edx, edx
je 0x408f33
mov eax, dword [esp + 0x3c]
mov dword [eax + 0x72fc], 1
mov esi, dword [eax + 0x72b0]
mov dword [esp + 0x84], esi
mov esi, dword [eax + 0x72b4]
mov dword [esp + 0x9c], esi
mov esi, dword [eax + 0x72b8]
mov dword [esp + 0xa0], esi
mov esi, dword [eax + 0x682c]
mov dword [esp + 0x5c], esi
mov dword [esp + 0x138], esi
mov esi, eax
mov eax, dword [eax + 0x6830]
mov dword [esp + 0x13c], eax
mov eax, dword [esi + 0x6834]
mov dword [esp + 0x140], eax
test ebx, ebx
je 0x408df0
mov esi, dword [esp + 0x48]
movzx eax, byte [esi + ebx - 1]
cmp ebx, 3
jbe 0x40b24c
test al, al
je 0x408df0
cmp ebx, 0xffffff88
ja 0x408df0
lea ebx, [esi + ebx - 4]
bsr eax, eax
mov edx, 8
mov dword [esp + 0x4c], ebx
mov ebx, dword [ebx]
sub edx, eax
mov eax, esi
mov dword [esp + 0x50], ebx
lea esi, [eax + 4]
mov eax, dword [esp + 0x3c]
mov ebx, dword [esp + 0x50]
mov dword [esp + 0x64], esi
mov eax, dword [eax]
mov dword [esp + 0x8c], eax
mov eax, dword [eax + 4]
add edx, eax
mov ecx, edx
neg ecx
shr ebx, cl
mov ecx, dword [eax*4 + 0x417340]
and ecx, ebx
mov dword [esp + 0x78], ecx
cmp edx, 0x20
ja 0x4093db
cmp dword [esp + 0x4c], esi
jae 0x40bbe1
mov esi, dword [esp + 0x48]
mov ebx, dword [esp + 0x4c]
cmp esi, ebx
je 0x4093db
mov ecx, edx
mov eax, ebx
shr ecx, 3
sub eax, ecx
cmp eax, esi
jae 0x4093cc
sub ebx, esi
mov eax, esi
mov ecx, ebx
mov esi, dword [eax]
mov dword [esp + 0x4c], eax
shl ecx, 3
sub edx, ecx
mov dword [esp + 0x50], esi
mov eax, dword [esp + 0x3c]
mov esi, dword [esp + 0x50]
mov eax, dword [eax + 8]
mov dword [esp + 0x90], eax
mov eax, dword [eax + 4]
add edx, eax
mov ecx, edx
neg ecx
shr esi, cl
mov ecx, dword [eax*4 + 0x417340]
and ecx, esi
mov dword [esp + 0x80], ecx
cmp edx, 0x20
ja 0x409449
mov esi, dword [esp + 0x64]
cmp dword [esp + 0x4c], esi
jae 0x40bbc6
mov esi, dword [esp + 0x48]
mov ebx, dword [esp + 0x4c]
cmp esi, ebx
je 0x409449
mov ecx, edx
mov eax, ebx
shr ecx, 3
sub eax, ecx
cmp eax, esi
jae 0x40943a
sub ebx, esi
mov eax, esi
mov ecx, ebx
mov ebx, dword [eax]
mov dword [esp + 0x4c], eax
shl ecx, 3
sub edx, ecx
mov dword [esp + 0x50], ebx
mov eax, dword [esp + 0x3c]
mov eax, dword [eax + 4]
mov dword [esp + 0x94], eax
mov eax, dword [eax + 4]
lea esi, [eax + edx]
mov edx, dword [esp + 0x50]
mov ecx, esi
mov ebp, esi
neg ecx
shr edx, cl
and edx, dword [eax*4 + 0x417340]
mov dword [esp + 0x7c], edx
cmp esi, 0x20
ja 0x4094b9
mov ebx, dword [esp + 0x64]
cmp dword [esp + 0x4c], ebx
jae 0x40bba9
mov esi, dword [esp + 0x48]
mov ebx, dword [esp + 0x4c]
cmp esi, ebx
je 0x4094b9
mov edx, ebp
mov eax, ebx
shr edx, 3
sub eax, edx
cmp eax, esi
jae 0x4094a6
sub ebx, esi
mov eax, esi
mov edx, ebx
mov esi, dword [eax]
mov ebx, ebp
shl edx, 3
mov dword [esp + 0x4c], eax
sub ebx, edx
mov dword [esp + 0x50], esi
mov ebp, ebx
mov eax, dword [esp + 0x70]
mov esi, dword [esp + 0x44]
mov dword [esp + 0x68], edi
sub eax, 0x20
mov dword [esp + 0x98], eax
nop
mov eax, dword [esp + 0x8c]
mov ebx, dword [esp + 0x78]
lea ebx, [eax + ebx*8 + 8]
movzx eax, byte [ebx + 2]
mov dword [esp + 0x6c], ebx
mov byte [esp + 0x40], al
mov eax, dword [ebx + 4]
mov ebx, dword [esp + 0x7c]
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x94]
lea ebx, [eax + ebx*8 + 8]
movzx eax, byte [ebx + 2]
mov dword [esp + 0x7c], ebx
mov byte [esp + 0x78], al
mov eax, dword [ebx + 4]
mov ebx, dword [esp + 0x80]
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x90]
lea eax, [eax + ebx*8 + 8]
movzx edx, byte [eax + 2]
mov dword [esp + 0x80], eax
mov eax, dword [eax + 4]
cmp dl, 1
jbe 0x40a3b0
movzx ecx, dl
mov ebx, dword [esp + 0x50]
mov dword [esp + 0x88], ecx
mov edi, ecx
mov ecx, ebp
shl ebx, cl
cmp dl, 0x18
jbe 0x40a50f
cmp byte [esp + 0xab], 0
je 0x40a50f
mov edx, 0x20
mov ecx, edi
sub edx, ebp
cmp edx, edi
cmovbe edi, edx
sub ecx, edi
mov dword [esp + 0xac], edi
add ebp, edi
neg edi
mov edx, ecx
mov dword [esp + 0xa4], ecx
mov ecx, edi
shr ebx, cl
mov ecx, edx
shl ebx, cl
add ebx, eax
cmp ebp, 0x20
ja 0x4095d7
mov edi, dword [esp + 0x64]
cmp dword [esp + 0x4c], edi
jae 0x40b946
mov edx, dword [esp + 0x48]
mov edi, dword [esp + 0x4c]
cmp edx, edi
je 0x4095d7
mov ecx, ebp
mov eax, edi
shr ecx, 3
sub eax, ecx
cmp eax, edx
jae 0x4095c8
sub edi, edx
mov eax, edx
mov ecx, edi
mov edi, dword [eax]
mov dword [esp + 0x4c], eax
shl ecx, 3
sub ebp, ecx
mov dword [esp + 0x50], edi
mov edi, dword [esp + 0xa4]
test edi, edi
je 0x409602
mov eax, dword [esp + 0x50]
mov ecx, ebp
mov edx, dword [esp + 0xac]
add ebp, edi
shl eax, cl
mov ecx, dword [esp + 0x88]
sub edx, ecx
mov ecx, edx
shr eax, cl
add ebx, eax
mov eax, dword [esp + 0x13c]
mov dword [esp + 0x138], ebx
mov dword [esp + 0x140], eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x13c], eax
movzx ebx, byte [esp + 0x78]
xor eax, eax
test bl, bl
je 0x409648
mov edx, dword [esp + 0x50]
mov ecx, ebp
movzx eax, bl
add ebp, eax
shl edx, cl
mov ecx, eax
neg ecx
shr edx, cl
add dword [esp + 0x60], edx
movzx edx, byte [esp + 0x40]
add eax, edx
cmp eax, 0x13
jg 0x40a4a3
cmp byte [esp + 0x40], 0
je 0x409676
mov ecx, ebp
and ecx, 0x1f
mov eax, dword [esp + 0x50]
add ebp, edx
neg edx
shl eax, cl
mov ecx, edx
shr eax, cl
add dword [esp + 0x58], eax
cmp ebp, 0x20
ja 0x4096b7
mov edi, dword [esp + 0x64]
cmp dword [esp + 0x4c], edi
jae 0x40a5d9
mov edi, dword [esp + 0x48]
mov ebx, dword [esp + 0x4c]
cmp edi, ebx
je 0x4096b7
mov eax, ebp
mov edx, ebx
shr eax, 3
sub edx, eax
cmp edx, edi
jae 0x4096a8
mov eax, ebx
mov edx, edi
sub eax, edi
shl eax, 3
mov dword [esp + 0x4c], edx
sub ebp, eax
mov eax, dword [edx]
mov dword [esp + 0x50], eax
mov edi, dword [esp + 0x6c]
movzx edx, byte [edi + 3]
lea eax, [ebp + edx]
mov ebx, eax
neg ebx
mov ecx, ebx
mov ebx, dword [esp + 0x50]
mov ebp, ebx
shr ebp, cl
mov ecx, dword [edx*4 + 0x417340]
and ecx, ebp
mov ebp, dword [esp + 0x7c]
mov edx, ecx
movzx ecx, word [edi]
add edx, ecx
mov dword [esp + 0x78], edx
movzx edx, byte [ebp + 3]
add eax, edx
mov ecx, eax
neg ecx
shr ebx, cl
mov ecx, dword [edx*4 + 0x417340]
and ecx, ebx
mov edx, ecx
movzx ecx, word [ebp]
lea ebx, [edx + ecx]
mov dword [esp + 0x7c], ebx
cmp eax, 0x20
ja 0x40974c
mov ebx, dword [esp + 0x64]
cmp dword [esp + 0x4c], ebx
jae 0x40a5f4
mov edi, dword [esp + 0x48]
mov ebx, dword [esp + 0x4c]
cmp edi, ebx
je 0x40974c
mov edx, eax
mov ecx, ebx
shr edx, 3
sub ecx, edx
cmp ecx, edi
jae 0x40973d
sub ebx, edi
mov ecx, edi
mov edx, ebx
mov edi, dword [ecx]
mov dword [esp + 0x4c], ecx
shl edx, 3
sub eax, edx
mov dword [esp + 0x50], edi
mov ebx, dword [esp + 0x80]
mov edi, dword [esp + 0x68]
movzx edx, byte [ebx + 3]
lea ebp, [edx + eax]
mov eax, dword [esp + 0x50]
mov ecx, ebp
neg ecx
shr eax, cl
and eax, dword [edx*4 + 0x417340]
movzx edx, word [ebx]
add eax, edx
mov edx, dword [esp + 0x60]
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x58]
add edx, eax
lea ebx, [esi + eax]
lea ecx, [esi + edx]
mov dword [esp + 0x40], edx
mov dword [esp + 0x6c], ecx
lea ecx, [edi + eax]
mov edi, dword [esp + 0x5c]
mov eax, ebx
mov dword [esp + 0x88], ecx
sub eax, edi
cmp dword [esp + 0x74], ecx
jb 0x40b0b4
mov ecx, dword [esp + 0x6c]
cmp dword [esp + 0x98], ecx
jb 0x40b0b4
mov ecx, dword [esp + 0x70]
add edx, 0x20
sub ecx, esi
cmp ecx, edx
jb 0x40b0b4
mov edi, dword [esp + 0x68]
cmp dword [esp + 0x58], 0x10
mov edx, dword [edi]
mov dword [esi], edx
mov edx, dword [edi + 4]
mov dword [esi + 4], edx
mov edx, dword [edi + 8]
mov dword [esi + 8], edx
mov edx, dword [edi + 0xc]
mov dword [esi + 0xc], edx
ja 0x40b890
mov edi, dword [esp + 0x88]
mov edx, ebx
mov dword [esp + 0xcc], edi
mov edi, dword [esp + 0x84]
sub edx, edi
mov edi, dword [esp + 0x5c]
cmp edx, edi
jae 0x409872
mov edi, dword [esp + 0x9c]
mov edx, ebx
sub edx, edi
mov edi, dword [esp + 0x5c]
cmp edx, edi
jb 0x40bd2f
mov edi, dword [esp + 0x84]
mov edx, dword [esp + 0x60]
sub eax, edi
mov edi, dword [esp + 0xa0]
mov esi, eax
lea eax, [edi + eax]
add edx, eax
cmp edi, edx
jae 0x40b728
mov edi, esi
mov dword [esp], ebx
neg edi
mov dword [esp + 4], eax
mov dword [esp + 8], edi
add ebx, edi
call sub.msvcrt.dll_memmove
add dword [esp + 0x60], esi
mov eax, dword [esp + 0x84]
cmp dword [esp + 0x5c], 0xf
jbe 0x40b98a
mov edx, dword [eax]
add ebx, 0x10
add eax, 0x10
mov dword [ebx - 0x10], edx
mov edx, dword [eax - 0xc]
mov dword [ebx - 0xc], edx
mov edx, dword [eax - 8]
mov dword [ebx - 8], edx
mov edx, dword [eax - 4]
mov dword [ebx - 4], edx
cmp dword [esp + 0x60], 0x10
jle 0x4098f9
mov esi, dword [esp + 0x6c]
jmp 0x4098c0
mov edx, dword [eax]
add ebx, 0x20
add eax, 0x20
mov dword [ebx - 0x20], edx
mov edx, dword [eax - 0x1c]
mov dword [ebx - 0x1c], edx
mov edx, dword [eax - 0x18]
mov dword [ebx - 0x18], edx
mov edx, dword [eax - 0x14]
mov dword [ebx - 0x14], edx
mov edi, dword [eax - 0x10]
mov dword [ebx - 0x10], edi
mov edi, dword [eax - 0xc]
mov dword [ebx - 0xc], edi
mov edi, dword [eax - 8]
mov dword [ebx - 8], edi
mov ecx, dword [eax - 4]
mov dword [ebx - 4], ecx
cmp ebx, esi
jb 0x4098c0
mov esi, dword [esp + 0x6c]
cmp ebp, 0x20
ja 0x409944
mov edi, dword [esp + 0x64]
cmp dword [esp + 0x4c], edi
jae 0x40a631
mov edi, dword [esp + 0x4c]
cmp dword [esp + 0x48], edi
je 0x409944
mov edi, dword [esp + 0x4c]
mov eax, ebp
mov ebx, dword [esp + 0x48]
shr eax, 3
mov edx, edi
sub edx, eax
cmp edx, ebx
jae 0x409935
mov eax, edi
mov edx, ebx
sub eax, ebx
shl eax, 3
mov dword [esp + 0x4c], edx
sub ebp, eax
mov eax, dword [edx]
mov dword [esp + 0x50], eax
cmp dword [esp + 0x40], 0xffffff88
ja 0x408df8
sub dword [esp + 0x54], 1
je 0x40ba70
mov eax, dword [esp + 0x138]
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0xcc]
mov dword [esp + 0x68], eax
jmp 0x4094d0
mov esi, dword [esp + 0x44]
mov edi, dword [esp + 0x4c]
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x54]
add edi, esi
mov dword [esp + 0x6c], edi
mov edi, eax
mov dword [eax + 0x7394], 0
mov esi, dword [edi + 0x7378]
mov eax, dword [eax + 0x7368]
add esi, eax
mov dword [esp + 0xc8], eax
mov dword [esp + 0x88], esi
test ecx, ecx
jne 0x409ab9
mov ebx, esi
mov edx, dword [esp + 0x6c]
mov edi, dword [esp + 0x44]
sub ebx, eax
sub edx, edi
cmp edx, ebx
jb 0x40a2f8
mov dword [esp + 0x68], edi
mov dword [esp + 8], ebx
mov dword [esp + 4], eax
mov dword [esp], edi
call sub.msvcrt.dll_memcpy
mov eax, edi
add eax, ebx
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x68]
mov edi, dword [esp + 0x44]
sub eax, edi
mov dword [esp + 0x40], eax
jmp 0x408df8
mov edi, dword [esp + 0x3c]
add eax, dword [esp + 0x170]
mov dword [edi + 0x7368], eax
mov dword [edi + 0x7378], ebx
jmp 0x408e91
cmp dword [esp + 0x54], 4
jle 0x409286
mov eax, dword [eax + 8]
mov edx, 1
mov edi, dword [eax + 4]
mov ecx, edi
shl edx, cl
test edx, edx
je 0x40bc98
mov esi, 8
add eax, 0xa
xor edx, edx
shl esi, cl
add esi, eax
lea esi, cs:[esi]
cmp byte [eax], 0x17
sbb edx, 0xffffffff
add eax, 8
cmp esi, eax
jne 0x409a60
mov ecx, 8
mov eax, dword [esp + 0x3c]
sub ecx, edi
mov dword [eax + 0x7394], 0
shl edx, cl
cmp edx, 0x13
jbe 0x40bca6
mov edi, dword [esp + 0x44]
mov eax, dword [esp + 0x4c]
add eax, edi
mov edi, dword [esp + 0x3c]
mov dword [esp + 0x6c], eax
mov eax, dword [edi + 0x7368]
mov dword [esp + 0xc8], eax
add eax, dword [edi + 0x7378]
mov dword [esp + 0x88], eax
mov eax, dword [esp + 0x3c]
mov edi, dword [eax + 0x72b0]
mov edx, dword [eax + 0x6830]
mov dword [eax + 0x72fc], 1
mov ecx, dword [eax + 0x6834]
mov dword [esp + 0x94], edi
mov edi, dword [eax + 0x72b4]
mov dword [esp + 0x13c], edx
mov dword [esp + 0xb4], edi
mov edi, dword [eax + 0x72b8]
mov eax, dword [eax + 0x682c]
mov dword [esp + 0x140], ecx
mov dword [esp + 0xb8], edi
mov dword [esp + 0x138], eax
test ebx, ebx
je 0x408df0
mov edi, dword [esp + 0x48]
movzx eax, byte [edi + ebx - 1]
cmp ebx, 3
jbe 0x40a448
test al, al
je 0x408df0
cmp ebx, 0xffffff88
ja 0x408df0
lea esi, [edi + ebx - 4]
bsr eax, eax
mov ebx, 8
mov edi, dword [esi]
sub ebx, eax
mov dword [esp + 0x50], edi
mov eax, dword [esp + 0x48]
mov edi, dword [esp + 0x50]
lea ebp, [eax + 4]
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x4c], ebp
mov eax, dword [eax]
mov edx, dword [eax + 4]
add ebx, edx
mov ecx, ebx
neg ecx
shr edi, cl
mov ecx, dword [edx*4 + 0x417340]
and ecx, edi
mov dword [esp + 0x60], ecx
cmp ebx, 0x20
ja 0x409bb8
cmp esi, ebp
jae 0x40b7ba
mov edi, dword [esp + 0x48]
cmp edi, esi
je 0x409bb8
mov ecx, ebx
mov edx, esi
shr ecx, 3
sub edx, ecx
cmp edx, edi
jae 0x40b97c
sub esi, edi
mov ecx, esi
mov esi, edi
mov edi, dword [esi]
shl ecx, 3
sub ebx, ecx
mov dword [esp + 0x50], edi
add eax, 8
mov edi, dword [esp + 0x50]
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0x3c]
mov eax, dword [eax + 8]
mov edx, dword [eax + 4]
add ebx, edx
mov ecx, ebx
neg ecx
shr edi, cl
mov ecx, dword [edx*4 + 0x417340]
and ecx, edi
mov dword [esp + 0xa0], ecx
cmp ebx, 0x20
ja 0x409c24
mov edi, dword [esp + 0x4c]
cmp esi, edi
jae 0x40b7a5
mov edi, dword [esp + 0x48]
cmp edi, esi
je 0x40bad3
mov ecx, ebx
mov edx, esi
shr ecx, 3
sub edx, ecx
cmp edx, edi
jae 0x40b983
sub esi, edi
mov ecx, esi
mov esi, edi
mov edi, dword [esi]
shl ecx, 3
sub ebx, ecx
mov dword [esp + 0x50], edi
add eax, 8
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x3c]
mov edx, dword [eax + 4]
mov eax, dword [edx + 4]
lea edi, [eax + ebx]
mov ebx, dword [esp + 0x50]
mov ecx, edi
neg ecx
shr ebx, cl
mov ecx, dword [eax*4 + 0x417340]
and ecx, ebx
mov dword [esp + 0x9c], ecx
cmp edi, 0x20
ja 0x408df0
lea eax, [edx + 8]
mov dword [esp + 0x84], eax
mov eax, dword [esp + 0x4c]
cmp esi, eax
jae 0x40b78e
mov ebx, dword [esp + 0x48]
cmp ebx, esi
je 0x40be09
mov eax, edi
mov edx, esi
shr eax, 3
sub edx, eax
cmp edx, ebx
jae 0x409c90
mov eax, esi
mov edx, ebx
sub eax, ebx
shl eax, 3
sub edi, eax
mov eax, dword [edx]
mov dword [esp + 0x50], eax
cmp edi, 0x20
ja 0x408df0
mov esi, dword [esp + 0x54]
mov eax, 4
mov ebp, dword [esp + 0x50]
mov dword [esp + 0x58], 0
mov ebx, dword [esp + 0x9c]
mov ecx, dword [esp + 0xa0]
cmp esi, eax
cmovle eax, esi
mov dword [esp + 0xb0], eax
lea eax, [esp + 0xcc]
mov dword [esp + 0x70], eax
jmp 0x409f35
movzx ecx, bl
mov edx, ebp
mov dword [esp + 0x8c], ecx
mov ecx, edi
shl edx, cl
cmp bl, 0x18
jbe 0x40a078
cmp byte [esp + 0xab], 0
je 0x40a078
mov ebx, dword [esp + 0x8c]
mov ecx, 0x20
sub ecx, edi
cmp ecx, ebx
cmova ecx, ebx
sub ebx, ecx
mov dword [esp + 0x98], ecx
add edi, ecx
neg ecx
mov dword [esp + 0x90], ebx
shr edx, cl
movzx ecx, byte [esp + 0x90]
mov ebx, edx
shl ebx, cl
mov ecx, ebx
mov ebx, dword [esp + 0x80]
add ebx, ecx
cmp edi, 0x20
ja 0x409d88
mov edx, dword [esp + 0x4c]
cmp eax, edx
jae 0x40a60f
cmp dword [esp + 0x48], eax
je 0x409d88
mov ecx, edi
mov edx, eax
mov ebp, dword [esp + 0x48]
shr ecx, 3
sub edx, ecx
cmp edx, ebp
jae 0x40b163
sub eax, ebp
mov ecx, eax
mov eax, ebp
shl ecx, 3
mov ebp, dword [eax]
sub edi, ecx
mov edx, dword [esp + 0x90]
test edx, edx
je 0x409dc4
mov ecx, edi
mov edx, ebp
shl edx, cl
mov ecx, dword [esp + 0x98]
mov dword [esp + 0x80], edx
mov edx, dword [esp + 0x8c]
sub ecx, edx
mov edx, dword [esp + 0x80]
shr edx, cl
mov ecx, dword [esp + 0x90]
add ebx, edx
add edi, ecx
mov edx, dword [esp + 0x13c]
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x138], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x140], edx
mov dword [esp + 0x13c], ecx
movzx ebx, byte [esp + 0x60]
xor edx, edx
test bl, bl
je 0x409e08
movzx edx, bl
mov ecx, edi
mov ebx, ebp
shl ebx, cl
mov ecx, edx
add edi, edx
neg ecx
shr ebx, cl
add dword [esp + 0x68], ebx
movzx ebx, byte [esp + 0x5c]
add edx, ebx
cmp edx, 0x13
jg 0x40a010
cmp byte [esp + 0x5c], 0
je 0x409e34
mov ecx, edi
and ecx, 0x1f
add edi, ebx
mov edx, ebp
neg ebx
shl edx, cl
mov ecx, ebx
shr edx, cl
add dword [esp + 0x64], edx
cmp edi, 0x20
ja 0x40a110
mov ebx, dword [esp + 0x4c]
cmp eax, ebx
jae 0x40a0e0
mov ebx, dword [esp + 0x48]
mov edx, ebx
cmp ebx, eax
je 0x409e6d
mov ecx, edi
mov edx, eax
shr ecx, 3
sub edx, ecx
cmp edx, ebx
jae 0x409e66
sub eax, ebx
mov edx, ebx
mov ecx, eax
shl ecx, 3
mov ebp, dword [edx]
sub edi, ecx
movzx eax, byte [esi + 3]
mov ebx, ebp
add edi, eax
mov ecx, edi
neg ecx
shr ebx, cl
mov ecx, dword [eax*4 + 0x417340]
and ecx, ebx
mov ebx, ebp
mov eax, ecx
movzx ecx, word [esi]
mov esi, dword [esp + 0x74]
add eax, ecx
mov dword [esp + 0x60], eax
movzx eax, byte [esi + 3]
add edi, eax
mov ecx, edi
neg ecx
shr ebx, cl
and ebx, dword [eax*4 + 0x417340]
movzx eax, word [esi]
add ebx, eax
cmp edi, 0x20
ja 0x409ee4
mov eax, dword [esp + 0x4c]
cmp edx, eax
jae 0x40a0f8
mov esi, dword [esp + 0x48]
cmp esi, edx
je 0x409ee4
mov eax, edi
mov ecx, edx
shr eax, 3
sub ecx, eax
cmp ecx, esi
jae 0x40a120
mov eax, edx
mov edx, esi
sub eax, esi
shl eax, 3
mov ebp, dword [edx]
sub edi, eax
mov eax, dword [esp + 0x50]
mov esi, ebp
add dword [esp + 0x58], 1
movzx eax, byte [eax + 3]
add edi, eax
mov ecx, edi
neg ecx
shr esi, cl
mov ecx, dword [eax*4 + 0x417340]
mov eax, dword [esp + 0x50]
movzx eax, word [eax]
and ecx, esi
mov esi, dword [esp + 0x64]
add ecx, eax
mov eax, dword [esp + 0x70]
mov dword [eax], esi
mov esi, dword [esp + 0x68]
add eax, 0x10
mov dword [eax - 0xc], esi
mov esi, dword [esp + 0x40]
mov dword [eax - 8], esi
mov dword [esp + 0x70], eax
cmp edi, 0x20
ja 0x40b758
mov eax, dword [esp + 0x4c]
cmp edx, eax
jae 0x40a060
mov esi, dword [esp + 0x48]
mov eax, esi
cmp esi, edx
je 0x409f65
mov ebp, edi
mov eax, edx
shr ebp, 3
sub eax, ebp
cmp eax, esi
jae 0x409f5e
sub edx, esi
mov eax, esi
mov ebp, edx
shl ebp, 3
sub edi, ebp
mov ebp, dword [eax]
mov edx, dword [esp + 0x58]
cmp dword [esp + 0xb0], edx
je 0x40a6d3
mov edx, dword [esp + 0x60]
mov esi, dword [esp + 0x7c]
lea esi, [esi + edx*8]
movzx edx, byte [esi + 2]
mov byte [esp + 0x5c], dl
mov edx, dword [esi + 4]
mov dword [esp + 0x64], edx
mov edx, dword [esp + 0x84]
lea edx, [edx + ebx*8]
movzx ebx, byte [edx + 2]
mov dword [esp + 0x74], edx
mov byte [esp + 0x60], bl
mov ebx, dword [edx + 4]
mov dword [esp + 0x68], ebx
mov ebx, dword [esp + 0x78]
lea ecx, [ebx + ecx*8]
mov dword [esp + 0x50], ecx
movzx ebx, byte [ecx + 2]
mov ecx, dword [ecx + 4]
mov dword [esp + 0x80], ecx
mov ecx, dword [esp + 0x138]
mov dword [esp + 0x40], ecx
cmp bl, 1
ja 0x409ce8
je 0x40b6b9
mov ebx, dword [esp + 0x64]
test ebx, ebx
jne 0x409de8
mov edx, dword [esp + 0x13c]
mov dword [esp + 0x13c], ecx
mov dword [esp + 0x138], edx
mov dword [esp + 0x40], edx
jmp 0x409de8
cmp edi, 0x20
ja 0x40a64c
mov edx, dword [esp + 0x4c]
cmp eax, edx
jae 0x40a4f1
cmp dword [esp + 0x48], eax
je 0x40b171
mov edx, edi
mov ecx, eax
mov ebp, dword [esp + 0x48]
shr edx, 3
sub ecx, edx
cmp ecx, ebp
jae 0x40a6cc
sub eax, ebp
mov edx, eax
mov eax, ebp
shl edx, 3
mov ebp, dword [eax]
sub edi, edx
jmp 0x409e18
mov ebp, edi
mov eax, edx
and edi, 7
shr ebp, 3
sub eax, ebp
mov ebp, dword [eax]
jmp 0x409f65
mov ebx, dword [esp + 0x8c]
mov ecx, ebx
add edi, ebx
mov ebx, edx
neg ecx
shr ebx, cl
mov ecx, ebx
mov ebx, dword [esp + 0x80]
add ebx, ecx
cmp edi, 0x20
ja 0x409dc4
mov edx, dword [esp + 0x4c]
cmp eax, edx
jae 0x40a620
cmp dword [esp + 0x48], eax
je 0x409dc4
mov ecx, edi
mov edx, eax
mov ebp, dword [esp + 0x48]
shr ecx, 3
sub edx, ecx
cmp edx, ebp
jae 0x40b16a
sub eax, ebp
mov ecx, eax
mov eax, ebp
shl ecx, 3
mov ebp, dword [eax]
sub edi, ecx
jmp 0x409dc4
mov ecx, edi
and edi, 7
shr ecx, 3
sub eax, ecx
mov ebp, dword [eax]
mov edx, eax
jmp 0x409e6d
mov eax, edi
and edi, 7
shr eax, 3
sub edx, eax
mov ebp, dword [edx]
jmp 0x409ee4
mov edx, eax
jmp 0x409e6d
mov edx, ecx
jmp 0x409edd
mov esi, dword [esp + 0x3c]
cmp dword [esp + 0x48], 0
mov ecx, dword [esi + 0xc]
mov ebp, dword [ecx]
mov eax, ebp
movzx eax, ah
je 0x40a56e
add esi, 0x73e8
mov dword [esp + 0x74], esi
test al, al
je 0x40b544
test ebx, ebx
je 0x408df0
mov eax, edx
movzx edx, byte [edx + ebx - 1]
cmp ebx, 3
jbe 0x40ba00
lea esi, [eax + ebx - 4]
test dl, dl
je 0x408df0
mov eax, dword [esi]
bsr edx, edx
mov dword [esp + 0x50], eax
mov eax, 8
sub eax, edx
mov edx, ebp
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x74]
shr edx, 0x10
lea ebx, [eax + edi]
lea eax, [ecx + 4]
mov dword [esp + 0x48], eax
movzx eax, dl
mov dword [esp + 0x78], eax
mov ecx, eax
mov eax, dword [esp + 0x40]
neg ecx
mov edx, dword [esp + 0x74]
mov dword [esp + 0x6c], ebx
and ecx, 0x1f
mov dword [esp + 0x70], edi
mov ebx, dword [esp + 0x50]
add eax, 4
mov dword [esp + 0x64], ecx
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x54]
jmp 0x40a273
mov ebp, dword [esp + 0x40]
cmp esi, ebp
je 0x40b69d
mov ecx, eax
mov edi, esi
shr ecx, 3
sub edi, ecx
cmp edi, ebp
jb 0x40b316
mov ebx, dword [esp + 0x6c]
lea esi, [ebx - 3]
cmp edx, esi
mov esi, edi
setb bl
shl ecx, 3
mov ebp, ebx
mov ebx, dword [edi]
sub eax, ecx
mov ecx, ebp
test cl, cl
je 0x40bf14
mov ecx, eax
mov edi, ebx
shl edi, cl
movzx ecx, byte [esp + 0x64]
shr edi, cl
mov ecx, dword [esp + 0x48]
lea ecx, [ecx + edi*4]
movzx edi, word [ecx]
mov word [edx], di
movzx ebp, byte [ecx + 2]
movzx edi, byte [ecx + 3]
add ebp, eax
mov eax, ebx
mov ecx, ebp
add edi, edx
shl eax, cl
movzx ecx, byte [esp + 0x64]
shr eax, cl
mov ecx, dword [esp + 0x48]
lea edx, [ecx + eax*4]
movzx eax, word [edx]
mov word [edi], ax
movzx eax, byte [edx + 2]
movzx edx, byte [edx + 3]
add eax, ebp
add edx, edi
cmp eax, 0x20
ja 0x40bb8d
mov edi, dword [esp + 0x68]
cmp esi, edi
jb 0x40a1e0
mov ecx, eax
mov edi, dword [esp + 0x6c]
and eax, 7
shr ecx, 3
sub esi, ecx
lea ecx, [edi - 3]
cmp edx, ecx
mov ebx, dword [esi]
setb cl
mov ebp, ecx
jmp 0x40a214
mov eax, dword [esp + 0x170]
mov dword [esp + 0x58], 3
movzx eax, word [eax]
mov ebx, eax
mov word [esp + 0x40], ax
mov eax, 2
shr bx, 4
movzx ebx, bx
jmp 0x408e5d
mov eax, dword [esp + 0x170]
movzx eax, word [eax]
mov ebx, eax
mov word [esp + 0x40], ax
mov eax, 2
shr bx, 4
movzx ebx, bx
jmp 0x408b05
mov dword [esp + 0x40], 0xffffffba
jmp 0x408df8
mov ebx, 8
mov dword [edx + 4], 0
cmp ebx, eax
jb 0x408da5
jmp 0x408e91
mov eax, dword [esp + 0x54]
mov dword [esp + 0x40], 0xffffffba
test eax, eax
jne 0x408df8
mov ebp, dword [esp + 0x50]
test ebp, ebp
jne 0x40b2d5
mov edi, dword [esp + 0x3c]
mov eax, 0x1000000
cmp eax, dword [edi + 0x72c8]
mov eax, edi
mov edi, dword [esp + 0x50]
sbb edi, dword [eax + 0x72cc]
jb 0x40a362
mov eax, dword [esp + 0x3c]
mov edi, dword [esp + 0x4c]
mov ebx, dword [eax + 0x7378]
xor esi, esi
mov dword [eax + 0x7394], 0
mov dword [esp + 0x70], edi
mov edi, dword [eax + 0x7368]
add ebx, edi
mov dword [esp + 0xcc], edi
mov dword [esp + 0x74], ebx
mov eax, dword [esp + 0x70]
sub ebx, edi
sub eax, esi
cmp eax, ebx
jb 0x40a2f8
test esi, esi
je 0x408f61
jmp 0x408f4b
je 0x40bcd6
mov eax, dword [esp + 0x58]
test eax, eax
jne 0x409626
mov eax, dword [esp + 0x13c]
mov edi, dword [esp + 0x5c]
mov dword [esp + 0x138], eax
mov dword [esp + 0x13c], edi
mov dword [esp + 0x5c], eax
jmp 0x409626
mov ebp, dword [esp + 0x3c]
mov ecx, ebx
lea eax, [ebp + 0x6aac]
lea esi, [ebp + 0x2828]
mov dword [esp], eax
mov eax, esi
call fcn.00405900
cmp eax, 0xffffff88
ja 0x408df0
cmp eax, ebx
jae 0x408df0
sub ebx, eax
mov ecx, dword [esp + 0x40]
mov dword [esp + 4], esi
add ebp, 0x73e8
mov dword [esp], ebx
mov edx, edi
add ecx, eax
mov eax, ebp
mov dword [esp + 0x48], ebp
call fcn.00404320
cmp eax, 0xffffff88
jbe 0x408d3f
jmp 0x408df0
mov esi, edi
movzx edi, byte [edi]
mov dword [esp + 0x50], edi
cmp ebx, 2
je 0x40a468
cmp ebx, 3
jne 0x40a477
movzx edx, byte [esi + 2]
shl edx, 0x10
add edi, edx
mov dword [esp + 0x50], edi
mov edi, dword [esp + 0x48]
movzx edx, byte [edi + 1]
shl edx, 8
add dword [esp + 0x50], edx
test al, al
je 0x408df0
mov edi, dword [esp + 0x40]
bsr eax, eax
mov edx, dword [esp + 0x58]
sub edx, dword [esp + 0x174]
mov esi, dword [esp + 0x48]
lea ebx, [edi + edx + 5]
shl ebx, 3
sub ebx, eax
jmp 0x409b54
cmp ebp, 0x20
ja 0x40b741
mov eax, dword [esp + 0x4c]
mov edi, dword [esp + 0x64]
cmp eax, edi
jae 0x40b7cf
cmp dword [esp + 0x48], eax
je 0x40b741
mov ecx, ebp
mov ebx, dword [esp + 0x48]
mov edi, eax
shr ecx, 3
sub eax, ecx
cmp eax, ebx
jae 0x40a4dd
mov ecx, edi
mov eax, ebx
sub ecx, ebx
mov edi, dword [eax]
shl ecx, 3
mov dword [esp + 0x4c], eax
sub ebp, ecx
mov dword [esp + 0x50], edi
jmp 0x409658
mov edx, edi
and edi, 7
shr edx, 3
sub eax, edx
cmp byte [esp + 0x5c], 0
mov ebp, dword [eax]
je 0x409e3d
mov ecx, edi
jmp 0x409e24
mov edi, dword [esp + 0x88]
mov ecx, edi
add ebp, edi
neg ecx
shr ebx, cl
add ebx, eax
cmp ebp, 0x20
ja 0x409602
mov edi, dword [esp + 0x64]
cmp dword [esp + 0x4c], edi
jae 0x40b961
mov ecx, dword [esp + 0x48]
mov edi, dword [esp + 0x4c]
cmp ecx, edi
je 0x409602
mov edx, ebp
mov eax, edi
shr edx, 3
sub eax, edx
cmp eax, ecx
jae 0x40a55a
sub edi, ecx
mov eax, ecx
mov edx, edi
mov edi, dword [eax]
shl edx, 3
mov dword [esp + 0x4c], eax
sub ebp, edx
mov dword [esp + 0x50], edi
jmp 0x409602
mov ebp, esi
test al, al
lea esi, [esi + 0x73e8]
mov dword [esp + 4], ecx
mov dword [esp], ebx
mov ecx, dword [esp + 0x40]
mov edx, edi
mov eax, esi
je 0x40b586
call fcn.00401e00
cmp eax, 0xffffff88
ja 0x408df0
mov dword [ebp + 0x7368], esi
lea ebx, [esi + edi]
mov dword [ebp + 0x7378], edi
mov dword [ebp + 0x72f8], 1
jmp 0x408d62
lea eax, [esi + 3]
cmp dword [esp + 0x40], eax
jb 0x408f78
movzx edx, word [esi + 1]
lea edi, [edx + 0x7f00]
mov dword [esp + 0x54], edi
jmp 0x40906e
mov eax, ebp
and ebp, 7
shr eax, 3
sub dword [esp + 0x4c], eax
mov edi, dword [esp + 0x4c]
mov eax, dword [edi]
mov dword [esp + 0x50], eax
jmp 0x4096b7
mov edx, eax
and eax, 7
shr edx, 3
sub dword [esp + 0x4c], edx
mov edi, dword [esp + 0x4c]
mov edi, dword [edi]
mov dword [esp + 0x50], edi
jmp 0x40974c
mov edx, edi
and edi, 7
shr edx, 3
sub eax, edx
mov ebp, dword [eax]
jmp 0x409d88
mov edx, edi
and edi, 7
shr edx, 3
sub eax, edx
mov ebp, dword [eax]
jmp 0x409dc4
mov eax, ebp
and ebp, 7
shr eax, 3
sub dword [esp + 0x4c], eax
mov edi, dword [esp + 0x4c]
mov eax, dword [edi]
mov dword [esp + 0x50], eax
jmp 0x409944
cmp byte [esp + 0x5c], 0
mov edx, eax
je 0x409e6d
jmp 0x409e1f
mov eax, dword [esp + 0x50]
mov ebp, dword [esp + 0x40]
mov ecx, ebx
mov dword [esp], eax
mov edx, ebp
mov eax, esi
call fcn.00405900
cmp eax, 0xffffff88
ja 0x408df0
cmp eax, ebx
jae 0x408df0
sub ebx, eax
mov ecx, ebp
mov dword [esp + 4], esi
mov edx, edi
mov dword [esp], ebx
add ecx, eax
mov eax, dword [esp + 0x48]
call fcn.004031f0
cmp eax, 0xffffff88
jbe 0x408d3f
jmp 0x408df0
mov eax, 0x91
mov ebp, 0x763
mov ecx, pe_nt_image_headers32
mov dword [esp + 0x54], 0x2d2
jmp 0x408caf
mov eax, ecx
jmp 0x40a04a
mov dword [esp + 0x50], ebp
mov dword [esp + 0x9c], ebx
mov dword [esp + 0xa0], ecx
mov dword [esp + 0x5c], eax
cmp edi, 0x20
ja 0x40bef6
mov eax, dword [esp + 0x44]
mov dword [esp + 0x68], eax
lea esi, [esi]
mov esi, dword [esp + 0x4c]
cmp dword [esp + 0x5c], esi
jae 0x40af98
mov esi, dword [esp + 0x48]
mov ebx, dword [esp + 0x5c]
mov eax, esi
cmp esi, ebx
je 0x40a73a
mov edx, edi
mov eax, ebx
shr edx, 3
sub eax, edx
cmp eax, esi
jae 0x40a72f
sub ebx, esi
mov eax, esi
mov edx, ebx
mov esi, dword [eax]
shl edx, 3
sub edi, edx
mov dword [esp + 0x50], esi
mov ebx, dword [esp + 0x58]
cmp dword [esp + 0x54], ebx
jle 0x40ac54
mov esi, dword [esp + 0x7c]
mov ebx, dword [esp + 0x60]
lea ebp, [esi + ebx*8]
movzx ebx, byte [ebp + 2]
mov esi, dword [ebp + 4]
mov byte [esp + 0x40], bl
mov ebx, dword [esp + 0x9c]
mov dword [esp + 0x74], esi
mov esi, dword [esp + 0x84]
lea esi, [esi + ebx*8]
movzx ebx, byte [esi + 2]
mov dword [esp + 0x64], esi
mov esi, dword [esi + 4]
mov byte [esp + 0x5c], bl
mov ebx, dword [esp + 0xa0]
mov dword [esp + 0x98], esi
mov esi, dword [esp + 0x78]
lea esi, [esi + ebx*8]
movzx ebx, byte [esi + 2]
mov edx, dword [esi + 4]
mov dword [esp + 0x80], esi
mov esi, dword [esp + 0x138]
mov dword [esp + 0x70], esi
cmp bl, 1
jbe 0x40aec0
movzx esi, bl
mov ecx, edi
mov dword [esp + 0x60], esi
mov esi, dword [esp + 0x50]
shl esi, cl
cmp bl, 0x18
jbe 0x40af40
cmp byte [esp + 0xab], 0
je 0x40af40
mov ebx, dword [esp + 0x60]
mov ecx, 0x20
sub ecx, edi
cmp ecx, ebx
cmova ecx, ebx
sub ebx, ecx
mov dword [esp + 0x90], ecx
add edi, ecx
neg ecx
mov dword [esp + 0x8c], ebx
shr esi, cl
movzx ecx, byte [esp + 0x8c]
shl esi, cl
lea ebx, [esi + edx]
cmp edi, 0x20
ja 0x40a84f
mov esi, dword [esp + 0x4c]
cmp eax, esi
jae 0x40b2c0
mov esi, dword [esp + 0x48]
cmp esi, eax
je 0x40a84f
mov ecx, edi
mov edx, eax
shr ecx, 3
sub edx, ecx
cmp edx, esi
jae 0x40a83e
sub eax, esi
mov edx, esi
mov ecx, eax
lea eax, [ecx*8]
sub edi, eax
mov eax, dword [edx]
mov dword [esp + 0x50], eax
mov eax, edx
mov esi, dword [esp + 0x8c]
test esi, esi
je 0x40a883
mov edx, dword [esp + 0x50]
mov ecx, edi
add edi, esi
shl edx, cl
mov ecx, dword [esp + 0x90]
mov dword [esp + 0x8c], edx
mov edx, dword [esp + 0x60]
sub ecx, edx
mov edx, dword [esp + 0x8c]
shr edx, cl
add ebx, edx
mov edx, dword [esp + 0x13c]
mov esi, dword [esp + 0x70]
mov dword [esp + 0x138], ebx
mov dword [esp + 0x70], ebx
mov dword [esp + 0x140], edx
mov dword [esp + 0x13c], esi
movzx ecx, byte [esp + 0x5c]
xor ebx, ebx
test cl, cl
je 0x40a8cc
mov edx, dword [esp + 0x50]
movzx ebx, cl
mov ecx, edi
add edi, ebx
shl edx, cl
mov ecx, ebx
neg ecx
shr edx, cl
add dword [esp + 0x98], edx
movzx edx, byte [esp + 0x40]
add ebx, edx
cmp ebx, 0x13
jg 0x40aef0
cmp byte [esp + 0x40], 0
je 0x40a8fa
mov ecx, edi
and ecx, 0x1f
mov ebx, dword [esp + 0x50]
add edi, edx
shl ebx, cl
mov ecx, edx
neg ecx
shr ebx, cl
add dword [esp + 0x74], ebx
cmp edi, 0x20
ja 0x40b050
mov esi, dword [esp + 0x4c]
cmp eax, esi
jae 0x40afd8
mov esi, dword [esp + 0x48]
mov dword [esp + 0x5c], esi
cmp esi, eax
je 0x40a943
mov edx, edi
mov ebx, eax
shr edx, 3
sub ebx, edx
mov dword [esp + 0x5c], ebx
cmp ebx, esi
jae 0x40a934
mov dword [esp + 0x5c], esi
sub eax, esi
mov edx, eax
mov eax, dword [esp + 0x5c]
shl edx, 3
sub edi, edx
mov eax, dword [eax]
mov dword [esp + 0x50], eax
movzx eax, byte [ebp + 3]
lea edx, [eax + edi]
mov edi, dword [esp + 0x50]
mov ecx, edx
neg ecx
mov esi, edi
shr esi, cl
mov ecx, dword [eax*4 + 0x417340]
and ecx, esi
mov esi, dword [esp + 0x64]
mov eax, ecx
movzx ecx, word [ebp]
add eax, ecx
mov dword [esp + 0x60], eax
movzx eax, byte [esi + 3]
add edx, eax
mov ecx, edx
neg ecx
shr edi, cl
mov ecx, dword [eax*4 + 0x417340]
and ecx, edi
mov eax, ecx
movzx ecx, word [esi]
add eax, ecx
mov dword [esp + 0x9c], eax
cmp edx, 0x20
ja 0x40a9d3
mov edi, dword [esp + 0x4c]
cmp dword [esp + 0x5c], edi
jae 0x40afb8
mov esi, dword [esp + 0x48]
mov edi, dword [esp + 0x5c]
cmp esi, edi
je 0x40a9d3
mov ecx, edx
mov eax, edi
shr ecx, 3
sub eax, ecx
cmp eax, esi
jae 0x40a9c4
sub edi, esi
mov eax, esi
mov ecx, edi
mov edi, dword [eax]
mov dword [esp + 0x5c], eax
shl ecx, 3
sub edx, ecx
mov dword [esp + 0x50], edi
mov esi, dword [esp + 0x80]
movzx eax, byte [esi + 3]
lea edi, [eax + edx]
mov edx, dword [esp + 0x50]
mov ecx, edi
neg ecx
shr edx, cl
and edx, dword [eax*4 + 0x417340]
mov eax, edx
movzx edx, word [esi]
mov esi, dword [esp + 0x68]
add eax, edx
mov dword [esp + 0xa0], eax
mov eax, dword [esp + 0x58]
and eax, 3
mov dword [esp + 0xac], eax
shl eax, 4
mov ecx, dword [esp + eax + 0xcc]
mov edx, dword [esp + eax + 0xd0]
mov eax, dword [esp + eax + 0xd4]
mov dword [esp + 0x8c], edx
lea ebx, [esi + ecx]
mov dword [esp + 0x64], eax
lea eax, [ecx + edx]
mov edx, dword [esp + 0xc8]
lea ebp, [esi + eax]
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x64]
mov dword [esp + 0x90], ebp
lea ebp, [edx + ecx]
mov dword [esp + 0x80], ebp
mov ebp, ebx
sub ebp, eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 0xa4], ebp
mov ebp, dword [esp + 0x90]
sub eax, 0x20
cmp eax, ebp
jb 0x40aff1
mov ebp, dword [esp + 0x80]
cmp dword [esp + 0x88], ebp
jb 0x40aff1
mov eax, dword [esp + 0x6c]
mov ebp, esi
sub eax, esi
mov esi, dword [esp + 0x40]
add esi, 0x20
cmp eax, esi
jb 0x40aff1
mov eax, dword [edx]
mov dword [ebp], eax
mov eax, dword [edx + 4]
mov dword [ebp + 4], eax
mov eax, dword [edx + 8]
mov dword [ebp + 8], eax
mov eax, dword [edx + 0xc]
mov dword [ebp + 0xc], eax
cmp ecx, 0x10
ja 0x40b185
mov eax, dword [esp + 0x80]
mov edx, ebx
mov dword [esp + 0xc8], eax
mov eax, dword [esp + 0x94]
sub edx, eax
mov eax, dword [esp + 0x64]
cmp edx, eax
jae 0x40ab66
mov eax, dword [esp + 0xb4]
mov edx, ebx
sub edx, eax
mov eax, dword [esp + 0x64]
cmp edx, eax
jb 0x408df0
mov eax, dword [esp + 0x94]
mov ecx, dword [esp + 0xa4]
mov esi, dword [esp + 0xb8]
mov edx, dword [esp + 0x8c]
sub ecx, eax
lea eax, [esi + ecx]
add edx, eax
cmp esi, edx
jae 0x40b059
mov esi, ecx
mov dword [esp], ebx
neg esi
mov dword [esp + 4], eax
mov dword [esp + 8], esi
add ebx, esi
mov dword [esp + 0x80], ecx
call sub.msvcrt.dll_memmove
mov eax, dword [esp + 0x94]
mov ecx, dword [esp + 0x80]
add dword [esp + 0x8c], ecx
mov dword [esp + 0xa4], eax
cmp dword [esp + 0x64], 0xf
jbe 0x40b5b6
mov eax, dword [esp + 0xa4]
add ebx, 0x10
mov edx, dword [eax]
add eax, 0x10
mov dword [ebx - 0x10], edx
mov edx, dword [eax - 0xc]
mov dword [ebx - 0xc], edx
mov edx, dword [eax - 8]
mov dword [ebx - 8], edx
mov edx, dword [eax - 4]
mov dword [ebx - 4], edx
cmp dword [esp + 0x8c], 0x10
jle 0x40abf9
mov ebp, dword [esp + 0x90]
jmp 0x40abc0
mov edx, dword [eax]
add ebx, 0x20
add eax, 0x20
mov dword [ebx - 0x20], edx
mov edx, dword [eax - 0x1c]
mov dword [ebx - 0x1c], edx
mov edx, dword [eax - 0x18]
mov dword [ebx - 0x18], edx
mov edx, dword [eax - 0x14]
mov dword [ebx - 0x14], edx
mov esi, dword [eax - 0x10]
mov dword [ebx - 0x10], esi
mov esi, dword [eax - 0xc]
mov dword [ebx - 0xc], esi
mov esi, dword [eax - 8]
mov dword [ebx - 8], esi
mov ecx, dword [eax - 4]
mov dword [ebx - 4], ecx
cmp ebx, ebp
jb 0x40abc0
mov esi, dword [esp + 0x40]
cmp esi, 0xffffff88
ja 0x408df8
mov eax, dword [esp + 0xac]
mov ebx, dword [esp + 0x74]
add dword [esp + 0x68], esi
shl eax, 4
add dword [esp + 0x58], 1
mov dword [esp + eax + 0xcc], ebx
mov ebx, dword [esp + 0x98]
mov dword [esp + eax + 0xd0], ebx
mov ebx, dword [esp + 0x70]
mov dword [esp + eax + 0xd4], ebx
cmp edi, 0x20
jbe 0x40a700
mov edi, dword [esp + 0x58]
cmp dword [esp + 0x54], edi
jg 0x408df0
mov eax, dword [esp + 0x58]
mov edi, dword [esp + 0xb0]
sub eax, edi
mov dword [esp + 0x48], eax
cmp dword [esp + 0x54], eax
jle 0x40ae5f
mov eax, dword [esp + 0x6c]
mov ebp, dword [esp + 0x68]
sub eax, 0x20
mov dword [esp + 0x60], eax
nop
mov eax, dword [esp + 0x48]
mov edx, dword [esp + 0xc8]
and eax, 3
shl eax, 4
mov ecx, dword [esp + eax + 0xcc]
mov esi, dword [esp + eax + 0xd0]
mov edi, dword [esp + eax + 0xd4]
mov dword [esp + 0x50], esi
add esi, ecx
lea ebx, [ebp + ecx]
lea eax, [ebp + esi]
mov dword [esp + 0x40], esi
lea esi, [edx + ecx]
mov dword [esp + 0x4c], esi
mov esi, ebx
sub esi, edi
mov dword [esp + 0x5c], eax
mov dword [esp + 0x58], esi
mov esi, dword [esp + 0x4c]
cmp dword [esp + 0x88], esi
jb 0x40b647
cmp dword [esp + 0x60], eax
jb 0x40b647
mov eax, dword [esp + 0x6c]
mov esi, dword [esp + 0x40]
sub eax, ebp
add esi, 0x20
cmp eax, esi
jb 0x40b647
mov eax, dword [edx]
mov dword [ebp], eax
mov eax, dword [edx + 4]
mov dword [ebp + 4], eax
mov eax, dword [edx + 8]
mov dword [ebp + 8], eax
mov eax, dword [edx + 0xc]
mov dword [ebp + 0xc], eax
cmp ecx, 0x10
ja 0x40bb1d
mov eax, dword [esp + 0x4c]
mov edx, ebx
mov dword [esp + 0xc8], eax
mov eax, dword [esp + 0x94]
sub edx, eax
cmp edx, edi
jae 0x40ad9a
mov eax, dword [esp + 0xb4]
mov edx, ebx
sub edx, eax
cmp edx, edi
jb 0x408df0
mov eax, dword [esp + 0x94]
mov esi, dword [esp + 0x58]
mov ecx, dword [esp + 0xb8]
mov edx, dword [esp + 0x50]
sub esi, eax
lea eax, [ecx + esi]
add edx, eax
cmp ecx, edx
jae 0x40b852
mov edx, esi
mov dword [esp], ebx
neg edx
mov dword [esp + 4], eax
mov dword [esp + 8], edx
mov dword [esp + 0x4c], edx
call sub.msvcrt.dll_memmove
mov eax, dword [esp + 0x94]
add dword [esp + 0x50], esi
mov edx, dword [esp + 0x4c]
mov dword [esp + 0x58], eax
add ebx, edx
mov eax, dword [esp + 0x58]
cmp edi, 0xf
jbe 0x40bc0f
mov edx, dword [eax]
add ebx, 0x10
add eax, 0x10
mov dword [ebx - 0x10], edx
mov edx, dword [eax - 0xc]
mov dword [ebx - 0xc], edx
mov edx, dword [eax - 8]
mov dword [ebx - 8], edx
mov edx, dword [eax - 4]
mov dword [ebx - 4], edx
cmp dword [esp + 0x50], 0x10
jle 0x40ae39
mov esi, dword [esp + 0x5c]
jmp 0x40ae00
mov edx, dword [eax]
add ebx, 0x20
add eax, 0x20
mov dword [ebx - 0x20], edx
mov edx, dword [eax - 0x1c]
mov dword [ebx - 0x1c], edx
mov edx, dword [eax - 0x18]
mov dword [ebx - 0x18], edx
mov edx, dword [eax - 0x14]
mov dword [ebx - 0x14], edx
mov edi, dword [eax - 0x10]
mov dword [ebx - 0x10], edi
mov edi, dword [eax - 0xc]
mov dword [ebx - 0xc], edi
mov edi, dword [eax - 8]
mov dword [ebx - 8], edi
mov ecx, dword [eax - 4]
mov dword [ebx - 4], ecx
cmp ebx, esi
jb 0x40ae00
mov eax, dword [esp + 0x40]
cmp eax, 0xffffff88
ja 0x408df8
add dword [esp + 0x48], 1
add ebp, eax
mov eax, dword [esp + 0x48]
cmp dword [esp + 0x54], eax
jne 0x40ac80
mov dword [esp + 0x68], ebp
mov edi, dword [esp + 0x3c]
mov eax, dword [esp + 0x138]
mov ebx, dword [esp + 0x88]
mov dword [edi + 0x682c], eax
mov eax, dword [esp + 0x13c]
mov dword [edi + 0x6830], eax
mov eax, dword [esp + 0x140]
mov dword [edi + 0x6834], eax
mov eax, dword [esp + 0xc8]
mov edx, dword [esp + 0x6c]
mov edi, dword [esp + 0x68]
sub ebx, eax
sub edx, edi
cmp edx, ebx
jb 0x40a2f8
mov ecx, dword [esp + 0x68]
test ecx, ecx
je 0x4099f0
jmp 0x4099d8
je 0x40b7f7
mov edx, dword [esp + 0x74]
test edx, edx
jne 0x40a8a7
mov edx, dword [esp + 0x13c]
mov dword [esp + 0x13c], esi
mov dword [esp + 0x138], edx
mov dword [esp + 0x70], edx
jmp 0x40a8a7
cmp edi, 0x20
ja 0x40b530
mov esi, dword [esp + 0x4c]
cmp eax, esi
jae 0x40b111
cmp dword [esp + 0x48], eax
je 0x40b776
mov ebx, edi
mov ecx, eax
mov esi, dword [esp + 0x48]
shr ebx, 3
sub ecx, ebx
cmp ecx, esi
jae 0x40af26
sub eax, esi
mov ecx, esi
mov ebx, eax
mov eax, dword [ecx]
shl ebx, 3
sub edi, ebx
mov dword [esp + 0x50], eax
mov eax, ecx
jmp 0x40a8dc
mov ebx, dword [esp + 0x60]
mov ecx, ebx
add edi, ebx
neg ecx
shr esi, cl
lea ebx, [esi + edx]
cmp edi, 0x20
ja 0x40a883
mov esi, dword [esp + 0x4c]
cmp eax, esi
jae 0x40b2ab
mov esi, dword [esp + 0x48]
cmp esi, eax
je 0x40a883
mov ecx, edi
mov edx, eax
shr ecx, 3
sub edx, ecx
cmp edx, esi
jae 0x40af83
sub eax, esi
mov edx, esi
mov ecx, eax
mov eax, dword [edx]
shl ecx, 3
sub edi, ecx
mov dword [esp + 0x50], eax
mov eax, edx
jmp 0x40a883
mov edx, edi
mov eax, dword [esp + 0x5c]
and edi, 7
shr edx, 3
sub eax, edx
mov esi, dword [eax]
mov dword [esp + 0x50], esi
jmp 0x40a73a
mov eax, edx
and edx, 7
shr eax, 3
sub dword [esp + 0x5c], eax
mov edi, dword [esp + 0x5c]
mov eax, dword [edi]
mov dword [esp + 0x50], eax
jmp 0x40a9d3
mov edx, edi
and edi, 7
shr edx, 3
sub eax, edx
mov dword [esp + 0x5c], eax
mov eax, dword [eax]
mov dword [esp + 0x50], eax
jmp 0x40a943
mov eax, dword [esp + 0xb8]
mov edx, dword [esp + 0x6c]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0xb4]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x94]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x88]
mov dword [esp + 0xc], eax
lea eax, [esp + 0xc8]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x64]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x8c]
mov dword [esp], eax
mov eax, dword [esp + 0x68]
call fcn.00408940
mov dword [esp + 0x40], eax
jmp 0x40abf9
mov dword [esp + 0x5c], eax
jmp 0x40a943
mov esi, dword [esp + 0x8c]
mov dword [esp + 4], eax
mov dword [esp], ebx
mov dword [esp + 8], esi
call sub.msvcrt.dll_memmove
jmp 0x40abf9
mov ebx, dword [esp + 0x44]
mov edi, dword [esp + 0x4c]
mov eax, dword [esp + 0x3c]
add edi, ebx
mov dword [esp + 0x6c], edi
mov edi, eax
mov dword [eax + 0x7394], 0
mov ebx, dword [edi + 0x7378]
mov eax, dword [eax + 0x7368]
add ebx, eax
mov dword [esp + 0xc8], eax
mov dword [esp + 0x88], ebx
jmp 0x4099c0
mov eax, dword [esp + 0xa0]
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x70]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x9c]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x84]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x74]
mov dword [esp + 0xc], eax
lea eax, [esp + 0xcc]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x60]
mov dword [esp], eax
mov eax, esi
call fcn.00408940
mov dword [esp + 0x40], eax
add esi, eax
jmp 0x4098fd
mov ecx, edi
and edi, 7
shr ecx, 3
sub eax, ecx
cmp byte [esp + 0x40], 0
mov ebx, dword [eax]
mov dword [esp + 0x50], ebx
je 0x40a903
mov ecx, edi
jmp 0x40a8e8
mov eax, dword [esp + 0x4c]
mov edi, dword [esp + 0x44]
add eax, edi
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x3c]
jmp 0x408f1a
mov ebx, 8
mov dword [edx + 4], 0
cmp ebx, eax
jb 0x408b9a
jmp 0x408e91
mov eax, edx
jmp 0x409d81
mov eax, edx
jmp 0x40a0ce
cmp byte [esp + 0x5c], 0
mov edx, dword [esp + 0x48]
je 0x409e6d
jmp 0x409e1f
mov eax, dword [edx + 0x10]
mov ebp, dword [esp + 0x68]
sub ecx, 0x10
mov dword [ebp + 0x10], eax
mov eax, dword [edx + 0x14]
mov dword [ebp + 0x14], eax
mov eax, dword [edx + 0x18]
mov dword [ebp + 0x18], eax
mov eax, dword [edx + 0x1c]
mov dword [ebp + 0x1c], eax
cmp ecx, 0x10
jle 0x40aaca
mov dword [esp + 0xbc], edi
lea ecx, [ebp + 0x20]
add edx, 0x20
mov ebp, dword [esp + 0x90]
jmp 0x40b200
mov eax, dword [edx]
add ecx, 0x20
add edx, 0x20
mov dword [ecx - 0x20], eax
mov eax, dword [edx - 0x1c]
mov dword [ecx - 0x1c], eax
mov eax, dword [edx - 0x18]
mov dword [ecx - 0x18], eax
mov eax, dword [edx - 0x14]
mov dword [ecx - 0x14], eax
mov edi, dword [edx - 0x10]
mov dword [ecx - 0x10], edi
mov edi, dword [edx - 0xc]
mov dword [ecx - 0xc], edi
mov edi, dword [edx - 8]
mov dword [ecx - 8], edi
mov esi, dword [edx - 4]
mov dword [ecx - 4], esi
cmp ecx, ebx
jb 0x40b200
mov dword [esp + 0x90], ebp
mov edi, dword [esp + 0xbc]
jmp 0x40aaca
mov edx, esi
movzx esi, byte [esi]
mov dword [esp + 0x50], esi
cmp ebx, 2
je 0x40b26c
cmp ebx, 3
jne 0x40b27b
movzx edx, byte [edx + 2]
shl edx, 0x10
add esi, edx
mov dword [esp + 0x50], esi
mov ebx, dword [esp + 0x48]
movzx edx, byte [ebx + 1]
shl edx, 8
add dword [esp + 0x50], edx
test al, al
je 0x408df0
mov ebx, dword [esp + 0x40]
bsr eax, eax
mov edx, dword [esp + 0x58]
sub edx, dword [esp + 0x174]
lea edx, [ebx + edx + 5]
shl edx, 3
sub edx, eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0x4c], eax
jmp 0x40936e
mov edx, edi
and edi, 7
shr edx, 3
sub eax, edx
mov esi, dword [eax]
mov dword [esp + 0x50], esi
jmp 0x40a883
mov edx, edi
and edi, 7
shr edx, 3
sub eax, edx
mov esi, dword [eax]
mov dword [esp + 0x50], esi
jmp 0x40a84f
mov eax, dword [esp + 0x3c]
mov edi, dword [esp + 0x4c]
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], edi
mov edi, eax
mov dword [eax + 0x7394], 0
mov ebx, dword [edi + 0x7378]
mov eax, dword [eax + 0x7368]
add ebx, eax
mov dword [esp + 0xc8], eax
mov dword [esp + 0x88], ebx
jmp 0x40ae98
mov ebp, eax
mov eax, dword [esp + 0x40]
mov edi, dword [esp + 0x70]
mov ebx, dword [esp + 0x6c]
sub esi, eax
mov ecx, esi
mov esi, eax
mov eax, dword [eax]
shl ecx, 3
sub ebp, ecx
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], ebp
lea eax, [ebx - 2]
cmp dword [esp + 0x54], 0x20
mov dword [esp + 0x6c], eax
ja 0x40b400
mov ecx, dword [esp + 0x78]
mov eax, dword [esp + 0x54]
mov dword [esp + 0x70], ebx
mov ebp, edi
neg ecx
and ecx, 0x1f
mov dword [esp + 0x64], ecx
jmp 0x40b3d3
mov ebx, dword [esp + 0x40]
cmp esi, ebx
je 0x40b719
mov ecx, eax
mov edi, esi
shr ecx, 3
sub edi, ecx
cmp edi, ebx
jb 0x40b4f6
mov ebx, dword [edi]
cmp dword [esp + 0x6c], edx
mov esi, edi
setae byte [esp + 0x54]
shl ecx, 3
mov dword [esp + 0x50], ebx
sub eax, ecx
cmp byte [esp + 0x54], 0
je 0x40b719
mov edi, dword [esp + 0x50]
mov ecx, eax
shl edi, cl
movzx ecx, byte [esp + 0x64]
shr edi, cl
mov ecx, dword [esp + 0x48]
lea ecx, [ecx + edi*4]
movzx edi, word [ecx]
mov word [edx], di
movzx edi, byte [ecx + 2]
movzx ecx, byte [ecx + 3]
add eax, edi
add edx, ecx
cmp eax, 0x20
ja 0x40b3f6
mov edi, dword [esp + 0x68]
cmp esi, edi
jb 0x40b368
mov ecx, eax
and eax, 7
shr ecx, 3
sub esi, ecx
cmp dword [esp + 0x6c], edx
mov edi, dword [esi]
setae byte [esp + 0x54]
mov dword [esp + 0x50], edi
jmp 0x40b39b
mov dword [esp + 0x54], eax
mov ebx, dword [esp + 0x70]
mov edi, ebp
cmp dword [esp + 0x6c], edx
jb 0x40be84
mov ecx, dword [esp + 0x78]
mov eax, dword [esp + 0x54]
mov dword [esp + 0x68], edi
mov dword [esp + 0x70], esi
mov edi, dword [esp + 0x6c]
neg ecx
mov dword [esp + 0x7c], ebx
mov esi, dword [esp + 0x50]
and ecx, 0x1f
mov ebx, dword [esp + 0x48]
mov dword [esp + 0x64], ecx
lea esi, cs:[esi]
lea esi, cs:[esi]
mov ecx, eax
mov ebp, esi
shl ebp, cl
movzx ecx, byte [esp + 0x64]
shr ebp, cl
lea ecx, [ebx + ebp*4]
movzx ebp, word [ecx]
mov word [edx], bp
movzx ebp, byte [ecx + 2]
movzx ecx, byte [ecx + 3]
add eax, ebp
add edx, ecx
cmp edi, edx
jae 0x40b440
mov edi, dword [esp + 0x68]
mov esi, dword [esp + 0x70]
mov dword [esp + 0x54], eax
mov ebx, dword [esp + 0x7c]
cmp edx, ebx
jae 0x40b873
movzx ecx, byte [esp + 0x54]
mov ebp, dword [esp + 0x50]
mov eax, dword [esp + 0x48]
shl ebp, cl
mov ecx, dword [esp + 0x78]
neg ecx
shr ebp, cl
lea ecx, [eax + ebp*4]
movzx eax, byte [ecx]
mov byte [edx], al
cmp byte [ecx + 3], 1
je 0x40b86b
mov eax, dword [esp + 0x54]
cmp eax, 0x1f
ja 0x40b873
movzx edx, byte [ecx + 2]
add eax, edx
mov dword [esp + 0x54], eax
cmp eax, 0x20
jbe 0x40b873
mov eax, dword [esp + 0x40]
cmp esi, eax
jne 0x408df0
mov eax, dword [esp + 0x3c]
mov esi, dword [esp + 0x74]
mov dword [eax + 0x7378], edi
mov dword [eax + 0x7368], esi
mov dword [eax + 0x72f8], 1
jmp 0x408d62
mov edi, ebp
mov ebp, eax
mov eax, dword [esp + 0x40]
mov ebx, dword [esp + 0x70]
sub esi, eax
mov ecx, esi
mov esi, eax
mov eax, dword [eax]
shl ecx, 3
sub ebp, ecx
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], ebp
cmp dword [esp + 0x6c], edx
jae 0x40b40a
jmp 0x40b476
cmp byte [esp + 0x40], 0
mov dword [esp + 0x5c], eax
je 0x40a943
jmp 0x40a8e3
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x40]
mov eax, esi
mov edx, edi
mov dword [esp], ebx
call fcn.00404320
cmp eax, 0xffffff88
ja 0x408df0
mov eax, dword [esp + 0x3c]
mov ebx, dword [esp + 0x74]
mov dword [eax + 0x7378], edi
mov dword [eax + 0x7368], ebx
add ebx, edi
mov dword [eax + 0x72f8], 1
jmp 0x408d62
call fcn.004031f0
cmp eax, 0xffffff88
ja 0x408df0
mov eax, dword [esp + 0x3c]
lea ebx, [esi + edi]
mov dword [eax + 0x7368], esi
mov dword [eax + 0x7378], edi
mov dword [eax + 0x72f8], 1
jmp 0x408d62
mov esi, dword [esp + 0x64]
mov eax, dword [esp + 0xa4]
cmp esi, 7
ja 0x40bc89
movzx edx, byte [eax]
mov byte [ebx], dl
movzx edx, byte [eax + 1]
mov byte [ebx + 1], dl
movzx edx, byte [eax + 2]
mov byte [ebx + 2], dl
movzx edx, byte [eax + 3]
add eax, dword [esi*4 + 0x417ae0]
mov byte [ebx + 3], dl
mov edx, dword [eax]
sub eax, dword [esi*4 + str._b_b_b_a_b_t_n_v]
mov dword [ebx + 4], edx
mov dword [esp + 0xa4], eax
cmp dword [esp + 0x8c], 8
jbe 0x40abf9
mov esi, dword [esp + 0xa4]
mov eax, ebx
lea edx, [ebx + 8]
sub eax, esi
lea ecx, [esi + 8]
cmp eax, 0xf
jg 0x40bd73
mov ebp, dword [esp + 0x90]
mov eax, dword [ecx]
add edx, 8
add ecx, 8
mov dword [edx - 8], eax
mov eax, dword [ecx - 4]
mov dword [edx - 4], eax
cmp edx, ebp
jb 0x40b62d
jmp 0x40abf9
mov eax, dword [esp + 0xb8]
mov edx, dword [esp + 0x6c]
mov dword [esp + 4], edi
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0xb4]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x94]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x88]
mov dword [esp + 0xc], eax
lea eax, [esp + 0xc8]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x50]
mov dword [esp], eax
mov eax, ebp
call fcn.00408940
mov dword [esp + 0x40], eax
jmp 0x40ae39
mov dword [esp + 0x50], ebx
mov ebx, dword [esp + 0x6c]
mov dword [esp + 0x54], eax
mov edi, dword [esp + 0x70]
lea eax, [ebx - 2]
mov dword [esp + 0x6c], eax
jmp 0x40b34b
mov ecx, edi
mov ebx, ebp
mov edx, dword [esp + 0x80]
add edi, 1
shl ebx, cl
mov ecx, ebx
shr ecx, 0x1f
cmp dword [esp + 0x64], 1
adc edx, ecx
cmp edx, 3
je 0x40bbfc
mov ecx, dword [esp + edx*4 + 0x138]
cmp ecx, 1
adc ecx, 0
cmp edx, 1
je 0x40b6fe
mov edx, dword [esp + 0x13c]
mov dword [esp + 0x140], edx
mov ebx, dword [esp + 0x40]
mov dword [esp + 0x138], ecx
mov dword [esp + 0x40], ecx
mov dword [esp + 0x13c], ebx
jmp 0x409de8
mov dword [esp + 0x54], eax
mov ebx, dword [esp + 0x70]
mov edi, ebp
jmp 0x40b517
mov edi, dword [esp + 0x60]
mov dword [esp + 4], eax
mov dword [esp], ebx
mov dword [esp + 8], edi
call sub.msvcrt.dll_memmove
jmp 0x4098f9
cmp byte [esp + 0x40], 0
je 0x4096b7
jmp 0x40965f
mov edi, dword [esp + 0x58]
cmp dword [esp + 0xb0], edi
jg 0x408df0
mov eax, dword [esp + 0x44]
mov dword [esp + 0x68], eax
jmp 0x40ac46
mov ebx, dword [esp + 0x48]
cmp byte [esp + 0x40], 0
mov dword [esp + 0x5c], ebx
je 0x40a943
jmp 0x40a8e3
mov eax, edi
and edi, 7
shr eax, 3
sub esi, eax
mov eax, dword [esi]
mov edx, esi
mov dword [esp + 0x50], eax
jmp 0x409ca4
mov edx, ebx
and ebx, 7
shr edx, 3
sub esi, edx
mov edi, dword [esi]
mov dword [esp + 0x50], edi
jmp 0x409c24
mov edx, ebx
and ebx, 7
shr edx, 3
sub esi, edx
mov edi, dword [esi]
mov dword [esp + 0x50], edi
jmp 0x409bb8
mov eax, ebp
and ebp, 7
shr eax, 3
sub dword [esp + 0x4c], eax
mov edi, dword [esp + 0x4c]
cmp byte [esp + 0x40], 0
mov eax, dword [edi]
mov dword [esp + 0x50], eax
je 0x40967b
mov ecx, ebp
jmp 0x409664
mov ebx, dword [esp + 0x50]
mov ecx, edi
add edi, 1
shl ebx, cl
mov ecx, ebx
shr ecx, 0x1f
cmp dword [esp + 0x74], 1
adc edx, ecx
cmp edx, 3
je 0x40bd62
mov ecx, dword [esp + edx*4 + 0x138]
cmp ecx, 1
adc ecx, 0
cmp edx, 1
je 0x40b837
mov edx, dword [esp + 0x13c]
mov dword [esp + 0x140], edx
mov esi, dword [esp + 0x70]
mov dword [esp + 0x138], ecx
mov dword [esp + 0x70], ecx
mov dword [esp + 0x13c], esi
jmp 0x40a8a7
mov edi, dword [esp + 0x50]
mov dword [esp + 4], eax
mov dword [esp], ebx
mov dword [esp + 8], edi
call sub.msvcrt.dll_memmove
jmp 0x40ae39
movzx edx, byte [ecx + 2]
add dword [esp + 0x54], edx
mov eax, dword [esp + 0x40]
cmp esi, eax
jne 0x408df0
cmp dword [esp + 0x54], 0x20
jne 0x408df0
jmp 0x40b4d3
mov edx, edi
mov edi, dword [edi + 0x10]
mov dword [esi + 0x10], edi
mov edi, dword [edx + 0x14]
mov dword [esi + 0x14], edi
mov edi, dword [edx + 0x18]
mov dword [esi + 0x18], edi
mov edx, dword [edx + 0x1c]
mov dword [esi + 0x1c], edx
mov edx, dword [esp + 0x58]
sub edx, 0x10
cmp edx, 0x10
jle 0x4097f6
mov edi, dword [esp + 0x68]
mov dword [esp + 0x58], ebp
lea edx, [esi + 0x20]
mov dword [esp + 0x68], eax
add edi, 0x20
mov ecx, edi
jmp 0x40b900
mov edi, dword [ecx]
add edx, 0x20
add ecx, 0x20
mov dword [edx - 0x20], edi
mov edi, dword [ecx - 0x1c]
mov dword [edx - 0x1c], edi
mov edi, dword [ecx - 0x18]
mov dword [edx - 0x18], edi
mov edi, dword [ecx - 0x14]
mov dword [edx - 0x14], edi
mov eax, dword [ecx - 0x10]
mov dword [edx - 0x10], eax
mov eax, dword [ecx - 0xc]
mov dword [edx - 0xc], eax
mov eax, dword [ecx - 8]
mov dword [edx - 8], eax
mov ebp, dword [ecx - 4]
mov dword [edx - 4], ebp
cmp edx, ebx
jb 0x40b900
mov ebp, dword [esp + 0x58]
mov eax, dword [esp + 0x68]
jmp 0x4097f6
mov eax, ebp
and ebp, 7
shr eax, 3
sub dword [esp + 0x4c], eax
mov edi, dword [esp + 0x4c]
mov eax, dword [edi]
mov dword [esp + 0x50], eax
jmp 0x4095d7
mov eax, ebp
and ebp, 7
shr eax, 3
sub dword [esp + 0x4c], eax
mov edi, dword [esp + 0x4c]
mov eax, dword [edi]
mov dword [esp + 0x50], eax
jmp 0x409602
mov esi, edx
jmp 0x409bad
mov esi, edx
jmp 0x409c19
mov edi, dword [esp + 0x5c]
cmp edi, 7
ja 0x40bdeb
movzx edx, byte [eax]
mov byte [ebx], dl
movzx edx, byte [eax + 1]
mov byte [ebx + 1], dl
movzx edx, byte [eax + 2]
mov byte [ebx + 2], dl
movzx edx, byte [eax + 3]
add eax, dword [edi*4 + 0x417ae0]
mov byte [ebx + 3], dl
mov edx, dword [eax]
sub eax, dword [edi*4 + str._b_b_b_a_b_t_n_v]
mov dword [ebx + 4], edx
cmp dword [esp + 0x60], 8
jbe 0x4098f9
mov ecx, ebx
lea esi, [eax + 8]
lea edx, [ebx + 8]
sub ecx, eax
cmp ecx, 0xf
jg 0x40be23
mov ecx, dword [esp + 0x6c]
mov eax, dword [esi]
add edx, 8
add esi, 8
mov dword [edx - 8], eax
mov eax, dword [esi - 4]
mov dword [edx - 4], eax
cmp edx, ecx
jb 0x40b9e6
jmp 0x4098f9
movzx esi, byte [eax]
mov dword [esp + 0x50], esi
cmp ebx, 2
je 0x40ba1e
cmp ebx, 3
jne 0x40ba2d
movzx eax, byte [eax + 2]
shl eax, 0x10
add esi, eax
mov dword [esp + 0x50], esi
mov eax, dword [esp + 0x40]
movzx eax, byte [eax + 1]
shl eax, 8
add dword [esp + 0x50], eax
test dl, dl
je 0x408df0
movzx eax, dl
mov esi, dword [esp + 0x40]
bsr edx, eax
mov eax, 5
sub eax, ebx
shl eax, 3
sub eax, edx
mov edx, ebp
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x74]
shr edx, 0x10
lea ebx, [eax + edi]
lea eax, [ecx + 4]
mov dword [esp + 0x48], eax
movzx eax, dl
mov dword [esp + 0x78], eax
mov ecx, eax
jmp 0x40a1af
cmp ebp, 0x20
ja 0x40ba98
mov eax, dword [esp + 0x4c]
mov edi, dword [esp + 0x64]
cmp eax, edi
jae 0x408df0
cmp dword [esp + 0x48], eax
jne 0x408df0
cmp ebp, 0x20
jne 0x408df0
mov edi, dword [esp + 0x3c]
mov eax, dword [esp + 0x138]
mov ebx, dword [esp + 0x74]
mov dword [edi + 0x682c], eax
mov eax, dword [esp + 0x13c]
mov dword [edi + 0x6830], eax
mov eax, dword [esp + 0x140]
mov dword [edi + 0x6834], eax
mov edi, dword [esp + 0xcc]
jmp 0x40a38f
add eax, 8
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x3c]
mov eax, dword [eax + 4]
mov edx, dword [eax + 4]
lea edi, [ebx + edx]
mov ebx, dword [esp + 0x50]
mov ecx, edi
neg ecx
shr ebx, cl
mov ecx, dword [edx*4 + 0x417340]
and ecx, ebx
mov dword [esp + 0x9c], ecx
cmp edi, 0x20
ja 0x408df0
add eax, 8
mov edx, dword [esp + 0x48]
mov dword [esp + 0x84], eax
jmp 0x409ca4
mov eax, dword [edx + 0x10]
sub ecx, 0x10
mov dword [ebp + 0x10], eax
mov eax, dword [edx + 0x14]
mov dword [ebp + 0x14], eax
mov eax, dword [edx + 0x18]
mov dword [ebp + 0x18], eax
mov eax, dword [edx + 0x1c]
mov dword [ebp + 0x1c], eax
cmp ecx, 0x10
jle 0x40ad1b
mov dword [esp + 0x64], edi
lea ecx, [ebp + 0x20]
add edx, 0x20
mov eax, dword [edx]
add ecx, 0x20
add edx, 0x20
mov dword [ecx - 0x20], eax
mov eax, dword [edx - 0x1c]
mov dword [ecx - 0x1c], eax
mov eax, dword [edx - 0x18]
mov dword [ecx - 0x18], eax
mov eax, dword [edx - 0x14]
mov dword [ecx - 0x14], eax
mov edi, dword [edx - 0x10]
mov dword [ecx - 0x10], edi
mov edi, dword [edx - 0xc]
mov dword [ecx - 0xc], edi
mov edi, dword [edx - 8]
mov dword [ecx - 8], edi
mov esi, dword [edx - 4]
mov dword [ecx - 4], esi
cmp ecx, ebx
jb 0x40bb4b
mov edi, dword [esp + 0x64]
jmp 0x40ad1b
mov dword [esp + 0x50], ebx
mov ebx, dword [esp + 0x6c]
mov dword [esp + 0x54], eax
mov edi, dword [esp + 0x70]
lea eax, [ebx - 2]
mov dword [esp + 0x6c], eax
jmp 0x40b400
mov eax, esi
and esi, 7
shr eax, 3
sub dword [esp + 0x4c], eax
mov eax, dword [esp + 0x4c]
mov ebp, esi
mov eax, dword [eax]
mov dword [esp + 0x50], eax
jmp 0x4094b9
mov eax, edx
and edx, 7
shr eax, 3
sub dword [esp + 0x4c], eax
mov ebx, dword [esp + 0x4c]
mov eax, dword [ebx]
mov dword [esp + 0x50], eax
jmp 0x409449
mov eax, edx
and edx, 7
shr eax, 3
sub dword [esp + 0x4c], eax
mov esi, dword [esp + 0x4c]
mov eax, dword [esi]
mov dword [esp + 0x50], eax
jmp 0x4093db
mov edx, dword [esp + 0x40]
xor ecx, ecx
sub edx, 1
sete cl
add ecx, edx
jmp 0x40b6f0
cmp edi, 7
ja 0x40bdfa
movzx edx, byte [eax]
mov byte [ebx], dl
movzx edx, byte [eax + 1]
mov byte [ebx + 1], dl
movzx edx, byte [eax + 2]
mov byte [ebx + 2], dl
movzx edx, byte [eax + 3]
add eax, dword [edi*4 + 0x417ae0]
mov byte [ebx + 3], dl
mov edx, dword [eax]
sub eax, dword [edi*4 + str._b_b_b_a_b_t_n_v]
mov dword [ebx + 4], edx
mov dword [esp + 0x58], eax
cmp dword [esp + 0x50], 8
jbe 0x40ae39
mov eax, dword [esp + 0x58]
mov ecx, ebx
lea edx, [ebx + 8]
sub ecx, eax
lea esi, [eax + 8]
cmp ecx, 0xf
jg 0x40be91
mov ecx, dword [esp + 0x5c]
mov eax, dword [esi]
add edx, 8
add esi, 8
mov dword [edx - 8], eax
mov eax, dword [esi - 4]
mov dword [edx - 4], eax
cmp edx, ecx
jb 0x40bc6f
jmp 0x40ae39
mov edx, dword [eax]
mov dword [ebx], edx
mov edx, dword [eax + 4]
mov dword [ebx + 4], edx
jmp 0x40b5fe
mov eax, dword [esp + 0x3c]
mov dword [eax + 0x7394], 0
mov edi, dword [esp + 0x44]
mov eax, dword [esp + 0x4c]
add eax, edi
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x3c]
mov edi, dword [eax + 0x7368]
mov esi, dword [eax + 0x7378]
add esi, edi
mov dword [esp + 0xcc], edi
mov dword [esp + 0x74], esi
jmp 0x4092c7
mov edx, dword [esp + 0x50]
mov ecx, ebp
add ebp, 1
shl edx, cl
shr edx, 0x1f
cmp dword [esp + 0x58], 1
adc eax, edx
cmp eax, 3
je 0x40be10
mov edx, dword [esp + eax*4 + 0x138]
cmp edx, 1
adc edx, 0
cmp eax, 1
je 0x40bd14
mov eax, dword [esp + 0x13c]
mov dword [esp + 0x140], eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x138], edx
mov dword [esp + 0x5c], edx
mov dword [esp + 0x13c], eax
jmp 0x409626
cmp ebp, 0x20
ja 0x408df0
mov eax, dword [esp + 0x4c]
mov edi, dword [esp + 0x64]
cmp eax, edi
jae 0x408df0
cmp dword [esp + 0x48], eax
je 0x408df0
mov dword [esp + 0x40], 0xffffffec
sub esi, 0x14
jmp 0x40991a
mov edx, esi
xor ecx, ecx
sub edx, 1
sete cl
add ecx, edx
jmp 0x40b829
mov eax, dword [esi + 8]
mov dword [ebx + 8], eax
mov eax, dword [ecx + 4]
mov dword [edx + 4], eax
mov eax, dword [ecx + 8]
mov dword [edx + 8], eax
mov ecx, dword [ecx + 0xc]
mov dword [edx + 0xc], ecx
mov edx, dword [esp + 0x8c]
sub edx, 8
cmp edx, 0x10
jle 0x40abf9
mov eax, esi
mov ebp, dword [esp + 0x90]
add ebx, 0x18
add eax, 0x18
mov edx, dword [eax]
add ebx, 0x20
add eax, 0x20
mov dword [ebx - 0x20], edx
mov edx, dword [eax - 0x1c]
mov dword [ebx - 0x1c], edx
mov edx, dword [eax - 0x18]
mov dword [ebx - 0x18], edx
mov edx, dword [eax - 0x14]
mov dword [ebx - 0x14], edx
mov esi, dword [eax - 0x10]
mov dword [ebx - 0x10], esi
mov esi, dword [eax - 0xc]
mov dword [ebx - 0xc], esi
mov esi, dword [eax - 8]
mov dword [ebx - 8], esi
mov ecx, dword [eax - 4]
mov dword [ebx - 4], ecx
cmp ebx, ebp
jb 0x40bdad
jmp 0x40abf9
mov edx, dword [eax]
mov dword [ebx], edx
mov edx, dword [eax + 4]
mov dword [ebx + 4], edx
jmp 0x40b9c4
mov edx, dword [eax]
mov dword [ebx], edx
mov edx, dword [eax + 4]
mov dword [ebx + 4], edx
jmp 0x40bc49
mov edx, ebx
jmp 0x409ca4
mov eax, dword [esp + 0x5c]
xor edx, edx
sub eax, 1
sete dl
add edx, eax
jmp 0x40bd06
mov edi, edx
mov edx, dword [esp + 0x60]
mov ecx, 4
rep movsd dword es:[edi], dword [esi]
sub edx, 8
cmp edx, 0x10
jle 0x4098f9
add ebx, 0x18
add eax, 0x18
mov edx, dword [eax]
mov edi, dword [esp + 0x6c]
add ebx, 0x20
add eax, 0x20
mov dword [ebx - 0x20], edx
mov edx, dword [eax - 0x1c]
mov dword [ebx - 0x1c], edx
mov edx, dword [eax - 0x18]
mov dword [ebx - 0x18], edx
mov edx, dword [eax - 0x14]
mov dword [ebx - 0x14], edx
mov esi, dword [eax - 0x10]
mov dword [ebx - 0x10], esi
mov esi, dword [eax - 0xc]
mov dword [ebx - 0xc], esi
mov esi, dword [eax - 8]
mov dword [ebx - 8], esi
mov ecx, dword [eax - 4]
mov dword [ebx - 4], ecx
cmp ebx, edi
jb 0x40be42
jmp 0x4098f9
cmp edx, ebx
jb 0x40b47e
jmp 0x408df0
mov edi, edx
mov edx, dword [esp + 0x50]
mov ecx, 4
rep movsd dword es:[edi], dword [esi]
sub edx, 8
cmp edx, 0x10
jle 0x40ae39
mov eax, dword [esp + 0x58]
add ebx, 0x18
add eax, 0x18
mov edx, dword [eax]
mov edi, dword [esp + 0x5c]
add ebx, 0x20
add eax, 0x20
mov dword [ebx - 0x20], edx
mov edx, dword [eax - 0x1c]
mov dword [ebx - 0x1c], edx
mov edx, dword [eax - 0x18]
mov dword [ebx - 0x18], edx
mov edx, dword [eax - 0x14]
mov dword [ebx - 0x14], edx
mov esi, dword [eax - 0x10]
mov dword [ebx - 0x10], esi
mov esi, dword [eax - 0xc]
mov dword [ebx - 0xc], esi
mov esi, dword [eax - 8]
mov dword [ebx - 8], esi
mov ecx, dword [eax - 4]
mov dword [ebx - 4], ecx
cmp ebx, edi
jb 0x40beb4
jmp 0x40ae39
cmp dword [esp + 0x54], 4
jg 0x408df0
mov eax, dword [esp + 0x44]
xor ebx, ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x68], eax
jmp 0x40ac6f
mov dword [esp + 0x50], ebx
mov edi, dword [esp + 0x70]
mov dword [esp + 0x54], eax
mov ebx, dword [esp + 0x6c]
jmp 0x40b339