Function at 0x1001d500
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100a8c2c
mov eax, dword fs:[0]
push eax
sub esp, 0x2fc
mov eax, dword [0x100db774]
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 0x1001d7bb
mov eax, edi
lea edx, [eax + 2]
nop dword [eax]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x1001d550
sub eax, edx
sar eax, 1
je 0x1001d7bb
test esi, esi
je 0x1001d7bb
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.100039f0
push edi
lea ecx, [ebp - 0x26c]
mov dword [ebp - 4], 0
call fcn.100039f0
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.10067940
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 0x1001d658
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 0x1001d679
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
test esi, esi
je 0x1001d7db
push esi
push dword [ebp - 0x270]
call fcn.10085a3a
add esp, 8
test eax, eax
jne 0x1001d793
push 0x208
push eax
lea eax, [ebp - 0x264]
push eax
call fcn.10075330
add esp, 0xc
lea eax, [ebp - 0x264]
push 0x104
push eax
push dword [0x100dd9c0]
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.1005c240
push 1
call fcn.1001d320
mov ecx, eax
call fcn.1001d7f0
test eax, eax
jne 0x1001d767
call fcn.1005c2e0
test eax, eax
je 0x1001d767
call fcn.1005c2e0
mov ecx, eax
mov edx, dword [eax]
mov eax, dword [edx + 4]
call eax
test al, al
je 0x1001d767
call fcn.1005c2e0
lea ecx, [ebp - 0x308]
mov edi, eax
call fcn.100068b0
mov esi, eax
push str.basic_net_init_fail
push esi
mov byte [ebp - 4], 5
call fcn.1000d460
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.100075c0
push 0xc
call fcn.1006937e
mov esi, eax
add esp, 4
mov dword [ebp - 0x268], esi
test esi, esi
je 0x1001d793
mov dword [esi], vtable.CLuaExplain.0
mov dword [esi + 8], 0
mov dword [esi + 4], 0
jmp 0x1001d795
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 0x1001d7b7
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, esi
jmp 0x1001d7bd
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.100693bc
mov esp, ebp
pop ebp
ret 8
push 0x80004005
call fcn.10001a70
int3