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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10010696
mov eax, dword fs:[0]
push eax
sub esp, 0x7c
push ebx
push esi
push edi
mov eax, dword [0x1001629c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edx, dword [0x10016f58]
push edx
lea eax, [ebp - 0x14]
xor ecx, ecx
push eax
mov dword [ebp - 0x48], 0x670061
mov dword [ebp - 0x44], 0x6e0065
mov dword [ebp - 0x40], 0x2d0074
mov dword [ebp - 0x3c], 0x6f0063
mov dword [ebp - 0x38], 0x66006e
mov dword [ebp - 0x34], 0x670069
mov dword [ebp - 0x30], 0x78002e
mov dword [ebp - 0x2c], 0x6c006d
mov word [ebp - 0x28], cx
call fcn.10003d20
add esp, 8
lea ecx, [ebp - 0x48]
push ecx
push eax
lea edx, [ebp - 0x10]
push edx
call fcn.10002170
xor ebx, ebx
mov dword [ebp - 4], ebx
mov esi, dword [ebp - 0x14]
add esi, 0xfffffff4
cmp esi, 0x10016f18
je 0x1000607e
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x1000607e
push esi
call fcn.10007aa7
add esp, 4
mov ecx, dword [ebp - 0x10]
lea eax, [ebp - 0x70]
push eax
mov dword [ebp - 0x24], 0x2a9b4252
mov dword [ebp - 0x20], 0x25766843
call fcn.10007570
add esp, 4
mov ecx, dword [ebp - 0x64]
sub ecx, dword [ebp - 0x68]
je 0x10006203
sub esp, 0x14
mov esi, esp
mov dword [ebp - 0x1c], esp
push 8
mov dword [esi], ebx
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
call section..text
test eax, eax
je 0x100060da
mov eax, dword [esi + 0xc]
mov edx, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x20]
mov dword [eax], edx
mov dword [eax + 4], ecx
add dword [esi + 0xc], 8
sub esp, 0x14
mov ecx, esp
lea eax, [ebp - 0x70]
mov dword [ebp - 0x1c], esp
mov dword [ecx], ebx
mov dword [ecx + 4], ebx
mov dword [ecx + 8], ebx
mov dword [ecx + 0xc], ebx
mov dword [ecx + 0x10], ebx
call fcn.100010d0
lea ecx, [ebp - 0x5c]
call fcn.10003b40
add esp, 0x28
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x50]
mov ecx, dword [ebp - 0x54]
sub eax, ecx
je 0x100061e1
or edi, 0xffffffff
cmp eax, 4
jb 0x10006125
mov edi, dword [ecx]
add ecx, 4
mov dword [ebp - 0x54], ecx
lea edx, [ebp - 0x5c]
push edx
lea esi, [ebp - 0x84]
call fcn.10002250
lea ebx, [ebp - 0x14]
mov edi, esi
mov byte [ebp - 4], 3
call fcn.10005070
push eax
mov eax, 0x10016f44
call fcn.10006e10
mov esi, dword [ebp - 0x14]
add esi, 0xfffffff4
cmp esi, 0x10016f18
je 0x1000616f
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x1000616f
push esi
call fcn.10007aa7
add esp, 4
mov eax, dword [ebp - 0x78]
mov ecx, dword [ebp - 0x7c]
sub eax, ecx
je 0x100061c6
or edi, 0xffffffff
cmp eax, 4
jb 0x10006189
mov edi, dword [ecx]
add ecx, 4
mov dword [ebp - 0x7c], ecx
lea eax, [ebp - 0x84]
push eax
lea esi, [ebp - 0x3c]
call fcn.10002250
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x30]
sub ecx, dword [ebp - 0x34]
je 0x100061b0
push 0x10016f48
mov ecx, esi
call fcn.100056a0
mov eax, dword [ebp - 0x38]
test eax, eax
je 0x100061c6
cmp dword [ebp - 0x3c], 0
jne 0x100061c6
push eax
call fcn.10007aa7
add esp, 4
mov eax, dword [ebp - 0x80]
test eax, eax
je 0x100061df
cmp dword [ebp - 0x84], 0
jne 0x100061df
push eax
call fcn.10007aa7
add esp, 4
xor ebx, ebx
mov eax, dword [ebp - 0x58]
cmp eax, ebx
je 0x10006493
cmp dword [ebp - 0x5c], ebx
jne 0x10006493
push eax
call fcn.10007aa7
add esp, 4
jmp 0x10006493
lea edi, [ebp - 0x14]
call fcn.10002710
push eax
mov eax, 0x10016f44
call fcn.10006e10
mov esi, dword [ebp - 0x14]
add esi, 0xfffffff4
cmp esi, 0x10016f18
je 0x10006238
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x10006238
push esi
call fcn.10007aa7
add esp, 4
mov dword [ebp - 0x5c], ebx
mov dword [ebp - 0x58], ebx
mov dword [ebp - 0x54], ebx
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0x4c], ebx
mov byte [ebp - 4], 5
mov edx, dword [0x10016f44]
push ebx
lea ecx, [ebp - 0x14]
call fcn.100011b0
add esp, 4
mov byte [ebp - 4], 6
mov edx, dword [eax]
lea eax, [ebp - 0x5c]
call fcn.10004ff0
mov esi, dword [ebp - 0x14]
add esi, 0xfffffff4
cmp esi, 0x10016f18
je 0x1000628d
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x1000628d
push esi
call fcn.10007aa7
add esp, 4
xor esi, esi
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x2c], ebx
mov edi, dword [ebp - 0x50]
sub edi, dword [ebp - 0x54]
push 4
call fcn.10007ae1
mov ebx, eax
add esp, 4
mov dword [ebp - 0x38], ebx
test ebx, ebx
je 0x100062c9
mov ecx, 4
lea esi, [ebx + 4]
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x2c], ecx
mov dword [ebx], edi
mov dword [ebp - 0x30], esi
jmp 0x100062cf
mov ecx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x34]
mov edx, dword [ebp - 0x54]
mov edi, dword [ebp - 0x50]
sub edi, edx
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x1c], edx
je 0x10006342
mov edx, ecx
sub edx, esi
add edx, ebx
cmp edi, edx
jbe 0x1000632f
test edi, edi
je 0x10006342
sub eax, ebx
mov dword [ebp - 0x14], eax
xor eax, eax
sub esi, ebx
test ebx, ebx
setne al
add edi, ecx
push edi
test eax, eax
je 0x1000630d
push ebx
call fcn.10007c07
add esp, 8
jmp 0x10006315
call fcn.10007ae1
add esp, 4
mov ebx, eax
mov dword [ebp - 0x38], ebx
test ebx, ebx
je 0x10006342
mov eax, dword [ebp - 0x14]
lea ecx, [ebx + eax]
mov dword [ebp - 0x2c], edi
mov edi, dword [ebp - 0x18]
mov dword [ebp - 0x34], ecx
add esi, ebx
mov edx, dword [ebp - 0x1c]
push edi
push edx
push esi
call fcn.1000c270
add esp, 0xc
add esi, edi
mov dword [ebp - 0x30], esi
sub esp, 0x14
mov esi, esp
xor eax, eax
mov dword [ebp - 0x1c], esp
push 8
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
call section..text
test eax, eax
je 0x10006377
mov eax, dword [esi + 0xc]
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 0x20]
mov dword [eax], ecx
mov dword [eax + 4], edx
add dword [esi + 0xc], 8
xor eax, eax
sub esp, 0x14
mov ecx, esp
mov dword [ecx], eax
mov dword [ecx + 4], eax
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], eax
mov dword [ecx + 0x10], eax
lea eax, [ebp - 0x3c]
mov dword [ebp - 0x1c], esp
call fcn.100010d0
lea edi, [ebp - 0x84]
call fcn.100039e0
add esp, 0x28
mov byte [ebp - 4], 8
mov eax, dword [ebp - 0x7c]
mov esi, dword [ebp - 0x78]
mov ecx, dword [ebp - 0x10]
xor edi, edi
sub esi, eax
mov dword [ebp - 0x18], eax
cmp word [ecx], di
je 0x100063fe
cmp eax, edi
je 0x100063fe
cmp esi, edi
jbe 0x100063fe
push edi
push edi
push 2
push edi
push 1
push 0xc0000000
push ecx
mov dword [ebp - 0x1c], edi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x100063fc
mov ecx, dword [ebp - 0x18]
push 0
lea eax, [ebp - 0x1c]
push eax
push esi
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor edi, edi
mov edx, dword [ebp - 0x10]
push edx
call fcn.10003e70
mov eax, dword [0x10016f58]
add esp, 4
push eax
lea ecx, [ebp - 0x1c]
push ecx
call fcn.10003d20
mov byte [ebp - 4], 9
mov edx, dword [eax]
push edx
call fcn.10004150
mov esi, dword [ebp - 0x1c]
add esi, 0xfffffff4
add esp, 0xc
cmp esi, 0x10016f18
je 0x1000644a
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x1000644a
push esi
call fcn.10007aa7
add esp, 4
mov eax, dword [ebp - 0x80]
cmp eax, edi
je 0x10006462
cmp dword [ebp - 0x84], edi
jne 0x10006462
push eax
call fcn.10007aa7
add esp, 4
mov dword [ebp - 0x80], edi
mov dword [ebp - 0x7c], edi
mov dword [ebp - 0x78], edi
mov dword [ebp - 0x74], edi
cmp ebx, edi
je 0x1000647b
push ebx
call fcn.10007aa7
add esp, 4
mov eax, dword [ebp - 0x58]
cmp eax, edi
je 0x10006491
cmp dword [ebp - 0x5c], 0
jne 0x10006491
push eax
call fcn.10007aa7
add esp, 4
xor ebx, ebx
mov eax, dword [ebp - 0x6c]
cmp eax, ebx
je 0x100064a8
cmp dword [ebp - 0x70], ebx
jne 0x100064a8
push eax
call fcn.10007aa7
add esp, 4
mov esi, dword [ebp - 0x10]
add esi, 0xfffffff4
mov dword [ebp - 0x6c], ebx
mov dword [ebp - 0x68], ebx
mov dword [ebp - 0x64], ebx
mov dword [ebp - 0x60], ebx
cmp esi, 0x10016f18
je 0x100064d6
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x100064d6
push esi
call fcn.10007aa7
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret