Function at 0x476e6c
Capabilities:
Hash data with crc32

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x1a4
mov eax, dword [ebp + 8]
and dword [ebp - 0x20], 0
or dword [ebp - 0x98], 0xffffffff
push ebx
mov dword [ebp - 0x58], ecx
mov ecx, dword [eax + 0xdc4]
push esi
mov esi, dword [eax + 0x34]
mov eax, dword [eax + 0xdd4]
mov dword [ebp - 8], ecx
xor cl, cl
mov dword [ebp - 0x14], 0x4000
mov byte [ebp - 2], cl
mov cl, byte [esi + 0x25]
mov bl, byte [eax + 0x4a]
mov byte [ebp - 1], cl
mov ecx, dword [eax + 0x20]
push edi
mov dword [ebp - 0x64], esi
mov eax, dword [ecx]
call dword [eax + 8]
mov ecx, eax
movzx eax, bl
imul ecx, eax
mov dword [ebp - 0x4c], ecx
lea ecx, [ebp - 0xcc]
call fcn.00413e10
lea ecx, [ebp - 0x188]
call fcn.00413e10
lea ecx, [ebp - 0x170]
call fcn.00413e10
lea ecx, [ebp - 0x1a0]
call fcn.00413e10
xor ecx, ecx
mov dword [ebp - 0xb4], 0xdead
mov dword [ebp - 0xc], ecx
xor bh, bh
mov ecx, dword [ebp + 8]
mov edi, 0x40bdd4
mov dword [ebp - 0x54], 0xdeaddead
cmp dword [ecx + 0x30], 5
jne 0x476f1f
mov edi, 0x40c72c
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp - 0x58]
push ecx
push dword [ebp + 0xc]
lea ecx, [ebp - 0x14]
mov byte [eax], 0
mov eax, dword [edx]
push ecx
lea ecx, [ebp - 0x20]
push ecx
mov ecx, edx
call dword [eax + 0x54]
test al, al
je 0x476f47
cmp dword [ebp - 0x14], 0x20
jae 0x476f7e
mov bh, 1
mov edi, dword [ebp - 0xc]
mov bl, byte [ebp - 2]
mov eax, dword [ebp - 8]
mov cl, byte [ebp - 1]
mov byte [esi + 0x25], cl
mov ecx, dword [ebp + 0xc]
cmp byte [ecx], 0
jne 0x4788fd
test bl, bl
jne 0x478824
mov byte [eax + 1], 1
test bh, bh
je 0x47881f
push 9
pop edx
jmp 0x47883b
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x58]
movzx eax, word [eax + 0x18]
mov dword [ebp - 0xb4], eax
mov eax, dword [ecx]
call dword [eax + 0x60]
mov ecx, eax
mov eax, dword [ebp - 0xb4]
shl ecx, 0x1b
or ecx, eax
mov dword [ebp - 0xb4], ecx
cmp eax, 0x13
ja case.default.0x476faf
jmp dword [eax*4 + 0x478948]
and dword [ebp - 0x48], 0
xor eax, eax
mov edx, 0x40c744
mov dword [ebp - 0x44], eax
mov ecx, edi
call fcn.00412500
cmp dword [ebp - 0x14], 0x28
jb 0x476f45
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax + 0x20]
mov dword [ebp - 0x24], ecx
mov ecx, dword [eax + 0x24]
mov eax, ecx
shr eax, 0x10
mov word [ebp - 0x42], ax
cdq
mov edi, eax
mov word [ebp - 0x44], cx
push dword [ebp - 0x44]
shld edx, edi, 0x10
movzx eax, cx
xor ecx, ecx
cdq
shl edi, 0x10
or edi, eax
mov eax, dword [ebp - 0x24]
push eax
push dword [ebp + 8]
or ecx, eax
lea eax, [ebp - 0xcc]
push eax
mov dword [ebp - 0x54], ecx
call fcn.004767f2
test al, al
jne 0x47702e
mov eax, dword [ebp - 8]
mov byte [eax + 1], 1
mov bl, byte [ebp - 2]
jmp 0x476f50
lea eax, [ebp - 0xcc]
push eax
push 0x401264
push 0x7b20
push esi
call fcn.00416cfc
mov ecx, dword [ebp - 0x58]
add esp, 0x10
mov byte [esi + 0x25], 1
mov eax, dword [ebp - 0x20]
push dword [ebp + 8]
mov edx, dword [ecx]
movzx eax, word [eax + 0x1a]
push eax
push dword [ebp - 0x44]
push dword [ebp - 0x24]
call dword [edx + 8]
mov cl, byte [ebp - 1]
mov bl, al
mov eax, dword [ebp - 8]
mov byte [ebp - 2], bl
mov byte [esi + 0x25], cl
jmp 0x476f53
mov edx, 0x40c754
mov ecx, edi
call fcn.00412500
and dword [ebp - 0x54], 0
xor edi, edi
cmp dword [ebp - 0x14], 0x2c
mov dword [ebp - 0xc], edi
jae 0x47709a
mov bh, 1
jmp 0x476f4a
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax + 0x20]
add eax, 0x24
mov dword [ebp - 0x4c], eax
mov eax, ecx
shl eax, 3
mov dword [ebp - 0x50], eax
add eax, 0x24
mov dword [ebp - 0x24], ecx
cmp dword [ebp - 0x14], eax
jb 0x477093
push 0x401054
push 0x7b21
push esi
call fcn.00416cfc
mov ecx, dword [ebp - 0x50]
add esp, 0xc
call fcn.004143f5
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 0x10], eax
test ecx, ecx
je 0x47710d
mov edi, dword [ebp - 0x4c]
mov edx, eax
sub edi, eax
mov esi, ecx
mov eax, dword [edi + edx + 4]
mov ecx, dword [edi + edx]
mov word [ebp - 0x18], ax
shr eax, 0x10
mov word [ebp - 0x16], ax
mov eax, dword [ebp - 0x18]
mov dword [edx], ecx
lea edx, [edx + 8]
mov dword [edx - 4], eax
dec esi
jne 0x4770e7
mov esi, dword [ebp - 0x64]
mov edi, dword [ebp - 0xc]
push dword [ebp + 8]
mov ecx, dword [ebp - 0x58]
mov byte [esi + 0x25], 1
mov eax, dword [ebp - 0x20]
mov edx, dword [ecx]
movzx eax, word [eax + 2]
push eax
push dword [ebp - 0x10]
push dword [ebp - 0x24]
call dword [edx + 0x10]
mov bl, al
mov al, byte [ebp - 1]
mov byte [esi + 0x25], al
mov eax, dword [ebp - 0x10]
mov byte [ebp - 2], bl
test eax, eax
je 0x476f4d
mov ecx, eax
call fcn.0041457e
jmp 0x476f4d
and dword [ebp - 0x48], 0
lea ecx, [ebp - 0x3c]
xor eax, eax
mov dword [ebp - 0x44], eax
call fcn.00413e10
mov edx, 0x40c774
mov ecx, edi
call fcn.00412500
cmp dword [ebp - 0x14], 0x30
jae 0x47717e
mov bh, 1
lea ecx, [ebp - 0x3c]
call fcn.00413e5e
jmp 0x476f47
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 0x24], ecx
movzx eax, word [ecx + 2]
mov bl, byte [ecx + 0x2d]
mov dword [ebp - 0x74], eax
movzx eax, bl
mov dword [ebp - 0x50], eax
lea eax, [eax*2 + 0x42]
cmp dword [ebp - 0x14], eax
jb 0x47716f
mov eax, dword [ecx + 0x20]
mov ecx, dword [ecx + 0x24]
mov dword [ebp - 0x5c], eax
mov eax, ecx
shr eax, 0x10
mov word [ebp - 0x42], ax
cdq
mov edi, eax
mov word [ebp - 0x44], cx
shld edx, edi, 0x10
movzx eax, cx
mov ecx, dword [ebp - 0x24]
cdq
shl edi, 0x10
or edi, eax
movzx edx, bl
xor eax, eax
or eax, dword [ebp - 0x5c]
mov dword [ebp - 0x54], eax
mov eax, dword [ecx + 0x28]
mov dword [ebp - 0xc], eax
lea eax, [edx*2 + 0x2e]
cmp dword [ebp - 0x14], eax
jae 0x4771f5
mov bh, 1
lea ecx, [ebp - 0x3c]
call fcn.00413e5e
jmp 0x476f4a
lea eax, [ecx + 0x2e]
push edx
push eax
lea ecx, [ebp - 0x3c]
call fcn.00413735
test al, al
je 0x4771e8
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x50]
push dword [ebp - 0x44]
push dword [ebp - 0x5c]
mov edx, dword [eax + ecx*2 + 0x2e]
push dword [ebp + 8]
mov dword [ebp - 0x64], edx
mov edx, dword [eax + ecx*2 + 0x32]
mov eax, dword [eax + ecx*2 + 0x3e]
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0xcc]
push eax
mov dword [ebp - 0x10], edx
call fcn.004767f2
test al, al
jne 0x477243
mov eax, dword [ebp - 8]
mov byte [eax + 1], 1
jmp 0x4771e8
push dword [ebp - 0x10]
push dword [ebp - 0x64]
push 0
push dword [ebp - 0x4c]
call sub.ntdll.dll__allmul
push edx
push eax
lea eax, [ebp - 0x188]
push 0x40c78c
push eax
call fcn.004140a5
add esp, 0x10
test al, al
je 0x4771e8
push dword [ebp - 0x24]
lea eax, [ebp - 0x170]
push 0x40c79c
push eax
call fcn.004140a5
add esp, 0xc
test al, al
je 0x4771e8
lea eax, [ebp - 0x188]
push eax
lea eax, [ebp - 0xcc]
push eax
lea eax, [ebp - 0x170]
push eax
push 0x40c244
push 0x7b22
push esi
call fcn.00416cfc
mov ecx, dword [ebp - 0x58]
lea edx, [ebp - 0x3c]
add esp, 0x18
mov byte [esi + 0x25], 1
mov eax, dword [ecx]
push dword [ebp + 8]
push dword [ebp - 0x74]
push dword [ebp - 0x24]
push dword [ebp - 0x10]
push dword [ebp - 0x64]
push edx
push dword [ebp - 0xc]
push dword [ebp - 0x44]
push dword [ebp - 0x5c]
call dword [eax + 0x14]
mov bl, al
mov al, byte [ebp - 1]
mov byte [ebp - 2], bl
mov byte [esi + 0x25], al
lea ecx, [ebp - 0x3c]
call fcn.00413e5e
jmp 0x476f4d
mov edx, 0x40c7a4
mov ecx, edi
call fcn.00412500
and dword [ebp - 0x54], 0
xor edi, edi
cmp dword [ebp - 0x14], 0x2c
jb 0x477093
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax + 0x24]
mov edx, dword [eax + 0x20]
mov dword [ebp - 0x10], ecx
mov ecx, dword [eax + 0x28]
push dword [ebp - 0x10]
movzx eax, word [eax + 2]
push edx
mov dword [ebp - 0x74], eax
lea eax, [ebp - 0x188]
push 0x40c78c
push eax
mov dword [ebp - 0x50], edx
mov dword [ebp - 0x24], ecx
call fcn.004140a5
add esp, 0x10
test al, al
je 0x476f4a
push dword [ebp - 0x24]
lea eax, [ebp - 0x170]
push 0x40c7c4
push eax
call fcn.004140a5
add esp, 0xc
test al, al
je 0x476f4a
lea eax, [ebp - 0x188]
push eax
lea eax, [ebp - 0x170]
push eax
push 0x40c220
push 0x7b23
push esi
call fcn.00416cfc
mov ecx, dword [ebp - 0x58]
add esp, 0x14
mov byte [esi + 0x25], 1
push dword [ebp + 8]
mov eax, dword [ecx]
push dword [ebp - 0x74]
push dword [ebp - 0x24]
push dword [ebp - 0x10]
push dword [ebp - 0x50]
call dword [eax + 0x18]
mov bl, al
mov al, byte [ebp - 1]
mov byte [ebp - 2], bl
mov byte [esi + 0x25], al
jmp 0x476f4d
and dword [ebp - 0x1c], 0
lea ecx, [ebp - 0xb0]
xor eax, eax
mov dword [ebp - 0x18], eax
call fcn.00413e10
and dword [ebp - 0x70], 0
lea ecx, [ebp - 0x148]
xor eax, eax
mov dword [ebp - 0x6c], eax
call fcn.00413e10
lea ecx, [ebp - 0x100]
call fcn.00413e10
lea ecx, [ebp - 0xe8]
call fcn.00413e10
lea ecx, [ebp - 0x3c]
call fcn.00413e10
lea ecx, [ebp - 0x8c]
call fcn.00413e10
lea ecx, [ebp - 0x118]
call fcn.00413e10
lea ecx, [ebp - 0x130]
call fcn.00413e10
mov edx, 0x40c7cc
mov ecx, edi
call fcn.00412500
cmp dword [ebp - 0x14], 0x30
jae 0x47748b
mov bh, 1
lea ecx, [ebp - 0x130]
call fcn.00413e5e
lea ecx, [ebp - 0x118]
call fcn.00413e5e
lea ecx, [ebp - 0x8c]
call fcn.00413e5e
lea ecx, [ebp - 0x3c]
call fcn.00413e5e
lea ecx, [ebp - 0xe8]
call fcn.00413e5e
lea ecx, [ebp - 0x100]
call fcn.00413e5e
lea ecx, [ebp - 0x148]
call fcn.00413e5e
lea ecx, [ebp - 0xb0]
jmp 0x477174
mov edi, dword [ebp - 0x20]
mov dword [ebp - 0x50], edi
movzx eax, word [edi + 2]
mov cl, byte [edi + 0x2d]
mov dword [ebp - 0x14c], eax
movzx eax, cl
mov dword [ebp - 0x74], eax
mov eax, dword [edi + 0x20]
mov dword [ebp - 0x4c], eax
mov eax, dword [edi + 0x24]
mov word [ebp - 0x18], ax
shr eax, 0x10
cmp dword [ebp - 0x14], 0x2e
mov word [ebp - 0x16], ax
jb 0x477434
movzx ecx, cl
lea eax, [ecx*2 + 0x2e]
cmp dword [ebp - 0x14], eax
jb 0x477434
mov eax, dword [edi + 0x28]
mov dword [ebp - 0x44], eax
lea eax, [edi + 0x2e]
push ecx
push eax
lea ecx, [ebp - 0xb0]
call fcn.00413735
test al, al
je 0x477436
mov eax, dword [ebp - 0x74]
movzx edx, byte [edi + 0x2d]
mov ecx, dword [edi + eax*2 + 0x2e]
mov dword [ebp - 0x40], ecx
mov ecx, dword [edi + eax*2 + 0x32]
mov dword [ebp - 0x60], ecx
mov ecx, dword [edi + eax*2 + 0x36]
mov dword [ebp - 0x68], ecx
mov ecx, dword [edi + eax*2 + 0x3a]
mov eax, dword [edi + eax*2 + 0x3e]
mov dword [ebp - 0x24], eax
lea eax, [edx*2 + 0x50]
mov dword [ebp - 0x90], ecx
cmp dword [ebp - 0x14], eax
jb 0x477434
lea edi, [edi + edx*2]
add edi, 0x42
mov dword [ebp - 0x74], edi
movzx ecx, byte [edi + 0xd]
mov dword [ebp - 0x10], ecx
movzx ecx, byte [edi + 0xd]
lea eax, [edx + ecx]
lea eax, [eax*2 + 0x64]
cmp dword [ebp - 0x14], eax
jb 0x477434
push ecx
lea eax, [edi + 0xe]
push eax
lea ecx, [ebp - 0x148]
call fcn.00413735
test al, al
je 0x477436
mov ecx, dword [edi + 4]
mov eax, dword [edi]
mov dword [ebp - 0xc], eax
mov eax, ecx
shr eax, 0x10
mov word [ebp - 0x6a], ax
cdq
mov edi, eax
mov word [ebp - 0x6c], cx
shld edx, edi, 0x10
movzx eax, cx
mov ecx, dword [ebp - 0x74]
cdq
shl edi, 0x10
or edi, eax
xor eax, eax
or eax, dword [ebp - 0xc]
mov dword [ebp - 0x54], eax
mov eax, dword [ecx + 8]
mov dword [ebp - 0xd0], eax
mov eax, dword [ebp - 0x50]
movzx eax, byte [eax + 0x2d]
lea eax, [eax*2 + 0x42]
cmp dword [ebp - 0x14], eax
jae 0x477612
mov bh, 1
lea ecx, [ebp - 0x130]
call fcn.00413e5e
lea ecx, [ebp - 0x118]
call fcn.00413e5e
lea ecx, [ebp - 0x8c]
call fcn.00413e5e
lea ecx, [ebp - 0x3c]
call fcn.00413e5e
lea ecx, [ebp - 0xe8]
call fcn.00413e5e
lea ecx, [ebp - 0x100]
call fcn.00413e5e
lea ecx, [ebp - 0x148]
call fcn.00413e5e
lea ecx, [ebp - 0xb0]
jmp 0x4771eb
mov eax, dword [ebp - 0x10]
mov edx, dword [ecx + eax*2 + 0xe]
mov dword [ebp - 0x50], edx
mov edx, dword [ecx + eax*2 + 0x12]
mov dword [ebp - 0x74], edx
mov edx, dword [ecx + eax*2 + 0x16]
mov dword [ebp - 0x64], edx
mov edx, dword [ecx + eax*2 + 0x1a]
mov eax, dword [ecx + eax*2 + 0x1e]
mov dword [ebp - 0x5c], edx
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x24], eax
jne 0x4775bd
push dword [ebp - 0x18]
lea eax, [ebp - 0x100]
push dword [ebp - 0x4c]
push dword [ebp + 8]
push eax
call fcn.004767f2
test al, al
jne 0x477662
mov eax, dword [ebp - 8]
mov byte [eax + 1], 1
jmp 0x4775bd
push dword [ebp - 0x6c]
lea eax, [ebp - 0xe8]
push dword [ebp - 0xc]
push dword [ebp + 8]
push eax
call fcn.004767f2
test al, al
je 0x477656
push dword [ebp - 0x5c]
lea eax, [ebp - 0x118]
push dword [ebp - 0x64]
push 0x40c78c
push eax
call fcn.004140a5
add esp, 0x10
test al, al
je 0x4775bd
mov ecx, dword [ebp - 0x10]
add ecx, dword [ebp - 0x64]
push 0
pop eax
adc eax, dword [ebp - 0x5c]
push eax
push ecx
lea eax, [ebp - 0x130]
push 0x40c78c
push eax
call fcn.004140a5
add esp, 0x10
test al, al
je 0x4775bd
cmp dword [ebp - 0x24], 1
jne 0x4776f7
lea eax, [ebp - 0x118]
push eax
lea eax, [ebp - 0xe8]
push eax
lea eax, [ebp - 0x100]
push eax
push 0x40c244
push 0x7b25
push esi
call fcn.00416cfc
add esp, 0x18
jmp 0x477726
lea eax, [ebp - 0x130]
push eax
lea eax, [ebp - 0x118]
push eax
lea eax, [ebp - 0xe8]
push eax
lea eax, [ebp - 0x100]
push eax
push 0x40c7e0
push 0x7b24
push esi
call fcn.00416cfc
add esp, 0x1c
push dword [ebp + 8]
mov ecx, dword [ebp - 0x58]
lea edx, [ebp - 0x148]
push dword [ebp - 0x14c]
mov byte [esi + 0x25], 1
push dword [ebp - 0x10]
mov eax, dword [ecx]
push dword [ebp - 0x5c]
push dword [ebp - 0x64]
push dword [ebp - 0x74]
push dword [ebp - 0x50]
push edx
push dword [ebp - 0xd0]
lea edx, [ebp - 0xb0]
push dword [ebp - 0x6c]
push dword [ebp - 0xc]
push dword [ebp - 0x90]
push dword [ebp - 0x68]
push dword [ebp - 0x60]
push dword [ebp - 0x40]
push edx
push dword [ebp - 0x44]
push dword [ebp - 0x18]
push dword [ebp - 0x4c]
call dword [eax + 0x1c]
mov bl, al
lea ecx, [ebp - 0x130]
mov al, byte [ebp - 1]
mov byte [ebp - 2], bl
mov byte [esi + 0x25], al
call fcn.00413e5e
lea ecx, [ebp - 0x118]
call fcn.00413e5e
lea ecx, [ebp - 0x8c]
call fcn.00413e5e
lea ecx, [ebp - 0x3c]
call fcn.00413e5e
lea ecx, [ebp - 0xe8]
call fcn.00413e5e
lea ecx, [ebp - 0x100]
call fcn.00413e5e
lea ecx, [ebp - 0x148]
call fcn.00413e5e
lea ecx, [ebp - 0xb0]
jmp 0x4772ee
lea ecx, [ebp - 0x8c]
call fcn.00413e10
lea ecx, [ebp - 0x3c]
call fcn.00413e10
mov edx, 0x40c7ec
mov ecx, edi
call fcn.00412500
and dword [ebp - 0x54], 0
xor edi, edi
cmp dword [ebp - 0x14], 0x28
jae 0x47781c
mov bh, 1
lea ecx, [ebp - 0x3c]
call fcn.00413e5e
lea ecx, [ebp - 0x8c]
jmp 0x4771eb
mov eax, dword [ebp - 0x20]
mov edx, dword [eax + 0x24]
mov ecx, dword [eax + 0x20]
movzx eax, word [eax + 2]
push edx
push ecx
mov dword [ebp - 0x44], eax
lea eax, [ebp - 0x8c]
push 0x40c78c
push eax
mov dword [ebp - 0x60], ecx
mov dword [ebp - 0x40], edx
call fcn.004140a5
add esp, 0x10
test al, al
je 0x477809
xor eax, eax
push eax
push 9
push dword [ebp + 8]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x3c]
push eax
call fcn.004767f2
test al, al
je 0x477809
lea eax, [ebp - 0x8c]
push eax
lea eax, [ebp - 0x3c]
push eax
push 0x40c220
push 0x7b26
push esi
call fcn.00416cfc
mov ecx, dword [ebp - 0x58]
add esp, 0x14
mov byte [esi + 0x25], 1
push dword [ebp + 8]
mov eax, dword [ecx]
push dword [ebp - 0x44]
push dword [ebp - 0x40]
push dword [ebp - 0x60]
call dword [eax + 0x20]
mov bl, al
lea ecx, [ebp - 0x3c]
mov al, byte [ebp - 1]
mov byte [ebp - 2], bl
mov byte [esi + 0x25], al
call fcn.00413e5e
lea ecx, [ebp - 0x8c]
jmp 0x4772ee
lea ecx, [ebp - 0x3c]
call fcn.00413e10
mov edx, 0x40c7fc
mov ecx, edi
call fcn.00412500
and dword [ebp - 0x54], 0
xor edi, edi
cmp dword [ebp - 0x14], 0x30
mov dword [ebp - 0xc], edi
jb 0x4771e6
mov eax, dword [ebp - 0x20]
movzx ecx, word [eax + 2]
mov edx, dword [eax + 0x24]
mov dword [ebp - 0x60], ecx
mov ecx, dword [eax + 0x20]
add eax, 0x28
mov dword [ebp - 0x4c], ecx
mov ecx, edx
shl ecx, 3
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x10], edx
lea eax, [ecx + 0x28]
cmp dword [ebp - 0x14], eax
jb 0x4771e6
call fcn.004143f5
mov dword [ebp - 0x5c], eax
test eax, eax
je 0x4771e8
mov edx, dword [ebp - 0x10]
test edx, edx
je 0x477958
mov edi, dword [ebp - 0x44]
mov esi, edx
mov dword [ebp - 0x40], eax
sub edi, eax
mov edx, eax
mov eax, dword [edi + edx + 4]
mov ecx, dword [edi + edx]
mov word [ebp - 0x18], ax
shr eax, 0x10
mov word [ebp - 0x16], ax
mov eax, dword [ebp - 0x18]
mov dword [edx], ecx
lea edx, [edx + 8]
mov dword [edx - 4], eax
dec esi
jne 0x47792f
mov esi, dword [ebp - 0x64]
mov edi, dword [ebp - 0xc]
mov edx, dword [ebp - 0x10]
cmp edx, 1
jne 0x4779f4
lea ecx, [ebp - 0x8c]
call fcn.00413e10
mov eax, dword [ebp - 0x5c]
cmp dword [eax], 9
jne 0x4779b5
cmp word [eax + 4], 0
jne 0x4779b5
push dword [ebp - 0x4c]
mov eax, ecx
push 0x40c79c
push eax
call fcn.004140a5
add esp, 0xc
test al, al
jne 0x4779a2
lea ecx, [ebp - 0x8c]
call fcn.00413e5e
jmp 0x4771e8
lea eax, [ebp - 0x8c]
push eax
push 0x401264
push 0x7b34
jmp 0x4779de
push dword [eax + 4]
push dword [eax]
lea eax, [ebp - 0xcc]
push dword [ebp + 8]
push eax
call fcn.004767f2
test al, al
je 0x477992
lea eax, [ebp - 0xcc]
push eax
push 0x401264
push 0x7b28
push esi
call fcn.00416cfc
add esp, 0x10
lea ecx, [ebp - 0x8c]
call fcn.00413e5e
jmp 0x477a25
push edx
lea eax, [ebp - 0x3c]
push 0x40c7c4
push eax
call fcn.004140a5
add esp, 0xc
test al, al
je 0x4771e8
lea eax, [ebp - 0x3c]
push eax
push 0x401264
push 0x7b27
push esi
call fcn.00416cfc
add esp, 0x10
push dword [ebp + 8]
mov ecx, dword [ebp - 0x58]
push dword [ebp - 0x60]
mov edx, dword [ebp - 0x10]
push dword [ebp - 0x5c]
mov byte [esi + 0x25], 1
mov eax, dword [ecx]
push edx
push dword [ebp - 0x4c]
call dword [eax + 0x24]
mov ecx, dword [ebp - 0x5c]
mov bl, al
mov al, byte [ebp - 1]
mov byte [ebp - 2], bl
mov byte [esi + 0x25], al
call fcn.0041457e
jmp 0x4772eb
and dword [ebp - 0x1c], 0
lea ecx, [ebp - 0x3c]
xor eax, eax
mov dword [ebp - 0x18], eax
call fcn.00413e10
mov edx, 0x40c820
mov ecx, edi
call fcn.00412500
cmp dword [ebp - 0x14], 0x30
jb 0x47716f
mov eax, dword [ebp - 0x20]
movzx ecx, word [eax + 2]
mov dword [ebp - 0x44], ecx
mov ecx, dword [eax + 0x20]
mov dword [ebp - 0x10], ecx
mov ecx, dword [eax + 0x24]
mov eax, ecx
shr eax, 0x10
mov word [ebp - 0x16], ax
cdq
mov edi, eax
mov word [ebp - 0x18], cx
shld edx, edi, 0x10
movzx eax, cx
mov ecx, dword [ebp - 0x20]
cdq
shl edi, 0x10
or edi, eax
xor eax, eax
or eax, dword [ebp - 0x10]
movzx edx, byte [ecx + 0x2d]
mov dword [ebp - 0x54], eax
lea eax, [edx*2 + 0x2e]
cmp dword [ebp - 0x14], eax
jb 0x4771e6
lea eax, [ecx + 0x2e]
push edx
push eax
lea ecx, [ebp - 0x3c]
call fcn.00413735
test al, al
je 0x4771e8
push dword [ebp - 0x18]
lea eax, [ebp - 0xcc]
push dword [ebp - 0x10]
push dword [ebp + 8]
push eax
call fcn.004767f2
test al, al
je 0x47723a
lea eax, [ebp - 0xcc]
push eax
lea eax, [ebp - 0x3c]
push eax
push 0x40c220
push 0x7b29
push esi
call fcn.00416cfc
mov ecx, dword [ebp - 0x58]
lea edx, [ebp - 0x3c]
add esp, 0x14
mov byte [esi + 0x25], 1
mov eax, dword [ecx]
push dword [ebp + 8]
push dword [ebp - 0x44]
push edx
push dword [ebp - 0x18]
push dword [ebp - 0x10]
call dword [eax + 0x28]
jmp 0x4772e0
and dword [ebp - 0x1c], 0
lea ecx, [ebp - 0x3c]
xor eax, eax
mov dword [ebp - 0x18], eax
call fcn.00413e10
mov edx, 0x40c840
mov ecx, edi
call fcn.00412500
cmp dword [ebp - 0x14], 0x30
jb 0x47716f
mov ecx, dword [ebp - 0x20]
mov bl, byte [ecx + 0x2d]
movzx eax, word [ecx + 2]
movzx edx, bl
mov dword [ebp - 0x44], eax
lea eax, [edx*2 + 0x30]
cmp dword [ebp - 0x14], eax
jb 0x47716f
movzx eax, word [ecx + edx*2 + 0x2e]
mov dword [ebp - 0x60], eax
lea eax, [eax + edx*2]
add eax, 0x30
cmp dword [ebp - 0x14], eax
jb 0x47716f
add edx, 0x18
lea eax, [ecx + edx*2]
mov dword [ebp - 0x40], eax
mov eax, dword [ecx + 0x20]
mov ecx, dword [ecx + 0x24]
mov dword [ebp - 0x10], eax
mov eax, ecx
shr eax, 0x10
mov word [ebp - 0x16], ax
cdq
mov edi, eax
mov word [ebp - 0x18], cx
shld edx, edi, 0x10
movzx eax, cx
cdq
shl edi, 0x10
or edi, eax
movzx ecx, bl
xor eax, eax
or eax, dword [ebp - 0x10]
mov dword [ebp - 0x54], eax
lea eax, [ecx*2 + 0x2e]
cmp dword [ebp - 0x14], eax
jb 0x4771e6
mov eax, dword [ebp - 0x20]
push ecx
add eax, 0x2e
lea ecx, [ebp - 0x3c]
push eax
call fcn.00413735
test al, al
je 0x4771e8
push dword [ebp - 0x18]
lea eax, [ebp - 0xcc]
push dword [ebp - 0x10]
push dword [ebp + 8]
push eax
call fcn.004767f2
test al, al
je 0x47723a
lea eax, [ebp - 0xcc]
push eax
lea eax, [ebp - 0x3c]
push eax
push 0x40c220
push 0x7b2a
push esi
call fcn.00416cfc
mov ecx, dword [ebp - 0x58]
lea edx, [ebp - 0x3c]
add esp, 0x14
mov byte [esi + 0x25], 1
mov eax, dword [ecx]
push dword [ebp + 8]
push dword [ebp - 0x44]
push dword [ebp - 0x40]
push dword [ebp - 0x60]
push edx
push dword [ebp - 0x18]
push dword [ebp - 0x10]
call dword [eax + 0x2c]
jmp 0x4772e0
and dword [ebp - 0x1c], 0
lea ecx, [ebp - 0x3c]
xor eax, eax
mov dword [ebp - 0x18], eax
call fcn.00413e10
mov edx, 0x40c85c
mov ecx, edi
call fcn.00412500
cmp dword [ebp - 0x14], 0x30
jb 0x47716f
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x4c], eax
movzx ecx, word [eax + 2]
mov dword [ebp - 0x44], ecx
mov ecx, dword [eax + 0x20]
mov dword [ebp - 0x10], ecx
mov ecx, dword [eax + 0x24]
mov eax, ecx
shr eax, 0x10
mov word [ebp - 0x16], ax
cdq
mov edi, eax
mov word [ebp - 0x18], cx
shld edx, edi, 0x10
movzx eax, cx
cdq
shl edi, 0x10
or edi, eax
xor eax, eax
or eax, dword [ebp - 0x10]
cmp dword [ebp - 0x14], 0x2e
mov dword [ebp - 0x54], eax
jb 0x4771e6
mov ecx, dword [ebp - 0x4c]
movzx edx, byte [ecx + 0x2d]
lea eax, [edx*2 + 0x2e]
cmp dword [ebp - 0x14], eax
jb 0x4771e6
lea eax, [ecx + 0x2e]
push edx
push eax
lea ecx, [ebp - 0x3c]
call fcn.00413735
test al, al
je 0x4771e8
mov ecx, dword [ebp - 0x4c]
movzx edx, byte [ecx + 0x2d]
lea eax, [edx*2 + 0x42]
cmp dword [ebp - 0x14], eax
jb 0x4771e6
mov eax, dword [ecx + edx*2 + 0x2e]
push dword [ebp - 0x18]
mov dword [ebp - 0xd0], eax
mov eax, dword [ecx + edx*2 + 0x32]
push dword [ebp - 0x10]
mov dword [ebp - 0x90], eax
mov eax, dword [ecx + edx*2 + 0x36]
push dword [ebp + 8]
mov dword [ebp - 0x68], eax
mov eax, dword [ecx + edx*2 + 0x3a]
mov dword [ebp - 0x60], eax
mov eax, dword [ecx + edx*2 + 0x42]
mov dword [ebp - 0x40], eax
lea eax, [ebp - 0xcc]
push eax
call fcn.004767f2
test al, al
je 0x47723a
lea eax, [ebp - 0xcc]
push eax
lea eax, [ebp - 0x3c]
push eax
push 0x40c220
push 0x7b2b
push esi
call fcn.00416cfc
add esp, 0x14
mov ecx, dword [ebp - 0x58]
lea edx, [ebp - 0x3c]
mov byte [esi + 0x25], 1
push dword [ebp + 8]
mov eax, dword [ecx]
push dword [ebp - 0x44]
push dword [ebp - 0x40]
push dword [ebp - 0x60]
push dword [ebp - 0x68]
push dword [ebp - 0x90]
push dword [ebp - 0xd0]
push edx
push dword [ebp - 0x18]
push dword [ebp - 0x10]
call dword [eax + 0x30]
jmp 0x4772e0
and dword [ebp - 0x1c], 0
lea ecx, [ebp - 0x3c]
xor eax, eax
mov dword [ebp - 0x18], eax
call fcn.00413e10
mov edx, 0x40c874
mov ecx, edi
call fcn.00412500
cmp dword [ebp - 0x14], 0x30
jb 0x47716f
cmp dword [ebp - 0x14], 0x2e
mov edi, dword [ebp - 0x20]
mov dword [ebp - 0x44], edi
movzx eax, word [edi + 2]
mov dword [ebp - 0x40], eax
jb 0x47716f
movzx ecx, byte [edi + 0x2d]
lea eax, [ecx*2 + 0x2e]
cmp dword [ebp - 0x14], eax
jb 0x47716f
push ecx
lea eax, [edi + 0x2e]
push eax
lea ecx, [ebp - 0x3c]
call fcn.00413735
test al, al
je 0x477171
mov ecx, dword [edi + 0x24]
mov eax, dword [edi + 0x20]
mov dword [ebp - 0x10], eax
mov eax, ecx
shr eax, 0x10
mov word [ebp - 0x16], ax
cdq
mov edi, eax
mov word [ebp - 0x18], cx
shld edx, edi, 0x10
movzx eax, cx
mov ecx, dword [ebp - 0x44]
cdq
shl edi, 0x10
or edi, eax
xor eax, eax
or eax, dword [ebp - 0x10]
movzx edx, byte [ecx + 0x2d]
mov dword [ebp - 0x54], eax
lea eax, [edx*2 + 0x30]
cmp dword [ebp - 0x14], eax
jb 0x4771e6
movzx eax, word [ecx + edx*2 + 0x2e]
mov dword [ebp - 0x60], eax
lea eax, [eax + edx*2]
add eax, 0x30
cmp dword [ebp - 0x14], eax
jb 0x4771e6
push dword [ebp - 0x18]
lea eax, [ecx + 0x30]
push dword [ebp - 0x10]
lea eax, [eax + edx*2]
push dword [ebp + 8]
mov dword [ebp - 0x44], eax
lea eax, [ebp - 0xcc]
push eax
call fcn.004767f2
test al, al
je 0x47723a
lea eax, [ebp - 0xcc]
push eax
lea eax, [ebp - 0x3c]
push eax
push 0x40c220
push 0x7b2c
push esi
call fcn.00416cfc
mov ecx, dword [ebp - 0x58]
lea edx, [ebp - 0x3c]
add esp, 0x14
mov byte [esi + 0x25], 1
mov eax, dword [ecx]
push dword [ebp + 8]
push dword [ebp - 0x40]
push dword [ebp - 0x44]
push dword [ebp - 0x60]
push edx
push dword [ebp - 0x18]
push dword [ebp - 0x10]
call dword [eax + 0x34]
jmp 0x4772e0
and dword [ebp - 0x1c], 0
lea ecx, [ebp - 0x3c]
xor eax, eax
mov dword [ebp - 0x18], eax
call fcn.00413e10
mov edx, 0x40c88c
mov ecx, edi
call fcn.00412500
cmp dword [ebp - 0x14], 0x30
jb 0x47716f
cmp dword [ebp - 0x14], 0x2e
mov ecx, dword [ebp - 0x20]
movzx eax, word [ecx + 2]
mov dword [ebp - 0x40], eax
jb 0x47716f
movzx eax, byte [ecx + 0x2d]
mov dword [ebp - 0x44], eax
lea eax, [eax*2 + 0x2e]
cmp dword [ebp - 0x14], eax
jb 0x47716f
mov eax, dword [ecx + 0x20]
mov ecx, dword [ecx + 0x24]
push dword [ebp - 0x44]
mov dword [ebp - 0x10], eax
mov eax, ecx
shr eax, 0x10
mov word [ebp - 0x16], ax
cdq
mov edi, eax
mov word [ebp - 0x18], cx
shld edx, edi, 0x10
movzx eax, cx
lea ecx, [ebp - 0x3c]
cdq
shl edi, 0x10
or edi, eax
xor eax, eax
or eax, dword [ebp - 0x10]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x20]
add eax, 0x2e
push eax
call fcn.00413735
test al, al
je 0x4771e8
push dword [ebp - 0x18]
lea eax, [ebp - 0xcc]
push dword [ebp - 0x10]
push dword [ebp + 8]
push eax
call fcn.004767f2
test al, al
je 0x47723a
lea eax, [ebp - 0xcc]
push eax
lea eax, [ebp - 0x3c]
push eax
push 0x40c220
push 0x7b2d
push esi
call fcn.00416cfc
mov ecx, dword [ebp - 0x58]
lea edx, [ebp - 0x3c]
add esp, 0x14
mov byte [esi + 0x25], 1
mov eax, dword [ecx]
push dword [ebp + 8]
push dword [ebp - 0x40]
push edx
push dword [ebp - 0x18]
push dword [ebp - 0x10]
call dword [eax + 0x38]
jmp 0x4772e0
and dword [ebp - 0x1c], 0
lea ecx, [ebp - 0x3c]
xor eax, eax
mov dword [ebp - 0x18], eax
call fcn.00413e10
mov edx, 0x40c8a4
mov ecx, edi
call fcn.00412500
mov edx, dword [ebp - 0x14]
cmp edx, 0x30
jb 0x47716f
mov ecx, dword [ebp - 0x20]
movzx eax, word [ecx + 2]
mov bl, byte [ecx + 0x2d]
mov dword [ebp - 0x40], eax
movzx eax, bl
mov dword [ebp - 0x4c], eax
lea eax, [eax*2 + 0x2e]
cmp edx, eax
jb 0x47716f
mov eax, dword [ebp - 0x4c]
mov esi, dword [ecx + eax*2 + 0x2e]
mov dword [ebp - 0x90], esi
mov esi, dword [ecx + eax*2 + 0x32]
lea eax, [eax*2 + 0x36]
mov dword [ebp - 0x68], esi
mov esi, dword [ebp - 0x64]
cmp edx, eax
jb 0x47716f
mov eax, dword [ebp - 0x4c]
mov eax, dword [ecx + eax*2 + 0x36]
mov dword [ebp - 0x60], eax
cmp edx, 0x2e
jb 0x47716f
movzx eax, bl
mov dword [ebp - 0x44], eax
lea eax, [eax*2 + 0x2e]
cmp edx, eax
jb 0x47716f
mov eax, dword [ecx + 0x20]
mov ecx, dword [ecx + 0x24]
mov dword [ebp - 0x10], eax
mov eax, ecx
push dword [ebp - 0x44]
shr eax, 0x10
mov word [ebp - 0x16], ax
cdq
shld edx, eax, 0x10
mov word [ebp - 0x18], cx
shl eax, 0x10
mov dword [ebp - 0xc], eax
movzx eax, cx
lea ecx, [ebp - 0x3c]
cdq
or dword [ebp - 0xc], eax
xor eax, eax
or eax, dword [ebp - 0x10]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x20]
add eax, 0x2e
push eax
call fcn.00413735
test al, al
je 0x477171
push dword [ebp - 0x18]
lea eax, [ebp - 0xcc]
push dword [ebp - 0x10]
push dword [ebp + 8]
push eax
call fcn.004767f2
test al, al
jne 0x4780d7
mov eax, dword [ebp - 8]
mov byte [eax + 1], 1
jmp 0x477171
lea eax, [ebp - 0xcc]
push eax
lea eax, [ebp - 0x3c]
push eax
push 0x40c220
push 0x7b35
push esi
call fcn.00416cfc
mov ecx, dword [ebp - 0x58]
lea edx, [ebp - 0x3c]
add esp, 0x14
mov byte [esi + 0x25], 1
mov eax, dword [ecx]
push dword [ebp + 8]
push dword [ebp - 0x40]
push dword [ebp - 0x60]
push dword [ebp - 0x68]
push dword [ebp - 0x90]
push edx
push dword [ebp - 0x18]
push dword [ebp - 0x10]
call dword [eax + 0x3c]
mov edx, 0x40c8a4
mov bl, al
mov ecx, edi
mov al, byte [ebp - 1]
mov byte [esi + 0x25], al
mov byte [ebp - 2], bl
call fcn.00412500
lea ecx, [ebp - 0x3c]
call fcn.00413e5e
mov edi, dword [ebp - 0xc]
jmp 0x476f4d
and dword [ebp - 0x1c], 0
lea ecx, [ebp - 0x3c]
xor eax, eax
mov dword [ebp - 0x18], eax
call fcn.00413e10
mov edx, 0x40c8b8
mov ecx, edi
call fcn.00412500
mov ecx, dword [ebp - 0x14]
cmp ecx, 0x30
jb 0x47716f
mov edx, dword [ebp - 0x20]
movzx eax, word [edx + 2]
mov bl, byte [edx + 0x2d]
mov dword [ebp - 0x40], eax
movzx eax, bl
mov dword [ebp - 0x4c], eax
lea eax, [eax*2 + 0x2e]
cmp ecx, eax
jb 0x47716f
mov eax, dword [ebp - 0x4c]
mov esi, dword [edx + eax*2 + 0x2e]
lea eax, [eax*2 + 0x32]
mov dword [ebp - 0x68], esi
mov esi, dword [ebp - 0x64]
cmp ecx, eax
jb 0x47716f
mov eax, dword [ebp - 0x4c]
add eax, 0x19
lea eax, [edx + eax*2]
mov dword [ebp - 0x60], eax
cmp ecx, 0x2e
jb 0x47716f
movzx eax, bl
mov dword [ebp - 0x44], eax
lea eax, [eax*2 + 0x2e]
cmp ecx, eax
jb 0x47716f
mov ecx, dword [edx + 0x24]
mov eax, dword [edx + 0x20]
mov dword [ebp - 0x10], eax
mov eax, ecx
push dword [ebp - 0x44]
shr eax, 0x10
mov word [ebp - 0x16], ax
cdq
shld edx, eax, 0x10
mov word [ebp - 0x18], cx
shl eax, 0x10
mov dword [ebp - 0xc], eax
movzx eax, cx
lea ecx, [ebp - 0x3c]
cdq
or dword [ebp - 0xc], eax
xor eax, eax
or eax, dword [ebp - 0x10]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x20]
add eax, 0x2e
push eax
call fcn.00413735
test al, al
je 0x477171
push dword [ebp - 0x18]
lea eax, [ebp - 0xcc]
push dword [ebp - 0x10]
push dword [ebp + 8]
push eax
call fcn.004767f2
test al, al
je 0x4780cb
lea eax, [ebp - 0xcc]
push eax
lea eax, [ebp - 0x3c]
push eax
push 0x40c220
push 0x7b36
push esi
call fcn.00416cfc
mov ecx, dword [ebp - 0x58]
lea edx, [ebp - 0x3c]
add esp, 0x14
mov byte [esi + 0x25], 1
mov eax, dword [ecx]
push dword [ebp + 8]
push dword [ebp - 0x40]
push dword [ebp - 0x60]
push dword [ebp - 0x68]
push edx
push dword [ebp - 0x18]
push dword [ebp - 0x10]
call dword [eax + 0x40]
mov edx, 0x40c8b8
jmp 0x478122
lea ecx, [ebp - 0xb0]
call fcn.00413e10
xor ecx, ecx
xor eax, eax
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x94], ecx
mov dword [ebp - 0x70], ecx
lea ecx, [ebp - 0x8c]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x90], eax
mov dword [ebp - 0x6c], eax
call fcn.00413e10
lea ecx, [ebp - 0x3c]
call fcn.00413e10
mov edx, 0x40c8d0
mov ecx, edi
call fcn.00412500
cmp dword [ebp - 0x14], 0x30
jae 0x4782e7
mov bh, 1
lea ecx, [ebp - 0x3c]
call fcn.00413e5e
lea ecx, [ebp - 0x8c]
jmp 0x47747b
cmp dword [ebp - 0x14], 0x2e
mov edi, dword [ebp - 0x20]
mov dword [ebp - 0x44], edi
movzx eax, word [edi + 2]
mov dword [ebp - 0x68], eax
jb 0x4782d2
movzx ecx, byte [edi + 0x2d]
lea eax, [ecx*2 + 0x2e]
cmp dword [ebp - 0x14], eax
jb 0x4782d2
push ecx
lea eax, [edi + 0x2e]
push eax
lea ecx, [ebp - 0xb0]
call fcn.00413735
test al, al
je 0x4782d4
mov ecx, dword [edi + 0x24]
mov eax, dword [edi + 0x20]
mov dword [ebp - 0x5c], eax
mov eax, ecx
shr eax, 0x10
mov word [ebp - 0x16], ax
cdq
mov edi, eax
mov word [ebp - 0x18], cx
shld edx, edi, 0x10
movzx eax, cx
mov ecx, dword [ebp - 0x44]
cdq
shl edi, 0x10
or edi, eax
xor eax, eax
movzx edx, byte [ecx + 0x2d]
or eax, dword [ebp - 0x5c]
mov dword [ebp - 0x54], eax
mov dword [ebp - 0xc], edi
lea eax, [edx*2 + 0x3a]
mov dword [ebp - 0x44], edx
cmp dword [ebp - 0x14], eax
jae 0x47837a
mov bh, 1
lea ecx, [ebp - 0x3c]
call fcn.00413e5e
lea ecx, [ebp - 0x8c]
jmp 0x477602
mov eax, dword [ecx + edx*2 + 0x2e]
mov dword [ebp - 0x50], eax
mov eax, dword [ecx + edx*2 + 0x32]
mov edx, dword [ecx + edx*2 + 0x36]
mov dword [ebp - 0x60], eax
mov word [ebp - 0x90], ax
shr eax, 0x10
mov word [ebp - 0x8e], ax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x10], edx
lea ecx, [ecx + eax*2]
lea eax, [eax + edx*4]
add ecx, 0x3a
lea eax, [eax*2 + 0x3a]
mov dword [ebp - 0x44], ecx
cmp dword [ebp - 0x14], eax
jb 0x478365
mov ecx, edx
shl ecx, 3
call fcn.004143f5
mov dword [ebp - 0x24], eax
test eax, eax
je 0x478367
mov edx, dword [ebp - 0x10]
test edx, edx
je 0x478405
mov esi, dword [ebp - 0x44]
mov edi, edx
mov dword [ebp - 0x40], eax
sub esi, eax
mov edx, eax
mov eax, dword [esi + edx + 4]
mov ecx, dword [esi + edx]
mov word [ebp - 0x6c], ax
shr eax, 0x10
mov word [ebp - 0x6a], ax
mov eax, dword [ebp - 0x6c]
mov dword [edx], ecx
lea edx, [edx + 8]
mov dword [edx - 4], eax
dec edi
jne 0x4783df
mov esi, dword [ebp - 0x64]
mov edi, dword [ebp - 0xc]
mov eax, dword [ebp - 0x90]
shr eax, 0x10
cdq
mov ecx, eax
mov eax, dword [ebp - 0x60]
shld edx, ecx, 0x10
movzx eax, ax
cdq
mov edx, dword [ebp - 0x50]
shl ecx, 0x10
or ecx, eax
xor eax, eax
or eax, edx
mov dword [ebp - 0x64], ecx
mov dword [ebp - 0x4c], eax
or eax, ecx
jne 0x47843d
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x18]
jmp 0x478446
mov eax, dword [ebp - 0x90]
mov dword [ebp - 0x70], edx
mov dword [ebp - 0x6c], eax
lea eax, [ebp - 0x70]
push dword [eax + 4]
push dword [eax]
lea eax, [ebp - 0xcc]
push dword [ebp + 8]
push eax
call fcn.004767f2
test al, al
jne 0x478470
mov eax, dword [ebp - 8]
mov byte [eax + 1], 1
jmp 0x478367
mov eax, dword [ebp - 0x10]
cmp eax, 1
jne 0x4784b3
mov eax, dword [ebp - 0x24]
push dword [eax + 4]
push dword [eax]
lea eax, [ebp - 0x3c]
push dword [ebp + 8]
push eax
call fcn.004767f2
test al, al
je 0x478464
mov eax, dword [ebp - 0x4c]
mov ecx, 0x7b2f
or eax, dword [ebp - 0x64]
jne 0x4784a0
add ecx, 4
lea eax, [ebp - 0xb0]
push eax
lea eax, [ebp - 0xcc]
push eax
lea eax, [ebp - 0x3c]
jmp 0x4784f4
push eax
lea eax, [ebp - 0x8c]
push 0x40c7c4
push eax
call fcn.004140a5
add esp, 0xc
test al, al
je 0x478367
mov eax, dword [ebp - 0x4c]
mov ecx, 0x7b2e
or eax, dword [ebp - 0x64]
jne 0x4784e0
add ecx, 4
lea eax, [ebp - 0xb0]
push eax
lea eax, [ebp - 0xcc]
push eax
lea eax, [ebp - 0x8c]
push eax
push 0x40c244
push ecx
push esi
call fcn.00416cfc
mov edx, dword [ebp - 0x10]
add esp, 0x18
mov ecx, dword [ebp - 0x58]
mov byte [esi + 0x25], 1
push dword [ebp + 8]
mov eax, dword [ecx]
push dword [ebp - 0x68]
push dword [ebp - 0x24]
push edx
push dword [ebp - 0x90]
lea edx, [ebp - 0xb0]
push dword [ebp - 0x50]
push 0
push edx
push dword [ebp - 0x18]
push dword [ebp - 0x5c]
call dword [eax + 0x44]
mov ecx, dword [ebp - 0x24]
mov bl, al
mov al, byte [ebp - 1]
mov byte [ebp - 2], bl
mov byte [esi + 0x25], al
call fcn.0041457e
lea ecx, [ebp - 0x3c]
call fcn.00413e5e
lea ecx, [ebp - 0x8c]
jmp 0x4777cc
lea ecx, [ebp - 0x8c]
call fcn.00413e10
lea ecx, [ebp - 0x3c]
call fcn.00413e10
mov edx, 0x40c8e0
mov ecx, edi
call fcn.00412500
and dword [ebp - 0x54], 0
xor edi, edi
cmp dword [ebp - 0x14], 0x30
jb 0x477807
mov ecx, dword [ebp - 0x20]
movzx eax, word [ecx + 2]
mov edx, dword [ecx + 0x20]
mov dword [ebp - 0x44], eax
mov eax, dword [ecx + 0x24]
mov word [ebp - 0x6c], ax
shr eax, 0x10
mov word [ebp - 0x6a], ax
mov eax, dword [ecx + 0x28]
push dword [ebp - 0x6c]
mov dword [ebp - 0x50], eax
mov eax, dword [ecx + 0x2c]
mov word [ebp - 0x18], ax
shr eax, 0x10
push edx
push dword [ebp + 8]
mov word [ebp - 0x16], ax
lea eax, [ebp - 0x8c]
push eax
mov dword [ebp - 0x40], edx
call fcn.004767f2
test al, al
jne 0x4785df
mov eax, dword [ebp - 8]
mov byte [eax + 1], 1
jmp 0x477809
push dword [ebp - 0x18]
lea eax, [ebp - 0x3c]
push dword [ebp - 0x50]
push dword [ebp + 8]
push eax
call fcn.004767f2
test al, al
je 0x4785d3
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x8c]
push eax
push 0x40c220
push 0x7b30
push esi
call fcn.00416cfc
mov ecx, dword [ebp - 0x58]
add esp, 0x14
mov byte [esi + 0x25], 1
push dword [ebp + 8]
mov eax, dword [ecx]
push dword [ebp - 0x44]
push dword [ebp - 0x18]
push dword [ebp - 0x50]
push dword [ebp - 0x6c]
push dword [ebp - 0x40]
call dword [eax + 0x48]
jmp 0x47789a
and dword [ebp - 0x1c], 0
lea ecx, [ebp - 0x3c]
xor eax, eax
mov dword [ebp - 0x18], eax
call fcn.00413e10
mov edx, 0x40c8f8
mov ecx, edi
call fcn.00412500
cmp dword [ebp - 0x14], 0x30
jb 0x47716f
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x50], eax
movzx ecx, word [eax + 2]
mov bl, byte [eax + 0x2d]
mov dword [ebp - 0x40], ecx
movzx ecx, bl
mov dword [ebp - 0x44], ecx
mov ecx, dword [eax + 0x20]
mov dword [ebp - 0x24], ecx
mov ecx, dword [eax + 0x24]
mov eax, ecx
shr eax, 0x10
mov word [ebp - 0x16], ax
cdq
mov edi, eax
mov word [ebp - 0x18], cx
shld edx, edi, 0x10
movzx eax, cx
mov ecx, dword [ebp - 0x50]
cdq
shl edi, 0x10
or edi, eax
movzx edx, bl
xor eax, eax
or eax, dword [ebp - 0x24]
mov dword [ebp - 0x54], eax
mov eax, dword [ecx + 0x28]
mov dword [ebp - 0x68], eax
lea eax, [edx*2 + 0x2e]
cmp dword [ebp - 0x14], eax
jb 0x4771e6
lea eax, [ecx + 0x2e]
push edx
push eax
lea ecx, [ebp - 0x3c]
call fcn.00413735
test al, al
je 0x4771e8
mov ecx, dword [ebp - 0x44]
mov eax, dword [ebp - 0x50]
push dword [ebp - 0x18]
push dword [ebp - 0x24]
mov edx, dword [eax + ecx*2 + 0x2e]
push dword [ebp + 8]
mov dword [ebp - 0x5c], edx
mov edx, dword [eax + ecx*2 + 0x32]
mov dword [ebp - 0x10], edx
mov edx, dword [eax + ecx*2 + 0x36]
mov dword [ebp - 0x60], edx
mov edx, dword [eax + ecx*2 + 0x3a]
mov eax, dword [eax + ecx*2 + 0x3e]
mov dword [ebp - 0x50], eax
lea eax, [ebp - 0xcc]
push eax
mov dword [ebp - 0x44], edx
call fcn.004767f2
test al, al
je 0x47723a
push dword [ebp - 0x10]
push dword [ebp - 0x5c]
push 0
push dword [ebp - 0x4c]
call sub.ntdll.dll__allmul
push edx
push eax
lea eax, [ebp - 0x188]
push 0x40c78c
push eax
call fcn.004140a5
add esp, 0x10
test al, al
je 0x4771e8
push dword [ebp - 0x50]
lea eax, [ebp - 0x170]
push 0x40c7c4
push eax
call fcn.004140a5
add esp, 0xc
test al, al
je 0x4771e8
lea eax, [ebp - 0x188]
push eax
lea eax, [ebp - 0xcc]
push eax
lea eax, [ebp - 0x170]
push eax
push 0x40c244
push 0x7b31
push esi
call fcn.00416cfc
add esp, 0x18
mov byte [esi + 0x25], 1
lea edx, [ebp - 0x3c]
push dword [ebp + 8]
push dword [ebp - 0x40]
push ecx
push ecx
mov ecx, dword [ebp - 0x50]
mov eax, esp
push dword [ebp - 0x44]
push dword [ebp - 0x60]
and dword [eax + 4], 0
push dword [ebp - 0x10]
mov dword [eax], ecx
push dword [ebp - 0x5c]
mov ecx, dword [ebp - 0x58]
push edx
push dword [ebp - 0x68]
push dword [ebp - 0x18]
mov eax, dword [ecx]
push dword [ebp - 0x24]
call dword [eax + 0xc]
jmp 0x4772e0
mov edx, 0x40c910
mov ecx, edi
call fcn.00412500
and dword [ebp - 0x54], 0
mov bl, 1
xor edi, edi
mov byte [ebp - 2], bl
jmp 0x476f4d
mov edx, 0x40c930
jmp 0x4787cf
mov edx, 0x40c958
mov ecx, edi
call fcn.00412500
mov bl, 1
mov byte [ebp - 2], bl
jmp 0x47813c
mov edx, 0x40c964
mov ecx, edi
call fcn.00412500
mov eax, dword [ebp - 8]
mov bh, 1
mov edi, dword [ebp - 0xc]
mov byte [eax + 1], bh
jmp 0x477026
mov ebx, dword [ebp + 8]
jmp 0x478859
cmp byte [eax + 1], 0
je 0x478831
push 0x10
jmp 0x476f78
xor edx, edx
cmp byte [eax], dl
sete dl
add edx, 0xb
mov ecx, dword [ebp - 0x58]
mov ebx, dword [ebp + 8]
push ebx
push edx
mov eax, dword [ecx]
mov dword [ebp - 0x98], edx
call dword [eax + 0x58]
test al, al
jne 0x47885d
mov eax, dword [ebp - 8]
mov byte [eax + 1], 1
mov byte [ebp - 2], 1
lea eax, [ebp - 0x158]
push eax
call dword [sym.imp.ntdll.dll_NtQuerySystemTime]
test eax, eax
jns 0x478875
xor bl, bl
jmp 0x478900
xor esi, esi
cmp dword [ebp - 0x98], 9
je 0x478893
mov eax, dword [ebp - 0x20]
push dword [eax + 0x1c]
add eax, 0x18
push eax
push esi
call dword [sym.imp.ntdll.dll_RtlComputeCrc32]
mov esi, eax
push 0x30
pop ecx
call fcn.004143f5
mov edx, eax
test edx, edx
je 0x4788d8
mov ecx, dword [ebp - 0x20]
push edi
push dword [ebp - 0x54]
push dword [ebp - 0x154]
movzx eax, word [ecx + 2]
push dword [ebp - 0x158]
push esi
push dword [ebp - 0xb4]
push eax
movzx eax, word [ecx + 0x18]
mov ecx, edx
push 0xffffffffffffffff
push dword [ebp - 0x98]
push eax
call fcn.00440328
mov esi, eax
jmp 0x4788da
xor esi, esi
test esi, esi
je 0x4788fd
lea ecx, [ebx + 0xec4]
mov eax, dword [ecx]
push esi
call dword [eax + 8]
movzx ecx, al
neg ecx
sbb ecx, ecx
not ecx
and ecx, esi
je 0x4788fd
mov eax, dword [ecx]
push 1
call dword [eax]
mov bl, byte [ebp - 2]
mov ecx, dword [ebp - 0x20]
test ecx, ecx
je 0x478910
call fcn.0041457e
and dword [ebp - 0x20], 0
lea ecx, [ebp - 0x1a0]
call fcn.00413e5e
lea ecx, [ebp - 0x170]
call fcn.00413e5e
lea ecx, [ebp - 0x188]
call fcn.00413e5e
lea ecx, [ebp - 0xcc]
call fcn.00413e5e
pop edi
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret 8