Function at 0x410180
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a6ff1
mov eax, dword fs:[0]
push eax
sub esp, 0x194
push ebx
push esi
push edi
mov eax, dword [0x4da734]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
xor bl, bl
call fcn.00410810
test al, al
jne 0x410286
call fcn.004377c0
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x4104df
push 0x3d
push str.d:_buildlib_commonpublicincludewebviewwebview_template.h
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], 0xf
mov byte [ebp - 0x3c], al
call fcn.00407e10
push 3
push 0x4b1ab8
lea ecx, [ebp - 0x24]
mov dword [ebp - 4], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0xf
mov byte [ebp - 0x24], bl
call fcn.00407e10
mov byte [ebp - 4], 1
call fcn.004377c0
mov edi, eax
lea ecx, [ebp - 0x108]
push 0x53
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.00403be0
mov esi, eax
push 0x4b2dcc
push esi
mov byte [ebp - 4], 2
call fcn.00404b70
mov edx, dword [edi]
add esp, 8
mov ecx, edi
push esi
call dword [edx + 0x1c]
lea ecx, [ebp - 0x108]
call fcn.00404dd0
lea ecx, [ebp - 0x24]
call fcn.00404550
lea ecx, [ebp - 0x3c]
call fcn.00404550
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.00410110
cmp dword [eax + 0x30], 0
jne 0x41029d
call fcn.00410110
mov dword [eax + 0x30], 0
call fcn.00410110
push dword [ebp - 0x70]
mov ecx, eax
lea eax, [esi + 0x20]
push eax
push ecx
push section..data
push 0x4df0e8
call fcn.0040aa30
add esp, 0x14
movzx eax, ax
mov ecx, esi
push 0
push eax
push 0
push 0
push 0x80000000
push 0x4b1984
push 0
push 0
call fcn.0040d0f0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x4103b9
call fcn.004377c0
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x4104df
push 0x3d
push str.d:_buildlib_commonpublicincludewebviewwebview_template.h
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], 0xf
mov byte [ebp - 0x24], al
call fcn.00407e10
push 3
push 0x4b1ab8
lea ecx, [ebp - 0x3c]
mov dword [ebp - 4], 3
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0xf
mov byte [ebp - 0x3c], 0
call fcn.00407e10
mov byte [ebp - 4], 4
call fcn.004377c0
mov edi, eax
lea ecx, [ebp - 0x108]
push 0x59
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x3c]
push eax
call fcn.00403be0
mov esi, eax
push str.create_windows_failed
push esi
mov byte [ebp - 4], 5
call fcn.00404b70
mov edx, dword [edi]
add esp, 8
mov ecx, edi
push esi
call dword [edx + 0x1c]
lea ecx, [ebp - 0x108]
call fcn.00404dd0
lea ecx, [ebp - 0x3c]
call fcn.00404550
lea ecx, [ebp - 0x24]
call fcn.00404550
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
call fcn.004377c0
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x4104dd
push 0x3d
push str.d:_buildlib_commonpublicincludewebviewwebview_template.h
lea ecx, [ebp - 0x6c]
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x58], 0xf
mov byte [ebp - 0x6c], al
call fcn.00407e10
push 3
push 0x4b1ab8
lea ecx, [ebp - 0x54]
mov dword [ebp - 4], 6
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 0xf
mov byte [ebp - 0x54], 0
call fcn.00407e10
mov byte [ebp - 4], 7
call fcn.004377c0
mov edi, eax
lea ecx, [ebp - 0x1a0]
push 0x5d
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp - 0x54]
push eax
call fcn.00403be0
mov esi, eax
push str.main_wnd_init_success
push esi
mov byte [ebp - 4], 8
call fcn.00404b70
mov edx, dword [edi]
add esp, 8
mov ecx, edi
push esi
call dword [edx + 0x1c]
lea ecx, [ebp - 0x1a0]
call fcn.00404dd0
mov edx, dword [ebp - 0x40]
cmp edx, 0x10
jb 0x41049b
mov ecx, dword [ebp - 0x54]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x410491
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4104f3
push edx
push ecx
call fcn.0045ed5f
add esp, 8
mov edx, dword [ebp - 0x58]
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 0xf
mov byte [ebp - 0x54], 0
cmp edx, 0x10
jb 0x4104dd
mov ecx, dword [ebp - 0x6c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4104d3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4104f8
push edx
push ecx
call fcn.0045ed5f
add esp, 8
mov bl, 1
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.0046d8d9
call fcn.0046d8d9
int3