Function at 0x485eb0
Capabilities:
Contain obfuscated stackstrings
Delete file
Write 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 0x4a5e90
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x558
mov eax, dword [0x4c4008]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ecx, dword [ebx + 8]
mov eax, dword [ebx + 0xc]
mov edx, dword [ebx + 0x10]
mov dword [ebp - 0x178], ecx
cmp dword [ecx + 0x10], 0
mov dword [ebp - 0x164], eax
mov dword [ebp - 0x17c], edx
je 0x4875c1
mov edi, dword [eax]
mov edx, dword [eax + 4]
cmp edi, edx
je 0x4875c1
sub edx, edi
mov eax, 0x4ec4ec4f
imul edx
xor ecx, ecx
sar edx, 5
mov esi, edx
shr esi, 0x1f
add esi, edx
je 0x4875c1
lea eax, [edi + 0x64]
cmp byte [eax], 0
jne 0x485f53
inc ecx
add eax, 0x68
cmp ecx, esi
jb 0x485f41
jmp 0x4875c1
mov esi, dword [ebp - 0x178]
lea eax, [ebp - 0x60]
push esi
push eax
call fcn.00487eb0
mov dword [ebp - 4], 0
xorps xmm0, xmm0
movlpd qword [ebp - 0x28], xmm0
mov dword [ebp - 0x28], 0
mov word [ebp - 0x24], 0
mov byte [ebp - 4], 1
lea eax, [ebp - 0x60]
push eax
lea ecx, [ebp - 0x28]
call fcn.0046c0b0
xorps xmm0, xmm0
lea eax, [ebp - 0x28]
movlpd qword [ebp - 0x48], xmm0
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x28]
mov byte [ebp - 0x44], 0
test eax, eax
jne 0x485fac
xor al, al
jmp 0x485fca
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x485fc4
cmp eax, 0x80
je 0x485fc4
xor al, al
jmp 0x485fca
mov byte [ebp - 0x24], 1
mov al, 1
mov byte [ebp - 0x159], al
mov byte [ebp - 0x44], al
mov byte [ebp - 4], 2
xorps xmm0, xmm0
movq qword [ebp - 0x20], xmm0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov byte [ebp - 4], 3
lea eax, [ebp - 0x15a]
push eax
lea eax, [ebp - 0x20]
mov byte [ebp - 0x15a], 0
push eax
push esi
call fcn.00487780
test al, al
jne 0x486034
cmp byte [ebp - 0x15a], al
je 0x486034
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x48602d
mov eax, dword [esi]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
xor al, al
mov dword [ebp - 0x174], 0
mov byte [ebp - 0x15a], al
mov eax, dword [ebp - 0x164]
mov ecx, dword [eax + 4]
mov edi, dword [eax]
sub ecx, edi
mov eax, 0x4ec4ec4f
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x4874a3
xor ecx, ecx
mov dword [ebp - 0x160], ecx
cmp byte [edi + ecx + 0x64], 0
lea esi, [edi + ecx]
je 0x486476
xor ecx, ecx
mov eax, 0x4ec4ec4f
mov dword [ebp - 0x16c], ecx
xor edi, edi
mov ecx, dword [ebp - 0x1c]
sub ecx, dword [ebp - 0x20]
imul ecx
mov dword [ebp - 0x168], edi
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x486110
mov dword [ebp - 0x170], edi
nop
add edi, dword [ebp - 0x20]
mov ecx, esi
cmp dword [esi + 0x14], 8
jb 0x4860bd
mov ecx, dword [esi]
cmp dword [edi + 0x14], 8
mov eax, edi
jb 0x4860c7
mov eax, dword [edi]
push ecx
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
add esp, 8
test eax, eax
je 0x486110
mov ecx, dword [ebp - 0x1c]
mov eax, 0x4ec4ec4f
sub ecx, dword [ebp - 0x20]
mov edi, dword [ebp - 0x170]
inc dword [ebp - 0x16c]
add edi, 0x68
imul ecx
mov dword [ebp - 0x170], edi
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp dword [ebp - 0x16c], eax
jb 0x4860b0
mov edi, dword [ebp - 0x168]
test edi, edi
jne 0x486214
xor eax, eax
mov dword [ebp - 0x148], edi
mov dword [ebp - 0x144], edi
mov dword [ebp - 0x148], edi
mov dword [ebp - 0x144], 7
mov word [ebp - 0x158], ax
mov byte [ebp - 4], 4
mov dword [ebp - 0x130], eax
mov dword [ebp - 0x12c], eax
mov dword [ebp - 0x130], eax
mov dword [ebp - 0x12c], 7
mov word [ebp - 0x140], ax
mov byte [ebp - 4], 5
mov dword [ebp - 0x118], eax
mov dword [ebp - 0x114], eax
mov dword [ebp - 0x118], eax
mov dword [ebp - 0x114], 7
mov word [ebp - 0x128], ax
mov byte [ebp - 4], 6
xorps xmm0, xmm0
movlpd qword [ebp - 0x110], xmm0
movlpd qword [ebp - 0x108], xmm0
movlpd qword [ebp - 0x100], xmm0
mov dword [ebp - 0xf8], eax
mov byte [ebp - 0xf4], al
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x158]
mov eax, dword [ebp - 0x1c]
push ecx
cmp dword [ebp - 0x18], eax
je 0x4861db
mov ecx, eax
call fcn.00485d00
mov edx, dword [ebp - 0x1c]
add edx, 0x68
mov dword [ebp - 0x1c], edx
jmp 0x4861e7
push eax
lea ecx, [ebp - 0x20]
call fcn.00488eb0
mov edx, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x20]
mov eax, 0x4ec4ec4f
sub edx, ecx
imul edx
lea edi, [ecx - 0x68]
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
imul eax, eax, 0x68
add edi, eax
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x158]
call fcn.00485bc0
push edi
lea ecx, [ebp - 0xf0]
call fcn.00404a80
mov byte [ebp - 4], 8
lea eax, [edi + 0x18]
push eax
lea ecx, [ebp - 0xd8]
call fcn.00404a80
mov byte [ebp - 4], 9
lea eax, [edi + 0x30]
push eax
lea ecx, [ebp - 0xc0]
call fcn.00404a80
mov byte [ebp - 4], 0xa
mov eax, dword [edi + 0x48]
mov dword [ebp - 0xa8], eax
mov eax, dword [edi + 0x4c]
mov dword [ebp - 0xa4], eax
mov eax, dword [edi + 0x50]
mov dword [ebp - 0xa0], eax
mov eax, dword [edi + 0x54]
mov dword [ebp - 0x9c], eax
mov eax, dword [edi + 0x58]
mov dword [ebp - 0x98], eax
mov eax, dword [edi + 0x5c]
mov dword [ebp - 0x94], eax
mov eax, dword [edi + 0x60]
mov dword [ebp - 0x90], eax
mov al, byte [edi + 0x64]
mov byte [ebp - 0x8c], al
mov byte [ebp - 4], 0xb
cmp edi, esi
je 0x4862af
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x4862a4
mov eax, dword [esi]
push dword [esi + 0x10]
mov ecx, edi
push eax
call fcn.00402760
lea eax, [esi + 0x18]
lea edx, [edi + 0x18]
cmp edx, eax
je 0x4862ce
cmp dword [eax + 0x14], 8
mov ecx, eax
jb 0x4862c3
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
mov ecx, edx
call fcn.00402760
lea eax, [esi + 0x30]
lea edx, [edi + 0x30]
cmp edx, eax
je 0x4862ed
cmp dword [eax + 0x14], 8
mov ecx, eax
jb 0x4862e2
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
mov ecx, edx
call fcn.00402760
mov eax, dword [esi + 0x48]
lea ecx, [ebp - 0xf0]
mov dword [edi + 0x48], eax
mov eax, dword [esi + 0x4c]
mov dword [edi + 0x4c], eax
mov eax, dword [esi + 0x50]
mov dword [edi + 0x50], eax
mov eax, dword [esi + 0x54]
mov dword [edi + 0x54], eax
mov eax, dword [esi + 0x58]
mov dword [edi + 0x58], eax
mov eax, dword [esi + 0x5c]
mov dword [edi + 0x5c], eax
mov eax, dword [esi + 0x60]
mov dword [edi + 0x60], eax
mov al, byte [esi + 0x64]
mov esi, edi
mov byte [edi + 0x64], al
cmp dword [ebp - 0xdc], 8
cmovae ecx, dword [ebp - 0xf0]
cmp dword [edi + 0x14], 8
jb 0x48633b
mov esi, dword [edi]
mov edx, dword [edi + 0x10]
cmp edx, dword [ebp - 0xe0]
jne 0x48644c
test edx, edx
je 0x486365
sub esi, ecx
mov ax, word [ecx + esi]
cmp ax, word [ecx]
jne 0x48644c
add ecx, 2
sub edx, 1
jne 0x486350
cmp dword [ebp - 0xc4], 8
lea ecx, [ebp - 0xd8]
lea esi, [edi + 0x18]
cmovae ecx, dword [ebp - 0xd8]
cmp dword [edi + 0x2c], 8
jb 0x486385
mov esi, dword [edi + 0x18]
mov edx, dword [edi + 0x28]
cmp edx, dword [ebp - 0xc8]
jne 0x48644c
test edx, edx
je 0x4863b5
sub esi, ecx
nop word [eax + eax]
mov ax, word [ecx + esi]
cmp ax, word [ecx]
jne 0x48644c
add ecx, 2
sub edx, 1
jne 0x4863a0
mov eax, dword [edi + 0x48]
cmp eax, dword [ebp - 0xa8]
jne 0x48644c
mov eax, dword [edi + 0x4c]
cmp eax, dword [ebp - 0xa4]
jne 0x48644c
mov eax, dword [edi + 0x50]
cmp eax, dword [ebp - 0xa0]
jne 0x48644c
mov eax, dword [edi + 0x54]
cmp eax, dword [ebp - 0x9c]
jne 0x48644c
mov eax, dword [edi + 0x58]
cmp eax, dword [ebp - 0x98]
jne 0x48644c
mov eax, dword [edi + 0x5c]
cmp eax, dword [ebp - 0x94]
jne 0x48644c
cmp dword [ebp - 0xac], 8
lea ecx, [ebp - 0xc0]
lea esi, [edi + 0x30]
cmovae ecx, dword [ebp - 0xc0]
cmp dword [edi + 0x44], 8
jb 0x48641f
mov esi, dword [edi + 0x30]
mov edx, dword [edi + 0x40]
cmp edx, dword [ebp - 0xb0]
jne 0x48644c
test edx, edx
je 0x486441
sub esi, ecx
mov ax, word [ecx + esi]
cmp ax, word [ecx]
jne 0x48644c
add ecx, 2
sub edx, 1
jne 0x486430
mov eax, dword [edi + 0x60]
cmp eax, dword [ebp - 0x90]
je 0x486457
mov byte [ebp - 0x15a], 1
mov byte [edi + 0x64], 1
mov byte [ebp - 4], 3
lea ecx, [ebp - 0xf0]
call fcn.00485bc0
mov eax, dword [ebp - 0x164]
mov ecx, dword [ebp - 0x160]
mov edi, dword [eax]
jmp 0x48647c
mov eax, dword [ebp - 0x164]
mov esi, dword [ebp - 0x174]
add ecx, 0x68
mov dword [ebp - 0x160], ecx
inc esi
mov ecx, dword [eax + 4]
mov eax, 0x4ec4ec4f
sub ecx, edi
mov dword [ebp - 0x174], esi
imul ecx
mov ecx, dword [ebp - 0x160]
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp esi, eax
jb 0x486072
cmp byte [ebp - 0x15a], 0
je 0x4874a3
mov eax, dword [ebp - 0x20]
cmp eax, dword [ebp - 0x1c]
je 0x4874a3
xorps xmm0, xmm0
mov dword [ebp - 0x2c], 0
movq qword [ebp - 0x34], xmm0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov byte [ebp - 4], 0xc
mov eax, 0x4ec4ec4f
mov esi, dword [ebp - 0x1c]
mov ecx, esi
mov edi, dword [ebp - 0x20]
sub ecx, edi
imul ecx
mov ecx, dword [ebp - 0x2c]
sub ecx, dword [ebp - 0x34]
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [ebp - 0x168], eax
mov eax, 0x10624dd3
imul ecx
mov ecx, dword [ebp - 0x168]
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ecx, eax
jbe 0x486554
cmp ecx, 0x418937
ja 0x4875e3
push ecx
lea ecx, [ebp - 0x34]
call fcn.004886b0
mov edi, dword [ebp - 0x20]
mov esi, dword [ebp - 0x1c]
mov ecx, esi
mov dword [ebp - 0x16c], 0
sub ecx, edi
mov eax, 0x4ec4ec4f
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x486828
xor ecx, ecx
mov dword [ebp - 0x164], ecx
mov eax, dword [edi + ecx + 0x60]
lea esi, [edi + ecx]
mov dword [ebp - 0x168], esi
cmp eax, 1
je 0x4865a1
cmp eax, 2
je 0x4865a1
cmp eax, 3
jne 0x4867ee
push 0x280
xorps xmm0, xmm0
mov dword [ebp - 0x568], 0
lea eax, [ebp - 0x564]
movlpd qword [ebp - 0x19c], xmm0
push 0
push eax
movlpd qword [ebp - 0x194], xmm0
movlpd qword [ebp - 0x18c], xmm0
mov dword [ebp - 0x184], 0
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x2e4]
push 0x100
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x1e4]
push 0x48
push 0
push eax
call sub.VCRUNTIME140.dll_memset
mov eax, dword [ebp - 0x30]
add esp, 0xc
cmp dword [ebp - 0x2c], eax
je 0x48663a
mov ecx, 0xfa
lea esi, [ebp - 0x568]
mov edi, eax
rep movsd dword es:[edi], dword [esi]
mov edx, dword [ebp - 0x30]
add edx, 0x3e8
mov dword [ebp - 0x30], edx
mov esi, dword [ebp - 0x168]
jmp 0x48664d
lea ecx, [ebp - 0x568]
push ecx
push eax
lea ecx, [ebp - 0x34]
call fcn.00488cd0
mov edx, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x34]
mov eax, 0x10624dd3
sub edx, ecx
add ecx, 0xfffffc18
imul edx
push 0x280
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
imul eax, eax, 0x3e8
add eax, ecx
push 0
mov dword [ebp - 0x160], eax
lea edi, [eax + 4]
mov dword [eax], 0x23ab45db
push edi
call sub.VCRUNTIME140.dll_memset
mov eax, dword [ebp - 0x160]
add esp, 0xc
add eax, 0x284
mov dword [ebp - 0x174], eax
push 0x100
push 0
push eax
call sub.VCRUNTIME140.dll_memset
mov eax, dword [ebp - 0x160]
add esp, 0xc
add eax, 0x384
mov dword [ebp - 0x170], eax
push 0x48
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
cmp dword [esi + 0x10], 0x13f
ja 0x4866fc
cmp dword [esi + 0x14], 8
mov ecx, esi
jb 0x4866e2
mov ecx, dword [esi]
sub edi, ecx
movzx eax, word [ecx]
lea ecx, [ecx + 2]
mov word [ecx + edi - 2], ax
test ax, ax
jne 0x4866e4
mov edi, dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncpy]
jmp 0x486718
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x486706
mov eax, dword [esi]
push 0x13e
push eax
push edi
mov edi, dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncpy]
call edi
add esp, 0xc
cmp dword [esi + 0x28], 0x7f
ja 0x486743
cmp dword [esi + 0x2c], 8
lea ecx, [esi + 0x18]
jb 0x486729
mov ecx, dword [ecx]
mov edx, dword [ebp - 0x174]
sub edx, ecx
movzx eax, word [ecx]
lea ecx, [ecx + 2]
mov word [ecx + edx - 2], ax
test ax, ax
jne 0x486731
jmp 0x48675c
cmp dword [esi + 0x2c], 8
lea eax, [esi + 0x18]
jb 0x48674e
mov eax, dword [eax]
push 0x7e
push eax
push dword [ebp - 0x174]
call edi
add esp, 0xc
cmp dword [esi + 0x40], 0x23
ja 0x486787
cmp dword [esi + 0x44], 8
lea ecx, [esi + 0x30]
jb 0x48676d
mov ecx, dword [ecx]
mov edx, dword [ebp - 0x170]
sub edx, ecx
movzx eax, word [ecx]
lea ecx, [ecx + 2]
mov word [ecx + edx - 2], ax
test ax, ax
jne 0x486775
jmp 0x4867a0
cmp dword [esi + 0x44], 8
lea eax, [esi + 0x30]
jb 0x486792
mov eax, dword [eax]
push 0x23
push eax
push dword [ebp - 0x170]
call edi
add esp, 0xc
mov ecx, dword [ebp - 0x160]
mov eax, dword [esi + 0x48]
mov dword [ecx + 0x3cc], eax
mov eax, dword [esi + 0x4c]
mov dword [ecx + 0x3d0], eax
mov eax, dword [esi + 0x50]
mov dword [ecx + 0x3d4], eax
mov eax, dword [esi + 0x54]
mov dword [ecx + 0x3d8], eax
mov eax, dword [esi + 0x58]
mov dword [ecx + 0x3dc], eax
mov eax, dword [esi + 0x5c]
mov dword [ecx + 0x3e0], eax
mov eax, dword [esi + 0x60]
mov dword [ecx + 0x3e4], eax
mov edi, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x164]
mov esi, dword [ebp - 0x16c]
add ecx, 0x68
mov dword [ebp - 0x164], ecx
mov eax, 0x4ec4ec4f
mov ecx, dword [ebp - 0x1c]
inc esi
sub ecx, edi
mov dword [ebp - 0x16c], esi
imul ecx
mov ecx, dword [ebp - 0x164]
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp esi, eax
jb 0x486581
mov eax, dword [ebp - 0x34]
cmp eax, dword [ebp - 0x30]
jne 0x4869a3
mov byte [ebp - 4], 3
mov esi, dword [ebp - 0x34]
test esi, esi
je 0x48689a
mov ecx, dword [ebp - 0x2c]
mov eax, 0x10624dd3
sub ecx, esi
imul ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
imul ecx, eax, 0x3e8
mov eax, esi
cmp ecx, 0x1000
jb 0x48687b
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x48687b
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push esi
call fcn.00495a94
add esp, 8
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov byte [ebp - 4], 2
mov esi, dword [ebp - 0x20]
test esi, esi
je 0x486919
mov edi, dword [ebp - 0x1c]
cmp esi, edi
je 0x4868c1
nop dword [eax]
mov ecx, esi
call fcn.00485bc0
add esi, 0x68
cmp esi, edi
jne 0x4868b0
mov esi, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x18]
mov eax, 0x4ec4ec4f
sub ecx, esi
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
imul ecx, eax, 0x68
mov eax, esi
cmp ecx, 0x1000
jb 0x4868fa
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4868fa
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push esi
call fcn.00495a94
add esp, 8
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov byte [ebp - 4], 1
cmp byte [ebp - 0x159], 0
je 0x486938
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x486934
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov byte [ebp - 0x24], 0
mov dword [ebp - 0x48], 0
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x486958
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x28], 0
mov word [ebp - 0x24], 0
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x4c]
cmp edx, 8
jb 0x4875b1
mov ecx, dword [ebp - 0x60]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4875a7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4875a7
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
xorps xmm0, xmm0
mov dword [ebp - 0x38], 0
movq qword [ebp - 0x40], xmm0
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0
mov byte [ebp - 4], 0xd
mov ecx, 1
movaps xmm2, xmmword [0x4b12f0]
xor eax, eax
mov dword [ebp - 0x84], 0x2d2d4352
mov dword [ebp - 0x80], 0x35343332
mov dword [ebp - 0x7c], 0x61534350
mov dword [ebp - 0x78], 0x2d302e32
mov dword [ebp - 0x74], 0x2d736843
mov dword [ebp - 0x70], 0x61435243
mov dword [ebp - 0x6c], 0x38313031
mov dword [ebp - 0x68], 0x35313032
movd xmm3, ecx
nop dword [eax + eax]
movd xmm0, eax
pshufd xmm1, xmm0, 0
movups xmm0, xmmword [ebp + eax*4 - 0x84]
paddd xmm1, xmm2
pslld xmm0, xmm3
paddd xmm1, xmm0
movups xmmword [ebp + eax*4 - 0x84], xmm1
add eax, 4
cmp eax, 8
jl 0x486a20
mov ecx, dword [ebp - 0x30]
mov eax, 0x10624dd3
mov esi, dword [ebp - 0x34]
sub ecx, esi
imul ecx
lea ecx, [ebp - 0x40]
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
imul eax, eax, 0x3e8
push ecx
lea ecx, [ebp - 0x84]
push eax
push esi
call fcn.00429400
test al, al
jne 0x486c43
mov byte [ebp - 4], 0xc
mov ecx, dword [ebp - 0x40]
test ecx, ecx
je 0x486ad4
mov edx, dword [ebp - 0x38]
mov eax, ecx
sub edx, ecx
cmp edx, 0x1000
jb 0x486ab5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x486ab5
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.00495a94
add esp, 8
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0
mov byte [ebp - 4], 3
mov esi, dword [ebp - 0x34]
test esi, esi
je 0x486b3a
mov ecx, dword [ebp - 0x2c]
mov eax, 0x10624dd3
sub ecx, esi
imul ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
imul ecx, eax, 0x3e8
mov eax, esi
cmp ecx, 0x1000
jb 0x486b1b
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x486b1b
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push esi
call fcn.00495a94
add esp, 8
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov byte [ebp - 4], 2
mov esi, dword [ebp - 0x20]
test esi, esi
je 0x486bb9
mov edi, dword [ebp - 0x1c]
cmp esi, edi
je 0x486b61
nop dword [eax]
mov ecx, esi
call fcn.00485bc0
add esi, 0x68
cmp esi, edi
jne 0x486b50
mov esi, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x18]
mov eax, 0x4ec4ec4f
sub ecx, esi
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
imul ecx, eax, 0x68
mov eax, esi
cmp ecx, 0x1000
jb 0x486b9a
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x486b9a
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push esi
call fcn.00495a94
add esp, 8
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov byte [ebp - 4], 1
cmp byte [ebp - 0x159], 0
je 0x486bd8
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x486bd4
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov byte [ebp - 0x24], 0
mov dword [ebp - 0x48], 0
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x486bf8
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x28], 0
mov word [ebp - 0x24], 0
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x4c]
cmp edx, 8
jb 0x4875b1
mov ecx, dword [ebp - 0x60]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4875a7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4875a7
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
mov esi, dword [ebp - 0x40]
cmp esi, dword [ebp - 0x3c]
jne 0x486e06
mov byte [ebp - 4], 0xc
test esi, esi
je 0x486c9b
mov ecx, dword [ebp - 0x38]
mov eax, esi
sub ecx, esi
cmp ecx, 0x1000
jb 0x486c7c
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x486c7c
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push esi
call fcn.00495a94
add esp, 8
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0
mov byte [ebp - 4], 3
mov esi, dword [ebp - 0x34]
test esi, esi
je 0x486d01
mov ecx, dword [ebp - 0x2c]
mov eax, 0x10624dd3
sub ecx, esi
imul ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
imul ecx, eax, 0x3e8
mov eax, esi
cmp ecx, 0x1000
jb 0x486ce2
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x486ce2
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push esi
call fcn.00495a94
add esp, 8
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov byte [ebp - 4], 2
mov esi, dword [ebp - 0x20]
test esi, esi
je 0x486d7c
mov edi, dword [ebp - 0x1c]
cmp esi, edi
je 0x486d24
mov ecx, esi
call fcn.00485bc0
add esi, 0x68
cmp esi, edi
jne 0x486d13
mov esi, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x18]
mov eax, 0x4ec4ec4f
sub ecx, esi
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
imul ecx, eax, 0x68
mov eax, esi
cmp ecx, 0x1000
jb 0x486d5d
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x486d5d
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push esi
call fcn.00495a94
add esp, 8
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov byte [ebp - 4], 1
cmp byte [ebp - 0x159], 0
je 0x486d9b
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x486d97
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov byte [ebp - 0x24], 0
mov dword [ebp - 0x48], 0
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x486dbb
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x28], 0
mov word [ebp - 0x24], 0
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x4c]
cmp edx, 8
jb 0x4875b1
mov ecx, dword [ebp - 0x60]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4875a7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4875a7
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
mov eax, dword [ebp - 0x178]
mov ecx, eax
cmp dword [eax + 0x14], 8
jb 0x486e16
mov ecx, dword [eax]
push ecx
push 0x80
push 4
push ecx
push 0
mov edx, 0x40000000
call fcn.0046bd90
mov edi, eax
add esp, 0x14
cmp edi, 0xffffffff
je 0x486e3d
test edi, edi
jne 0x486eef
push ecx
mov ecx, dword [ebp - 0x178]
push 0x4adf94
call fcn.00467f10
cmp eax, 0xffffffff
je 0x486eef
mov edi, dword [ebp - 0x178]
mov ecx, edi
push eax
push 0
lea eax, [ebp - 0x7c]
push eax
call fcn.00414110
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x7c]
call fcn.0046ae30
cmp dword [edi + 0x14], 8
jb 0x486e7f
mov edi, dword [edi]
push ecx
push 0x80
push 4
push ecx
push 0
mov edx, 0x40000000
mov ecx, edi
call fcn.0046bd90
add esp, 0x14
mov edi, eax
mov byte [ebp - 4], 0xd
mov edx, dword [ebp - 0x68]
cmp edx, 8
jb 0x486edb
mov ecx, dword [ebp - 0x7c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x486ed1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x486ed1
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.00495a94
add esp, 8
xor eax, eax
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x68], 7
mov word [ebp - 0x7c], ax
cmp edi, 0xffffffff
je 0x4872ec
test edi, edi
je 0x4872ec
push 0
push 0
push 0
push edi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov eax, dword [ebp - 0x3c]
lea ecx, [ebp - 0x64]
push 0
push ecx
sub eax, esi
mov dword [ebp - 0x64], 0
push eax
push esi
push edi
mov dword [ebp - 0x168], eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
push edi
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call edi
mov eax, dword [ebp - 0x168]
cmp dword [ebp - 0x64], eax
jne 0x487164
mov edx, dword [ebp - 0x17c]
lea eax, [ebp - 0x20]
cmp edx, eax
je 0x486f7c
mov ecx, dword [edx]
mov eax, dword [ebp - 0x20]
mov dword [edx], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x20], ecx
mov ecx, dword [edx + 4]
mov dword [edx + 4], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x1c], ecx
mov ecx, dword [edx + 8]
mov dword [edx + 8], eax
mov dword [ebp - 0x18], ecx
mov edi, dword [edx]
xor ecx, ecx
mov dword [ebp - 0x160], ecx
mov eax, 0x4ec4ec4f
mov ecx, dword [edx + 4]
sub ecx, edi
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x486fd7
xor esi, esi
mov eax, dword [ebp - 0x17c]
lea esi, [esi + 0x68]
inc dword [ebp - 0x160]
mov byte [edi + esi - 4], 0
mov ecx, dword [eax + 4]
mov edi, dword [eax]
sub ecx, edi
mov eax, 0x4ec4ec4f
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp dword [ebp - 0x160], eax
jb 0x486fa0
mov esi, dword [ebp - 0x40]
mov byte [ebp - 4], 0xc
test esi, esi
je 0x487023
mov ecx, dword [ebp - 0x38]
mov eax, esi
sub ecx, esi
cmp ecx, 0x1000
jb 0x487004
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x487004
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push esi
call fcn.00495a94
add esp, 8
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0
mov byte [ebp - 4], 3
mov esi, dword [ebp - 0x34]
test esi, esi
je 0x487089
mov ecx, dword [ebp - 0x2c]
mov eax, 0x10624dd3
sub ecx, esi
imul ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
imul ecx, eax, 0x3e8
mov eax, esi
cmp ecx, 0x1000
jb 0x48706a
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x48706a
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push esi
call fcn.00495a94
add esp, 8
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov byte [ebp - 4], 2
mov esi, dword [ebp - 0x20]
test esi, esi
je 0x487109
mov edi, dword [ebp - 0x1c]
cmp esi, edi
je 0x4870b1
nop dword [eax + eax]
mov ecx, esi
call fcn.00485bc0
add esi, 0x68
cmp esi, edi
jne 0x4870a0
mov esi, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x18]
mov eax, 0x4ec4ec4f
sub ecx, esi
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
imul ecx, eax, 0x68
mov eax, esi
cmp ecx, 0x1000
jb 0x4870ea
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4870ea
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push esi
call fcn.00495a94
add esp, 8
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov byte [ebp - 4], 1
cmp byte [ebp - 0x159], 0
je 0x487128
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x487124
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov byte [ebp - 0x24], 0
mov dword [ebp - 0x48], 0
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x487148
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x28], 0
mov word [ebp - 0x24], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x60]
call fcn.004025f0
mov al, 1
jmp 0x4875c3
mov byte [ebp - 4], 0xc
test esi, esi
je 0x4871b0
mov ecx, dword [ebp - 0x38]
mov eax, esi
sub ecx, esi
cmp ecx, 0x1000
jb 0x487191
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x487191
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push esi
call fcn.00495a94
add esp, 8
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0
mov byte [ebp - 4], 3
mov esi, dword [ebp - 0x34]
test esi, esi
je 0x487216
mov ecx, dword [ebp - 0x2c]
mov eax, 0x10624dd3
sub ecx, esi
imul ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
imul ecx, eax, 0x3e8
mov eax, esi
cmp ecx, 0x1000
jb 0x4871f7
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4871f7
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push esi
call fcn.00495a94
add esp, 8
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov byte [ebp - 4], 2
mov esi, dword [ebp - 0x20]
test esi, esi
je 0x487297
mov edi, dword [ebp - 0x1c]
cmp esi, edi
je 0x487239
mov ecx, esi
call fcn.00485bc0
add esi, 0x68
cmp esi, edi
jne 0x487228
mov esi, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x18]
mov eax, 0x4ec4ec4f
sub ecx, esi
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
imul ecx, eax, 0x68
mov eax, esi
cmp ecx, 0x1000
jb 0x487272
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x487272
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push esi
call fcn.00495a94
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
add esp, 8
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov byte [ebp - 4], 1
cmp byte [ebp - 0x159], 0
je 0x4872b6
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x4872b2
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov byte [ebp - 0x24], 0
mov dword [ebp - 0x48], 0
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x4872d2
push eax
call edi
mov dword [ebp - 0x28], 0
mov word [ebp - 0x24], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x60]
call fcn.004025f0
jmp 0x4875c1
mov byte [ebp - 4], 0xc
test esi, esi
je 0x487338
mov ecx, dword [ebp - 0x38]
mov eax, esi
sub ecx, esi
cmp ecx, 0x1000
jb 0x487319
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x487319
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push esi
call fcn.00495a94
add esp, 8
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0
mov byte [ebp - 4], 3
mov esi, dword [ebp - 0x34]
test esi, esi
je 0x48739e
mov ecx, dword [ebp - 0x2c]
mov eax, 0x10624dd3
sub ecx, esi
imul ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
imul ecx, eax, 0x3e8
mov eax, esi
cmp ecx, 0x1000
jb 0x48737f
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x48737f
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push esi
call fcn.00495a94
add esp, 8
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov byte [ebp - 4], 2
mov esi, dword [ebp - 0x20]
test esi, esi
je 0x487419
mov edi, dword [ebp - 0x1c]
cmp esi, edi
je 0x4873c1
mov ecx, esi
call fcn.00485bc0
add esi, 0x68
cmp esi, edi
jne 0x4873b0
mov esi, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x18]
mov eax, 0x4ec4ec4f
sub ecx, esi
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
imul ecx, eax, 0x68
mov eax, esi
cmp ecx, 0x1000
jb 0x4873fa
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4873fa
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push esi
call fcn.00495a94
add esp, 8
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov byte [ebp - 4], 1
cmp byte [ebp - 0x159], 0
je 0x487438
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x487434
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov byte [ebp - 0x24], 0
mov dword [ebp - 0x48], 0
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x487458
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x28], 0
mov word [ebp - 0x24], 0
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x4c]
cmp edx, 8
jb 0x4875b1
mov ecx, dword [ebp - 0x60]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4875a7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4875a7
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
mov byte [ebp - 4], 2
mov esi, dword [ebp - 0x20]
test esi, esi
je 0x487529
mov edi, dword [ebp - 0x1c]
cmp esi, edi
je 0x4874d1
nop dword [eax]
mov ecx, esi
call fcn.00485bc0
add esi, 0x68
cmp esi, edi
jne 0x4874c0
mov esi, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x18]
mov eax, 0x4ec4ec4f
sub ecx, esi
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
imul ecx, eax, 0x68
mov eax, esi
cmp ecx, 0x1000
jb 0x48750a
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x48750a
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push esi
call fcn.00495a94
add esp, 8
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov byte [ebp - 4], 1
cmp byte [ebp - 0x159], 0
je 0x487548
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x487544
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov byte [ebp - 0x24], 0
mov dword [ebp - 0x48], 0
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x487568
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x28], 0
mov word [ebp - 0x24], 0
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x4c]
cmp edx, 8
jb 0x4875b1
mov ecx, dword [ebp - 0x60]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4875a7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4875a7
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.00495a94
add esp, 8
xor eax, eax
mov dword [ebp - 0x4c], 7
mov word [ebp - 0x60], ax
mov dword [ebp - 0x50], eax
xor al, 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.00495a53
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0xc
call fcn.00404cc0
int3