Function at 0x1000db10
Capabilities:
Hide graphical window
Print debug messages

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1003137b
mov eax, dword fs:[0]
push eax
sub esp, 0x48
push ebx
push esi
push edi
mov eax, dword [0x1003f050]
xor eax, esp
push eax
lea eax, [esp + 0x58]
mov dword fs:[0], eax
xor esi, esi
push esi
call dword [sym.imp.ole32.dll_OleInitialize]
mov ebx, dword [ebp + 8]
cmp ebx, esi
je 0x1000dd11
push 0x9c
call fcn.1001d3bb
add esp, 4
mov dword [esp + 0x20], eax
mov dword [esp + 0x60], esi
cmp eax, esi
je 0x1000db71
push eax
call fcn.1000ce80
mov esi, eax
mov dword [esp + 0x60], 0xffffffff
mov ecx, dword [ebx + 0xa2c]
mov eax, dword [ebx + 0xa28]
mov edi, dword [ebx + 0xa34]
mov edx, dword [ebx + 0xa30]
sub edi, ecx
sub edx, eax
mov dword [esp + 0x14], edi
add edi, ecx
push edi
mov dword [esp + 0x1c], edx
add edx, eax
push edx
push ecx
push eax
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x38]
push eax
mov dword [esp + 0x34], ecx
call dword [sym.imp.USER32.dll_SetRect]
push ecx
mov eax, esp
mov dword [esp + 0x28], esp
push ecx
mov dword [eax], 0
mov eax, esp
lea ecx, [esp + 0x30]
mov dword [esp + 0x2c], esp
mov dword [eax], ecx
call fcn.1000e430
mov edi, dword [esi + 4]
test edi, edi
je 0x1000dd0a
push 0xfffffffffffffff0
push edi
call dword [sym.imp.USER32.dll_GetWindowLongA]
and eax, 0xff3fffff
push eax
push 0xfffffffffffffff0
push edi
call dword [sym.imp.USER32.dll_SetWindowLongA]
push 0x37
push 0
push 0
push 0
push 0
push 0
push edi
call dword [sym.imp.USER32.dll_SetWindowPos]
push 0x37
push 0
push 0
push 0
push 0
push 0
push edi
call dword [sym.imp.USER32.dll_SetWindowPos]
mov edx, dword [esi + 4]
push 0
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
push eax
push ecx
mov ecx, dword [esp + 0x28]
push edx
lea eax, [ebx + 0x514]
push eax
push ebx
mov edx, esi
call fcn.1000d080
mov eax, dword [esi + 0x58]
lea ecx, [esi + 0x24]
cmp dword [ecx + 0x28], 0xfefefefe
lea edx, [ecx + 0x28]
je 0x1000dc6a
push 0x80004005
call fcn.10006570
push edx
push 0x100366cc
push ecx
call fcn.10006a00
test eax, eax
jge 0x1000dc85
push str.SinkEvent_ERROR:
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov edi, dword [sym.imp.USER32.dll_GetMessageA]
xor eax, eax
push eax
push eax
push eax
lea ecx, [esp + 0x44]
push ecx
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], eax
call edi
test eax, eax
je 0x1000dceb
mov ebx, dword [sym.imp.USER32.dll_TranslateMessage]
lea edx, [esp + 0x38]
push edx
call ebx
lea eax, [esp + 0x38]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageA]
push 0
push 0
push 0
lea ecx, [esp + 0x44]
push ecx
call edi
test eax, eax
jne 0x1000dcc8
push str.ThreadProc_CreateWebCtl
push str._s_end_
call fcn.10005ce0
mov edx, dword [esi]
mov eax, dword [edx + 4]
add esp, 8
push 1
mov ecx, esi
call eax
jmp 0x1000dd11
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
xor eax, eax
mov ecx, dword [esp + 0x58]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4