Function at 0x412340
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x493dd1
mov eax, dword fs:[0]
push eax
sub esp, 0x194
push ebx
push esi
push edi
mov eax, dword [0x4c2594]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
xor bl, bl
call fcn.00412b80
test al, al
jne 0x412446
call fcn.0042be50
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x41269f
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.0040b280
push 3
push 0x49d070
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.0040b280
mov byte [ebp - 4], 1
call fcn.0042be50
mov edi, eax
lea ecx, [ebp - 0x108]
push 0x49
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.00403f10
mov esi, eax
push 0x49d9b8
push esi
mov byte [ebp - 4], 2
call fcn.00404fc0
mov edx, dword [edi]
add esp, 8
mov ecx, edi
push esi
call dword [edx + 0x1c]
lea ecx, [ebp - 0x108]
call fcn.00405220
lea ecx, [ebp - 0x24]
call fcn.004048d0
lea ecx, [ebp - 0x3c]
call fcn.004048d0
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.004122d0
cmp dword [eax + 0x30], 0
jne 0x41245d
call fcn.004122d0
mov dword [eax + 0x30], 0
call fcn.004122d0
push dword [ebp - 0x70]
mov ecx, eax
lea eax, [esi + 0x20]
push eax
push ecx
push 0x4c1028
push 0x4c7dc0
call fcn.0040e280
add esp, 0x14
movzx eax, ax
mov ecx, esi
push 0
push eax
push 0
push 0
push 0x80000000
push 0x49cf1c
push 0
push 0
call fcn.0040f890
push dword [esi + 4]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x412579
call fcn.0042be50
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x41269f
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.0040b280
push 3
push 0x49d070
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.0040b280
mov byte [ebp - 4], 4
call fcn.0042be50
mov edi, eax
lea ecx, [ebp - 0x108]
push 0x4f
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x3c]
push eax
call fcn.00403f10
mov esi, eax
push str.create_windows_failed
push esi
mov byte [ebp - 4], 5
call fcn.00404fc0
mov edx, dword [edi]
add esp, 8
mov ecx, edi
push esi
call dword [edx + 0x1c]
lea ecx, [ebp - 0x108]
call fcn.00405220
lea ecx, [ebp - 0x3c]
call fcn.004048d0
lea ecx, [ebp - 0x24]
call fcn.004048d0
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.0042be50
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x41269d
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.0040b280
push 3
push 0x49d070
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.0040b280
mov byte [ebp - 4], 7
call fcn.0042be50
mov edi, eax
lea ecx, [ebp - 0x1a0]
push 0x53
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp - 0x54]
push eax
call fcn.00403f10
mov esi, eax
push str.main_wnd_init_success
push esi
mov byte [ebp - 4], 8
call fcn.00404fc0
mov edx, dword [edi]
add esp, 8
mov ecx, edi
push esi
call dword [edx + 0x1c]
lea ecx, [ebp - 0x1a0]
call fcn.00405220
mov edx, dword [ebp - 0x40]
cmp edx, 0x10
jb 0x41265b
mov ecx, dword [ebp - 0x54]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x412651
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4126b3
push edx
push ecx
call fcn.0044c562
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 0x41269d
mov ecx, dword [ebp - 0x6c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x412693
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4126b8
push edx
push ecx
call fcn.0044c562
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.00470fb9
call fcn.00470fb9
int3