Function at 0x40e100
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47533b
mov eax, dword fs:[0]
push eax
sub esp, 0x1bc
mov eax, dword [0x49e044]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 0xc]
lea ecx, [ebp - 0x1c]
mov edi, dword [ebp + 8]
mov dword [ebp - 0x18], 0
push ecx
mov eax, dword [esi]
push esi
call dword [eax + 0xc]
push 0x98
mov ebx, eax
lea eax, [ebp - 0xb4]
push 0
push eax
call fcn.004549a0
add esp, 8
lea ecx, [ebp - 0xb4]
call fcn.00413c20
mov dword [ebp - 4], 0
lea ecx, [ebp - 0xb4]
test ebx, ebx
jns 0x40e19c
mov edx, str.Cant_find_if_navigation_completion_was_successful____
call fcn.0041a0d0
push ebx
mov ecx, eax
call fcn.004140b0
mov edx, 0x48bcd0
mov ecx, eax
call fcn.0041a0d0
jmp 0x40e527
mov edx, str.Navigation_completion_status:
call fcn.0041a0d0
cmp dword [ebp - 0x1c], 0
mov edx, str.successful
jne 0x40e1b6
mov edx, 0x48beb8
lea ecx, [ebp - 0xb4]
call fcn.0041a0d0
cmp dword [ebp - 0x1c], 0
jne 0x40e21e
mov eax, dword [esi]
lea ecx, [ebp - 0x18]
push ecx
push esi
mov dword [ebp - 0x18], 0
call dword [eax + 0x10]
test eax, eax
jns 0x40e1f3
lea eax, [ebp - 0xb4]
mov edx, str.__unknown_
mov ecx, eax
call fcn.0041a0d0
jmp 0x40e527
mov edx, 0x48becc
lea ecx, [ebp - 0xb4]
call fcn.0041a0d0
push dword [ebp - 0x18]
mov ecx, eax
call fcn.00414280
mov edx, 0x48bcd0
mov ecx, eax
call fcn.0041a0d0
jmp 0x40e527
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x14]
mov eax, dword [edi]
push ecx
push edi
mov dword [ebp - 0x14], 0
call dword [eax + 0x10]
mov eax, dword [ebp - 0x14]
mov ecx, str.about:blank
jmp 0x40e240
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x40e266
test dx, dx
je 0x40e262
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x40e266
add eax, 4
add ecx, 4
test dx, dx
jne 0x40e240
xor eax, eax
jmp 0x40e26b
sbb eax, eax
or eax, 1
mov ebx, dword [sym.imp.ole32.dll_CoTaskMemFree]
test eax, eax
jne 0x40e310
mov byte [ebp - 4], 2
mov ecx, SysReAllocString
mov eax, 0x48b85c
cmp word [eax], 0
je 0x40e295
add eax, 2
sub ecx, 1
jne 0x40e287
sub eax, 0x48b85c
sar eax, 1
lea esi, [eax + eax]
lea ebx, [esi + 2]
push ebx
call dword [sym.imp.ole32.dll_CoTaskMemAlloc]
mov edi, eax
test edi, edi
je 0x40e2c7
push esi
push 0x48b85c
mov edx, ebx
mov ecx, edi
call fcn.004061d0
add esp, 8
xor eax, eax
mov word [esi + edi], ax
mov ecx, dword [ebp + 4]
mov dword [ebp - 0x180], edi
mov dword [ebp - 0x18], 2
test edi, edi
je 0x40e5af
mov dword [ebp - 4], 1
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x40e307
call dword [sym.imp.KERNEL32.dll_GetLastError]
push ebx
mov ebx, dword [sym.imp.ole32.dll_CoTaskMemFree]
mov esi, eax
call ebx
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x40e30d
mov ebx, dword [sym.imp.ole32.dll_CoTaskMemFree]
mov dword [ebp - 0x14], edi
mov edx, str._NavigationCompletedEventHandler_window.document.URL
lea ecx, [ebp - 0xb4]
call fcn.0041a0d0
mov ecx, dword [ebp - 0x14]
mov esi, eax
mov edx, ecx
mov dword [ebp - 0x17c], 0
xor eax, eax
mov dword [ebp - 0x16c], 0
mov dword [ebp - 0x168], 7
mov word [ebp - 0x17c], ax
lea edi, [edx + 2]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x40e351
sub edx, edi
sar edx, 1
push edx
push ecx
lea ecx, [ebp - 0x17c]
call fcn.00416e00
lea edx, [ebp - 0x17c]
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x198]
call fcn.004287b0
mov byte [ebp - 4], 4
cmp dword [eax + 0x14], 0x10
mov ecx, dword [eax + 0x10]
jb 0x40e391
mov eax, dword [eax]
push ecx
mov edx, eax
mov ecx, esi
call fcn.0041f8f0
mov byte [ebp - 4], 3
add esp, 4
mov edx, dword [ebp - 0x184]
cmp edx, 0x10
jb 0x40e3dc
mov ecx, dword [ebp - 0x198]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40e3d2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40e5b5
push edx
push ecx
call fcn.00452f08
add esp, 8
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x168]
mov dword [ebp - 0x188], 0
mov dword [ebp - 0x184], 0xf
mov byte [ebp - 0x198], 0
cmp edx, 8
jb 0x40e43b
mov ecx, dword [ebp - 0x17c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40e431
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40e5b5
push edx
push ecx
call fcn.00452f08
add esp, 8
mov eax, dword [ebp - 0x14]
mov edx, eax
lea esi, [edx + 2]
mov cx, word [edx]
add edx, 2
test cx, cx
jne 0x40e443
sub edx, esi
mov ecx, 0x49ec04
sar edx, 1
push edx
push eax
call fcn.00416e00
push 0xb0
lea eax, [ebp - 0x164]
push 0
push eax
call fcn.004549a0
add esp, 8
lea ecx, [ebp - 0x164]
call fcn.00413120
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x154]
mov eax, dword [0x4a6bd0]
cdq
push edx
push eax
call fcn.004132a0
lea eax, [ebp - 0x1b0]
push eax
lea ecx, [ebp - 0x14c]
call fcn.00416820
lea edx, [ebp - 0x1b0]
mov byte [ebp - 4], 6
mov ecx, 0xb
call fcn.0040a2e0
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0x19c]
cmp edx, 8
jb 0x40e500
mov ecx, dword [ebp - 0x1b0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40e4f6
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40e5ba
push edx
push ecx
call fcn.00452f08
add esp, 8
push 5
push dword [0x4a6bd0]
call dword [sym.imp.USER32.dll_ShowWindow]
lea ecx, [ebp - 0x164]
call fcn.0040e6a0
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x40e527
push eax
call ebx
lea eax, [ebp - 0x1c8]
push eax
lea ecx, [ebp - 0xb0]
call fcn.00416ab0
lea eax, [ebp - 0x1c8]
mov byte [ebp - 4], 7
push eax
mov ecx, 0x49eb4c
call fcn.0040a5a0
mov edx, dword [ebp - 0x1b4]
cmp edx, 0x10
jb 0x40e584
mov ecx, dword [ebp - 0x1c8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40e57a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40e5bf
push edx
push ecx
call fcn.00452f08
add esp, 8
lea ecx, [ebp - 0xb4]
call fcn.00409c70
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004528ff
mov esp, ebp
pop ebp
ret 8
push ecx
call fcn.00407dd0
call fcn.0045e090
call fcn.0045e090
call fcn.0045e090
int3