Function at 0x45a700
Capabilities:
Check if file exists
Create process on windows
Encode data using xor
Get file attributes
Hash data using fnv
Read file on windows

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59fc37
mov eax, dword fs:[0]
push eax
push ebx
mov eax, 0x10588
call fcn.005738a0
mov eax, dword [0x615e80]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x1049c], edi
mov edx, dword [ebx + 0xc]
mov eax, dword [ebx + 8]
mov esi, dword [ebx + 0x18]
mov dword [ebp - 0x104a8], eax
mov eax, dword [ebx + 0x10]
mov dword [ebp - 0x104c0], eax
mov eax, dword [ebx + 0x14]
mov dword [ebp - 0x104ac], eax
mov eax, 0x4bda12f7
mov dword [edi + 0x10], 0
mov ecx, dword [edx + 4]
sub ecx, dword [edx]
mov dword [ebp - 0x104c8], edx
imul ecx
mov dword [edi + 0x18], 0
lea ecx, [edi + 0x2c]
sar edx, 5
mov eax, edx
mov dword [edi + 0x1c], 0
shr eax, 0x1f
add eax, edx
mov dword [edi + 0x28], 6
mov dword [edi + 0x14], eax
mov byte [edi + 0xb1], 1
cmp dword [edi + 0x40], 7
mov dword [ebp - 0x104b4], esi
jbe 0x45a7c2
mov ecx, dword [edi + 0x2c]
mov dword [edi + 0x3c], 0
xor eax, eax
mov word [ecx], ax
mov eax, dword [ebp - 0x104c0]
mov dword [eax], 0
mov eax, dword [ebp - 0x104ac]
mov dword [eax], 0
mov eax, dword fs:[0x2c]
mov dword [esi], 0
mov dword [esi + 4], 0
movups xmm0, xmmword [0x60d680]
mov ecx, dword [eax]
mov eax, dword [0x61c6f4]
movups xmmword [ebp - 0x10488], xmm0
mov dword [ebp - 0x104cc], ecx
cmp eax, dword [ecx + 4]
jle 0x45a849
push 0x61c6f4
call fcn.005735ed
add esp, 4
cmp dword [0x61c6f4], 0xffffffff
jne 0x45a849
push 0x61c6f4
mov dword [0x61c6f8], 0
call fcn.0057359c
add esp, 4
mov byte [ebp - 0x10489], 0
push ecx
lea eax, [ebp - 0x10488]
push eax
lea ecx, [ebp - 0x10489]
call fcn.00463ee0
mov dl, byte [ebp - 0x10489]
add esp, 8
movzx ecx, dl
add dl, 1
mov byte [ebp - 0x10489], dl
mov dword [ebp + ecx*4 - 0x10478], eax
jne 0x45a850
mov eax, dword [ebx + 0x20]
test eax, eax
jle 0x45a894
mov byte [ebp - 0x10489], 1
cmp eax, dword [ebx + 0x1c]
jg 0x45a89b
mov byte [ebp - 0x10489], 0
mov eax, dword [edi + 0x14]
mov dword [ebp - 0x104b0], 0
test eax, eax
jle 0x45b514
cmp byte [edi + 0xb2], 0
jne 0x45b510
mov ecx, dword [ebp - 0x104a8]
lea edx, [ecx + 0x10]
mov dword [ebp - 0x104bc], edx
mov esi, edx
lea edx, [ecx + 0x14]
xor ecx, ecx
mov dword [ebp - 0x104b8], edx
nop dword [eax]
cmp byte [ebp - 0x10489], 0
je 0x45aa95
movd xmm1, dword [edi + 0x10]
movd xmm0, eax
cvtdq2ps xmm1, xmm1
cvtdq2ps xmm0, xmm0
divss xmm1, xmm0
comiss xmm1, dword [0x60d7c4]
jbe 0x45aa95
cmp dword [0x61c674], 7
mov eax, 0x61c660
mov byte [ebp - 0x10489], 0
jbe 0x45a92d
mov eax, dword [0x61c660]
mov esi, dword [ebp - 0x104bc]
push 1
push 0
push 0
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov edx, dword [ebx + 0x20]
lea ecx, [ebp - 0x10060]
call fcn.004481a0
mov dword [ebp - 4], 0
mov eax, bind
mov edx, dword [esi]
sub eax, edx
mov esi, dword [0x61c5dc]
cmp eax, esi
jb 0x45b543
mov eax, dword [ebp - 0x104b8]
mov ecx, dword [ebp - 0x104a8]
mov edi, dword [ebp - 0x1049c]
cmp dword [eax], 7
jbe 0x45a988
mov eax, ecx
mov ecx, dword [eax]
cmp dword [0x61c5e0], 7
mov eax, 0x61c5cc
push esi
cmova eax, dword [0x61c5cc]
push eax
push edx
push ecx
push ecx
push dword [ebp - 0x104a4]
lea ecx, [ebp - 0x10078]
call fcn.00452ad0
cmp dword [ebp - 0x10064], 7
lea ecx, [ebp - 0x10078]
lea eax, [ebp - 0x10060]
cmova ecx, dword [ebp - 0x10078]
cmp dword [ebp - 0x1004c], 7
push ecx
cmova eax, dword [ebp - 0x10060]
push eax
push str.Announce
push str.Patch
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov ecx, dword [ebp - 0x10064]
cmp ecx, 7
jbe 0x45aa2b
mov edx, dword [ebp - 0x10078]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x45aa21
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45b53e
push ecx
push edx
call fcn.0057314e
add esp, 8
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x1004c]
mov dword [ebp - 0x10068], 0
mov dword [ebp - 0x10064], 7
mov word [ebp - 0x10078], ax
cmp ecx, 7
jbe 0x45aa8f
mov edx, dword [ebp - 0x10060]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x45aa85
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45b53e
push ecx
push edx
call fcn.0057314e
add esp, 8
mov ecx, dword [ebp - 0x104b0]
inc dword [edi + 0x10]
imul eax, ecx, 0x6c
mov ecx, dword [ebp - 0x104c8]
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0x64
mov dword [edi + 0xc], 0
add eax, dword [ecx]
lea ecx, [ebp - 0x10060]
mov edx, eax
mov dword [ebp - 0x10494], eax
call fcn.00465960
lea esi, [edi + 0x5c]
mov dword [ebp - 0x104a0], eax
cmp esi, eax
je 0x45ab4d
mov ecx, dword [esi + 0x14]
cmp ecx, 7
jbe 0x45ab1d
mov eax, dword [esi]
lea ecx, [ecx*2 + 2]
cmp ecx, 0x1000
jb 0x45ab0d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45b53e
mov eax, edx
push ecx
push eax
call fcn.0057314e
mov eax, dword [ebp - 0x104a0]
add esp, 8
mov dword [esi + 0x10], 0
xor ecx, ecx
mov dword [esi + 0x14], 7
mov word [esi], cx
movups xmm0, xmmword [eax]
movups xmmword [esi], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [esi + 0x10], xmm0
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], 7
mov word [eax], cx
mov ecx, dword [ebp - 0x1004c]
cmp ecx, 7
jbe 0x45ab8d
mov edx, dword [ebp - 0x10060]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x45ab83
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45b53e
push ecx
push edx
call fcn.0057314e
add esp, 8
mov edx, dword [ebp - 0x10494]
lea ecx, [ebp - 0x10060]
call fcn.00465960
mov esi, eax
mov eax, dword [ebp - 0x104bc]
mov ecx, bind
mov dword [ebp - 4], 1
mov dword [ebp - 0x104a4], eax
mov edx, dword [eax]
sub ecx, edx
cmp ecx, 1
jb 0x45b543
mov ecx, dword [ebp - 0x104b8]
mov eax, dword [ebp - 0x104a8]
cmp dword [ecx], 7
jbe 0x45abd8
mov eax, dword [eax]
push 1
push 0x60d1cc
push edx
push eax
push ecx
push dword [ebp - 0x104a4]
lea ecx, [ebp - 0x10078]
call fcn.00452ad0
push esi
lea eax, [ebp - 0x10078]
mov byte [ebp - 4], 2
push eax
push dword [ebp - 0x104a4]
lea ecx, [ebp - 0x10030]
call fcn.004528c0
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x10064]
cmp ecx, 7
jbe 0x45ac54
mov edx, dword [ebp - 0x10078]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x45ac4a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45b53e
push ecx
push edx
call fcn.0057314e
add esp, 8
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x1004c]
cmp ecx, 7
jbe 0x45ac98
mov edx, dword [ebp - 0x10060]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x45ac8e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45b53e
push ecx
push edx
call fcn.0057314e
add esp, 8
xor eax, eax
mov dword [ebp - 0x10050], 0
cmp dword [ebp - 0x1001c], 7
mov word [ebp - 0x10060], ax
lea eax, [ebp - 0x10030]
cmova eax, dword [ebp - 0x10030]
push eax
mov dword [ebp - 0x1004c], 7
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x45b49a
test al, 0x10
jne 0x45b49a
mov eax, dword [ebp - 0x10494]
mov esi, eax
cmp dword [eax + 0x14], 0xf
jbe 0x45acf1
mov esi, dword [eax]
xor ecx, ecx
mov edx, 0x811c9dc5
cmp dword [eax + 0x10], ecx
jbe 0x45ad1b
mov edi, dword [ebp - 0x10494]
movzx eax, byte [esi + ecx]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, dword [edi + 0x10]
jb 0x45ad03
mov edi, dword [ebp - 0x1049c]
mov esi, dword [ebp - 0x10494]
lea eax, [ebp - 0x104d4]
push edx
push esi
push eax
call fcn.00447e80
cmp dword [eax + 4], 0
je 0x45ad89
mov byte [esi + 0x50], 0
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x1001c]
cmp ecx, 7
jbe 0x45b46a
mov edx, dword [ebp - 0x10030]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x45ad7a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45b53e
push ecx
push edx
call fcn.0057314e
add esp, 8
jmp 0x45b46a
cmp dword [ebp - 0x1001c], 7
lea eax, [ebp - 0x10030]
push 0x60d1d0
cmova eax, dword [ebp - 0x10030]
push eax
lea eax, [ebp - 0x10490]
mov dword [ebp - 0x10490], 0
push eax
call fcn.0057f22d
mov eax, dword [ebp - 0x10490]
add esp, 0xc
test eax, eax
jne 0x45ae64
lea ecx, [esi + 0x54]
mov word [esi + 0x50], 0x100
cmp dword [ecx + 0x14], 0x1e
jb 0x45adfa
mov esi, dword [ecx]
push 0x3c
push str.is_failed_to_open_for_checking
push esi
mov dword [ecx + 0x10], 0x1e
call fcn.005772a0
add esp, 0xc
xor eax, eax
mov word [esi + 0x3c], ax
jmp 0x45ae0c
push str.is_failed_to_open_for_checking
push dword [ebp - 0x104a4]
push 0x1e
call fcn.004523b0
mov eax, dword [ebp - 0x104c0]
inc dword [eax]
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x1001c]
cmp ecx, 7
jbe 0x45b46a
mov edx, dword [ebp - 0x10030]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x45ae55
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45b53e
push ecx
push edx
call fcn.0057314e
add esp, 8
jmp 0x45b46a
push 2
push 0
push eax
call fcn.0057f562
add esp, 0xc
push dword [ebp - 0x10490]
call fcn.0057fc00
add esp, 4
mov esi, eax
push dword [ebp - 0x10490]
call fcn.0057fc0b
mov eax, dword [ebp - 0x10494]
add esp, 4
cmp esi, dword [eax + 0x18]
je 0x45af5a
cmp dword [ebp - 0x1001c], 7
lea eax, [ebp - 0x10030]
cmova eax, dword [ebp - 0x10030]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x45aef2
test al, 1
jne 0x45aef2
mov eax, dword [ebp - 0x10494]
mov ecx, dword [ebp - 0x104ac]
mov byte [eax + 0x50], 1
inc dword [ecx]
mov eax, dword [eax + 0x1c]
mov ecx, dword [ebp - 0x104b4]
cdq
add dword [ecx], eax
adc dword [ecx + 4], edx
mov dword [edi], 0x64
mov dword [edi + 4], 0
jmp 0x45aefc
mov eax, dword [ebp - 0x10494]
mov byte [eax + 0x50], 0
push dword [ebp - 0x10490]
call fcn.0057fd4f
mov dword [ebp - 4], 0xffffffff
add esp, 4
mov ecx, dword [ebp - 0x1001c]
cmp ecx, 7
jbe 0x45b46a
mov edx, dword [ebp - 0x10030]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x45af4b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45b53e
push ecx
push edx
call fcn.0057314e
add esp, 8
jmp 0x45b46a
push dword [ebp - 0x10490]
mov eax, esi
xor esi, esi
cdq
push 0x10000
mov dword [edi + 8], eax
lea eax, [ebp - 0x10018]
push 1
push eax
mov dword [edi + 0xc], edx
call fcn.0057ffb9
mov edi, eax
add esp, 0x10
mov dword [ebp - 0x104a0], edi
test edi, edi
je 0x45b080
mov ecx, dword [ebp - 0x10480]
mov al, byte [ebp - 0x1047c]
xor ecx, esi
mov dword [ebp - 0x10498], ecx
cmp al, byte [ebp - 0x1047b]
je 0x45afd0
mov edx, ecx
xor ecx, ecx
lea esi, [ecx + 0x20]
mov eax, edx
add ecx, ecx
and eax, 1
shr edx, 1
or ecx, eax
sub esi, 1
jne 0x45afb4
mov al, byte [ebp - 0x1047c]
mov dword [ebp - 0x10498], ecx
lea edx, [ebp - 0x10018]
mov dword [ebp - 0x104c4], edx
test al, al
je 0x45b206
test edi, edi
je 0x45b007
mov al, byte [edx]
lea edx, [edx + 1]
xor al, cl
shr ecx, 8
movzx eax, al
xor ecx, dword [ebp + eax*4 - 0x10478]
sub edi, 1
jne 0x45afe8
mov dword [ebp - 0x10498], ecx
mov esi, dword [ebp - 0x10498]
mov al, byte [ebp - 0x1047b]
cmp byte [ebp - 0x1047c], al
je 0x45b032
mov ecx, esi
xor esi, esi
lea edx, [esi + 0x20]
mov eax, ecx
add esi, esi
and eax, 1
shr ecx, 1
or esi, eax
sub edx, 1
jne 0x45b022
mov edi, dword [ebp - 0x1049c]
mov ecx, 0
mov eax, dword [ebp - 0x104a0]
push dword [ebp - 0x10490]
xor esi, dword [ebp - 0x10480]
add dword [edi], eax
push 0x10000
adc dword [edi + 4], ecx
add dword [edi + 0x18], eax
lea eax, [ebp - 0x10018]
push 1
adc dword [edi + 0x1c], ecx
push eax
call fcn.0057ffb9
mov edi, eax
mov dword [ebp - 0x104a0], eax
add esp, 0x10
test edi, edi
jne 0x45af91
push ecx
lea ecx, [ebp - 0x10588]
call fcn.0045cdc0
push 0
lea eax, [ebp - 0x10598]
mov byte [ebp - 4], 6
push 8
push eax
call fcn.00576770
add esp, 0xc
lea edx, [ebp - 0x10578]
mov ecx, dword [eax]
push dword [eax + 0xc]
push dword [eax + 8]
mov eax, dword [ebp - 0x10578]
mov eax, dword [eax + 4]
add eax, edx
push eax
call ecx
mov eax, dword [ebp - 0x10578]
add esp, 0xc
mov eax, dword [eax + 4]
push esi
mov byte [ebp + eax - 0x10538], 0x30
mov eax, dword [ebp - 0x10578]
mov ecx, dword [eax + 4]
mov eax, dword [ebp + ecx - 0x10564]
and eax, 0xfffff9ff
or eax, 0x800
mov dword [ebp + ecx - 0x10564], eax
lea ecx, [ebp - 0x10578]
call fcn.0045f1d0
lea eax, [ebp - 0x10048]
push eax
lea ecx, [ebp - 0x10570]
call fcn.00460b10
mov byte [ebp - 4], 7
lea eax, [ebp - 0x10048]
cmp dword [ebp - 0x10034], 0xf
lea edi, [ebp - 0x10048]
mov edx, dword [ebp - 0x10048]
lea esi, [ebp - 0x10048]
cmova eax, edx
cmova edi, edx
add eax, dword [ebp - 0x10038]
cmp dword [ebp - 0x10034], 0xf
mov dword [ebp - 0x104a0], eax
cmova esi, edx
cmp esi, eax
je 0x45b16f
sub edi, esi
movsx eax, byte [esi]
push eax
call fcn.0057f079
mov byte [esi + edi], al
add esp, 4
inc esi
cmp esi, dword [ebp - 0x104a0]
jne 0x45b157
mov edi, dword [ebp - 0x10494]
lea edx, [ebp - 0x10048]
cmp dword [ebp - 0x10034], 0xf
lea ecx, [edi + 0x20]
mov esi, dword [ecx + 0x10]
cmova edx, dword [ebp - 0x10048]
cmp dword [ecx + 0x14], 0xf
jbe 0x45b197
mov ecx, dword [ecx]
cmp esi, dword [ebp - 0x10038]
jne 0x45b28b
sub esi, 4
jb 0x45b1b9
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x45b1c2
add ecx, 4
add edx, 4
sub esi, 4
jae 0x45b1a8
cmp esi, 0xfffffffc
je 0x45b281
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x45b1ff
cmp esi, 0xfffffffd
je 0x45b281
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x45b1ff
cmp esi, 0xfffffffe
je 0x45b281
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x45b1ff
cmp esi, 0xffffffff
je 0x45b281
mov al, byte [ecx + 3]
cmp al, byte [edx + 3]
je 0x45b281
sbb eax, eax
or eax, 1
jmp 0x45b283
mov ecx, dword [ebp - 0x104cc]
mov eax, dword [0x61c704]
cmp eax, dword [ecx + 4]
jle 0x45b24c
push 0x61c704
call fcn.005735ed
add esp, 4
cmp dword [0x61c704], 0xffffffff
jne 0x45b246
push 0x61c704
mov dword [0x61c708], 0x18
call fcn.0057359c
add esp, 4
mov edx, dword [ebp - 0x104c4]
test edi, edi
je 0x45b007
mov ecx, dword [0x61c708]
mov esi, dword [ebp - 0x10498]
mov eax, esi
lea edx, [edx + 1]
shr eax, cl
xor al, byte [edx - 1]
movzx eax, al
shl esi, 8
xor esi, dword [ebp + eax*4 - 0x10478]
sub edi, 1
jne 0x45b260
jmp 0x45b00d
xor eax, eax
test eax, eax
je 0x45b3a7
cmp dword [ebp - 0x1001c], 7
lea eax, [ebp - 0x10030]
cmova eax, dword [ebp - 0x10030]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x45b3a7
test al, 1
jne 0x45b3a7
push dword [ebp - 0x10490]
call fcn.0057fd4f
mov eax, dword [ebp - 0x104ac]
add esp, 4
mov esi, dword [ebp - 0x104b4]
mov byte [edi + 0x50], 1
inc dword [eax]
mov eax, dword [edi + 0x1c]
mov edi, dword [ebp - 0x1049c]
cdq
add dword [esi], eax
adc dword [esi + 4], edx
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x10034]
mov dword [edi], 0x64
mov dword [edi + 4], 0
cmp ecx, 0xf
jbe 0x45b331
mov edx, dword [ebp - 0x10048]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x45b327
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45b53e
push ecx
push edx
call fcn.0057314e
add esp, 8
lea ecx, [ebp - 0x10588]
mov dword [ebp - 0x10038], 0
mov dword [ebp - 0x10034], 0xf
mov byte [ebp - 0x10048], 0
call fcn.00459960
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x1001c]
cmp ecx, 7
jbe 0x45b46a
mov edx, dword [ebp - 0x10030]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x45b398
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45b53e
push ecx
push edx
call fcn.0057314e
add esp, 8
jmp 0x45b46a
push dword [ebp - 0x10490]
call fcn.0057fd4f
mov byte [edi + 0x50], 0
add esp, 4
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x10034]
cmp ecx, 0xf
jbe 0x45b3f7
mov edx, dword [ebp - 0x10048]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x45b3ed
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45b53e
push ecx
push edx
call fcn.0057314e
add esp, 8
lea ecx, [ebp - 0x10588]
mov dword [ebp - 0x10038], 0
mov dword [ebp - 0x10034], 0xf
mov byte [ebp - 0x10048], 0
call fcn.00459960
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x1001c]
cmp ecx, 7
jbe 0x45b464
mov edx, dword [ebp - 0x10030]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x45b45a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45b53e
push ecx
push edx
call fcn.0057314e
add esp, 8
mov edi, dword [ebp - 0x1049c]
mov ecx, dword [ebp - 0x104b0]
mov eax, dword [edi + 0x14]
inc ecx
mov dword [ebp - 0x104b0], ecx
cmp ecx, eax
jge 0x45b514
cmp byte [edi + 0xb2], 0
jne 0x45b510
mov esi, dword [ebp - 0x104a4]
jmp 0x45a8e0
mov eax, dword [ebp - 0x10494]
mov ecx, dword [ebp - 0x104ac]
mov byte [eax + 0x50], 1
inc dword [ecx]
mov eax, dword [eax + 0x1c]
mov ecx, dword [ebp - 0x104b4]
cdq
add dword [ecx], eax
adc dword [ecx + 4], edx
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x1001c]
mov dword [edi], 0x64
mov dword [edi + 4], 0
cmp ecx, 7
jbe 0x45b46a
mov edx, dword [ebp - 0x10030]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x45b501
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45b53e
push ecx
push edx
call fcn.0057314e
add esp, 8
jmp 0x45b46a
xor al, al
jmp 0x45b51e
cmp byte [edi + 0xb2], 0
sete al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00573140
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0x1c
call fcn.0057ae3f
call fcn.00447190
int3