Function at 0x100beeb2
Capabilities:
Hide graphical window

Disassembly:
push 0xe0
mov eax, 0x100e6537
call fcn.100c745c
mov ebx, ecx
xor esi, esi
push esi
call dword [sym.imp.ole32.dll_OleInitialize]
mov edi, eax
test edi, edi
je 0x100bf00d
cmp edi, 1
je 0x100bf00d
push 0x100eadb0
lea ecx, [ebp - 0xec]
call fcn.1000fbd8
push 0x100eadb0
lea ecx, [ebp - 0xd4]
mov dword [ebp - 4], esi
call fcn.1000fbd8
push str.NativeContainer
lea ecx, [ebp - 0xbc]
mov byte [ebp - 4], 1
call fcn.1000fbd8
lea eax, [ebp - 0xec]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0xd4]
push eax
lea eax, [ebp - 0xbc]
push eax
call fcn.100aa486
add esp, 0xc
lea ecx, [ebp - 0xbc]
mov esi, eax
call fcn.100090b6
lea ecx, [ebp - 0xd4]
call fcn.100090b6
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xec]
call fcn.100090b6
test esi, esi
je 0x100bf00b
mov esi, 0x100eadb0
lea ecx, [ebp - 0xbc]
push esi
call fcn.1000fbd8
push esi
lea ecx, [ebp - 0xd4]
mov dword [ebp - 4], 3
call fcn.1000fbd8
push str.NativeContainer
lea ecx, [ebp - 0xec]
mov byte [ebp - 4], 4
call fcn.1000fbd8
lea eax, [ebp - 0xbc]
mov byte [ebp - 4], 5
push eax
lea eax, [ebp - 0xd4]
push eax
lea eax, [ebp - 0xec]
push eax
call fcn.100aa486
add esp, 0xc
mov esi, dword [eax]
push edi
push str.CreateContainer
push str._s_:_OleInitialize_failed__error__lu
mov ecx, dword [esi + 0x24]
mov edi, 0x100eadb0
push edi
push eax
call dword [0x100e97d8]
call dword [esi + 0x24]
add esp, 0x14
lea ecx, [ebp - 0xec]
call fcn.100090b6
lea ecx, [ebp - 0xd4]
call fcn.100090b6
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xbc]
call fcn.100090b6
xor esi, esi
jmp 0x100bf012
xor esi, esi
mov edi, 0x100eadb0
lea eax, [ebp - 0x84]
mov dword [ebp - 0x84], 0x30
push eax
push dword [0x1016a394]
push esi
call dword [sym.imp.kernel32.dll_GetModuleHandleW]
push eax
call fcn.100c0d0d
test eax, eax
jne 0x100bf085
mov ecx, ebx
call fcn.1000fbd8
test ax, ax
jne 0x100bf085
call dword [sym.imp.kernel32.dll_GetLastError]
push esi
push esi
lea ecx, [ebp - 0x88]
mov dword [ebp - 0x88], esi
push ecx
push esi
push eax
push esi
push 0x1100
call dword [sym.imp.kernel32.dll_FormatMessageW]
push 0x10
push dword [ebp - 0x88]
push str.Cannot_register_main_window_class
push esi
call dword [sym.imp.USER32.dll_MessageBoxW]
xor eax, eax
inc eax
jmp 0x100bf650
mov esi, dword [0x10170714]
mov dword [ebp - 0x88], esi
test esi, esi
jne 0x100bf0a3
call dword [sym.imp.USER32.dll_GetDesktopWindow]
mov esi, eax
mov dword [ebp - 0x88], eax
lea eax, [ebp - 0x8c]
xorps xmm0, xmm0
push eax
lea eax, [ebp - 0x90]
mov ecx, ebx
push eax
movups xmmword [ebp - 0xa0], xmm0
call fcn.1000fbd8
lea eax, [ebp - 0x90]
push eax
lea eax, [ebp - 0x8c]
push eax
call fcn.1000fbd8
pop ecx
pop ecx
lea eax, [ebp - 0xa0]
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowRect]
push edi
lea ecx, [ebp - 0xbc]
call fcn.1000fbd8
push edi
lea ecx, [ebp - 0xd4]
mov dword [ebp - 4], 6
call fcn.1000fbd8
push str.NativeContainer
lea ecx, [ebp - 0xec]
mov byte [ebp - 4], 7
call fcn.1000fbd8
lea eax, [ebp - 0xbc]
mov byte [ebp - 4], 8
push eax
lea eax, [ebp - 0xd4]
push eax
lea eax, [ebp - 0xec]
push eax
call fcn.100aa486
add esp, 0xc
lea ecx, [ebp - 0xec]
mov esi, eax
call fcn.100090b6
lea ecx, [ebp - 0xd4]
call fcn.100090b6
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xbc]
call fcn.100090b6
test esi, esi
je 0x100bf210
push edi
lea ecx, [ebp - 0xbc]
call fcn.1000fbd8
push edi
lea ecx, [ebp - 0xd4]
mov dword [ebp - 4], 9
call fcn.1000fbd8
push str.NativeContainer
lea ecx, [ebp - 0xec]
mov byte [ebp - 4], 0xa
call fcn.1000fbd8
lea eax, [ebp - 0xbc]
mov byte [ebp - 4], 0xb
push eax
lea eax, [ebp - 0xd4]
push eax
lea eax, [ebp - 0xec]
push eax
call fcn.100aa486
add esp, 0xc
mov esi, dword [eax]
push dword [ebp - 0x94]
push dword [ebp - 0x9c]
mov ecx, dword [esi + 0xc]
push dword [ebp - 0x98]
push dword [ebp - 0xa0]
push str.Parent_Window_co_ordinates:_left_:__ld_right_:__ld_top_:__ld_bottom_:__ld
push eax
call dword [0x100e97d8]
call dword [esi + 0xc]
add esp, 0x18
lea ecx, [ebp - 0xec]
call fcn.100090b6
lea ecx, [ebp - 0xd4]
call fcn.100090b6
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xbc]
call fcn.100090b6
push edi
lea ecx, [ebp - 0xbc]
call fcn.1000fbd8
push edi
lea ecx, [ebp - 0xd4]
mov dword [ebp - 4], 0xc
call fcn.1000fbd8
push str.NativeContainer
lea ecx, [ebp - 0xec]
mov byte [ebp - 4], 0xd
call fcn.1000fbd8
lea eax, [ebp - 0xbc]
mov byte [ebp - 4], 0xe
push eax
lea eax, [ebp - 0xd4]
push eax
lea eax, [ebp - 0xec]
push eax
call fcn.100aa486
add esp, 0xc
lea ecx, [ebp - 0xec]
mov esi, eax
call fcn.100090b6
lea ecx, [ebp - 0xd4]
call fcn.100090b6
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xbc]
call fcn.100090b6
test esi, esi
je 0x100bf32f
push edi
lea ecx, [ebp - 0xbc]
call fcn.1000fbd8
push edi
lea ecx, [ebp - 0xd4]
mov dword [ebp - 4], 0xf
call fcn.1000fbd8
push str.NativeContainer
lea ecx, [ebp - 0xec]
mov byte [ebp - 4], 0x10
call fcn.1000fbd8
lea eax, [ebp - 0xbc]
mov byte [ebp - 4], 0x11
push eax
lea eax, [ebp - 0xd4]
push eax
lea eax, [ebp - 0xec]
push eax
call fcn.100aa486
add esp, 0xc
mov esi, dword [eax]
push dword [ebp - 0x8c]
push dword [ebp - 0x90]
mov ecx, dword [esi + 0xc]
push str.Workflow_Window:_width:__d_height:__d
push eax
call dword [0x100e97d8]
call dword [esi + 0xc]
add esp, 0x10
lea ecx, [ebp - 0xec]
call fcn.100090b6
lea ecx, [ebp - 0xd4]
call fcn.100090b6
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xbc]
call fcn.100090b6
mov ecx, dword [ebp - 0x98]
mov edi, dword [ebp - 0xa0]
sub ecx, edi
mov eax, dword [ebp - 0x94]
mov esi, dword [ebp - 0x9c]
sub eax, esi
mov dword [ebp - 0xa4], eax
cmp ecx, dword [ebp - 0x90]
jle 0x100bf373
mov eax, ecx
cdq
sub eax, edx
mov ecx, eax
mov eax, dword [ebp - 0x90]
cdq
sub eax, edx
sar ecx, 1
sar eax, 1
sub ecx, eax
add edi, ecx
jmp 0x100bf384
mov eax, dword [ebp - 0x90]
sub eax, ecx
cdq
sub eax, edx
sar eax, 1
neg eax
add edi, eax
mov ecx, dword [ebp - 0xa4]
cmp ecx, dword [ebp - 0x8c]
jle 0x100bf3ac
mov eax, ecx
cdq
sub eax, edx
mov ecx, eax
mov eax, dword [ebp - 0x8c]
cdq
sub eax, edx
sar ecx, 1
sar eax, 1
sub ecx, eax
add esi, ecx
jmp 0x100bf3bd
mov eax, dword [ebp - 0x8c]
sub eax, ecx
cdq
sub eax, edx
sar eax, 1
neg eax
add esi, eax
push ebx
xor eax, eax
test esi, esi
push eax
push eax
push dword [ebp - 0x88]
cmovs esi, eax
test edi, edi
push dword [ebp - 0x8c]
cmovs edi, eax
mov dword [ebp - 0x9c], esi
push dword [ebp - 0x90]
mov dword [ebp - 0xa0], edi
push esi
push edi
push 0x100c0000
xor edi, edi
push edi
push dword [0x1016a394]
push 1
call fcn.100c0c06
push eax
mov dword [ebx], eax
call fcn.1000fbd8
mov eax, dword [0x10170714]
pop ecx
test eax, eax
je 0x100bf41b
push edi
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
push ebx
push 0xffffffffffffffeb
push dword [ebx]
call dword [sym.imp.USER32.dll_SetWindowLongW]
lea eax, [ebp - 0x54]
push eax
push dword [ebx]
call dword [sym.imp.USER32.dll_GetClientRect]
mov ecx, ebx
call fcn.100bfae3
push edi
push edi
push 0x2a
push edi
call dword [sym.imp.wininet.dll_InternetSetOptionW]
push 0xa8
call fcn.1000fbd8
mov esi, eax
pop ecx
mov dword [ebp - 0xa4], esi
mov dword [ebp - 4], 0x12
test esi, esi
je 0x100bf481
push 0xa8
push edi
push esi
call sub.VCRUNTIME140.dll_memset
pop ecx
mov eax, esp
mov ecx, esi
mov dword [eax], edi
mov dword [eax + 4], edi
push dword [ebx]
call fcn.100bcd69
jmp 0x100bf483
mov eax, edi
or dword [ebp - 4], 0xffffffff
lea ecx, [ebx + 0x38]
push eax
call fcn.1000fbd8
push 0xa8
call fcn.1000fbd8
mov esi, eax
pop ecx
mov dword [ebp - 0xa4], esi
mov dword [ebp - 4], 0x13
test esi, esi
je 0x100bf4d6
push 0xa8
push edi
push esi
call sub.VCRUNTIME140.dll_memset
pop ecx
mov ecx, esp
lea eax, [ebx + 0x30]
push eax
mov dword [ecx], edi
mov dword [ecx + 4], edi
call fcn.1000fbd8
push dword [ebx]
mov ecx, esi
call fcn.100bcd69
jmp 0x100bf4d8
mov eax, edi
or dword [ebp - 4], 0xffffffff
lea esi, [ebx + 0x24]
push eax
mov ecx, esi
call fcn.1000fbd8
lea edi, [ebx + 0x30]
mov ecx, dword [edi]
push esi
add ecx, 4
call fcn.1000fbd8
mov ecx, dword [edi]
lea eax, [ebx + 0x1c]
push eax
add ecx, 0xc
call fcn.1000fbd8
and dword [ebp - 0x34], 0
xor eax, eax
mov dword [ebp - 0x30], 7
mov word [ebp - 0x44], ax
lea eax, [ebp - 0x44]
mov dword [ebp - 4], 0x14
lea esi, [ebx + 0x2c]
mov ecx, dword [esi]
push eax
call fcn.1002bfe3
push eax
call fcn.1000fbd8
pop ecx
pop ecx
mov ecx, dword [esi]
call fcn.1002bfe3
mov ecx, dword [edi]
push eax
add ecx, 0x24
call fcn.1000fbd8
mov ecx, dword [edi]
push esi
add ecx, 0x14
call fcn.1000fbd8
mov ecx, dword [edi]
lea eax, [ebp - 0xb0]
push eax
sub ecx, 0xffffff80
mov dword [ebp - 0xb0], 0x100bf7b0
mov dword [ebp - 0xa8], ebx
call fcn.1000fbd8
lea esi, [ebx + 0x24]
mov ecx, dword [esi]
push edi
add ecx, 0x58
call fcn.1000fbd8
mov ecx, ebx
call fcn.100bfe6f
sub esp, 0x18
lea eax, [ebp - 0x44]
mov ecx, esp
push eax
and dword [ecx + 0x10], 0
and dword [ecx + 0x14], 0
call fcn.1000fbd8
mov ecx, dword [esi]
call fcn.100bdd02
mov ecx, ebx
call fcn.1000fbd8
push 5
push dword [ebx]
call dword [sym.imp.USER32.dll_ShowWindow]
push 7
xor eax, eax
lea edi, [ebp - 0x2c]
pop ecx
rep stosd dword es:[edi], eax
mov al, byte [ebx + 0x44]
jmp 0x100bf621
xor eax, eax
push eax
push eax
push eax
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.USER32.dll_GetMessageW]
test eax, eax
jle 0x100bf625
mov ecx, dword [esi]
lea eax, [ebp - 0x2c]
push eax
call fcn.1000fbd8
test al, al
jne 0x100bf607
cmp dword [ebp - 0x24], 8
je 0x100bf607
mov eax, dword [esi]
lea edx, [ebp - 0x2c]
push edx
mov eax, dword [eax + 0x2c]
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 0x14]
mov ecx, esi
call dword [0x100e97d8]
call esi
cmp eax, 1
jne 0x100bf61b
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
mov al, byte [ebx + 0x44]
lea esi, [ebx + 0x24]
test al, al
je 0x100bf5c1
cmp dword [ebp - 0x28], 0x12
jne 0x100bf634
push dword [ebp - 0x24]
call dword [sym.imp.USER32.dll_PostQuitMessage]
mov eax, dword [ebp - 0x30]
cmp eax, 8
jb 0x100bf64e
lea eax, [eax*2 + 2]
push eax
push dword [ebp - 0x44]
call fcn.1000fbd8
pop ecx
pop ecx
xor eax, eax
call fcn.100c7406
ret