Function at 0x10016ae0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1009de5c
mov eax, dword fs:[0]
push eax
sub esp, 0x2fc
mov eax, dword [0x100cd4bc]
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 esi, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
push 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
test edi, edi
je 0x10016d9b
mov eax, edi
lea edx, [eax + 2]
nop dword [eax]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x10016b30
sub eax, edx
sar eax, 1
je 0x10016d9b
test esi, esi
je 0x10016d9b
xor eax, eax
mov dword [ebp - 0x5c], 0x460038
mov word [ebp - 0x14], ax
lea ecx, [ebp - 0x268]
lea eax, [ebp - 0x5c]
mov dword [ebp - 0x58], 0x320044
push eax
mov dword [ebp - 0x54], 0x410038
mov dword [ebp - 0x50], 0x320038
mov dword [ebp - 0x4c], 0x34002d
mov dword [ebp - 0x48], 0x430042
mov dword [ebp - 0x44], 0x2d0030
mov dword [ebp - 0x40], 0x450034
mov dword [ebp - 0x3c], 0x430039
mov dword [ebp - 0x38], 0x42002d
mov dword [ebp - 0x34], 0x340033
mov dword [ebp - 0x30], 0x2d0036
mov dword [ebp - 0x2c], 0x380039
mov dword [ebp - 0x28], 0x320043
mov dword [ebp - 0x24], 0x390036
mov dword [ebp - 0x20], 0x390043
mov dword [ebp - 0x1c], 0x430034
mov dword [ebp - 0x18], 0x310042
call fcn.10002180
push edi
lea ecx, [ebp - 0x26c]
mov dword [ebp - 4], 0
call fcn.10002180
lea eax, [ebp - 0x268]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x26c]
push eax
lea eax, [ebp - 0x270]
push eax
call fcn.1005f860
add esp, 0xc
mov edx, dword [ebp - 0x26c]
or ebx, 0xffffffff
mov byte [ebp - 4], 3
add edx, 0xfffffff0
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10016c38
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x268]
mov eax, ebx
mov byte [ebp - 4], 4
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10016c59
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
test esi, esi
je 0x10016dbb
push esi
push dword [ebp - 0x270]
call fcn.1007b7f8
add esp, 8
test eax, eax
jne 0x10016d73
push 0x208
push eax
lea eax, [ebp - 0x264]
push eax
call fcn.1006c590
add esp, 0xc
lea eax, [ebp - 0x264]
push 0x104
push eax
push dword [0x100cf248]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov esi, dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea eax, [ebp - 0x264]
push eax
call esi
lea eax, [ebp - 0x264]
push eax
call esi
push str.LogBasic.log
lea eax, [ebp - 0x264]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
push 0
lea eax, [ebp - 0x264]
push eax
call fcn.10054a30
push 1
call fcn.10016900
mov ecx, eax
call fcn.10016dd0
test eax, eax
jne 0x10016d47
call fcn.10054ac0
test eax, eax
je 0x10016d47
call fcn.10054ac0
mov ecx, eax
mov edx, dword [eax]
mov eax, dword [edx + 4]
call eax
test al, al
je 0x10016d47
call fcn.10054ac0
lea ecx, [ebp - 0x308]
mov edi, eax
call fcn.10003290
mov esi, eax
push str.basic_net_init_fail
push esi
mov byte [ebp - 4], 5
call fcn.10009210
mov edx, dword [edi]
add esp, 8
mov ecx, edi
push esi
call dword [edx + 0x14]
lea ecx, [ebp - 0x308]
mov byte [ebp - 4], 4
call fcn.10003f50
push 0xc
call fcn.1006129e
mov esi, eax
add esp, 4
mov dword [ebp - 0x268], esi
test esi, esi
je 0x10016d73
mov dword [esi], vtable.CLuaExplain.0
mov dword [esi + 8], 0
mov dword [esi + 4], 0
jmp 0x10016d75
xor esi, esi
mov eax, dword [ebp - 0x270]
mov dword [ebp - 4], 0xffffffff
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x10016d97
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, esi
jmp 0x10016d9d
xor eax, eax
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.100612dc
mov esp, ebp
pop ebp
ret 8
push 0x80004005
call fcn.100015b0
int3