Function at 0x1002a3b0
Capabilities:
Print debug messages

Disassembly:
sub esp, 0x608
push ebx
push esi
push edi
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0xd]
mov byte [esp + 0xc], 0
mov byte [esp + 0x214], 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 + 0x215]
mov edx, dword [esp + 0x618]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
test edx, edx
stosb byte es:[edi], al
jne 0x1002a403
lea eax, [esp + 0xc]
push eax
call fcn.1002a600
add esp, 4
jmp 0x1002a461
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x111]
mov byte [esp + 0x110], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 0x110]
push 0x104
push eax
push edx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea ecx, [esp + 0x110]
push 0x5c
push ecx
call fcn.10030560
lea edx, [esp + 0x118]
lea ecx, [esp + 0x14]
sub eax, edx
inc eax
push eax
lea eax, [esp + 0x11c]
push eax
push ecx
call fcn.1002bce0
add esp, 0x14
mov edi, str.XWebSSL.dll
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0xc]
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 + 0xc]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test eax, eax
je 0x1002a4b3
mov ebx, dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [0x10053fdc], eax
call ebx
push eax
push str.__lu__XWebSSL.dll_already_loaded..._n
jmp 0x1002a527
push 8
lea eax, [esp + 0x10]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExA]
test eax, eax
mov dword [0x10053fdc], eax
jne 0x1002a519
mov ecx, 0x100
mov edi, 0x10053fe4
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_SFGUI.dll____lu
push 0x10053fe4
call dword [sym.imp.USER32.dll_wsprintfA]
push 0x10053fe4
call fcn.1002a710
push 0xffffe4a8
call fcn.1002a700
add esp, 0x18
or eax, 0xffffffff
pop edi
pop esi
pop ebx
add esp, 0x608
ret
mov ebx, dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
call ebx
push eax
push str.__lu__XWebSSL.dll_loaded_successfully..._n
lea ecx, [esp + 0x21c]
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea edx, [esp + 0x214]
push edx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov ecx, 0xa
xor eax, eax
mov edi, 0x10054ee0
rep stosd dword es:[edi], eax
mov eax, dword [0x10053fdc]
test eax, eax
je 0x1002a5da
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_GetLastError]
xor esi, esi
mov eax, dword [esi + 0x1004f924]
mov ecx, dword [0x10053fdc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
mov dword [esi + 0x10054ee0], eax
jne 0x1002a5c5
call ebp
mov edx, dword [esi + 0x1004f924]
mov ecx, 0x100
xor eax, eax
mov edi, 0x10053fe4
rep stosd dword es:[edi], eax
push edx
call ebx
push eax
push str.__lu__Not_supported_function_name____s
push 0x10053fe4
call dword [sym.imp.USER32.dll_wsprintfA]
push 0x10053fe4
call fcn.1002a710
push 0xffffe4a7
call fcn.1002a700
add esp, 0x18
add esi, 4
cmp esi, 0x28
jl 0x1002a566
pop ebp
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x608
ret
push 0xffffe444
call fcn.1002a700
add esp, 4
or eax, 0xffffffff
pop edi
pop esi
pop ebx
add esp, 0x608
ret