Function at 0x10029ed0
Capabilities:
Print debug messages

Disassembly:
sub esp, 0x608
push ebx
push ebp
push esi
push edi
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x11]
mov byte [esp + 0x10], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0xff
xor eax, eax
lea edi, [esp + 0x219]
mov byte [esp + 0x218], 0
rep stosd dword es:[edi], eax
mov edx, dword [esp + 0x61c]
stosw word es:[edi], ax
test edx, edx
stosb byte es:[edi], al
jne 0x10029f24
lea eax, [esp + 0x10]
push eax
call fcn.1002a600
add esp, 4
jmp 0x10029f82
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x115]
mov byte [esp + 0x114], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 0x114]
push 0x104
push eax
push edx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea ecx, [esp + 0x114]
push 0x5c
push ecx
call fcn.10030560
lea edx, [esp + 0x11c]
lea ecx, [esp + 0x18]
sub eax, edx
inc eax
push eax
lea eax, [esp + 0x120]
push eax
push ecx
call fcn.1002bce0
add esp, 0x14
mov edi, str.XWebCS.dll
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x10]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
lea eax, [esp + 0x10]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test eax, eax
je 0x10029fd4
mov ebp, dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [0x10053bd4], eax
call ebp
push eax
push str.__lu__XWebCS.dll_already_loaded..._n
jmp 0x1002a049
push 8
lea eax, [esp + 0x14]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExA]
test eax, eax
mov dword [0x10053bd4], eax
jne 0x1002a03b
mov ecx, 0x100
mov edi, 0x10053bdc
rep stosd dword es:[edi], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push str.__lu__Failed_to_load_XWebCS.dll____lu
push 0x10053bdc
call dword [sym.imp.USER32.dll_wsprintfA]
push 0x10053bdc
call fcn.1002a710
push 0xffffe4a8
call fcn.1002a110
add esp, 0x18
or eax, 0xffffffff
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x608
ret
mov ebp, dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
call ebp
push eax
push str.__lu__XWebCS.dll_loaded_successfully..._n
mov ebx, dword [sym.imp.USER32.dll_wsprintfA]
lea ecx, [esp + 0x220]
push ecx
call ebx
add esp, 0xc
lea edx, [esp + 0x218]
push edx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov ecx, 0x75
xor eax, eax
mov edi, 0x10053a00
rep stosd dword es:[edi], eax
mov eax, dword [0x10053bd4]
test eax, eax
je 0x1002a0f2
xor esi, esi
mov eax, dword [esi + 0x1004ee3c]
mov ecx, dword [0x10053bd4]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
mov dword [esi + 0x10053a00], eax
jne 0x1002a0da
mov edx, dword [esi + 0x1004ee3c]
mov ecx, 0x100
mov edi, 0x10053bdc
push edx
rep stosd dword es:[edi], eax
call ebp
push eax
push str.__lu__Not_supported_function_name____s
push 0x10053bdc
call ebx
push 0x10053bdc
call fcn.1002a710
push 0xffffe4a7
call fcn.1002a110
add esp, 0x18
add esi, 4
cmp esi, 0x1d4
jl 0x1002a083
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x608
ret
push 0xffffe444
call fcn.1002a110
add esp, 4
or eax, 0xffffffff
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x608
ret