Function at 0x100ffbf8
Capabilities:
Hide graphical window

Disassembly:
push 0xe0
mov eax, 0x1013b483
call fcn.101108dc
mov ebx, ecx
xor esi, esi
push esi
call dword [sym.imp.ole32.dll_OleInitialize]
mov edi, eax
test edi, edi
je 0x100ffd6b
cmp edi, 1
je 0x100ffd6b
push 0x101e2a68
call sub.MSVCP140.dll__Mtx_lock
push eax
call fcn.10063887
pop ecx
pop ecx
push 0x1014a0f1
lea ecx, [ebp - 0xec]
call fcn.10063887
push 0x1014a0f1
lea ecx, [ebp - 0xd4]
mov dword [ebp - 4], esi
call fcn.10063887
push str.NativeContainer
lea ecx, [ebp - 0xbc]
mov byte [ebp - 4], 1
call fcn.10063887
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.100e1c13
add esp, 0xc
lea ecx, [ebp - 0xbc]
mov esi, eax
call fcn.1001524d
lea ecx, [ebp - 0xd4]
call fcn.1001524d
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xec]
call fcn.1001524d
test esi, esi
je 0x100ffd5e
mov esi, 0x1014a0f1
lea ecx, [ebp - 0xbc]
push esi
call fcn.10063887
push esi
lea ecx, [ebp - 0xd4]
mov dword [ebp - 4], 3
call fcn.10063887
push str.NativeContainer
lea ecx, [ebp - 0xec]
mov byte [ebp - 4], 4
call fcn.10063887
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.100e1c13
add esp, 0xc
mov esi, dword [eax]
push edi
push str.CreateContainer
push str._s_:_OleInitialize_failed__error__lu
mov ecx, dword [esi + 0x24]
push 0x1014a0f1
push eax
call dword [0x1014488c]
call dword [esi + 0x24]
add esp, 0x14
lea ecx, [ebp - 0xec]
call fcn.1001524d
lea ecx, [ebp - 0xd4]
call fcn.1001524d
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xbc]
call fcn.1001524d
push 0x101e2a68
call sub.MSVCP140.dll__Mtx_unlock
pop ecx
xor esi, esi
lea eax, [ebp - 0x84]
mov dword [ebp - 0x84], 0x30
push eax
push dword [0x101d953c]
push esi
call dword [sym.imp.kernel32.dll_GetModuleHandleW]
push eax
call fcn.10101c1d
test eax, eax
jne 0x100ffdde
mov ecx, ebx
call fcn.10063887
test ax, ax
jne 0x100ffdde
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 0x101003e5
mov esi, dword [0x101e8358]
mov dword [ebp - 0x88], esi
test esi, esi
jne 0x100ffdfc
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.10063887
lea eax, [ebp - 0x90]
push eax
lea eax, [ebp - 0x8c]
push eax
call fcn.10063887
pop ecx
pop ecx
lea eax, [ebp - 0xa0]
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowRect]
push 0x101e2a68
call sub.MSVCP140.dll__Mtx_lock
push eax
call fcn.10063887
pop ecx
pop ecx
mov edi, 0x1014a0f1
lea ecx, [ebp - 0xbc]
push edi
call fcn.10063887
push edi
lea ecx, [ebp - 0xd4]
mov dword [ebp - 4], 6
call fcn.10063887
push str.NativeContainer
lea ecx, [ebp - 0xec]
mov byte [ebp - 4], 7
call fcn.10063887
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.100e1c13
add esp, 0xc
lea ecx, [ebp - 0xec]
mov esi, eax
call fcn.1001524d
lea ecx, [ebp - 0xd4]
call fcn.1001524d
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xbc]
call fcn.1001524d
test esi, esi
je 0x100fff80
push edi
lea ecx, [ebp - 0xbc]
call fcn.10063887
push edi
lea ecx, [ebp - 0xd4]
mov dword [ebp - 4], 9
call fcn.10063887
push str.NativeContainer
lea ecx, [ebp - 0xec]
mov byte [ebp - 4], 0xa
call fcn.10063887
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.100e1c13
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 [0x1014488c]
call dword [esi + 0xc]
add esp, 0x18
lea ecx, [ebp - 0xec]
call fcn.1001524d
lea ecx, [ebp - 0xd4]
call fcn.1001524d
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xbc]
call fcn.1001524d
mov esi, 0x101e2a68
push esi
call sub.MSVCP140.dll__Mtx_unlock
push esi
call sub.MSVCP140.dll__Mtx_lock
push eax
call fcn.10063887
add esp, 0xc
lea ecx, [ebp - 0xbc]
push edi
call fcn.10063887
push edi
lea ecx, [ebp - 0xd4]
mov dword [ebp - 4], 0xc
call fcn.10063887
push str.NativeContainer
lea ecx, [ebp - 0xec]
mov byte [ebp - 4], 0xd
call fcn.10063887
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.100e1c13
add esp, 0xc
lea ecx, [ebp - 0xec]
mov esi, eax
call fcn.1001524d
lea ecx, [ebp - 0xd4]
call fcn.1001524d
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xbc]
call fcn.1001524d
test esi, esi
je 0x101000b9
push edi
lea ecx, [ebp - 0xbc]
call fcn.10063887
push edi
lea ecx, [ebp - 0xd4]
mov dword [ebp - 4], 0xf
call fcn.10063887
push str.NativeContainer
lea ecx, [ebp - 0xec]
mov byte [ebp - 4], 0x10
call fcn.10063887
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.100e1c13
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 [0x1014488c]
call dword [esi + 0xc]
add esp, 0x10
lea ecx, [ebp - 0xec]
call fcn.1001524d
lea ecx, [ebp - 0xd4]
call fcn.1001524d
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xbc]
call fcn.1001524d
push 0x101e2a68
call sub.MSVCP140.dll__Mtx_unlock
mov edi, dword [ebp - 0xa0]
mov eax, dword [ebp - 0x94]
mov esi, dword [ebp - 0x9c]
sub eax, esi
pop ecx
mov ecx, dword [ebp - 0x98]
sub ecx, edi
mov dword [ebp - 0xa4], eax
cmp ecx, dword [ebp - 0x90]
jle 0x10100108
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 0x10100119
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 0x10100141
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 0x10100152
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 [0x101d953c]
push 1
call fcn.10101b16
push eax
mov dword [ebx], eax
call fcn.10063887
mov eax, dword [0x101e8358]
pop ecx
test eax, eax
je 0x101001b0
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.101008bd
push edi
push edi
push 0x2a
push edi
call dword [sym.imp.wininet.dll_InternetSetOptionW]
push 0xa8
call fcn.10063887
mov esi, eax
pop ecx
mov dword [ebp - 0xa4], esi
mov dword [ebp - 4], 0x12
test esi, esi
je 0x10100216
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.100fda82
jmp 0x10100218
mov eax, edi
or dword [ebp - 4], 0xffffffff
lea ecx, [ebx + 0x38]
push eax
call fcn.10063887
push 0xa8
call fcn.10063887
mov esi, eax
pop ecx
mov dword [ebp - 0xa4], esi
mov dword [ebp - 4], 0x13
test esi, esi
je 0x1010026b
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.10063887
push dword [ebx]
mov ecx, esi
call fcn.100fda82
jmp 0x1010026d
mov eax, edi
or dword [ebp - 4], 0xffffffff
lea esi, [ebx + 0x24]
push eax
mov ecx, esi
call fcn.10063887
lea edi, [ebx + 0x30]
mov ecx, dword [edi]
push esi
add ecx, 4
call fcn.10063887
mov ecx, dword [edi]
lea eax, [ebx + 0x1c]
push eax
add ecx, 0xc
call fcn.10063887
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.100403fe
push eax
call fcn.10063887
pop ecx
pop ecx
mov ecx, dword [esi]
call fcn.100403fe
mov ecx, dword [edi]
push eax
add ecx, 0x24
call fcn.10063887
mov ecx, dword [edi]
push esi
add ecx, 0x14
call fcn.10063887
mov ecx, dword [edi]
lea eax, [ebp - 0xb0]
push eax
sub ecx, 0xffffff80
mov dword [ebp - 0xb0], 0x10100540
mov dword [ebp - 0xa8], ebx
call fcn.10063887
lea esi, [ebx + 0x24]
mov ecx, dword [esi]
push edi
add ecx, 0x58
call fcn.10063887
mov ecx, ebx
call fcn.10100c49
sub esp, 0x18
lea eax, [ebp - 0x44]
mov ecx, esp
push eax
and dword [ecx + 0x10], 0
and dword [ecx + 0x14], 0
call fcn.10063887
mov ecx, dword [esi]
call fcn.100fea4f
mov ecx, ebx
call fcn.10063887
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 0x101003b6
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 0x101003ba
mov ecx, dword [esi]
lea eax, [ebp - 0x2c]
push eax
call fcn.10063887
test al, al
jne 0x1010039c
cmp dword [ebp - 0x24], 8
je 0x1010039c
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 [0x1014488c]
call esi
cmp eax, 1
jne 0x101003b0
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 0x10100356
cmp dword [ebp - 0x28], 0x12
jne 0x101003c9
push dword [ebp - 0x24]
call dword [sym.imp.USER32.dll_PostQuitMessage]
mov eax, dword [ebp - 0x30]
cmp eax, 8
jb 0x101003e3
lea eax, [eax*2 + 2]
push eax
push dword [ebp - 0x44]
call fcn.10063887
pop ecx
pop ecx
xor eax, eax
call fcn.10110886
ret