Function at 0x413630
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a1291
mov eax, dword fs:[0]
push eax
sub esp, 0x194
push ebx
push esi
push edi
mov eax, dword [0x4d03b4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
xor bl, bl
call fcn.00413be0
test al, al
jne 0x413736
call fcn.004311b0
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x41398f
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.0040cc10
push 3
push 0x4aa8e8
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.0040cc10
mov byte [ebp - 4], 1
call fcn.004311b0
mov edi, eax
lea ecx, [ebp - 0x108]
push 0x49
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.00406090
mov esi, eax
push 0x4ab774
push esi
mov byte [ebp - 4], 2
call fcn.00407530
mov edx, dword [edi]
add esp, 8
mov ecx, edi
push esi
call dword [edx + 0x1c]
lea ecx, [ebp - 0x108]
call fcn.00407a00
lea ecx, [ebp - 0x24]
call fcn.00406bc0
lea ecx, [ebp - 0x3c]
call fcn.00406bc0
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.00413550
cmp dword [eax + 0x30], 0
jne 0x41374d
call fcn.00413550
mov dword [eax + 0x30], 0
call fcn.00413550
push dword [ebp - 0x70]
mov ecx, eax
lea eax, [esi + 0x20]
push eax
push ecx
push 0x4d0028
push 0x525808
call fcn.00410ae0
add esp, 0x14
movzx eax, ax
mov ecx, esi
push 0
push eax
push 0
push 0
push 0x80000000
push str.defrag_main_wnd_name
push 0
push 0
call fcn.00412e10
push dword [esi + 4]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x413869
call fcn.004311b0
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x41398f
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.0040cc10
push 3
push 0x4aa8e8
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.0040cc10
mov byte [ebp - 4], 4
call fcn.004311b0
mov edi, eax
lea ecx, [ebp - 0x108]
push 0x4f
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x3c]
push eax
call fcn.00406090
mov esi, eax
push str.create_windows_failed
push esi
mov byte [ebp - 4], 5
call fcn.00407530
mov edx, dword [edi]
add esp, 8
mov ecx, edi
push esi
call dword [edx + 0x1c]
lea ecx, [ebp - 0x108]
call fcn.00407a00
lea ecx, [ebp - 0x3c]
call fcn.00406bc0
lea ecx, [ebp - 0x24]
call fcn.00406bc0
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.004311b0
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x41398d
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.0040cc10
push 3
push 0x4aa8e8
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.0040cc10
mov byte [ebp - 4], 7
call fcn.004311b0
mov edi, eax
lea ecx, [ebp - 0x1a0]
push 0x53
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp - 0x54]
push eax
call fcn.00406090
mov esi, eax
push str.main_wnd_init_success
push esi
mov byte [ebp - 4], 8
call fcn.00407530
mov edx, dword [edi]
add esp, 8
mov ecx, edi
push esi
call dword [edx + 0x1c]
lea ecx, [ebp - 0x1a0]
call fcn.00407a00
mov edx, dword [ebp - 0x40]
cmp edx, 0x10
jb 0x41394b
mov ecx, dword [ebp - 0x54]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x413941
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4139a3
push edx
push ecx
call fcn.00455ec2
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 0x41398d
mov ecx, dword [ebp - 0x6c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x413983
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4139a8
push edx
push ecx
call fcn.00455ec2
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.0047b619
call fcn.0047b619
int3