Function at 0x101464d
Capabilities:
Create thread
Initialize winsock library

Disassembly:
mov eax, 0x101c919
call fcn.01017df8
sub esp, 0x1f4
mov eax, dword [0x101f128]
push ebx
xor ebx, ebx
push esi
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x1a8], ecx
mov dword [ebp - 0x1ac], ebx
mov dword [ebp - 0x1b8], ebx
mov dword [ebp - 0x1b4], ebx
mov dword [ebp - 0x1bc], ebx
mov dword [ecx + 0x6d4], ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push ebx
mov dword [0x101fa44], eax
mov dword [ebp - 0x1c4], ebx
call dword [sym.imp.ole32.dll_CoInitialize]
call fcn.01016faf
lea eax, [ebp - 0x1a4]
push eax
push 0x10031dc
call fcn.0101702a
xor esi, esi
inc esi
cmp eax, esi
jne 0x10146cf
push esi
mov ecx, 0x101f2fc
call fcn.0100e39d
jmp 0x10146e3
mov eax, dword [ebp - 0x1a4]
cmp eax, ebx
jle 0x10146e3
and eax, 0xffff
or eax, 0x80070000
cmp eax, ebx
push edi
jge 0x1014707
mov ecx, dword [ebp - 0x1a8]
push eax
mov edi, 0x1483
push edi
push esi
mov dword [ebp - 0x1a4], edi
call fcn.010112cf
mov dword [0x101fa70], edi
lea eax, [ebp - 0x1a4]
push eax
push 0x10031a8
call fcn.0101702a
cmp eax, esi
jne 0x1014723
call fcn.010083c6
jmp 0x1014737
mov eax, dword [ebp - 0x1a4]
cmp eax, ebx
jle 0x1014737
and eax, 0xffff
or eax, 0x80070000
cmp eax, ebx
mov dword [ebp - 0x1b0], eax
mov edi, 0x1488
jge 0x101475a
mov ecx, dword [ebp - 0x1a8]
push eax
push edi
push esi
call fcn.010112cf
mov dword [0x101fa70], edi
mov dword [ebp - 0x1e0], ebx
mov dword [ebp - 0x1dc], ebx
mov dword [ebp - 0x1d8], ebx
mov dword [ebp - 0x1d4], ebx
mov dword [ebp - 0x1d0], ebx
push esi
push ebx
lea ecx, [ebp - 0x1e0]
mov dword [ebp - 4], ebx
call fcn.01014592
cmp dword [0x101fa70], ebx
jne 0x1014903
mov dword [ebp - 0x1c0], ebx
mov edi, dword [sym.imp.ADVAPI32.dll_LookupAccountSidW]
lea eax, [ebp - 0x1cc]
push eax
lea eax, [ebp - 0x1bc]
push eax
push ebx
lea eax, [ebp - 0x1b8]
push eax
push ebx
push dword [0x101f2f8]
mov byte [ebp - 4], 1
push ebx
mov dword [ebp - 0x1ac], ebx
mov dword [ebp - 0x1b8], ebx
mov dword [ebp - 0x1b4], ebx
mov dword [ebp - 0x1bc], ebx
call edi
cmp eax, esi
mov dword [ebp - 0x1c8], eax
je 0x10147f5
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x101487a
mov eax, dword [ebp - 0x1b8]
mov esi, dword [sym.imp.KERNEL32.dll_LocalAlloc]
lea eax, [eax + eax + 2]
push eax
push 0x40
call esi
mov dword [ebp - 0x1ac], eax
mov eax, dword [ebp - 0x1bc]
lea eax, [eax + eax + 2]
push eax
push 0x40
call esi
cmp dword [ebp - 0x1ac], ebx
mov dword [ebp - 0x1b4], eax
je 0x101487a
cmp eax, ebx
je 0x101487a
lea eax, [ebp - 0x1cc]
push eax
lea eax, [ebp - 0x1bc]
push eax
push dword [ebp - 0x1b4]
lea eax, [ebp - 0x1b8]
push eax
push dword [ebp - 0x1ac]
push dword [0x101f2f8]
push ebx
call edi
cmp eax, 1
mov dword [ebp - 0x1c8], eax
jne 0x101487a
push eax
push dword [ebp - 0x1ac]
lea ecx, [ebp - 0x1e0]
call fcn.01013f42
jmp 0x1014880
mov eax, dword [ebp - 0x1b0]
cmp dword [ebp - 0x1c8], ebx
jne 0x10148a2
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, ebx
mov dword [ebp - 0x1a4], eax
jle 0x10148a4
and eax, 0xffff
or eax, 0x80070000
cmp eax, ebx
jl 0x10148d2
lea eax, [ebp - 0x1c0]
push eax
mov ecx, 0x101f2fc
call fcn.0100bdb5
cmp eax, ebx
jl 0x10148d2
push 1
push dword [ebp - 0x1c0]
lea ecx, [ebp - 0x1e0]
call fcn.01013f42
cmp eax, ebx
jge 0x10148ec
mov ecx, dword [ebp - 0x1a8]
push eax
mov esi, 0x148c
push esi
push 1
call fcn.010112cf
mov dword [0x101fa70], esi
push dword [ebp - 0x1c0]
mov byte [ebp - 4], bl
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
xor esi, esi
mov edi, 0x1488
inc esi
push ebx
push ebx
push ebx
push 3
push 4
push ebx
push ebx
push 0xffffffffffffffff
push dword [ebp - 0x1e0]
call dword [sym.imp.ole32.dll_CoInitializeSecurity]
push esi
push 4
push 0x101f398
call fcn.010127d8
mov eax, dword [0x101f21c]
push 0x73
push dword [eax + 8]
mov ecx, 0x101f35c
call fcn.0100db5b
mov eax, dword [0x101f21c]
push 0x74
push dword [eax + 8]
mov ecx, 0x101f360
call fcn.0100db5b
mov eax, dword [0x101f21c]
push 0x75
push dword [eax + 8]
mov ecx, 0x101f364
call fcn.0100db5b
cmp dword [0x101fa70], ebx
jne 0x1014c69
lea eax, [ebp - 0x1a4]
push eax
push 0x1003188
call fcn.0101702a
cmp eax, esi
jne 0x101498f
call sub.mstlsapi.dll_TLSInit
mov dword [ebp - 0x1a4], eax
cmp dword [ebp - 0x1a4], ebx
je 0x10149b0
push dword [ebp - 0x1a4]
mov ecx, dword [ebp - 0x1a8]
push edi
push esi
call fcn.010112cf
mov dword [0x101fa70], edi
cmp dword [0x101fa70], ebx
jne 0x1014c69
lea eax, [ebp - 0x1a4]
push eax
push 0x1003164
call fcn.0101702a
cmp eax, esi
jne 0x10149dc
call fcn.010132c0
mov dword [ebp - 0x1a4], eax
cmp dword [ebp - 0x1a4], ebx
je 0x10149fd
push dword [ebp - 0x1a4]
mov ecx, dword [ebp - 0x1a8]
push edi
push esi
call fcn.010112cf
mov dword [0x101fa70], edi
cmp dword [0x101fa70], ebx
jne 0x1014c69
lea eax, [ebp - 0x1a4]
push eax
push 0x100312c
call fcn.0101702a
cmp eax, esi
jne 0x1014a2f
push ebx
push ebx
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [0x101f394], eax
jmp 0x1014a3b
push dword [ebp - 0x1a4]
call dword [sym.imp.KERNEL32.dll_SetLastError]
cmp dword [0x101f394], ebx
jne 0x1014a5d
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp - 0x1a8]
push eax
push edi
push esi
call fcn.010112cf
mov dword [0x101fa70], edi
cmp dword [0x101fa70], ebx
jne 0x1014c69
lea eax, [ebp - 0x1a4]
push eax
push 0x10030f8
call fcn.0101702a
cmp eax, esi
jne 0x1014a89
call fcn.0101b872
mov dword [ebp - 0x1a4], eax
cmp dword [ebp - 0x1a4], ebx
je 0x1014ab3
push dword [ebp - 0x1a4]
mov ecx, dword [ebp - 0x1a8]
mov esi, 0x1485
push esi
push 1
call fcn.010112cf
mov dword [0x101fa70], esi
xor esi, esi
inc esi
cmp dword [0x101fa70], ebx
jne 0x1014c69
lea eax, [ebp - 0x1a0]
push eax
push 0x101
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
je 0x1014af8
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp - 0x1a8]
push eax
mov esi, 0x1487
push esi
push 1
call fcn.010112cf
mov dword [0x101fa70], esi
xor esi, esi
inc esi
cmp dword [0x101fa70], ebx
jne 0x1014c69
lea eax, [ebp - 0x1a4]
push eax
push 0x1002394
call fcn.0101702a
cmp eax, esi
jne 0x1014b26
push ebx
mov ecx, 0x101f300
call fcn.01010501
jmp 0x1014b3a
mov eax, dword [ebp - 0x1a4]
cmp eax, ebx
jle 0x1014b3c
and eax, 0xffff
or eax, 0x80070000
cmp eax, ebx
jge 0x1014b5b
mov ecx, dword [ebp - 0x1a8]
push eax
mov esi, 0x1484
push esi
push 1
call fcn.010112cf
mov dword [0x101fa70], esi
xor esi, esi
inc esi
cmp dword [0x101fa70], ebx
jne 0x1014c69
cmp dword [0x101f330], ebx
mov ecx, 0x101f2fc
jne 0x1014b87
push ebx
call fcn.0100e1cc
push ebx
mov ecx, 0x101f2fc
call fcn.0100daa3
jmp 0x1014ba2
push esi
call fcn.0100e1cc
push esi
mov ecx, 0x101f2fc
call fcn.0100daa3
mov ecx, 0x101f2fc
call fcn.0100e9f8
lea eax, [ebp - 0x1a4]
push eax
push 0x10030bc
call fcn.0101702a
cmp eax, esi
jne 0x1014bd3
xor eax, eax
cmp dword [0x101f330], ebx
push ebx
sete al
push eax
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [0x101f38c], eax
jmp 0x1014bdf
push dword [ebp - 0x1a4]
call dword [sym.imp.KERNEL32.dll_SetLastError]
cmp dword [0x101f38c], ebx
jne 0x1014c01
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp - 0x1a8]
push eax
push edi
push esi
call fcn.010112cf
mov dword [0x101fa70], edi
lea eax, [ebp - 0x1a4]
push eax
push 0x100307c
call fcn.0101702a
cmp eax, esi
jne 0x1014c3b
lea eax, [ebp - 0x1e4]
push eax
push ebx
push dword [ebp - 0x1a8]
push 0x1013466
push ebx
push ebx
call dword [sym.imp.msvcrt.dll__beginthreadex]
add esp, 0x18
mov dword [0x101f390], eax
jmp 0x1014c47
push dword [ebp - 0x1a4]
call dword [sym.imp.KERNEL32.dll_SetLastError]
cmp dword [0x101f390], ebx
jne 0x1014c69
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp - 0x1a8]
push eax
push edi
push esi
call fcn.010112cf
mov dword [0x101fa70], edi
mov eax, dword [ebp - 0x1a8]
cmp dword [eax + 0x6b0], ebx
je 0x1014c80
push 4
mov ecx, eax
call fcn.0101184e
lea eax, [ebp - 0x1a4]
push eax
push 0x1003054
call fcn.0101702a
cmp eax, esi
jne 0x1014cb1
lea eax, [ebp - 0x1c4]
push eax
push 0x10015f8
push 0x15
push ebx
push 0x1003044
call dword [sym.imp.ole32.dll_CoCreateInstance]
jmp 0x1014cc5
mov eax, dword [ebp - 0x1a4]
cmp eax, ebx
jle 0x1014cc7
and eax, 0xffff
or eax, 0x80070000
cmp eax, ebx
jge 0x1014cd0
mov esi, 0x1489
jmp 0x1014d43
lea eax, [ebp - 0x1a4]
push eax
push 0x1003024
call fcn.0101702a
cmp eax, esi
jne 0x1014cec
call fcn.0100800a
jmp 0x1014d00
mov eax, dword [ebp - 0x1a4]
cmp eax, ebx
jle 0x1014d02
and eax, 0xffff
or eax, 0x80070000
cmp eax, ebx
jl 0x1014d3e
lea eax, [ebp - 0x1a4]
push eax
push 0x1002fe4
call fcn.0101702a
cmp eax, esi
jne 0x1014d26
push dword [ebp - 0x1c4]
call fcn.01008090
jmp 0x1014d3a
mov eax, dword [ebp - 0x1a4]
cmp eax, ebx
jle 0x1014d3c
and eax, 0xffff
or eax, 0x80070000
cmp eax, ebx
jge 0x1014d58
mov esi, 0x148a
mov ecx, dword [ebp - 0x1a8]
push eax
push esi
push 2
call fcn.010112cf
mov dword [0x101fa70], esi
mov esi, dword [sym.imp.USER32.dll_GetMessageW]
jmp 0x1014dd0
mov eax, dword [ebp - 0x1fc]
sub eax, 0x8001
je 0x1014dc5
dec eax
je 0x1014dbe
dec eax
je 0x1014d98
dec eax
je 0x1014d85
lea eax, [ebp - 0x200]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
jmp 0x1014dd0
push dword [ebp - 0x1f4]
push dword [ebp - 0x1f8]
call fcn.0100af2f
jmp 0x1014dd0
call fcn.0101310f
cmp eax, ebx
mov dword [ebp - 0x1a4], eax
je 0x1014dd0
mov ecx, dword [ebp - 0x1a8]
push eax
push edi
push 1
call fcn.010112cf
mov dword [0x101fa70], edi
jmp 0x1014dd0
call fcn.0100b0b3
jmp 0x1014dd0
push dword [ebp - 0x1f4]
call fcn.010140b5
push ebx
push ebx
lea eax, [ebp - 0x200]
push ebx
push eax
call esi
test eax, eax
jne 0x1014d60
call fcn.0100a054
mov eax, dword [0x101f384]
cmp eax, ebx
pop edi
je 0x1014dfc
push eax
call dword [sym.imp.KERNEL32.dll_UnregisterWait]
mov dword [0x101f384], ebx
mov eax, dword [0x101f380]
cmp eax, ebx
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
je 0x1014e14
push eax
call esi
mov dword [0x101f380], ebx
mov eax, dword [0x101f388]
cmp eax, ebx
je 0x1014e2a
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [0x101f388], ebx
mov eax, dword [ebp - 0x1c4]
cmp eax, ebx
je 0x1014e3a
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push 0x101f398
call fcn.01012825
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, dword [0x101f38c]
cmp eax, ebx
je 0x1014e56
push eax
call esi
call dword [sym.imp.WS2_32.dll_WSACleanup]
mov ecx, 0x101f300
call fcn.01010b80
call fcn.010190b7
call fcn.0101b843
call fcn.01008055
cmp dword [ebp - 0x1ac], ebx
mov esi, dword [sym.imp.KERNEL32.dll_LocalFree]
je 0x1014e8b
push dword [ebp - 0x1ac]
call esi
cmp dword [ebp - 0x1b4], ebx
je 0x1014e9b
push dword [ebp - 0x1b4]
call esi
call sub.mstlsapi.dll_TLSShutdown
call fcn.01017006
lea ecx, [ebp - 0x1e0]
call fcn.0101294e
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
pop ebx
call fcn.0101793c
leave
ret