Function at 0x408b40
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 0x409058
cmp dword [esp + 0x174], 2
jbe 0x408ed0
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 0x408caa
cmp al, 3
je 0x408c90
cmp al, 1
je 0x408ef0
mov eax, edx
shr al, 2
and eax, 3
cmp al, 1
je 0x40a3d0
cmp al, 3
jne 0x4090a8
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 0x409b08
cmp dword [esp + 0x174], edi
jb 0x408ed0
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 0x408f71
test ecx, ecx
jne 0x40b24a
mov dword [edx + ebx], esi
mov dword [edx + ebx + 4], esi
add ebx, 8
cmp ebx, eax
jb 0x408c7a
jmp 0x408f71
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x40], 0xffffffe2
mov ebx, dword [eax + 0x72f8]
test ebx, ebx
je 0x408ed8
cmp dword [esp + 0x174], 4
jbe 0x408ed0
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 0x409070
cmp dl, 3
je 0x408ea0
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 0x408ed0
mov eax, dword [esp + 0x3c]
mov ecx, dword [eax + 0x7394]
test ecx, ecx
je 0x408d2b
cmp edi, 0x300
ja 0x4090e0
add edx, dword [esp + 0x170]
mov eax, esi
mov dword [esp + 0x40], edx
cmp al, 3
je 0x40a230
mov eax, dword [esp + 0x48]
test eax, eax
jne 0x40a4e8
test ebx, ebx
je 0x408ed0
test edi, edi
je 0x408ed0
cmp ebx, edi
jae 0x40a7b0
mov eax, ebx
xor edx, edx
shl eax, 4
div edi
lea edx, [eax + eax*2]
shl edx, 3
mov esi, dword [edx + 0x417980]
mov ecx, dword [edx + 0x417984]
mov ebp, dword [edx + 0x417988]
mov eax, dword [edx + 0x41798c]
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 0x40a75e
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 0x408ed0
cmp eax, 0xffffff88
ja 0x408ed0
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 0x408ed0
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 0x408f71
test ecx, ecx
jne 0x40a408
mov dword [edx + ebx], esi
mov dword [edx + ebx + 4], esi
add ebx, 8
cmp ebx, eax
jb 0x408e85
jmp 0x408f71
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 0x409090
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 0x40a3a0
cmp al, 3
jne 0x4090c0
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 0x408ed0
cmp ebx, 0x20000
ja 0x408ed0
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 0x409058
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 0x409100
cmp ebx, 1
jne 0x409058
mov eax, dword [esp + 0x44]
test eax, eax
je 0x40a435
mov edi, dword [esp + 0x50]
test edi, edi
jne 0x40b175
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 0x40b233
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 0x40a3f8
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 0x408ed8
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 0x408cfd
mov dword [esp + 0x48], 0
mov edx, 5
jmp 0x408cfd
shr dl, 3
mov eax, 1
movzx ebx, dl
jmp 0x408be5
shr dl, 3
mov dword [esp + 0x58], 2
mov eax, 1
movzx ebx, dl
jmp 0x408f3d
mov eax, dword [eax + 0xc]
lea ecx, [eax + 0x4040]
add eax, 0x40
lea esi, [esi]
sub eax, 0xffffff80
cmp ecx, eax
jne 0x4090f0
jmp 0x408d2b
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 0x40914e
cmp edi, 0xff
je 0x40a6b9
mov edi, dword [esp + 0x40]
cmp eax, edi
jae 0x409058
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 0x409058
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], 0x417760
mov dword [esp + 0x1c], edx
mov edx, dword [esp + 0x40]
mov dword [esp + 0x14], 0x417b80
sub edx, ebp
mov dword [esp + 0x10], 0x417c20
mov dword [esp + 0xc], edx
mov edx, edi
mov dword [esp + 8], ebp
mov dword [esp + 4], 9
mov dword [esp], 0x23
call fcn.00408850
cmp eax, 0xffffff88
ja 0x408ed0
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], 0x417640
mov dword [esp + 0x1c], ebp
mov ebp, dword [esp + 0x40]
mov dword [esp + 0x14], 0x417e80
sub ebp, edi
mov dword [esp + 0x10], 0x417f00
mov dword [esp + 0xc], ebp
mov dword [esp + 8], edi
mov dword [esp + 4], 8
mov dword [esp], 0x1f
call fcn.00408850
cmp eax, 0xffffff88
ja 0x408ed0
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], 0x417420
mov dword [esp + 0x1c], ebp
mov ebp, dword [esp + 0x40]
mov dword [esp + 0x14], 0x417cc0
sub ebp, edi
mov dword [esp + 0x10], 0x417da0
mov dword [esp + 0xc], ebp
mov ebp, edi
mov dword [esp + 8], edi
mov dword [esp + 4], 9
mov dword [esp], 0x34
call fcn.00408850
cmp eax, 0xffffff88
ja 0x408ed0
add ebp, eax
mov dword [esp + 0x48], ebp
sub ebp, esi
mov dword [esp + 0x40], ebp
cmp ebp, 0xffffff88
ja 0x408ed8
mov eax, dword [esp + 0x44]
sub ebx, ebp
test eax, eax
je 0x40a421
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 0x409a78
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 0x409b28
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 0x409013
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 0x408ed0
mov esi, dword [esp + 0x48]
movzx eax, byte [esi + ebx - 1]
cmp ebx, 3
jbe 0x40b34c
test al, al
je 0x408ed0
cmp ebx, 0xffffff88
ja 0x408ed0
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 + 0x4173a0]
and ecx, ebx
mov dword [esp + 0x78], ecx
cmp edx, 0x20
ja 0x4094bb
cmp dword [esp + 0x4c], esi
jae 0x40bce1
mov esi, dword [esp + 0x48]
mov ebx, dword [esp + 0x4c]
cmp esi, ebx
je 0x4094bb
mov ecx, edx
mov eax, ebx
shr ecx, 3
sub eax, ecx
cmp eax, esi
jae 0x4094ac
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 + 0x4173a0]
and ecx, esi
mov dword [esp + 0x80], ecx
cmp edx, 0x20
ja 0x409529
mov esi, dword [esp + 0x64]
cmp dword [esp + 0x4c], esi
jae 0x40bcc6
mov esi, dword [esp + 0x48]
mov ebx, dword [esp + 0x4c]
cmp esi, ebx
je 0x409529
mov ecx, edx
mov eax, ebx
shr ecx, 3
sub eax, ecx
cmp eax, esi
jae 0x40951a
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 + 0x4173a0]
mov dword [esp + 0x7c], edx
cmp esi, 0x20
ja 0x409599
mov ebx, dword [esp + 0x64]
cmp dword [esp + 0x4c], ebx
jae 0x40bca9
mov esi, dword [esp + 0x48]
mov ebx, dword [esp + 0x4c]
cmp esi, ebx
je 0x409599
mov edx, ebp
mov eax, ebx
shr edx, 3
sub eax, edx
cmp eax, esi
jae 0x409586
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 0x40a4b0
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 0x40a60f
cmp byte [esp + 0xab], 0
je 0x40a60f
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 0x4096b7
mov edi, dword [esp + 0x64]
cmp dword [esp + 0x4c], edi
jae 0x40ba46
mov edx, dword [esp + 0x48]
mov edi, dword [esp + 0x4c]
cmp edx, edi
je 0x4096b7
mov ecx, ebp
mov eax, edi
shr ecx, 3
sub eax, ecx
cmp eax, edx
jae 0x4096a8
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 0x4096e2
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 0x409728
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 0x40a5a3
cmp byte [esp + 0x40], 0
je 0x409756
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 0x409797
mov edi, dword [esp + 0x64]
cmp dword [esp + 0x4c], edi
jae 0x40a6d9
mov edi, dword [esp + 0x48]
mov ebx, dword [esp + 0x4c]
cmp edi, ebx
je 0x409797
mov eax, ebp
mov edx, ebx
shr eax, 3
sub edx, eax
cmp edx, edi
jae 0x409788
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 + 0x4173a0]
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 + 0x4173a0]
and ecx, ebx
mov edx, ecx
movzx ecx, word [ebp]
lea ebx, [edx + ecx]
mov dword [esp + 0x7c], ebx
cmp eax, 0x20
ja 0x40982c
mov ebx, dword [esp + 0x64]
cmp dword [esp + 0x4c], ebx
jae 0x40a6f4
mov edi, dword [esp + 0x48]
mov ebx, dword [esp + 0x4c]
cmp edi, ebx
je 0x40982c
mov edx, eax
mov ecx, ebx
shr edx, 3
sub ecx, edx
cmp ecx, edi
jae 0x40981d
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 + 0x4173a0]
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 0x40b1b4
mov ecx, dword [esp + 0x6c]
cmp dword [esp + 0x98], ecx
jb 0x40b1b4
mov ecx, dword [esp + 0x70]
add edx, 0x20
sub ecx, esi
cmp ecx, edx
jb 0x40b1b4
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 0x40b990
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 0x409952
mov edi, dword [esp + 0x9c]
mov edx, ebx
sub edx, edi
mov edi, dword [esp + 0x5c]
cmp edx, edi
jb 0x40be2f
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 0x40b828
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 0x40ba8a
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 0x4099f9
mov esi, dword [esp + 0x6c]
jmp 0x4099c0
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 0x4099c0
mov esi, dword [esp + 0x6c]
cmp ebp, 0x20
ja 0x409a44
mov edi, dword [esp + 0x64]
cmp dword [esp + 0x4c], edi
jae 0x40a731
mov edi, dword [esp + 0x4c]
cmp dword [esp + 0x48], edi
je 0x409a44
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 0x409a35
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 0x408ed8
sub dword [esp + 0x54], 1
je 0x40bb70
mov eax, dword [esp + 0x138]
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0xcc]
mov dword [esp + 0x68], eax
jmp 0x4095b0
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 0x409bb9
mov ebx, esi
mov edx, dword [esp + 0x6c]
mov edi, dword [esp + 0x44]
sub ebx, eax
sub edx, edi
cmp edx, ebx
jb 0x40a3f8
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 0x408ed8
mov edi, dword [esp + 0x3c]
add eax, dword [esp + 0x170]
mov dword [edi + 0x7368], eax
mov dword [edi + 0x7378], ebx
jmp 0x408f71
cmp dword [esp + 0x54], 4
jle 0x409366
mov eax, dword [eax + 8]
mov edx, 1
mov edi, dword [eax + 4]
mov ecx, edi
shl edx, cl
test edx, edx
je 0x40bd98
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 0x409b60
mov ecx, 8
mov eax, dword [esp + 0x3c]
sub ecx, edi
mov dword [eax + 0x7394], 0
shl edx, cl
cmp edx, 0x13
jbe 0x40bda6
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 0x408ed0
mov edi, dword [esp + 0x48]
movzx eax, byte [edi + ebx - 1]
cmp ebx, 3
jbe 0x40a548
test al, al
je 0x408ed0
cmp ebx, 0xffffff88
ja 0x408ed0
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 + 0x4173a0]
and ecx, edi
mov dword [esp + 0x60], ecx
cmp ebx, 0x20
ja 0x409cb8
cmp esi, ebp
jae 0x40b8ba
mov edi, dword [esp + 0x48]
cmp edi, esi
je 0x409cb8
mov ecx, ebx
mov edx, esi
shr ecx, 3
sub edx, ecx
cmp edx, edi
jae 0x40ba7c
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 + 0x4173a0]
and ecx, edi
mov dword [esp + 0xa0], ecx
cmp ebx, 0x20
ja 0x409d24
mov edi, dword [esp + 0x4c]
cmp esi, edi
jae 0x40b8a5
mov edi, dword [esp + 0x48]
cmp edi, esi
je 0x40bbd3
mov ecx, ebx
mov edx, esi
shr ecx, 3
sub edx, ecx
cmp edx, edi
jae 0x40ba83
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 + 0x4173a0]
and ecx, ebx
mov dword [esp + 0x9c], ecx
cmp edi, 0x20
ja 0x408ed0
lea eax, [edx + 8]
mov dword [esp + 0x84], eax
mov eax, dword [esp + 0x4c]
cmp esi, eax
jae 0x40b88e
mov ebx, dword [esp + 0x48]
cmp ebx, esi
je 0x40bf09
mov eax, edi
mov edx, esi
shr eax, 3
sub edx, eax
cmp edx, ebx
jae 0x409d90
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 0x408ed0
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 0x40a035
movzx ecx, bl
mov edx, ebp
mov dword [esp + 0x8c], ecx
mov ecx, edi
shl edx, cl
cmp bl, 0x18
jbe 0x40a178
cmp byte [esp + 0xab], 0
je 0x40a178
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 0x409e88
mov edx, dword [esp + 0x4c]
cmp eax, edx
jae 0x40a70f
cmp dword [esp + 0x48], eax
je 0x409e88
mov ecx, edi
mov edx, eax
mov ebp, dword [esp + 0x48]
shr ecx, 3
sub edx, ecx
cmp edx, ebp
jae 0x40b263
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 0x409ec4
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 0x409f08
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 0x40a110
cmp byte [esp + 0x5c], 0
je 0x409f34
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 0x40a210
mov ebx, dword [esp + 0x4c]
cmp eax, ebx
jae 0x40a1e0
mov ebx, dword [esp + 0x48]
mov edx, ebx
cmp ebx, eax
je 0x409f6d
mov ecx, edi
mov edx, eax
shr ecx, 3
sub edx, ecx
cmp edx, ebx
jae 0x409f66
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 + 0x4173a0]
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 + 0x4173a0]
movzx eax, word [esi]
add ebx, eax
cmp edi, 0x20
ja 0x409fe4
mov eax, dword [esp + 0x4c]
cmp edx, eax
jae 0x40a1f8
mov esi, dword [esp + 0x48]
cmp esi, edx
je 0x409fe4
mov eax, edi
mov ecx, edx
shr eax, 3
sub ecx, eax
cmp ecx, esi
jae 0x40a220
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 + 0x4173a0]
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 0x40b858
mov eax, dword [esp + 0x4c]
cmp edx, eax
jae 0x40a160
mov esi, dword [esp + 0x48]
mov eax, esi
cmp esi, edx
je 0x40a065
mov ebp, edi
mov eax, edx
shr ebp, 3
sub eax, ebp
cmp eax, esi
jae 0x40a05e
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 0x40a7d3
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 0x409de8
je 0x40b7b9
mov ebx, dword [esp + 0x64]
test ebx, ebx
jne 0x409ee8
mov edx, dword [esp + 0x13c]
mov dword [esp + 0x13c], ecx
mov dword [esp + 0x138], edx
mov dword [esp + 0x40], edx
jmp 0x409ee8
cmp edi, 0x20
ja 0x40a74c
mov edx, dword [esp + 0x4c]
cmp eax, edx
jae 0x40a5f1
cmp dword [esp + 0x48], eax
je 0x40b271
mov edx, edi
mov ecx, eax
mov ebp, dword [esp + 0x48]
shr edx, 3
sub ecx, edx
cmp ecx, ebp
jae 0x40a7cc
sub eax, ebp
mov edx, eax
mov eax, ebp
shl edx, 3
mov ebp, dword [eax]
sub edi, edx
jmp 0x409f18
mov ebp, edi
mov eax, edx
and edi, 7
shr ebp, 3
sub eax, ebp
mov ebp, dword [eax]
jmp 0x40a065
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 0x409ec4
mov edx, dword [esp + 0x4c]
cmp eax, edx
jae 0x40a720
cmp dword [esp + 0x48], eax
je 0x409ec4
mov ecx, edi
mov edx, eax
mov ebp, dword [esp + 0x48]
shr ecx, 3
sub edx, ecx
cmp edx, ebp
jae 0x40b26a
sub eax, ebp
mov ecx, eax
mov eax, ebp
shl ecx, 3
mov ebp, dword [eax]
sub edi, ecx
jmp 0x409ec4
mov ecx, edi
and edi, 7
shr ecx, 3
sub eax, ecx
mov ebp, dword [eax]
mov edx, eax
jmp 0x409f6d
mov eax, edi
and edi, 7
shr eax, 3
sub edx, eax
mov ebp, dword [edx]
jmp 0x409fe4
mov edx, eax
jmp 0x409f6d
mov edx, ecx
jmp 0x409fdd
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 0x40a66e
add esi, 0x73e8
mov dword [esp + 0x74], esi
test al, al
je 0x40b644
test ebx, ebx
je 0x408ed0
mov eax, edx
movzx edx, byte [edx + ebx - 1]
cmp ebx, 3
jbe 0x40bb00
lea esi, [eax + ebx - 4]
test dl, dl
je 0x408ed0
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 0x40a373
mov ebp, dword [esp + 0x40]
cmp esi, ebp
je 0x40b79d
mov ecx, eax
mov edi, esi
shr ecx, 3
sub edi, ecx
cmp edi, ebp
jb 0x40b416
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 0x40c014
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 0x40bc8d
mov edi, dword [esp + 0x68]
cmp esi, edi
jb 0x40a2e0
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 0x40a314
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 0x408f3d
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 0x408be5
mov dword [esp + 0x40], 0xffffffba
jmp 0x408ed8
mov ebx, 8
mov dword [edx + 4], 0
cmp ebx, eax
jb 0x408e85
jmp 0x408f71
mov eax, dword [esp + 0x54]
mov dword [esp + 0x40], 0xffffffba
test eax, eax
jne 0x408ed8
mov ebp, dword [esp + 0x50]
test ebp, ebp
jne 0x40b3d5
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 0x40a462
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 0x40a3f8
test esi, esi
je 0x409041
jmp 0x40902b
je 0x40bdd6
mov eax, dword [esp + 0x58]
test eax, eax
jne 0x409706
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 0x409706
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 0x408ed0
cmp eax, ebx
jae 0x408ed0
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 0x408e1f
jmp 0x408ed0
mov esi, edi
movzx edi, byte [edi]
mov dword [esp + 0x50], edi
cmp ebx, 2
je 0x40a568
cmp ebx, 3
jne 0x40a577
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 0x408ed0
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 0x409c54
cmp ebp, 0x20
ja 0x40b841
mov eax, dword [esp + 0x4c]
mov edi, dword [esp + 0x64]
cmp eax, edi
jae 0x40b8cf
cmp dword [esp + 0x48], eax
je 0x40b841
mov ecx, ebp
mov ebx, dword [esp + 0x48]
mov edi, eax
shr ecx, 3
sub eax, ecx
cmp eax, ebx
jae 0x40a5dd
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 0x409738
mov edx, edi
and edi, 7
shr edx, 3
sub eax, edx
cmp byte [esp + 0x5c], 0
mov ebp, dword [eax]
je 0x409f3d
mov ecx, edi
jmp 0x409f24
mov edi, dword [esp + 0x88]
mov ecx, edi
add ebp, edi
neg ecx
shr ebx, cl
add ebx, eax
cmp ebp, 0x20
ja 0x4096e2
mov edi, dword [esp + 0x64]
cmp dword [esp + 0x4c], edi
jae 0x40ba61
mov ecx, dword [esp + 0x48]
mov edi, dword [esp + 0x4c]
cmp ecx, edi
je 0x4096e2
mov edx, ebp
mov eax, edi
shr edx, 3
sub eax, edx
cmp eax, ecx
jae 0x40a65a
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 0x4096e2
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 0x40b686
call fcn.00401e00
cmp eax, 0xffffff88
ja 0x408ed0
mov dword [ebp + 0x7368], esi
lea ebx, [esi + edi]
mov dword [ebp + 0x7378], edi
mov dword [ebp + 0x72f8], 1
jmp 0x408e42
lea eax, [esi + 3]
cmp dword [esp + 0x40], eax
jb 0x409058
movzx edx, word [esi + 1]
lea edi, [edx + 0x7f00]
mov dword [esp + 0x54], edi
jmp 0x40914e
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 0x409797
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 0x40982c
mov edx, edi
and edi, 7
shr edx, 3
sub eax, edx
mov ebp, dword [eax]
jmp 0x409e88
mov edx, edi
and edi, 7
shr edx, 3
sub eax, edx
mov ebp, dword [eax]
jmp 0x409ec4
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 0x409a44
cmp byte [esp + 0x5c], 0
mov edx, eax
je 0x409f6d
jmp 0x409f1f
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 0x408ed0
cmp eax, ebx
jae 0x408ed0
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 0x408e1f
jmp 0x408ed0
mov eax, 0x91
mov ebp, 0x763
mov ecx, pe_nt_image_headers32
mov dword [esp + 0x54], 0x2d2
jmp 0x408d8f
mov eax, ecx
jmp 0x40a14a
mov dword [esp + 0x50], ebp
mov dword [esp + 0x9c], ebx
mov dword [esp + 0xa0], ecx
mov dword [esp + 0x5c], eax
cmp edi, 0x20
ja 0x40bff6
mov eax, dword [esp + 0x44]
mov dword [esp + 0x68], eax
lea esi, [esi]
mov esi, dword [esp + 0x4c]
cmp dword [esp + 0x5c], esi
jae 0x40b098
mov esi, dword [esp + 0x48]
mov ebx, dword [esp + 0x5c]
mov eax, esi
cmp esi, ebx
je 0x40a83a
mov edx, edi
mov eax, ebx
shr edx, 3
sub eax, edx
cmp eax, esi
jae 0x40a82f
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 0x40ad54
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 0x40afc0
movzx esi, bl
mov ecx, edi
mov dword [esp + 0x60], esi
mov esi, dword [esp + 0x50]
shl esi, cl
cmp bl, 0x18
jbe 0x40b040
cmp byte [esp + 0xab], 0
je 0x40b040
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 0x40a94f
mov esi, dword [esp + 0x4c]
cmp eax, esi
jae 0x40b3c0
mov esi, dword [esp + 0x48]
cmp esi, eax
je 0x40a94f
mov ecx, edi
mov edx, eax
shr ecx, 3
sub edx, ecx
cmp edx, esi
jae 0x40a93e
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 0x40a983
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 0x40a9cc
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 0x40aff0
cmp byte [esp + 0x40], 0
je 0x40a9fa
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 0x40b150
mov esi, dword [esp + 0x4c]
cmp eax, esi
jae 0x40b0d8
mov esi, dword [esp + 0x48]
mov dword [esp + 0x5c], esi
cmp esi, eax
je 0x40aa43
mov edx, edi
mov ebx, eax
shr edx, 3
sub ebx, edx
mov dword [esp + 0x5c], ebx
cmp ebx, esi
jae 0x40aa34
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 + 0x4173a0]
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 + 0x4173a0]
and ecx, edi
mov eax, ecx
movzx ecx, word [esi]
add eax, ecx
mov dword [esp + 0x9c], eax
cmp edx, 0x20
ja 0x40aad3
mov edi, dword [esp + 0x4c]
cmp dword [esp + 0x5c], edi
jae 0x40b0b8
mov esi, dword [esp + 0x48]
mov edi, dword [esp + 0x5c]
cmp esi, edi
je 0x40aad3
mov ecx, edx
mov eax, edi
shr ecx, 3
sub eax, ecx
cmp eax, esi
jae 0x40aac4
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 + 0x4173a0]
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 0x40b0f1
mov ebp, dword [esp + 0x80]
cmp dword [esp + 0x88], ebp
jb 0x40b0f1
mov eax, dword [esp + 0x6c]
mov ebp, esi
sub eax, esi
mov esi, dword [esp + 0x40]
add esi, 0x20
cmp eax, esi
jb 0x40b0f1
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 0x40b285
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 0x40ac66
mov eax, dword [esp + 0xb4]
mov edx, ebx
sub edx, eax
mov eax, dword [esp + 0x64]
cmp edx, eax
jb 0x408ed0
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 0x40b159
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 0x40b6b6
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 0x40acf9
mov ebp, dword [esp + 0x90]
jmp 0x40acc0
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 0x40acc0
mov esi, dword [esp + 0x40]
cmp esi, 0xffffff88
ja 0x408ed8
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 0x40a800
mov edi, dword [esp + 0x58]
cmp dword [esp + 0x54], edi
jg 0x408ed0
mov eax, dword [esp + 0x58]
mov edi, dword [esp + 0xb0]
sub eax, edi
mov dword [esp + 0x48], eax
cmp dword [esp + 0x54], eax
jle 0x40af5f
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 0x40b747
cmp dword [esp + 0x60], eax
jb 0x40b747
mov eax, dword [esp + 0x6c]
mov esi, dword [esp + 0x40]
sub eax, ebp
add esi, 0x20
cmp eax, esi
jb 0x40b747
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 0x40bc1d
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 0x40ae9a
mov eax, dword [esp + 0xb4]
mov edx, ebx
sub edx, eax
cmp edx, edi
jb 0x408ed0
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 0x40b952
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 0x40bd0f
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 0x40af39
mov esi, dword [esp + 0x5c]
jmp 0x40af00
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 0x40af00
mov eax, dword [esp + 0x40]
cmp eax, 0xffffff88
ja 0x408ed8
add dword [esp + 0x48], 1
add ebp, eax
mov eax, dword [esp + 0x48]
cmp dword [esp + 0x54], eax
jne 0x40ad80
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 0x40a3f8
mov ecx, dword [esp + 0x68]
test ecx, ecx
je 0x409af0
jmp 0x409ad8
je 0x40b8f7
mov edx, dword [esp + 0x74]
test edx, edx
jne 0x40a9a7
mov edx, dword [esp + 0x13c]
mov dword [esp + 0x13c], esi
mov dword [esp + 0x138], edx
mov dword [esp + 0x70], edx
jmp 0x40a9a7
cmp edi, 0x20
ja 0x40b630
mov esi, dword [esp + 0x4c]
cmp eax, esi
jae 0x40b211
cmp dword [esp + 0x48], eax
je 0x40b876
mov ebx, edi
mov ecx, eax
mov esi, dword [esp + 0x48]
shr ebx, 3
sub ecx, ebx
cmp ecx, esi
jae 0x40b026
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 0x40a9dc
mov ebx, dword [esp + 0x60]
mov ecx, ebx
add edi, ebx
neg ecx
shr esi, cl
lea ebx, [esi + edx]
cmp edi, 0x20
ja 0x40a983
mov esi, dword [esp + 0x4c]
cmp eax, esi
jae 0x40b3ab
mov esi, dword [esp + 0x48]
cmp esi, eax
je 0x40a983
mov ecx, edi
mov edx, eax
shr ecx, 3
sub edx, ecx
cmp edx, esi
jae 0x40b083
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 0x40a983
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 0x40a83a
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 0x40aad3
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 0x40aa43
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.00408a20
mov dword [esp + 0x40], eax
jmp 0x40acf9
mov dword [esp + 0x5c], eax
jmp 0x40aa43
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 0x40acf9
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 0x409ac0
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.00408a20
mov dword [esp + 0x40], eax
add esi, eax
jmp 0x4099fd
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 0x40aa03
mov ecx, edi
jmp 0x40a9e8
mov eax, dword [esp + 0x4c]
mov edi, dword [esp + 0x44]
add eax, edi
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x3c]
jmp 0x408ffa
mov ebx, 8
mov dword [edx + 4], 0
cmp ebx, eax
jb 0x408c7a
jmp 0x408f71
mov eax, edx
jmp 0x409e81
mov eax, edx
jmp 0x40a1ce
cmp byte [esp + 0x5c], 0
mov edx, dword [esp + 0x48]
je 0x409f6d
jmp 0x409f1f
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 0x40abca
mov dword [esp + 0xbc], edi
lea ecx, [ebp + 0x20]
add edx, 0x20
mov ebp, dword [esp + 0x90]
jmp 0x40b300
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 0x40b300
mov dword [esp + 0x90], ebp
mov edi, dword [esp + 0xbc]
jmp 0x40abca
mov edx, esi
movzx esi, byte [esi]
mov dword [esp + 0x50], esi
cmp ebx, 2
je 0x40b36c
cmp ebx, 3
jne 0x40b37b
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 0x408ed0
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 0x40944e
mov edx, edi
and edi, 7
shr edx, 3
sub eax, edx
mov esi, dword [eax]
mov dword [esp + 0x50], esi
jmp 0x40a983
mov edx, edi
and edi, 7
shr edx, 3
sub eax, edx
mov esi, dword [eax]
mov dword [esp + 0x50], esi
jmp 0x40a94f
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 0x40af98
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 0x40b500
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 0x40b4d3
mov ebx, dword [esp + 0x40]
cmp esi, ebx
je 0x40b819
mov ecx, eax
mov edi, esi
shr ecx, 3
sub edi, ecx
cmp edi, ebx
jb 0x40b5f6
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 0x40b819
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 0x40b4f6
mov edi, dword [esp + 0x68]
cmp esi, edi
jb 0x40b468
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 0x40b49b
mov dword [esp + 0x54], eax
mov ebx, dword [esp + 0x70]
mov edi, ebp
cmp dword [esp + 0x6c], edx
jb 0x40bf84
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 0x40b540
mov edi, dword [esp + 0x68]
mov esi, dword [esp + 0x70]
mov dword [esp + 0x54], eax
mov ebx, dword [esp + 0x7c]
cmp edx, ebx
jae 0x40b973
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 0x40b96b
mov eax, dword [esp + 0x54]
cmp eax, 0x1f
ja 0x40b973
movzx edx, byte [ecx + 2]
add eax, edx
mov dword [esp + 0x54], eax
cmp eax, 0x20
jbe 0x40b973
mov eax, dword [esp + 0x40]
cmp esi, eax
jne 0x408ed0
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 0x408e42
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 0x40b50a
jmp 0x40b576
cmp byte [esp + 0x40], 0
mov dword [esp + 0x5c], eax
je 0x40aa43
jmp 0x40a9e3
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 0x408ed0
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 0x408e42
call fcn.004031f0
cmp eax, 0xffffff88
ja 0x408ed0
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 0x408e42
mov esi, dword [esp + 0x64]
mov eax, dword [esp + 0xa4]
cmp esi, 7
ja 0x40bd89
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 + 0x417b40]
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 0x40acf9
mov esi, dword [esp + 0xa4]
mov eax, ebx
lea edx, [ebx + 8]
sub eax, esi
lea ecx, [esi + 8]
cmp eax, 0xf
jg 0x40be73
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 0x40b72d
jmp 0x40acf9
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.00408a20
mov dword [esp + 0x40], eax
jmp 0x40af39
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 0x40b44b
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 0x40bcfc
mov ecx, dword [esp + edx*4 + 0x138]
cmp ecx, 1
adc ecx, 0
cmp edx, 1
je 0x40b7fe
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 0x409ee8
mov dword [esp + 0x54], eax
mov ebx, dword [esp + 0x70]
mov edi, ebp
jmp 0x40b617
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 0x4099f9
cmp byte [esp + 0x40], 0
je 0x409797
jmp 0x40973f
mov edi, dword [esp + 0x58]
cmp dword [esp + 0xb0], edi
jg 0x408ed0
mov eax, dword [esp + 0x44]
mov dword [esp + 0x68], eax
jmp 0x40ad46
mov ebx, dword [esp + 0x48]
cmp byte [esp + 0x40], 0
mov dword [esp + 0x5c], ebx
je 0x40aa43
jmp 0x40a9e3
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 0x409da4
mov edx, ebx
and ebx, 7
shr edx, 3
sub esi, edx
mov edi, dword [esi]
mov dword [esp + 0x50], edi
jmp 0x409d24
mov edx, ebx
and ebx, 7
shr edx, 3
sub esi, edx
mov edi, dword [esi]
mov dword [esp + 0x50], edi
jmp 0x409cb8
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 0x40975b
mov ecx, ebp
jmp 0x409744
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 0x40be62
mov ecx, dword [esp + edx*4 + 0x138]
cmp ecx, 1
adc ecx, 0
cmp edx, 1
je 0x40b937
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 0x40a9a7
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 0x40af39
movzx edx, byte [ecx + 2]
add dword [esp + 0x54], edx
mov eax, dword [esp + 0x40]
cmp esi, eax
jne 0x408ed0
cmp dword [esp + 0x54], 0x20
jne 0x408ed0
jmp 0x40b5d3
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 0x4098d6
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 0x40ba00
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 0x40ba00
mov ebp, dword [esp + 0x58]
mov eax, dword [esp + 0x68]
jmp 0x4098d6
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 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 0x4096e2
mov esi, edx
jmp 0x409cad
mov esi, edx
jmp 0x409d19
mov edi, dword [esp + 0x5c]
cmp edi, 7
ja 0x40beeb
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 + 0x417b40]
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 0x4099f9
mov ecx, ebx
lea esi, [eax + 8]
lea edx, [ebx + 8]
sub ecx, eax
cmp ecx, 0xf
jg 0x40bf23
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 0x40bae6
jmp 0x4099f9
movzx esi, byte [eax]
mov dword [esp + 0x50], esi
cmp ebx, 2
je 0x40bb1e
cmp ebx, 3
jne 0x40bb2d
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 0x408ed0
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 0x40a2af
cmp ebp, 0x20
ja 0x40bb98
mov eax, dword [esp + 0x4c]
mov edi, dword [esp + 0x64]
cmp eax, edi
jae 0x408ed0
cmp dword [esp + 0x48], eax
jne 0x408ed0
cmp ebp, 0x20
jne 0x408ed0
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 0x40a48f
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 + 0x4173a0]
and ecx, ebx
mov dword [esp + 0x9c], ecx
cmp edi, 0x20
ja 0x408ed0
add eax, 8
mov edx, dword [esp + 0x48]
mov dword [esp + 0x84], eax
jmp 0x409da4
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 0x40ae1b
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 0x40bc4b
mov edi, dword [esp + 0x64]
jmp 0x40ae1b
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 0x40b500
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 0x409599
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 0x409529
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 0x4094bb
mov edx, dword [esp + 0x40]
xor ecx, ecx
sub edx, 1
sete cl
add ecx, edx
jmp 0x40b7f0
cmp edi, 7
ja 0x40befa
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 + 0x417b40]
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 0x40af39
mov eax, dword [esp + 0x58]
mov ecx, ebx
lea edx, [ebx + 8]
sub ecx, eax
lea esi, [eax + 8]
cmp ecx, 0xf
jg 0x40bf91
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 0x40bd6f
jmp 0x40af39
mov edx, dword [eax]
mov dword [ebx], edx
mov edx, dword [eax + 4]
mov dword [ebx + 4], edx
jmp 0x40b6fe
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 0x4093a7
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 0x40bf10
mov edx, dword [esp + eax*4 + 0x138]
cmp edx, 1
adc edx, 0
cmp eax, 1
je 0x40be14
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 0x409706
cmp ebp, 0x20
ja 0x408ed0
mov eax, dword [esp + 0x4c]
mov edi, dword [esp + 0x64]
cmp eax, edi
jae 0x408ed0
cmp dword [esp + 0x48], eax
je 0x408ed0
mov dword [esp + 0x40], 0xffffffec
sub esi, 0x14
jmp 0x409a1a
mov edx, esi
xor ecx, ecx
sub edx, 1
sete cl
add ecx, edx
jmp 0x40b929
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 0x40acf9
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 0x40bead
jmp 0x40acf9
mov edx, dword [eax]
mov dword [ebx], edx
mov edx, dword [eax + 4]
mov dword [ebx + 4], edx
jmp 0x40bac4
mov edx, dword [eax]
mov dword [ebx], edx
mov edx, dword [eax + 4]
mov dword [ebx + 4], edx
jmp 0x40bd49
mov edx, ebx
jmp 0x409da4
mov eax, dword [esp + 0x5c]
xor edx, edx
sub eax, 1
sete dl
add edx, eax
jmp 0x40be06
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 0x4099f9
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 0x40bf42
jmp 0x4099f9
cmp edx, ebx
jb 0x40b57e
jmp 0x408ed0
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 0x40af39
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 0x40bfb4
jmp 0x40af39
cmp dword [esp + 0x54], 4
jg 0x408ed0
mov eax, dword [esp + 0x44]
xor ebx, ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x68], eax
jmp 0x40ad6f
mov dword [esp + 0x50], ebx
mov edi, dword [esp + 0x70]
mov dword [esp + 0x54], eax
mov ebx, dword [esp + 0x6c]
jmp 0x40b439