Function at 0x10001840
Capabilities:
Contain obfuscated stackstrings
Encode data using xor
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100040d5
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x1000700c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x20], ecx
call fcn.100011e0
mov ecx, eax
test ecx, ecx
je 0x10001ae7
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x18], eax
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x14], 0
call fcn.10001570
mov byte [ebp - 4], 1
mov eax, 0x12
mov dword [ebp - 0x54], eax
xor ecx, ecx
mov dword [ebp - 0x50], 0x3a006d
mov dword [ebp - 0x4c], 0x380016
mov dword [ebp - 0x48], 0x280038
mov dword [ebp - 0x44], 0x22002f
mov dword [ebp - 0x40], 0x320011
mov dword [ebp - 0x3c], 0x3a0026
mov dword [ebp - 0x38], 0x300022
mov dword [ebp - 0x34], 0x3f000a
mov dword [ebp - 0x30], 0x3d0031
mov dword [ebp - 0x2c], 0x5a
lea eax, [ecx + 0x48]
xor word [ebp + ecx*2 - 0x50], ax
inc ecx
mov eax, dword [ebp - 0x54]
cmp ecx, eax
jb 0x100018f2
xor ecx, ecx
mov word [ebp + eax*2 - 0x50], cx
lea eax, [ebp - 0x50]
push dword [ebp - 0x14]
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.10002500
mov esi, dword [ebp - 0x18]
push 0x10005338
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__wfopen]
mov ebx, eax
add esp, 0x14
mov dword [ebp - 0x24], ebx
test ebx, ebx
je 0x10001961
push 2
push 0
push ebx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
push ebx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov ecx, dword [ebp - 0x20]
mov edi, eax
add esp, 0x10
mov dword [ebp - 0x58], edi
mov dword [ecx], edi
test edi, edi
jne 0x100019be
push ebx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 4
xor edi, edi
mov byte [ebp - 4], 0
or ebx, 0xffffffff
mov edx, dword [ebp - 0x14]
mov eax, ebx
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10001984
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x100019a0
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100031ac
mov esp, ebp
pop ebp
ret
cmp edi, 0x7fffffff
ja 0x10001af1
cmp edi, 0x1000
jb 0x100019fb
lea eax, [edi + 0x23]
cmp eax, edi
jbe 0x10001af6
push eax
call fcn.1000326f
add esp, 4
test eax, eax
je 0x100019f5
lea ebx, [eax + 0x23]
and ebx, 0xffffffe0
mov dword [ebx - 4], eax
jmp 0x10001a06
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edi
call fcn.1000326f
add esp, 4
mov ebx, eax
push edi
push 0
push ebx
call sub.VCRUNTIME140.dll_memset
mov eax, dword [ebp - 0x20]
push dword [eax]
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
add esp, 0x10
mov dword [ebp - 0x28], eax
test eax, eax
jne 0x10001a2f
push dword [ebp - 0x24]
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
jmp 0x10001a6c
mov edi, dword [ebp - 0x24]
push 0
push 0
push edi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
mov eax, dword [ebp - 0x20]
push edi
push dword [eax]
push 1
push ebx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
push dword [ebp - 0x24]
mov edi, eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov eax, dword [ebp - 0x20]
add esp, 0x20
mov eax, dword [eax]
cmp edi, eax
je 0x10001aa9
push dword [ebp - 0x28]
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
xor edi, edi
test ebx, ebx
je 0x10001963
mov ecx, dword [ebp - 0x58]
cmp ecx, 0x1000
jb 0x10001a9a
mov edx, dword [ebx - 4]
add ecx, 0x23
sub ebx, edx
lea eax, [ebx - 4]
cmp eax, 0x1f
ja 0x100019f5
mov ebx, edx
push ecx
push ebx
call fcn.100035b9
add esp, 8
jmp 0x10001963
lea eax, [eax + eax*4]
push eax
push dword [ebp - 0x28]
mov dword [ebp - 0x1c], eax
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_realloc]
mov edi, eax
add esp, 8
test edi, edi
je 0x10001a6f
mov eax, dword [ebp - 0x20]
push dword [eax]
lea eax, [ebp - 0x1c]
push ebx
push eax
push edi
call dword [sym.imp.zlib1.dll_uncompress]
add esp, 0x10
test eax, eax
je 0x10001add
push edi
jmp 0x10001a66
mov ecx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x1c]
mov dword [ecx], eax
jmp 0x10001a71
push 0x80004005
call fcn.10001040
call fcn.10002700
call fcn.100014d0
int3