Function at 0x448040
Capabilities:
Contain obfuscated stackstrings
Delete file
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46a4d0
mov eax, dword fs:[0]
push eax
sub esp, 0x550
mov eax, dword [0x483008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ecx, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
mov dword [ebp - 0x170], ecx
cmp dword [ecx + 0x10], 0
mov dword [ebp - 0x15c], eax
mov dword [ebp - 0x174], edx
je 0x449736
mov edi, dword [eax]
mov edx, dword [eax + 4]
cmp edi, edx
je 0x449736
sub edx, edi
mov eax, 0x4ec4ec4f
imul edx
xor ecx, ecx
sar edx, 5
mov esi, edx
shr esi, 0x1f
add esi, edx
je 0x449736
lea eax, [edi + 0x64]
nop dword [eax]
cmp byte [eax], 0
jne 0x4480d2
inc ecx
add eax, 0x68
cmp ecx, esi
jb 0x4480c0
jmp 0x449736
mov esi, dword [ebp - 0x170]
lea eax, [ebp - 0x5c]
push esi
push eax
call fcn.0044a020
mov dword [ebp - 4], 0
xorps xmm0, xmm0
movlpd qword [ebp - 0x24], xmm0
mov dword [ebp - 0x24], 0
mov word [ebp - 0x20], 0
mov byte [ebp - 4], 1
lea eax, [ebp - 0x5c]
push eax
lea ecx, [ebp - 0x24]
call fcn.004463c0
xorps xmm0, xmm0
lea eax, [ebp - 0x24]
movlpd qword [ebp - 0x44], xmm0
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x24]
mov byte [ebp - 0x40], 0
test eax, eax
jne 0x44812b
xor al, al
jmp 0x448149
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x448143
cmp eax, 0x80
je 0x448143
xor al, al
jmp 0x448149
mov byte [ebp - 0x20], 1
mov al, 1
mov byte [ebp - 0x151], al
mov byte [ebp - 0x40], al
mov byte [ebp - 4], 2
xorps xmm0, xmm0
movq qword [ebp - 0x1c], xmm0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov byte [ebp - 4], 3
lea eax, [ebp - 0x152]
push eax
lea eax, [ebp - 0x1c]
mov byte [ebp - 0x152], 0
push eax
push esi
call fcn.004498f0
test al, al
jne 0x4481b3
cmp byte [ebp - 0x152], al
je 0x4481b3
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x4481ac
mov eax, dword [esi]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
xor al, al
mov dword [ebp - 0x16c], 0
mov byte [ebp - 0x152], al
mov eax, dword [ebp - 0x15c]
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 0x449623
xor ecx, ecx
mov dword [ebp - 0x158], ecx
cmp byte [edi + ecx + 0x64], 0
lea esi, [edi + ecx]
je 0x4485f6
xor ecx, ecx
mov eax, 0x4ec4ec4f
mov dword [ebp - 0x164], ecx
xor edi, edi
mov ecx, dword [ebp - 0x18]
sub ecx, dword [ebp - 0x1c]
imul ecx
mov dword [ebp - 0x160], edi
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x448290
mov dword [ebp - 0x168], edi
nop
add edi, dword [ebp - 0x1c]
mov ecx, esi
cmp dword [esi + 0x14], 8
jb 0x44823d
mov ecx, dword [esi]
cmp dword [edi + 0x14], 8
mov eax, edi
jb 0x448247
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 0x448290
mov ecx, dword [ebp - 0x18]
mov eax, 0x4ec4ec4f
sub ecx, dword [ebp - 0x1c]
mov edi, dword [ebp - 0x168]
inc dword [ebp - 0x164]
add edi, 0x68
imul ecx
mov dword [ebp - 0x168], edi
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp dword [ebp - 0x164], eax
jb 0x448230
mov edi, dword [ebp - 0x160]
test edi, edi
jne 0x448394
xor eax, eax
mov dword [ebp - 0x140], edi
mov dword [ebp - 0x13c], edi
mov dword [ebp - 0x140], edi
mov dword [ebp - 0x13c], 7
mov word [ebp - 0x150], ax
mov byte [ebp - 4], 4
mov dword [ebp - 0x128], eax
mov dword [ebp - 0x124], eax
mov dword [ebp - 0x128], eax
mov dword [ebp - 0x124], 7
mov word [ebp - 0x138], ax
mov byte [ebp - 4], 5
mov dword [ebp - 0x110], eax
mov dword [ebp - 0x10c], eax
mov dword [ebp - 0x110], eax
mov dword [ebp - 0x10c], 7
mov word [ebp - 0x120], ax
mov byte [ebp - 4], 6
xorps xmm0, xmm0
movlpd qword [ebp - 0x108], xmm0
movlpd qword [ebp - 0x100], xmm0
movlpd qword [ebp - 0xf8], xmm0
mov dword [ebp - 0xf0], eax
mov byte [ebp - 0xec], al
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x150]
mov eax, dword [ebp - 0x18]
push ecx
cmp dword [ebp - 0x14], eax
je 0x44835b
mov ecx, eax
call fcn.00447e90
mov edx, dword [ebp - 0x18]
add edx, 0x68
mov dword [ebp - 0x18], edx
jmp 0x448367
push eax
lea ecx, [ebp - 0x1c]
call fcn.0044b030
mov edx, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x1c]
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 - 0x150]
call fcn.00447d50
push edi
lea ecx, [ebp - 0xe8]
call fcn.00406900
mov byte [ebp - 4], 8
lea eax, [edi + 0x18]
push eax
lea ecx, [ebp - 0xd0]
call fcn.00406900
mov byte [ebp - 4], 9
lea eax, [edi + 0x30]
push eax
lea ecx, [ebp - 0xb8]
call fcn.00406900
mov byte [ebp - 4], 0xa
mov eax, dword [edi + 0x48]
mov dword [ebp - 0xa0], eax
mov eax, dword [edi + 0x4c]
mov dword [ebp - 0x9c], eax
mov eax, dword [edi + 0x50]
mov dword [ebp - 0x98], eax
mov eax, dword [edi + 0x54]
mov dword [ebp - 0x94], eax
mov eax, dword [edi + 0x58]
mov dword [ebp - 0x90], eax
mov eax, dword [edi + 0x5c]
mov dword [ebp - 0x8c], eax
mov eax, dword [edi + 0x60]
mov dword [ebp - 0x88], eax
mov al, byte [edi + 0x64]
mov byte [ebp - 0x84], al
mov byte [ebp - 4], 0xb
cmp edi, esi
je 0x44842f
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x448424
mov eax, dword [esi]
push dword [esi + 0x10]
mov ecx, edi
push eax
call fcn.00405840
lea eax, [esi + 0x18]
lea edx, [edi + 0x18]
cmp edx, eax
je 0x44844e
cmp dword [eax + 0x14], 8
mov ecx, eax
jb 0x448443
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
mov ecx, edx
call fcn.00405840
lea eax, [esi + 0x30]
lea edx, [edi + 0x30]
cmp edx, eax
je 0x44846d
cmp dword [eax + 0x14], 8
mov ecx, eax
jb 0x448462
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
mov ecx, edx
call fcn.00405840
mov eax, dword [esi + 0x48]
lea ecx, [ebp - 0xe8]
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 - 0xd4], 8
cmovae ecx, dword [ebp - 0xe8]
cmp dword [edi + 0x14], 8
jb 0x4484bb
mov esi, dword [edi]
mov edx, dword [edi + 0x10]
cmp edx, dword [ebp - 0xd8]
jne 0x4485cc
test edx, edx
je 0x4484e5
sub esi, ecx
mov ax, word [ecx + esi]
cmp ax, word [ecx]
jne 0x4485cc
add ecx, 2
sub edx, 1
jne 0x4484d0
cmp dword [ebp - 0xbc], 8
lea ecx, [ebp - 0xd0]
lea esi, [edi + 0x18]
cmovae ecx, dword [ebp - 0xd0]
cmp dword [edi + 0x2c], 8
jb 0x448505
mov esi, dword [edi + 0x18]
mov edx, dword [edi + 0x28]
cmp edx, dword [ebp - 0xc0]
jne 0x4485cc
test edx, edx
je 0x448535
sub esi, ecx
nop word [eax + eax]
mov ax, word [ecx + esi]
cmp ax, word [ecx]
jne 0x4485cc
add ecx, 2
sub edx, 1
jne 0x448520
mov eax, dword [edi + 0x48]
cmp eax, dword [ebp - 0xa0]
jne 0x4485cc
mov eax, dword [edi + 0x4c]
cmp eax, dword [ebp - 0x9c]
jne 0x4485cc
mov eax, dword [edi + 0x50]
cmp eax, dword [ebp - 0x98]
jne 0x4485cc
mov eax, dword [edi + 0x54]
cmp eax, dword [ebp - 0x94]
jne 0x4485cc
mov eax, dword [edi + 0x58]
cmp eax, dword [ebp - 0x90]
jne 0x4485cc
mov eax, dword [edi + 0x5c]
cmp eax, dword [ebp - 0x8c]
jne 0x4485cc
cmp dword [ebp - 0xa4], 8
lea ecx, [ebp - 0xb8]
lea esi, [edi + 0x30]
cmovae ecx, dword [ebp - 0xb8]
cmp dword [edi + 0x44], 8
jb 0x44859f
mov esi, dword [edi + 0x30]
mov edx, dword [edi + 0x40]
cmp edx, dword [ebp - 0xa8]
jne 0x4485cc
test edx, edx
je 0x4485c1
sub esi, ecx
mov ax, word [ecx + esi]
cmp ax, word [ecx]
jne 0x4485cc
add ecx, 2
sub edx, 1
jne 0x4485b0
mov eax, dword [edi + 0x60]
cmp eax, dword [ebp - 0x88]
je 0x4485d7
mov byte [ebp - 0x152], 1
mov byte [edi + 0x64], 1
mov byte [ebp - 4], 3
lea ecx, [ebp - 0xe8]
call fcn.00447d50
mov eax, dword [ebp - 0x15c]
mov ecx, dword [ebp - 0x158]
mov edi, dword [eax]
jmp 0x4485fc
mov eax, dword [ebp - 0x15c]
mov esi, dword [ebp - 0x16c]
add ecx, 0x68
mov dword [ebp - 0x158], ecx
inc esi
mov ecx, dword [eax + 4]
mov eax, 0x4ec4ec4f
sub ecx, edi
mov dword [ebp - 0x16c], esi
imul ecx
mov ecx, dword [ebp - 0x158]
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp esi, eax
jb 0x4481f1
cmp byte [ebp - 0x152], 0
je 0x449623
mov eax, dword [ebp - 0x1c]
cmp eax, dword [ebp - 0x18]
je 0x449623
xorps xmm0, xmm0
mov dword [ebp - 0x28], 0
movq qword [ebp - 0x30], xmm0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
mov byte [ebp - 4], 0xc
mov eax, 0x4ec4ec4f
mov esi, dword [ebp - 0x18]
mov ecx, esi
mov edi, dword [ebp - 0x1c]
sub ecx, edi
imul ecx
mov ecx, dword [ebp - 0x28]
sub ecx, dword [ebp - 0x30]
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [ebp - 0x160], eax
mov eax, 0x10624dd3
imul ecx
mov ecx, dword [ebp - 0x160]
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ecx, eax
jbe 0x4486d4
cmp ecx, 0x418937
ja 0x449755
push ecx
lea ecx, [ebp - 0x30]
call fcn.0044a7f0
mov edi, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x18]
mov ecx, esi
mov dword [ebp - 0x164], 0
sub ecx, edi
mov eax, 0x4ec4ec4f
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x4489a7
xor ecx, ecx
mov dword [ebp - 0x15c], ecx
mov eax, dword [edi + ecx + 0x60]
lea esi, [edi + ecx]
mov dword [ebp - 0x160], esi
cmp eax, 1
je 0x448721
cmp eax, 2
je 0x448721
cmp eax, 3
jne 0x44896d
push 0x280
xorps xmm0, xmm0
mov dword [ebp - 0x55c], 0
lea eax, [ebp - 0x558]
movlpd qword [ebp - 0x190], xmm0
push 0
push eax
movlpd qword [ebp - 0x188], xmm0
movlpd qword [ebp - 0x180], xmm0
mov dword [ebp - 0x178], 0
call sub.VCRUNTIME140.dll_memset
push 0x100
lea eax, [ebp - 0x2d8]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
push 0x48
lea eax, [ebp - 0x1d8]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
mov eax, dword [ebp - 0x2c]
add esp, 0x24
cmp dword [ebp - 0x28], eax
je 0x4487b4
mov ecx, 0xfa
lea esi, [ebp - 0x55c]
mov edi, eax
rep movsd dword es:[edi], dword [esi]
mov edx, dword [ebp - 0x2c]
add edx, 0x3e8
mov dword [ebp - 0x2c], edx
mov esi, dword [ebp - 0x160]
jmp 0x4487c7
lea ecx, [ebp - 0x55c]
push ecx
push eax
lea ecx, [ebp - 0x30]
call fcn.0044ae50
mov edx, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x30]
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 - 0x158], eax
lea edi, [eax + 4]
mov dword [eax], 0x23ab45db
push edi
call sub.VCRUNTIME140.dll_memset
mov eax, dword [ebp - 0x158]
push 0x100
add eax, 0x284
push 0
push eax
mov dword [ebp - 0x16c], eax
call sub.VCRUNTIME140.dll_memset
mov eax, dword [ebp - 0x158]
push 0x48
add eax, 0x384
push 0
push eax
mov dword [ebp - 0x168], eax
call sub.VCRUNTIME140.dll_memset
add esp, 0x24
cmp dword [esi + 0x10], 0x13f
ja 0x448878
cmp dword [esi + 0x14], 8
mov ecx, esi
jb 0x448856
mov ecx, dword [esi]
sub edi, ecx
nop dword [eax + eax]
movzx eax, word [ecx]
lea ecx, [ecx + 2]
mov word [ecx + edi - 2], ax
test ax, ax
jne 0x448860
mov edi, dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncpy]
jmp 0x448894
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x448882
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 0x4488c2
cmp dword [esi + 0x2c], 8
lea ecx, [esi + 0x18]
jb 0x4488a5
mov ecx, dword [ecx]
mov edx, dword [ebp - 0x16c]
sub edx, ecx
nop dword [eax]
movzx eax, word [ecx]
lea ecx, [ecx + 2]
mov word [ecx + edx - 2], ax
test ax, ax
jne 0x4488b0
jmp 0x4488db
cmp dword [esi + 0x2c], 8
lea eax, [esi + 0x18]
jb 0x4488cd
mov eax, dword [eax]
push 0x7e
push eax
push dword [ebp - 0x16c]
call edi
add esp, 0xc
cmp dword [esi + 0x40], 0x23
ja 0x448906
cmp dword [esi + 0x44], 8
lea ecx, [esi + 0x30]
jb 0x4488ec
mov ecx, dword [ecx]
mov edx, dword [ebp - 0x168]
sub edx, ecx
movzx eax, word [ecx]
lea ecx, [ecx + 2]
mov word [ecx + edx - 2], ax
test ax, ax
jne 0x4488f4
jmp 0x44891f
cmp dword [esi + 0x44], 8
lea eax, [esi + 0x30]
jb 0x448911
mov eax, dword [eax]
push 0x23
push eax
push dword [ebp - 0x168]
call edi
add esp, 0xc
mov ecx, dword [ebp - 0x158]
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 - 0x1c]
mov ecx, dword [ebp - 0x15c]
mov esi, dword [ebp - 0x164]
add ecx, 0x68
mov dword [ebp - 0x15c], ecx
mov eax, 0x4ec4ec4f
mov ecx, dword [ebp - 0x18]
inc esi
sub ecx, edi
mov dword [ebp - 0x164], esi
imul ecx
mov ecx, dword [ebp - 0x15c]
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp esi, eax
jb 0x448701
mov eax, dword [ebp - 0x30]
cmp eax, dword [ebp - 0x2c]
jne 0x448b23
mov byte [ebp - 4], 3
mov esi, dword [ebp - 0x30]
test esi, esi
je 0x448a19
mov ecx, dword [ebp - 0x28]
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 0x4489fa
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4489fa
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push esi
call fcn.0045e2e4
add esp, 8
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
mov byte [ebp - 4], 2
mov esi, dword [ebp - 0x1c]
test esi, esi
je 0x448a99
mov edi, dword [ebp - 0x18]
cmp esi, edi
je 0x448a41
nop dword [eax + eax]
mov ecx, esi
call fcn.00447d50
add esi, 0x68
cmp esi, edi
jne 0x448a30
mov esi, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x14]
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 0x448a7a
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x448a7a
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push esi
call fcn.0045e2e4
add esp, 8
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov byte [ebp - 4], 1
cmp byte [ebp - 0x151], 0
je 0x448ab8
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x448ab4
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov byte [ebp - 0x20], 0
mov dword [ebp - 0x44], 0
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x448ad8
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x24], 0
mov word [ebp - 0x20], 0
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x48]
cmp edx, 8
jb 0x449726
mov ecx, dword [ebp - 0x5c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x44971c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x44971c
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
xorps xmm0, xmm0
mov dword [ebp - 0x34], 0
movq qword [ebp - 0x3c], xmm0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0
mov byte [ebp - 4], 0xd
mov ecx, 1
movaps xmm2, xmmword [0x474690]
xor eax, eax
mov dword [ebp - 0x80], 0x2d2d4352
mov dword [ebp - 0x7c], 0x35343332
mov dword [ebp - 0x78], 0x61534350
mov dword [ebp - 0x74], 0x2d302e32
mov dword [ebp - 0x70], 0x2d736843
mov dword [ebp - 0x6c], 0x61435243
mov dword [ebp - 0x68], 0x38313031
mov dword [ebp - 0x64], 0x35313032
movd xmm3, ecx
nop word [eax + eax]
movd xmm0, eax
pshufd xmm1, xmm0, 0
movups xmm0, xmmword [ebp + eax*4 - 0x80]
paddd xmm1, xmm2
pslld xmm0, xmm3
paddd xmm1, xmm0
movups xmmword [ebp + eax*4 - 0x80], xmm1
add eax, 4
cmp eax, 8
jl 0x448ba0
mov ecx, dword [ebp - 0x2c]
mov eax, 0x10624dd3
mov esi, dword [ebp - 0x30]
sub ecx, esi
imul ecx
lea ecx, [ebp - 0x3c]
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
imul eax, eax, 0x3e8
push ecx
lea ecx, [ebp - 0x80]
push eax
push esi
call fcn.0045c2e0
test al, al
jne 0x448db6
mov byte [ebp - 4], 0xc
mov ecx, dword [ebp - 0x3c]
test ecx, ecx
je 0x448c4b
mov edx, dword [ebp - 0x34]
mov eax, ecx
sub edx, ecx
cmp edx, 0x1000
jb 0x448c2c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x448c2c
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.0045e2e4
add esp, 8
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0
mov byte [ebp - 4], 3
mov esi, dword [ebp - 0x30]
test esi, esi
je 0x448cb1
mov ecx, dword [ebp - 0x28]
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 0x448c92
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x448c92
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push esi
call fcn.0045e2e4
add esp, 8
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
mov byte [ebp - 4], 2
mov esi, dword [ebp - 0x1c]
test esi, esi
je 0x448d2c
mov edi, dword [ebp - 0x18]
cmp esi, edi
je 0x448cd4
mov ecx, esi
call fcn.00447d50
add esi, 0x68
cmp esi, edi
jne 0x448cc3
mov esi, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x14]
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 0x448d0d
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x448d0d
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push esi
call fcn.0045e2e4
add esp, 8
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov byte [ebp - 4], 1
cmp byte [ebp - 0x151], 0
je 0x448d4b
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x448d47
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov byte [ebp - 0x20], 0
mov dword [ebp - 0x44], 0
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x448d6b
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x24], 0
mov word [ebp - 0x20], 0
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x48]
cmp edx, 8
jb 0x449726
mov ecx, dword [ebp - 0x5c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x44971c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x44971c
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
mov esi, dword [ebp - 0x3c]
cmp esi, dword [ebp - 0x38]
jne 0x448f79
mov byte [ebp - 4], 0xc
test esi, esi
je 0x448e0e
mov ecx, dword [ebp - 0x34]
mov eax, esi
sub ecx, esi
cmp ecx, 0x1000
jb 0x448def
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x448def
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push esi
call fcn.0045e2e4
add esp, 8
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0
mov byte [ebp - 4], 3
mov esi, dword [ebp - 0x30]
test esi, esi
je 0x448e74
mov ecx, dword [ebp - 0x28]
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 0x448e55
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x448e55
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push esi
call fcn.0045e2e4
add esp, 8
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
mov byte [ebp - 4], 2
mov esi, dword [ebp - 0x1c]
test esi, esi
je 0x448eef
mov edi, dword [ebp - 0x18]
cmp esi, edi
je 0x448e97
mov ecx, esi
call fcn.00447d50
add esi, 0x68
cmp esi, edi
jne 0x448e86
mov esi, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x14]
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 0x448ed0
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x448ed0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push esi
call fcn.0045e2e4
add esp, 8
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov byte [ebp - 4], 1
cmp byte [ebp - 0x151], 0
je 0x448f0e
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x448f0a
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov byte [ebp - 0x20], 0
mov dword [ebp - 0x44], 0
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x448f2e
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x24], 0
mov word [ebp - 0x20], 0
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x48]
cmp edx, 8
jb 0x449726
mov ecx, dword [ebp - 0x5c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x44971c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x44971c
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
mov eax, dword [ebp - 0x170]
mov ecx, eax
cmp dword [eax + 0x14], 8
jb 0x448f89
mov ecx, dword [eax]
push ecx
push 0x80
push 4
push ecx
push 0
mov edx, 0x40000000
call fcn.004326d0
mov edi, eax
add esp, 0x14
cmp edi, 0xffffffff
je 0x448fb0
test edi, edi
jne 0x449062
push ecx
mov ecx, dword [ebp - 0x170]
push 0x471c00
call fcn.00429a40
cmp eax, 0xffffffff
je 0x449062
mov edi, dword [ebp - 0x170]
mov ecx, edi
push eax
push 0
lea eax, [ebp - 0x78]
push eax
call fcn.00405500
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x78]
call fcn.004292a0
cmp dword [edi + 0x14], 8
jb 0x448ff2
mov edi, dword [edi]
push ecx
push 0x80
push 4
push ecx
push 0
mov edx, 0x40000000
mov ecx, edi
call fcn.004326d0
add esp, 0x14
mov edi, eax
mov byte [ebp - 4], 0xd
mov edx, dword [ebp - 0x64]
cmp edx, 8
jb 0x44904e
mov ecx, dword [ebp - 0x78]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x449044
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x449044
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.0045e2e4
add esp, 8
xor eax, eax
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x64], 7
mov word [ebp - 0x78], ax
cmp edi, 0xffffffff
je 0x44946c
test edi, edi
je 0x44946c
push 0
push 0
push 0
push edi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov eax, dword [ebp - 0x38]
lea ecx, [ebp - 0x60]
push 0
push ecx
sub eax, esi
mov dword [ebp - 0x60], 0
push eax
push esi
push edi
mov dword [ebp - 0x160], 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 - 0x160]
cmp dword [ebp - 0x60], eax
jne 0x4492e4
mov edx, dword [ebp - 0x174]
lea eax, [ebp - 0x1c]
cmp edx, eax
je 0x4490ef
mov ecx, dword [edx]
mov eax, dword [ebp - 0x1c]
mov dword [edx], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x1c], ecx
mov ecx, dword [edx + 4]
mov dword [edx + 4], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x18], ecx
mov ecx, dword [edx + 8]
mov dword [edx + 8], eax
mov dword [ebp - 0x14], ecx
mov edi, dword [edx]
xor ecx, ecx
mov dword [ebp - 0x158], 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 0x449157
xor esi, esi
nop dword [eax]
nop word [eax + eax]
mov eax, dword [ebp - 0x174]
lea esi, [esi + 0x68]
inc dword [ebp - 0x158]
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 - 0x158], eax
jb 0x449120
mov esi, dword [ebp - 0x3c]
mov byte [ebp - 4], 0xc
test esi, esi
je 0x4491a3
mov ecx, dword [ebp - 0x34]
mov eax, esi
sub ecx, esi
cmp ecx, 0x1000
jb 0x449184
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x449184
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push esi
call fcn.0045e2e4
add esp, 8
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0
mov byte [ebp - 4], 3
mov esi, dword [ebp - 0x30]
test esi, esi
je 0x449209
mov ecx, dword [ebp - 0x28]
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 0x4491ea
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4491ea
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push esi
call fcn.0045e2e4
add esp, 8
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
mov byte [ebp - 4], 2
mov esi, dword [ebp - 0x1c]
test esi, esi
je 0x449289
mov edi, dword [ebp - 0x18]
cmp esi, edi
je 0x449231
nop dword [eax + eax]
mov ecx, esi
call fcn.00447d50
add esi, 0x68
cmp esi, edi
jne 0x449220
mov esi, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x14]
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 0x44926a
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x44926a
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push esi
call fcn.0045e2e4
add esp, 8
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov byte [ebp - 4], 1
cmp byte [ebp - 0x151], 0
je 0x4492a8
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x4492a4
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov byte [ebp - 0x20], 0
mov dword [ebp - 0x44], 0
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x4492c8
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x24], 0
mov word [ebp - 0x20], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x5c]
call fcn.00405620
mov al, 1
jmp 0x449738
mov byte [ebp - 4], 0xc
test esi, esi
je 0x449330
mov ecx, dword [ebp - 0x34]
mov eax, esi
sub ecx, esi
cmp ecx, 0x1000
jb 0x449311
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x449311
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push esi
call fcn.0045e2e4
add esp, 8
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0
mov byte [ebp - 4], 3
mov esi, dword [ebp - 0x30]
test esi, esi
je 0x449396
mov ecx, dword [ebp - 0x28]
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 0x449377
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x449377
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push esi
call fcn.0045e2e4
add esp, 8
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
mov byte [ebp - 4], 2
mov esi, dword [ebp - 0x1c]
test esi, esi
je 0x449417
mov edi, dword [ebp - 0x18]
cmp esi, edi
je 0x4493b9
mov ecx, esi
call fcn.00447d50
add esi, 0x68
cmp esi, edi
jne 0x4493a8
mov esi, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x14]
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 0x4493f2
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4493f2
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push esi
call fcn.0045e2e4
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
add esp, 8
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov byte [ebp - 4], 1
cmp byte [ebp - 0x151], 0
je 0x449436
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x449432
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov byte [ebp - 0x20], 0
mov dword [ebp - 0x44], 0
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x449452
push eax
call edi
mov dword [ebp - 0x24], 0
mov word [ebp - 0x20], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x5c]
call fcn.00405620
jmp 0x449736
mov byte [ebp - 4], 0xc
test esi, esi
je 0x4494b8
mov ecx, dword [ebp - 0x34]
mov eax, esi
sub ecx, esi
cmp ecx, 0x1000
jb 0x449499
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x449499
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push esi
call fcn.0045e2e4
add esp, 8
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0
mov byte [ebp - 4], 3
mov esi, dword [ebp - 0x30]
test esi, esi
je 0x44951e
mov ecx, dword [ebp - 0x28]
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 0x4494ff
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4494ff
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push esi
call fcn.0045e2e4
add esp, 8
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
mov byte [ebp - 4], 2
mov esi, dword [ebp - 0x1c]
test esi, esi
je 0x449599
mov edi, dword [ebp - 0x18]
cmp esi, edi
je 0x449541
mov ecx, esi
call fcn.00447d50
add esi, 0x68
cmp esi, edi
jne 0x449530
mov esi, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x14]
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 0x44957a
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x44957a
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push esi
call fcn.0045e2e4
add esp, 8
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov byte [ebp - 4], 1
cmp byte [ebp - 0x151], 0
je 0x4495b8
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x4495b4
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov byte [ebp - 0x20], 0
mov dword [ebp - 0x44], 0
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x4495d8
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x24], 0
mov word [ebp - 0x20], 0
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x48]
cmp edx, 8
jb 0x449726
mov ecx, dword [ebp - 0x5c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x44971c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x44971c
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 - 0x1c]
test esi, esi
je 0x44969e
mov edi, dword [ebp - 0x18]
cmp esi, edi
je 0x449646
mov ecx, esi
call fcn.00447d50
add esi, 0x68
cmp esi, edi
jne 0x449635
mov esi, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x14]
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 0x44967f
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x44967f
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push esi
call fcn.0045e2e4
add esp, 8
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov byte [ebp - 4], 1
cmp byte [ebp - 0x151], 0
je 0x4496bd
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x4496b9
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov byte [ebp - 0x20], 0
mov dword [ebp - 0x44], 0
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x4496dd
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x24], 0
mov word [ebp - 0x20], 0
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x48]
cmp edx, 8
jb 0x449726
mov ecx, dword [ebp - 0x5c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x44971c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x44971c
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.0045e2e4
add esp, 8
xor eax, eax
mov dword [ebp - 0x48], 7
mov word [ebp - 0x5c], ax
mov dword [ebp - 0x4c], eax
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0045df15
mov esp, ebp
pop ebp
ret 0xc
call fcn.0040a580
int3