Function at 0x408a20
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 0x408f38
cmp dword [esp + 0x174], 2
jbe 0x408db0
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 0x408b8a
cmp al, 3
je 0x408b70
cmp al, 1
je 0x408dd0
mov eax, edx
shr al, 2
and eax, 3
cmp al, 1
je 0x40a290
cmp al, 3
jne 0x408f88
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 0x4099c8
cmp dword [esp + 0x174], edi
jb 0x408db0
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 0x408e51
test ecx, ecx
jne 0x40b10a
mov dword [edx + ebx], esi
mov dword [edx + ebx + 4], esi
add ebx, 8
cmp ebx, eax
jb 0x408b5a
jmp 0x408e51
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x40], 0xffffffe2
mov ebx, dword [eax + 0x72f8]
test ebx, ebx
je 0x408db8
cmp dword [esp + 0x174], 4
jbe 0x408db0
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 0x408f50
cmp dl, 3
je 0x408d80
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 0x408db0
mov eax, dword [esp + 0x3c]
mov ecx, dword [eax + 0x7394]
test ecx, ecx
je 0x408c0b
cmp edi, 0x300
ja 0x408fc0
add edx, dword [esp + 0x170]
mov eax, esi
mov dword [esp + 0x40], edx
cmp al, 3
je 0x40a0f0
mov eax, dword [esp + 0x48]
test eax, eax
jne 0x40a3a8
test ebx, ebx
je 0x408db0
test edi, edi
je 0x408db0
cmp ebx, edi
jae 0x40a670
mov eax, ebx
xor edx, edx
shl eax, 4
div edi
lea edx, [eax + eax*2]
shl edx, 3
mov esi, dword [edx + 0x417900]
mov ecx, dword [edx + 0x417904]
mov ebp, dword [edx + 0x417908]
mov eax, dword [edx + 0x41790c]
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 0x40a61e
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 0x408db0
cmp eax, 0xffffff88
ja 0x408db0
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 0x408db0
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 0x408e51
test ecx, ecx
jne 0x40a2c8
mov dword [edx + ebx], esi
mov dword [edx + ebx + 4], esi
add ebx, 8
cmp ebx, eax
jb 0x408d65
jmp 0x408e51
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 0x408f70
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 0x40a260
cmp al, 3
jne 0x408fa0
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 0x408db0
cmp ebx, 0x20000
ja 0x408db0
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 0x408f38
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 0x408fe0
cmp ebx, 1
jne 0x408f38
mov eax, dword [esp + 0x44]
test eax, eax
je 0x40a2f5
mov edi, dword [esp + 0x50]
test edi, edi
jne 0x40b035
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 0x40b0f3
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 0x40a2b8
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 0x408db8
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 0x408bdd
mov dword [esp + 0x48], 0
mov edx, 5
jmp 0x408bdd
shr dl, 3
mov eax, 1
movzx ebx, dl
jmp 0x408ac5
shr dl, 3
mov dword [esp + 0x58], 2
mov eax, 1
movzx ebx, dl
jmp 0x408e1d
mov eax, dword [eax + 0xc]
lea ecx, [eax + 0x4040]
add eax, 0x40
lea esi, [esi]
sub eax, 0xffffff80
cmp ecx, eax
jne 0x408fd0
jmp 0x408c0b
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 0x40902e
cmp edi, 0xff
je 0x40a579
mov edi, dword [esp + 0x40]
cmp eax, edi
jae 0x408f38
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 0x408f38
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], 0x4176e0
mov dword [esp + 0x1c], edx
mov edx, dword [esp + 0x40]
mov dword [esp + 0x14], 0x417b00
sub edx, ebp
mov dword [esp + 0x10], 0x417ba0
mov dword [esp + 0xc], edx
mov edx, edi
mov dword [esp + 8], ebp
mov dword [esp + 4], 9
mov dword [esp], 0x23
call fcn.00408730
cmp eax, 0xffffff88
ja 0x408db0
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], 0x4175c0
mov dword [esp + 0x1c], ebp
mov ebp, dword [esp + 0x40]
mov dword [esp + 0x14], 0x417e00
sub ebp, edi
mov dword [esp + 0x10], 0x417e80
mov dword [esp + 0xc], ebp
mov dword [esp + 8], edi
mov dword [esp + 4], 8
mov dword [esp], 0x1f
call fcn.00408730
cmp eax, 0xffffff88
ja 0x408db0
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], 0x4173a0
mov dword [esp + 0x1c], ebp
mov ebp, dword [esp + 0x40]
mov dword [esp + 0x14], 0x417c40
sub ebp, edi
mov dword [esp + 0x10], 0x417d20
mov dword [esp + 0xc], ebp
mov ebp, edi
mov dword [esp + 8], edi
mov dword [esp + 4], 9
mov dword [esp], 0x34
call fcn.00408730
cmp eax, 0xffffff88
ja 0x408db0
add ebp, eax
mov dword [esp + 0x48], ebp
sub ebp, esi
mov dword [esp + 0x40], ebp
cmp ebp, 0xffffff88
ja 0x408db8
mov eax, dword [esp + 0x44]
sub ebx, ebp
test eax, eax
je 0x40a2e1
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 0x409938
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 0x4099e8
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 0x408ef3
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 0x408db0
mov esi, dword [esp + 0x48]
movzx eax, byte [esi + ebx - 1]
cmp ebx, 3
jbe 0x40b20c
test al, al
je 0x408db0
cmp ebx, 0xffffff88
ja 0x408db0
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 + 0x417320]
and ecx, ebx
mov dword [esp + 0x78], ecx
cmp edx, 0x20
ja 0x40939b
cmp dword [esp + 0x4c], esi
jae 0x40bba1
mov esi, dword [esp + 0x48]
mov ebx, dword [esp + 0x4c]
cmp esi, ebx
je 0x40939b
mov ecx, edx
mov eax, ebx
shr ecx, 3
sub eax, ecx
cmp eax, esi
jae 0x40938c
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 + 0x417320]
and ecx, esi
mov dword [esp + 0x80], ecx
cmp edx, 0x20
ja 0x409409
mov esi, dword [esp + 0x64]
cmp dword [esp + 0x4c], esi
jae 0x40bb86
mov esi, dword [esp + 0x48]
mov ebx, dword [esp + 0x4c]
cmp esi, ebx
je 0x409409
mov ecx, edx
mov eax, ebx
shr ecx, 3
sub eax, ecx
cmp eax, esi
jae 0x4093fa
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 + 0x417320]
mov dword [esp + 0x7c], edx
cmp esi, 0x20
ja 0x409479
mov ebx, dword [esp + 0x64]
cmp dword [esp + 0x4c], ebx
jae 0x40bb69
mov esi, dword [esp + 0x48]
mov ebx, dword [esp + 0x4c]
cmp esi, ebx
je 0x409479
mov edx, ebp
mov eax, ebx
shr edx, 3
sub eax, edx
cmp eax, esi
jae 0x409466
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 0x40a370
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 0x40a4cf
cmp byte [esp + 0xab], 0
je 0x40a4cf
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 0x409597
mov edi, dword [esp + 0x64]
cmp dword [esp + 0x4c], edi
jae 0x40b906
mov edx, dword [esp + 0x48]
mov edi, dword [esp + 0x4c]
cmp edx, edi
je 0x409597
mov ecx, ebp
mov eax, edi
shr ecx, 3
sub eax, ecx
cmp eax, edx
jae 0x409588
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 0x4095c2
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 0x409608
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 0x40a463
cmp byte [esp + 0x40], 0
je 0x409636
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 0x409677
mov edi, dword [esp + 0x64]
cmp dword [esp + 0x4c], edi
jae 0x40a599
mov edi, dword [esp + 0x48]
mov ebx, dword [esp + 0x4c]
cmp edi, ebx
je 0x409677
mov eax, ebp
mov edx, ebx
shr eax, 3
sub edx, eax
cmp edx, edi
jae 0x409668
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 + 0x417320]
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 + 0x417320]
and ecx, ebx
mov edx, ecx
movzx ecx, word [ebp]
lea ebx, [edx + ecx]
mov dword [esp + 0x7c], ebx
cmp eax, 0x20
ja 0x40970c
mov ebx, dword [esp + 0x64]
cmp dword [esp + 0x4c], ebx
jae 0x40a5b4
mov edi, dword [esp + 0x48]
mov ebx, dword [esp + 0x4c]
cmp edi, ebx
je 0x40970c
mov edx, eax
mov ecx, ebx
shr edx, 3
sub ecx, edx
cmp ecx, edi
jae 0x4096fd
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 + 0x417320]
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 0x40b074
mov ecx, dword [esp + 0x6c]
cmp dword [esp + 0x98], ecx
jb 0x40b074
mov ecx, dword [esp + 0x70]
add edx, 0x20
sub ecx, esi
cmp ecx, edx
jb 0x40b074
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 0x40b850
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 0x409832
mov edi, dword [esp + 0x9c]
mov edx, ebx
sub edx, edi
mov edi, dword [esp + 0x5c]
cmp edx, edi
jb 0x40bcef
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 0x40b6e8
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 0x40b94a
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 0x4098b9
mov esi, dword [esp + 0x6c]
jmp 0x409880
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 0x409880
mov esi, dword [esp + 0x6c]
cmp ebp, 0x20
ja 0x409904
mov edi, dword [esp + 0x64]
cmp dword [esp + 0x4c], edi
jae 0x40a5f1
mov edi, dword [esp + 0x4c]
cmp dword [esp + 0x48], edi
je 0x409904
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 0x4098f5
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 0x408db8
sub dword [esp + 0x54], 1
je 0x40ba30
mov eax, dword [esp + 0x138]
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0xcc]
mov dword [esp + 0x68], eax
jmp 0x409490
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 0x409a79
mov ebx, esi
mov edx, dword [esp + 0x6c]
mov edi, dword [esp + 0x44]
sub ebx, eax
sub edx, edi
cmp edx, ebx
jb 0x40a2b8
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 0x408db8
mov edi, dword [esp + 0x3c]
add eax, dword [esp + 0x170]
mov dword [edi + 0x7368], eax
mov dword [edi + 0x7378], ebx
jmp 0x408e51
cmp dword [esp + 0x54], 4
jle 0x409246
mov eax, dword [eax + 8]
mov edx, 1
mov edi, dword [eax + 4]
mov ecx, edi
shl edx, cl
test edx, edx
je 0x40bc58
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 0x409a20
mov ecx, 8
mov eax, dword [esp + 0x3c]
sub ecx, edi
mov dword [eax + 0x7394], 0
shl edx, cl
cmp edx, 0x13
jbe 0x40bc66
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 0x408db0
mov edi, dword [esp + 0x48]
movzx eax, byte [edi + ebx - 1]
cmp ebx, 3
jbe 0x40a408
test al, al
je 0x408db0
cmp ebx, 0xffffff88
ja 0x408db0
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 + 0x417320]
and ecx, edi
mov dword [esp + 0x60], ecx
cmp ebx, 0x20
ja 0x409b78
cmp esi, ebp
jae 0x40b77a
mov edi, dword [esp + 0x48]
cmp edi, esi
je 0x409b78
mov ecx, ebx
mov edx, esi
shr ecx, 3
sub edx, ecx
cmp edx, edi
jae 0x40b93c
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 + 0x417320]
and ecx, edi
mov dword [esp + 0xa0], ecx
cmp ebx, 0x20
ja 0x409be4
mov edi, dword [esp + 0x4c]
cmp esi, edi
jae 0x40b765
mov edi, dword [esp + 0x48]
cmp edi, esi
je 0x40ba93
mov ecx, ebx
mov edx, esi
shr ecx, 3
sub edx, ecx
cmp edx, edi
jae 0x40b943
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 + 0x417320]
and ecx, ebx
mov dword [esp + 0x9c], ecx
cmp edi, 0x20
ja 0x408db0
lea eax, [edx + 8]
mov dword [esp + 0x84], eax
mov eax, dword [esp + 0x4c]
cmp esi, eax
jae 0x40b74e
mov ebx, dword [esp + 0x48]
cmp ebx, esi
je 0x40bdc9
mov eax, edi
mov edx, esi
shr eax, 3
sub edx, eax
cmp edx, ebx
jae 0x409c50
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 0x408db0
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 0x409ef5
movzx ecx, bl
mov edx, ebp
mov dword [esp + 0x8c], ecx
mov ecx, edi
shl edx, cl
cmp bl, 0x18
jbe 0x40a038
cmp byte [esp + 0xab], 0
je 0x40a038
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 0x409d48
mov edx, dword [esp + 0x4c]
cmp eax, edx
jae 0x40a5cf
cmp dword [esp + 0x48], eax
je 0x409d48
mov ecx, edi
mov edx, eax
mov ebp, dword [esp + 0x48]
shr ecx, 3
sub edx, ecx
cmp edx, ebp
jae 0x40b123
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 0x409d84
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 0x409dc8
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 0x409fd0
cmp byte [esp + 0x5c], 0
je 0x409df4
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 0x40a0d0
mov ebx, dword [esp + 0x4c]
cmp eax, ebx
jae 0x40a0a0
mov ebx, dword [esp + 0x48]
mov edx, ebx
cmp ebx, eax
je 0x409e2d
mov ecx, edi
mov edx, eax
shr ecx, 3
sub edx, ecx
cmp edx, ebx
jae 0x409e26
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 + 0x417320]
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 + 0x417320]
movzx eax, word [esi]
add ebx, eax
cmp edi, 0x20
ja 0x409ea4
mov eax, dword [esp + 0x4c]
cmp edx, eax
jae 0x40a0b8
mov esi, dword [esp + 0x48]
cmp esi, edx
je 0x409ea4
mov eax, edi
mov ecx, edx
shr eax, 3
sub ecx, eax
cmp ecx, esi
jae 0x40a0e0
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 + 0x417320]
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 0x40b718
mov eax, dword [esp + 0x4c]
cmp edx, eax
jae 0x40a020
mov esi, dword [esp + 0x48]
mov eax, esi
cmp esi, edx
je 0x409f25
mov ebp, edi
mov eax, edx
shr ebp, 3
sub eax, ebp
cmp eax, esi
jae 0x409f1e
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 0x40a693
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 0x409ca8
je 0x40b679
mov ebx, dword [esp + 0x64]
test ebx, ebx
jne 0x409da8
mov edx, dword [esp + 0x13c]
mov dword [esp + 0x13c], ecx
mov dword [esp + 0x138], edx
mov dword [esp + 0x40], edx
jmp 0x409da8
cmp edi, 0x20
ja 0x40a60c
mov edx, dword [esp + 0x4c]
cmp eax, edx
jae 0x40a4b1
cmp dword [esp + 0x48], eax
je 0x40b131
mov edx, edi
mov ecx, eax
mov ebp, dword [esp + 0x48]
shr edx, 3
sub ecx, edx
cmp ecx, ebp
jae 0x40a68c
sub eax, ebp
mov edx, eax
mov eax, ebp
shl edx, 3
mov ebp, dword [eax]
sub edi, edx
jmp 0x409dd8
mov ebp, edi
mov eax, edx
and edi, 7
shr ebp, 3
sub eax, ebp
mov ebp, dword [eax]
jmp 0x409f25
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 0x409d84
mov edx, dword [esp + 0x4c]
cmp eax, edx
jae 0x40a5e0
cmp dword [esp + 0x48], eax
je 0x409d84
mov ecx, edi
mov edx, eax
mov ebp, dword [esp + 0x48]
shr ecx, 3
sub edx, ecx
cmp edx, ebp
jae 0x40b12a
sub eax, ebp
mov ecx, eax
mov eax, ebp
shl ecx, 3
mov ebp, dword [eax]
sub edi, ecx
jmp 0x409d84
mov ecx, edi
and edi, 7
shr ecx, 3
sub eax, ecx
mov ebp, dword [eax]
mov edx, eax
jmp 0x409e2d
mov eax, edi
and edi, 7
shr eax, 3
sub edx, eax
mov ebp, dword [edx]
jmp 0x409ea4
mov edx, eax
jmp 0x409e2d
mov edx, ecx
jmp 0x409e9d
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 0x40a52e
add esi, 0x73e8
mov dword [esp + 0x74], esi
test al, al
je 0x40b504
test ebx, ebx
je 0x408db0
mov eax, edx
movzx edx, byte [edx + ebx - 1]
cmp ebx, 3
jbe 0x40b9c0
lea esi, [eax + ebx - 4]
test dl, dl
je 0x408db0
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 0x40a233
mov ebp, dword [esp + 0x40]
cmp esi, ebp
je 0x40b65d
mov ecx, eax
mov edi, esi
shr ecx, 3
sub edi, ecx
cmp edi, ebp
jb 0x40b2d6
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 0x40bed4
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 0x40bb4d
mov edi, dword [esp + 0x68]
cmp esi, edi
jb 0x40a1a0
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 0x40a1d4
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 0x408e1d
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 0x408ac5
mov dword [esp + 0x40], 0xffffffba
jmp 0x408db8
mov ebx, 8
mov dword [edx + 4], 0
cmp ebx, eax
jb 0x408d65
jmp 0x408e51
mov eax, dword [esp + 0x54]
mov dword [esp + 0x40], 0xffffffba
test eax, eax
jne 0x408db8
mov ebp, dword [esp + 0x50]
test ebp, ebp
jne 0x40b295
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 0x40a322
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 0x40a2b8
test esi, esi
je 0x408f21
jmp 0x408f0b
je 0x40bc96
mov eax, dword [esp + 0x58]
test eax, eax
jne 0x4095e6
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 0x4095e6
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 0x408db0
cmp eax, ebx
jae 0x408db0
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 0x408cff
jmp 0x408db0
mov esi, edi
movzx edi, byte [edi]
mov dword [esp + 0x50], edi
cmp ebx, 2
je 0x40a428
cmp ebx, 3
jne 0x40a437
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 0x408db0
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 0x409b14
cmp ebp, 0x20
ja 0x40b701
mov eax, dword [esp + 0x4c]
mov edi, dword [esp + 0x64]
cmp eax, edi
jae 0x40b78f
cmp dword [esp + 0x48], eax
je 0x40b701
mov ecx, ebp
mov ebx, dword [esp + 0x48]
mov edi, eax
shr ecx, 3
sub eax, ecx
cmp eax, ebx
jae 0x40a49d
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 0x409618
mov edx, edi
and edi, 7
shr edx, 3
sub eax, edx
cmp byte [esp + 0x5c], 0
mov ebp, dword [eax]
je 0x409dfd
mov ecx, edi
jmp 0x409de4
mov edi, dword [esp + 0x88]
mov ecx, edi
add ebp, edi
neg ecx
shr ebx, cl
add ebx, eax
cmp ebp, 0x20
ja 0x4095c2
mov edi, dword [esp + 0x64]
cmp dword [esp + 0x4c], edi
jae 0x40b921
mov ecx, dword [esp + 0x48]
mov edi, dword [esp + 0x4c]
cmp ecx, edi
je 0x4095c2
mov edx, ebp
mov eax, edi
shr edx, 3
sub eax, edx
cmp eax, ecx
jae 0x40a51a
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 0x4095c2
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 0x40b546
call fcn.00401e00
cmp eax, 0xffffff88
ja 0x408db0
mov dword [ebp + 0x7368], esi
lea ebx, [esi + edi]
mov dword [ebp + 0x7378], edi
mov dword [ebp + 0x72f8], 1
jmp 0x408d22
lea eax, [esi + 3]
cmp dword [esp + 0x40], eax
jb 0x408f38
movzx edx, word [esi + 1]
lea edi, [edx + 0x7f00]
mov dword [esp + 0x54], edi
jmp 0x40902e
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 0x409677
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 0x40970c
mov edx, edi
and edi, 7
shr edx, 3
sub eax, edx
mov ebp, dword [eax]
jmp 0x409d48
mov edx, edi
and edi, 7
shr edx, 3
sub eax, edx
mov ebp, dword [eax]
jmp 0x409d84
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 0x409904
cmp byte [esp + 0x5c], 0
mov edx, eax
je 0x409e2d
jmp 0x409ddf
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 0x408db0
cmp eax, ebx
jae 0x408db0
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 0x408cff
jmp 0x408db0
mov eax, 0x91
mov ebp, 0x763
mov ecx, pe_nt_image_headers32
mov dword [esp + 0x54], 0x2d2
jmp 0x408c6f
mov eax, ecx
jmp 0x40a00a
mov dword [esp + 0x50], ebp
mov dword [esp + 0x9c], ebx
mov dword [esp + 0xa0], ecx
mov dword [esp + 0x5c], eax
cmp edi, 0x20
ja 0x40beb6
mov eax, dword [esp + 0x44]
mov dword [esp + 0x68], eax
lea esi, [esi]
mov esi, dword [esp + 0x4c]
cmp dword [esp + 0x5c], esi
jae 0x40af58
mov esi, dword [esp + 0x48]
mov ebx, dword [esp + 0x5c]
mov eax, esi
cmp esi, ebx
je 0x40a6fa
mov edx, edi
mov eax, ebx
shr edx, 3
sub eax, edx
cmp eax, esi
jae 0x40a6ef
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 0x40ac14
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 0x40ae80
movzx esi, bl
mov ecx, edi
mov dword [esp + 0x60], esi
mov esi, dword [esp + 0x50]
shl esi, cl
cmp bl, 0x18
jbe 0x40af00
cmp byte [esp + 0xab], 0
je 0x40af00
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 0x40a80f
mov esi, dword [esp + 0x4c]
cmp eax, esi
jae 0x40b280
mov esi, dword [esp + 0x48]
cmp esi, eax
je 0x40a80f
mov ecx, edi
mov edx, eax
shr ecx, 3
sub edx, ecx
cmp edx, esi
jae 0x40a7fe
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 0x40a843
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 0x40a88c
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 0x40aeb0
cmp byte [esp + 0x40], 0
je 0x40a8ba
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 0x40b010
mov esi, dword [esp + 0x4c]
cmp eax, esi
jae 0x40af98
mov esi, dword [esp + 0x48]
mov dword [esp + 0x5c], esi
cmp esi, eax
je 0x40a903
mov edx, edi
mov ebx, eax
shr edx, 3
sub ebx, edx
mov dword [esp + 0x5c], ebx
cmp ebx, esi
jae 0x40a8f4
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 + 0x417320]
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 + 0x417320]
and ecx, edi
mov eax, ecx
movzx ecx, word [esi]
add eax, ecx
mov dword [esp + 0x9c], eax
cmp edx, 0x20
ja 0x40a993
mov edi, dword [esp + 0x4c]
cmp dword [esp + 0x5c], edi
jae 0x40af78
mov esi, dword [esp + 0x48]
mov edi, dword [esp + 0x5c]
cmp esi, edi
je 0x40a993
mov ecx, edx
mov eax, edi
shr ecx, 3
sub eax, ecx
cmp eax, esi
jae 0x40a984
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 + 0x417320]
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 0x40afb1
mov ebp, dword [esp + 0x80]
cmp dword [esp + 0x88], ebp
jb 0x40afb1
mov eax, dword [esp + 0x6c]
mov ebp, esi
sub eax, esi
mov esi, dword [esp + 0x40]
add esi, 0x20
cmp eax, esi
jb 0x40afb1
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 0x40b145
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 0x40ab26
mov eax, dword [esp + 0xb4]
mov edx, ebx
sub edx, eax
mov eax, dword [esp + 0x64]
cmp edx, eax
jb 0x408db0
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 0x40b019
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 0x40b576
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 0x40abb9
mov ebp, dword [esp + 0x90]
jmp 0x40ab80
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 0x40ab80
mov esi, dword [esp + 0x40]
cmp esi, 0xffffff88
ja 0x408db8
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 0x40a6c0
mov edi, dword [esp + 0x58]
cmp dword [esp + 0x54], edi
jg 0x408db0
mov eax, dword [esp + 0x58]
mov edi, dword [esp + 0xb0]
sub eax, edi
mov dword [esp + 0x48], eax
cmp dword [esp + 0x54], eax
jle 0x40ae1f
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 0x40b607
cmp dword [esp + 0x60], eax
jb 0x40b607
mov eax, dword [esp + 0x6c]
mov esi, dword [esp + 0x40]
sub eax, ebp
add esi, 0x20
cmp eax, esi
jb 0x40b607
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 0x40badd
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 0x40ad5a
mov eax, dword [esp + 0xb4]
mov edx, ebx
sub edx, eax
cmp edx, edi
jb 0x408db0
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 0x40b812
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 0x40bbcf
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 0x40adf9
mov esi, dword [esp + 0x5c]
jmp 0x40adc0
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 0x40adc0
mov eax, dword [esp + 0x40]
cmp eax, 0xffffff88
ja 0x408db8
add dword [esp + 0x48], 1
add ebp, eax
mov eax, dword [esp + 0x48]
cmp dword [esp + 0x54], eax
jne 0x40ac40
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 0x40a2b8
mov ecx, dword [esp + 0x68]
test ecx, ecx
je 0x4099b0
jmp 0x409998
je 0x40b7b7
mov edx, dword [esp + 0x74]
test edx, edx
jne 0x40a867
mov edx, dword [esp + 0x13c]
mov dword [esp + 0x13c], esi
mov dword [esp + 0x138], edx
mov dword [esp + 0x70], edx
jmp 0x40a867
cmp edi, 0x20
ja 0x40b4f0
mov esi, dword [esp + 0x4c]
cmp eax, esi
jae 0x40b0d1
cmp dword [esp + 0x48], eax
je 0x40b736
mov ebx, edi
mov ecx, eax
mov esi, dword [esp + 0x48]
shr ebx, 3
sub ecx, ebx
cmp ecx, esi
jae 0x40aee6
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 0x40a89c
mov ebx, dword [esp + 0x60]
mov ecx, ebx
add edi, ebx
neg ecx
shr esi, cl
lea ebx, [esi + edx]
cmp edi, 0x20
ja 0x40a843
mov esi, dword [esp + 0x4c]
cmp eax, esi
jae 0x40b26b
mov esi, dword [esp + 0x48]
cmp esi, eax
je 0x40a843
mov ecx, edi
mov edx, eax
shr ecx, 3
sub edx, ecx
cmp edx, esi
jae 0x40af43
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 0x40a843
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 0x40a6fa
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 0x40a993
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 0x40a903
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.00408900
mov dword [esp + 0x40], eax
jmp 0x40abb9
mov dword [esp + 0x5c], eax
jmp 0x40a903
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 0x40abb9
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 0x409980
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.00408900
mov dword [esp + 0x40], eax
add esi, eax
jmp 0x4098bd
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 0x40a8c3
mov ecx, edi
jmp 0x40a8a8
mov eax, dword [esp + 0x4c]
mov edi, dword [esp + 0x44]
add eax, edi
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x3c]
jmp 0x408eda
mov ebx, 8
mov dword [edx + 4], 0
cmp ebx, eax
jb 0x408b5a
jmp 0x408e51
mov eax, edx
jmp 0x409d41
mov eax, edx
jmp 0x40a08e
cmp byte [esp + 0x5c], 0
mov edx, dword [esp + 0x48]
je 0x409e2d
jmp 0x409ddf
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 0x40aa8a
mov dword [esp + 0xbc], edi
lea ecx, [ebp + 0x20]
add edx, 0x20
mov ebp, dword [esp + 0x90]
jmp 0x40b1c0
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 0x40b1c0
mov dword [esp + 0x90], ebp
mov edi, dword [esp + 0xbc]
jmp 0x40aa8a
mov edx, esi
movzx esi, byte [esi]
mov dword [esp + 0x50], esi
cmp ebx, 2
je 0x40b22c
cmp ebx, 3
jne 0x40b23b
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 0x408db0
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 0x40932e
mov edx, edi
and edi, 7
shr edx, 3
sub eax, edx
mov esi, dword [eax]
mov dword [esp + 0x50], esi
jmp 0x40a843
mov edx, edi
and edi, 7
shr edx, 3
sub eax, edx
mov esi, dword [eax]
mov dword [esp + 0x50], esi
jmp 0x40a80f
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 0x40ae58
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 0x40b3c0
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 0x40b393
mov ebx, dword [esp + 0x40]
cmp esi, ebx
je 0x40b6d9
mov ecx, eax
mov edi, esi
shr ecx, 3
sub edi, ecx
cmp edi, ebx
jb 0x40b4b6
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 0x40b6d9
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 0x40b3b6
mov edi, dword [esp + 0x68]
cmp esi, edi
jb 0x40b328
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 0x40b35b
mov dword [esp + 0x54], eax
mov ebx, dword [esp + 0x70]
mov edi, ebp
cmp dword [esp + 0x6c], edx
jb 0x40be44
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 0x40b400
mov edi, dword [esp + 0x68]
mov esi, dword [esp + 0x70]
mov dword [esp + 0x54], eax
mov ebx, dword [esp + 0x7c]
cmp edx, ebx
jae 0x40b833
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 0x40b82b
mov eax, dword [esp + 0x54]
cmp eax, 0x1f
ja 0x40b833
movzx edx, byte [ecx + 2]
add eax, edx
mov dword [esp + 0x54], eax
cmp eax, 0x20
jbe 0x40b833
mov eax, dword [esp + 0x40]
cmp esi, eax
jne 0x408db0
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 0x408d22
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 0x40b3ca
jmp 0x40b436
cmp byte [esp + 0x40], 0
mov dword [esp + 0x5c], eax
je 0x40a903
jmp 0x40a8a3
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 0x408db0
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 0x408d22
call fcn.004031f0
cmp eax, 0xffffff88
ja 0x408db0
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 0x408d22
mov esi, dword [esp + 0x64]
mov eax, dword [esp + 0xa4]
cmp esi, 7
ja 0x40bc49
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 + 0x417ac0]
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 0x40abb9
mov esi, dword [esp + 0xa4]
mov eax, ebx
lea edx, [ebx + 8]
sub eax, esi
lea ecx, [esi + 8]
cmp eax, 0xf
jg 0x40bd33
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 0x40b5ed
jmp 0x40abb9
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.00408900
mov dword [esp + 0x40], eax
jmp 0x40adf9
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 0x40b30b
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 0x40bbbc
mov ecx, dword [esp + edx*4 + 0x138]
cmp ecx, 1
adc ecx, 0
cmp edx, 1
je 0x40b6be
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 0x409da8
mov dword [esp + 0x54], eax
mov ebx, dword [esp + 0x70]
mov edi, ebp
jmp 0x40b4d7
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 0x4098b9
cmp byte [esp + 0x40], 0
je 0x409677
jmp 0x40961f
mov edi, dword [esp + 0x58]
cmp dword [esp + 0xb0], edi
jg 0x408db0
mov eax, dword [esp + 0x44]
mov dword [esp + 0x68], eax
jmp 0x40ac06
mov ebx, dword [esp + 0x48]
cmp byte [esp + 0x40], 0
mov dword [esp + 0x5c], ebx
je 0x40a903
jmp 0x40a8a3
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 0x409c64
mov edx, ebx
and ebx, 7
shr edx, 3
sub esi, edx
mov edi, dword [esi]
mov dword [esp + 0x50], edi
jmp 0x409be4
mov edx, ebx
and ebx, 7
shr edx, 3
sub esi, edx
mov edi, dword [esi]
mov dword [esp + 0x50], edi
jmp 0x409b78
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 0x40963b
mov ecx, ebp
jmp 0x409624
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 0x40bd22
mov ecx, dword [esp + edx*4 + 0x138]
cmp ecx, 1
adc ecx, 0
cmp edx, 1
je 0x40b7f7
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 0x40a867
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 0x40adf9
movzx edx, byte [ecx + 2]
add dword [esp + 0x54], edx
mov eax, dword [esp + 0x40]
cmp esi, eax
jne 0x408db0
cmp dword [esp + 0x54], 0x20
jne 0x408db0
jmp 0x40b493
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 0x4097b6
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 0x40b8c0
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 0x40b8c0
mov ebp, dword [esp + 0x58]
mov eax, dword [esp + 0x68]
jmp 0x4097b6
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 0x409597
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 0x4095c2
mov esi, edx
jmp 0x409b6d
mov esi, edx
jmp 0x409bd9
mov edi, dword [esp + 0x5c]
cmp edi, 7
ja 0x40bdab
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 + 0x417ac0]
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 0x4098b9
mov ecx, ebx
lea esi, [eax + 8]
lea edx, [ebx + 8]
sub ecx, eax
cmp ecx, 0xf
jg 0x40bde3
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 0x40b9a6
jmp 0x4098b9
movzx esi, byte [eax]
mov dword [esp + 0x50], esi
cmp ebx, 2
je 0x40b9de
cmp ebx, 3
jne 0x40b9ed
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 0x408db0
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 0x40a16f
cmp ebp, 0x20
ja 0x40ba58
mov eax, dword [esp + 0x4c]
mov edi, dword [esp + 0x64]
cmp eax, edi
jae 0x408db0
cmp dword [esp + 0x48], eax
jne 0x408db0
cmp ebp, 0x20
jne 0x408db0
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 0x40a34f
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 + 0x417320]
and ecx, ebx
mov dword [esp + 0x9c], ecx
cmp edi, 0x20
ja 0x408db0
add eax, 8
mov edx, dword [esp + 0x48]
mov dword [esp + 0x84], eax
jmp 0x409c64
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 0x40acdb
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 0x40bb0b
mov edi, dword [esp + 0x64]
jmp 0x40acdb
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 0x40b3c0
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 0x409479
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 0x409409
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 0x40939b
mov edx, dword [esp + 0x40]
xor ecx, ecx
sub edx, 1
sete cl
add ecx, edx
jmp 0x40b6b0
cmp edi, 7
ja 0x40bdba
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 + 0x417ac0]
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 0x40adf9
mov eax, dword [esp + 0x58]
mov ecx, ebx
lea edx, [ebx + 8]
sub ecx, eax
lea esi, [eax + 8]
cmp ecx, 0xf
jg 0x40be51
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 0x40bc2f
jmp 0x40adf9
mov edx, dword [eax]
mov dword [ebx], edx
mov edx, dword [eax + 4]
mov dword [ebx + 4], edx
jmp 0x40b5be
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 0x409287
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 0x40bdd0
mov edx, dword [esp + eax*4 + 0x138]
cmp edx, 1
adc edx, 0
cmp eax, 1
je 0x40bcd4
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 0x4095e6
cmp ebp, 0x20
ja 0x408db0
mov eax, dword [esp + 0x4c]
mov edi, dword [esp + 0x64]
cmp eax, edi
jae 0x408db0
cmp dword [esp + 0x48], eax
je 0x408db0
mov dword [esp + 0x40], 0xffffffec
sub esi, 0x14
jmp 0x4098da
mov edx, esi
xor ecx, ecx
sub edx, 1
sete cl
add ecx, edx
jmp 0x40b7e9
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 0x40abb9
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 0x40bd6d
jmp 0x40abb9
mov edx, dword [eax]
mov dword [ebx], edx
mov edx, dword [eax + 4]
mov dword [ebx + 4], edx
jmp 0x40b984
mov edx, dword [eax]
mov dword [ebx], edx
mov edx, dword [eax + 4]
mov dword [ebx + 4], edx
jmp 0x40bc09
mov edx, ebx
jmp 0x409c64
mov eax, dword [esp + 0x5c]
xor edx, edx
sub eax, 1
sete dl
add edx, eax
jmp 0x40bcc6
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 0x4098b9
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 0x40be02
jmp 0x4098b9
cmp edx, ebx
jb 0x40b43e
jmp 0x408db0
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 0x40adf9
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 0x40be74
jmp 0x40adf9
cmp dword [esp + 0x54], 4
jg 0x408db0
mov eax, dword [esp + 0x44]
xor ebx, ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x68], eax
jmp 0x40ac2f
mov dword [esp + 0x50], ebx
mov edi, dword [esp + 0x70]
mov dword [esp + 0x54], eax
mov ebx, dword [esp + 0x6c]
jmp 0x40b2f9