Function at 0x100576d0
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100c4bc0
mov eax, dword fs:[0]
push eax
sub esp, 0x90
mov eax, dword [0x100f7084]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x74], ecx
mov eax, dword [ebp - 0x74]
cmp dword [eax + 8], 0
je 0x1005770e
mov al, 1
jmp 0x10057925
call fcn.1003ff40
add eax, 0x2d4
push eax
lea ecx, [ebp - 0x28]
push ecx
call fcn.1002f210
add esp, 8
mov dword [ebp - 0x84], eax
mov ecx, dword [ebp - 0x84]
call fcn.10049c40
push eax
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov edx, dword [ebp - 0x74]
mov dword [edx + 4], eax
lea ecx, [ebp - 0x28]
call fcn.1000c290
mov eax, dword [ebp - 0x74]
cmp dword [eax + 4], 0
jne 0x10057761
xor al, al
jmp 0x10057925
push 0xa00
push 0
call fcn.1003ff40
add eax, 0x2ec
push eax
lea ecx, [ebp - 0x70]
push ecx
call fcn.1002f210
add esp, 8
mov dword [ebp - 0x88], eax
mov edx, dword [ebp - 0x88]
mov dword [ebp - 0x8c], edx
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x8c]
push eax
lea ecx, [ebp - 0x58]
push ecx
call fcn.1005e140
mov ecx, eax
call fcn.1005e030
mov dword [ebp - 0x90], eax
mov edx, dword [ebp - 0x90]
mov dword [ebp - 0x94], edx
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x94]
push eax
lea ecx, [ebp - 0x40]
push ecx
call fcn.10035f90
add esp, 0xc
mov dword [ebp - 0x98], eax
mov ecx, dword [ebp - 0x98]
call fcn.10049c40
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov dword [ebp - 0x78], eax
lea ecx, [ebp - 0x40]
call fcn.1000c290
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x58]
call fcn.1000c290
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x70]
call fcn.1000c290
cmp dword [ebp - 0x78], 0
jne 0x1005783a
mov edx, dword [ebp - 0x74]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0x74]
mov dword [ecx + 4], 0
xor al, al
jmp 0x10057925
push str.StartAcc
mov edx, dword [ebp - 0x78]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0x74]
mov ecx, dword [ebp - 0x7c]
mov dword [eax + 0xc], ecx
cmp dword [ebp - 0x7c], 0
je 0x1005787c
push str.StopAcc
mov edx, dword [ebp - 0x78]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0x74]
mov ecx, dword [ebp - 0x80]
mov dword [eax + 0x10], ecx
cmp dword [ebp - 0x80], 0
jne 0x100578ce
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x9c], eax
mov edx, dword [ebp - 0x78]
push edx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, dword [ebp - 0x74]
mov dword [eax + 0xc], 0
mov ecx, dword [ebp - 0x74]
mov dword [ecx + 0x10], 0
mov edx, dword [ebp - 0x74]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0x74]
mov dword [ecx + 4], 0
mov edx, dword [ebp - 0x9c]
push edx
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor al, al
jmp 0x10057925
push str.SetRouteConfig
mov eax, dword [ebp - 0x78]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [ebp - 0x74]
mov dword [ecx + 0x14], eax
push str.SetRouteServer
mov edx, dword [ebp - 0x78]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [ebp - 0x74]
mov dword [ecx + 0x18], eax
push str.SetExtraConfig
mov edx, dword [ebp - 0x78]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [ebp - 0x74]
mov dword [ecx + 0x1c], eax
mov edx, dword [ebp - 0x74]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.KERNEL32.dll_ResetEvent]
mov ecx, dword [ebp - 0x74]
mov edx, dword [ebp - 0x78]
mov dword [ecx + 8], edx
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10086b0f
mov esp, ebp
pop ebp
ret