Function at 0x46cee0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4953e3
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x4b6798]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
cmp byte [ebx + 8], 0
mov esi, ecx
mov dword [ebp - 0x38], esi
jne 0x46cf20
mov eax, 0x4e17e0
jmp 0x46cf4f
mov edi, dword [ebx]
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x48]
mov ecx, edi
mov dword [ebp - 0x48], str.type
mov dword [ebp - 0x44], 0
call fcn.00451aa0
mov eax, dword [eax]
cmp eax, dword [edi + 4]
jne 0x46cf4c
mov eax, 0x4e17e0
jmp 0x46cf4f
add eax, 0x18
cmp eax, 0x4e17e0
setne al
test al, al
je 0x46d760
push str.type
push ebx
call fcn.0044f840
mov edi, dword [eax]
mov eax, edi
mov dword [ebp - 0x1c], 0xf
mov dword [ebp - 0x20], 0
mov byte [ebp - 0x30], 0
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x46cf83
sub eax, edx
push eax
push edi
lea ecx, [ebp - 0x30]
call fcn.00408d20
mov dword [ebp - 4], 0
mov edx, dword [esi + 0x18]
mov eax, dword [edx + 4]
lea ecx, [ebp - 0x34]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp edi, eax
je 0x46d032
mov eax, dword [esi + 0x18]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x46cfe9
mov ecx, str.ATTACH
lea edi, [ebp - 0x30]
call fcn.004223e0
test al, al
je 0x46d01f
push str.ATTACH_FAILED_CLOSED
push esi
call fcn.0046c1c0
jmp 0x46d01f
push 0x10
call fcn.004739eb
add esp, 4
mov dword [ebp - 0x34], eax
mov byte [ebp - 4], 1
test eax, eax
je 0x46d008
push ebx
mov ecx, eax
call fcn.0044edc0
jmp 0x46d00a
xor eax, eax
mov edx, dword [esi + 0x18]
push eax
mov eax, dword [edx + 4]
push 0
push 0x83ee
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
cmp dword [ebp - 0x1c], 0x10
jb 0x46d760
mov ecx, dword [ebp - 0x30]
push ecx
jmp 0x46d758
mov ecx, str.TABACTIVATED
lea edi, [ebp - 0x30]
call fcn.004223e0
test al, al
je 0x46d062
mov eax, dword [esi + 0x18]
test eax, eax
je 0x46d74e
mov byte [eax + 0x209], 1
mov eax, dword [esi + 0x18]
call fcn.00438ce0
jmp 0x46d74e
mov ecx, str.TABDEACTIVATED
lea edi, [ebp - 0x30]
call fcn.004223e0
test al, al
je 0x46d099
mov eax, dword [esi + 0x18]
test eax, eax
je 0x46d74e
mov byte [eax + 0x209], 0
mov eax, dword [esi + 0x18]
call fcn.00438ce0
mov eax, esi
call fcn.0046d790
jmp 0x46d74e
mov ecx, str.RESIZE
lea edi, [ebp - 0x30]
call fcn.004223e0
test al, al
je 0x46d173
mov ecx, str.windowWidth
mov eax, ebx
call fcn.0044fa70
test al, al
je 0x46d138
push str.addrHeight
push ebx
call fcn.0044f840
push str.windowHeight
push ebx
mov edi, eax
call fcn.0044f840
push str.windowWidth
push ebx
mov dword [ebp - 0x38], eax
call fcn.0044f840
push str.innerHeight
push ebx
mov dword [ebp - 0x40], eax
call fcn.0044f840
push str.innerWidth
push ebx
mov dword [ebp - 0x3c], eax
call fcn.0044f840
mov ecx, edi
mov ebx, eax
call fcn.0044f000
mov ecx, dword [ebp - 0x38]
push eax
call fcn.0044f000
mov ecx, dword [ebp - 0x40]
push eax
call fcn.0044f000
mov ecx, dword [ebp - 0x3c]
push eax
call fcn.0044f000
push eax
mov ecx, ebx
call fcn.0044f000
push eax
push esi
call fcn.0046c4c0
jmp 0x46d74e
push str.innerHeight
push ebx
call fcn.0044f840
push str.innerWidth
push ebx
mov edi, eax
call fcn.0044f840
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0xffffffffffffffff
mov ecx, edi
mov ebx, eax
call fcn.0044f000
push eax
mov ecx, ebx
call fcn.0044f000
push eax
push esi
call fcn.0046c4c0
jmp 0x46d74e
mov ecx, str.DETACH
lea edi, [ebp - 0x30]
call fcn.004223e0
test al, al
je 0x46d1b7
mov eax, dword [esi + 0x18]
test eax, eax
je 0x46d74e
mov edx, dword [eax + 4]
push 0
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [0x4de6c4]
mov ecx, dword [esi + 0x18]
mov edx, dword [ecx + 4]
push eax
push edx
call dword [sym.imp.USER32.dll_SetParent]
mov byte [esi + 0xc], 0
jmp 0x46d74e
mov ecx, str.ATTACH
lea edi, [ebp - 0x30]
call fcn.004223e0
test al, al
je 0x46d308
mov eax, dword [esi + 0x18]
test eax, eax
je 0x46d1e9
cmp dword [eax + 4], 0
jne 0x46d1e9
push str.ATTACH_FAILED_CLOSED
push esi
call fcn.0046c1c0
jmp 0x46d74e
mov ecx, str.windowWidth
mov eax, ebx
call fcn.0044fa70
test al, al
je 0x46d26a
push str.addrHeight
push ebx
call fcn.0044f840
push str.windowHeight
push ebx
mov edi, eax
call fcn.0044f840
push str.windowWidth
push ebx
mov dword [ebp - 0x3c], eax
call fcn.0044f840
push str.innerHeight
push ebx
mov dword [ebp - 0x40], eax
call fcn.0044f840
push str.innerWidth
push ebx
mov dword [ebp - 0x44], eax
call fcn.0044f840
push str.tabTitle
push ebx
mov dword [ebp - 0x34], eax
call fcn.0044f840
mov ebx, dword [eax]
mov ecx, edi
call fcn.0044f000
mov ecx, dword [ebp - 0x3c]
push eax
call fcn.0044f000
mov ecx, dword [ebp - 0x40]
push eax
call fcn.0044f000
mov ecx, dword [ebp - 0x44]
push eax
jmp 0x46d29a
push str.innerHeight
push ebx
call fcn.0044f840
push str.innerWidth
push ebx
mov edi, eax
call fcn.0044f840
push str.tabTitle
push ebx
mov dword [ebp - 0x34], eax
call fcn.0044f840
mov ebx, dword [eax]
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0xffffffffffffffff
mov ecx, edi
call fcn.0044f000
mov ecx, dword [ebp - 0x34]
push eax
call fcn.0044f000
push eax
push ebx
call fcn.0046d920
test eax, eax
jns 0x46d2fa
cmp eax, 0x80040001
jne 0x46d2cd
mov eax, dword [ebp - 0x38]
push str.ATTACH_RETRY
push eax
call fcn.0046c1c0
jmp 0x46d74e
cmp eax, 0x80040002
jne 0x46d2e7
mov ecx, dword [ebp - 0x38]
push str.ATTACH_FAILED_METRO
push ecx
call fcn.0046c1c0
jmp 0x46d74e
mov edx, dword [ebp - 0x38]
push str.ATTACH_FAILED
push edx
call fcn.0046c1c0
jmp 0x46d74e
mov eax, dword [ebp - 0x38]
push eax
call fcn.0046c980
jmp 0x46d74e
mov ecx, str.NAVIGATE
lea edi, [ebp - 0x30]
call fcn.004223e0
test al, al
je 0x46d335
sub esp, 0x10
mov ecx, esp
mov dword [ebp - 0x34], esp
push ebx
call fcn.0044edc0
mov ecx, dword [esi + 0x18]
push ecx
call fcn.004364e0
jmp 0x46d74e
mov ecx, str.MESSAGE_EXTERNAL
lea edi, [ebp - 0x30]
call fcn.004223e0
test al, al
je 0x46d3d4
push str.sender
push ebx
call fcn.0044f840
mov edi, dword [eax]
test edi, edi
je 0x46d37f
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [eax + eax + 2]
mov eax, esi
call fcn.00486070
mov ecx, esp
mov edx, esi
mov eax, edi
mov esi, ecx
call fcn.00409720
mov esi, dword [ebp - 0x38]
mov edi, eax
push str.message
push ebx
call fcn.0044f840
mov ebx, dword [eax]
test ebx, ebx
jne 0x46d3a2
mov edx, dword [esi + 0x18]
push edi
xor eax, eax
push eax
push edx
call fcn.0043adb0
jmp 0x46d74e
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [eax + eax + 2]
mov eax, esi
call fcn.00486070
mov ecx, esp
mov edx, esi
mov eax, ebx
mov esi, ecx
call fcn.00409720
mov esi, dword [ebp - 0x38]
mov edx, dword [esi + 0x18]
push edi
push eax
push edx
call fcn.0043adb0
jmp 0x46d74e
mov ecx, str.DO_EVAL
lea edi, [ebp - 0x30]
call fcn.004223e0
test al, al
je 0x46d471
push 0x4a5aec
push ebx
call fcn.0044f840
mov edi, dword [eax]
test edi, edi
je 0x46d41e
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [eax + eax + 2]
mov eax, esi
call fcn.00486070
mov ecx, esp
mov edx, esi
mov eax, edi
mov esi, ecx
call fcn.00409720
mov esi, dword [ebp - 0x38]
mov edi, eax
push str.context
push ebx
call fcn.0044f840
mov ebx, dword [eax]
test ebx, ebx
jne 0x46d440
mov ecx, dword [esi + 0x18]
xor eax, eax
push edi
push eax
call fcn.0043b6e0
jmp 0x46d74e
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [eax + eax + 2]
mov eax, esi
call fcn.00486070
mov ecx, esp
mov edx, esi
mov eax, ebx
mov esi, ecx
call fcn.00409720
mov esi, dword [ebp - 0x38]
mov ecx, dword [esi + 0x18]
push edi
push eax
call fcn.0043b6e0
jmp 0x46d74e
mov ecx, str.ONBEFOREPRINT
lea edi, [ebp - 0x30]
call fcn.004223e0
test al, al
je 0x46d48f
mov eax, dword [esi + 0x18]
call fcn.0043cf70
jmp 0x46d74e
mov ecx, str.SHOW_FIND
lea edi, [ebp - 0x30]
call fcn.004223e0
test al, al
je 0x46d4c9
mov esi, dword [esi + 0x18]
mov eax, dword [esi + 0x94]
test eax, eax
je 0x46d74e
mov ecx, dword [eax]
mov edx, dword [ecx + 0xd8]
push 0
push 0
push 0
push 0x20
push eax
call edx
jmp 0x46d74e
mov ecx, str.SAVE_AS
lea edi, [ebp - 0x30]
call fcn.004223e0
test al, al
je 0x46d4e7
mov eax, dword [esi + 0x18]
call fcn.0043d2d0
jmp 0x46d74e
mov ecx, str.TRY_BACK
lea edi, [ebp - 0x30]
call fcn.004223e0
test al, al
je 0x46d536
mov eax, dword [esi + 0x18]
cmp byte [eax + 0x20d], 0
je 0x46d526
mov eax, dword [eax + 0x94]
test eax, eax
je 0x46d516
mov ecx, dword [eax]
mov edx, dword [ecx + 0x1c]
push eax
call edx
push str.DID_BACK
push esi
call fcn.0046c1c0
jmp 0x46d74e
push str.NO_BACK
push esi
call fcn.0046c1c0
jmp 0x46d74e
mov ecx, str.ZOOM
lea edi, [ebp - 0x30]
call fcn.004223e0
test al, al
je 0x46d56b
push str.value
push ebx
call fcn.0044f840
mov ecx, eax
call fcn.0044f000
mov esi, eax
mov eax, dword [ebp - 0x38]
mov edi, dword [eax + 0x18]
call fcn.00438830
jmp 0x46d74e
mov ecx, str.TRY_FORWARD
lea edi, [ebp - 0x30]
call fcn.004223e0
test al, al
je 0x46d5ba
mov eax, dword [esi + 0x18]
cmp byte [eax + 0x20e], 0
je 0x46d5aa
mov eax, dword [eax + 0x94]
test eax, eax
je 0x46d59a
mov ecx, dword [eax]
mov edx, dword [ecx + 0x20]
push eax
call edx
push str.DID_FORWARD
push esi
call fcn.0046c1c0
jmp 0x46d74e
push str.NO_FORWARD
push esi
call fcn.0046c1c0
jmp 0x46d74e
mov ecx, str.OPENFILE_COMPLETE
lea edi, [ebp - 0x30]
call fcn.004223e0
test al, al
je 0x46d5e7
sub esp, 0x10
mov ecx, esp
mov dword [ebp - 0x34], esp
push ebx
call fcn.0044edc0
mov eax, dword [esi + 0x18]
push eax
call fcn.0043ef20
jmp 0x46d74e
mov ecx, str.OPENFILE_CANCEL
lea edi, [ebp - 0x30]
call fcn.004223e0
test al, al
je 0x46d613
mov ecx, dword [esi + 0x18]
mov edx, dword [ecx + 4]
push 0
push 0
push 0x83ed
push edx
call dword [sym.imp.USER32.dll_PostMessageW]
jmp 0x46d74e
mov ecx, str.INSTALL_ACTIVEX
lea edi, [ebp - 0x30]
call fcn.004223e0
test al, al
je 0x46d632
mov eax, dword [esi + 0x18]
push eax
call fcn.0043fac0
jmp 0x46d74e
mov ecx, str.DOWNLOAD_FILE
lea edi, [ebp - 0x30]
call fcn.004223e0
test al, al
je 0x46d65f
sub esp, 0x10
mov ecx, esp
mov dword [ebp - 0x34], esp
push ebx
call fcn.0044edc0
mov ecx, dword [esi + 0x18]
push ecx
call fcn.004404a0
jmp 0x46d74e
mov ecx, str.PING_FILESIZE
lea edi, [ebp - 0x30]
call fcn.004223e0
test al, al
je 0x46d68c
sub esp, 0x10
mov ecx, esp
mov dword [ebp - 0x34], esp
push ebx
call fcn.0044edc0
mov edx, dword [esi + 0x18]
push edx
call fcn.00440810
jmp 0x46d74e
mov ecx, str.FINALINIT_DONE
lea edi, [ebp - 0x30]
call fcn.004223e0
test al, al
je 0x46d6ac
push esi
mov byte [esi + 0x15], 1
call fcn.0046cc10
jmp 0x46d74e
mov ecx, str.PUSH_STATE
lea edi, [ebp - 0x30]
call fcn.004223e0
test al, al
je 0x46d6d5
sub esp, 0x10
mov ecx, esp
mov dword [ebp - 0x34], esp
push ebx
call fcn.0044edc0
mov eax, dword [esi + 0x18]
call fcn.004409e0
jmp 0x46d74e
mov ecx, str.FORCE_CHROME_ACTIVATE
lea edi, [ebp - 0x30]
call fcn.004223e0
test al, al
je 0x46d6f1
mov eax, dword [esi + 0x18]
push eax
call fcn.00440a40
jmp 0x46d74e
mov ecx, str.CLIPBOARD_PASTE
lea edi, [ebp - 0x30]
call fcn.004223e0
test al, al
je 0x46d71b
sub esp, 0x10
mov ecx, esp
mov dword [ebp - 0x34], esp
push ebx
call fcn.0044edc0
mov ecx, dword [esi + 0x18]
push ecx
call fcn.00440c10
jmp 0x46d74e
mov ecx, str.TAB_UNLOAD
lea edi, [ebp - 0x30]
call fcn.004223e0
test al, al
je 0x46d734
push esi
call fcn.0046da20
jmp 0x46d74e
mov ecx, str.OPEN_DEBUGGER
lea edi, [ebp - 0x30]
call fcn.004223e0
test al, al
je 0x46d74e
mov edx, dword [esi + 0x18]
push edx
call fcn.004417f0
cmp dword [ebp - 0x1c], 0x10
jb 0x46d760
mov eax, dword [ebp - 0x30]
push eax
call fcn.004736d0
add esp, 4
lea esp, [ebp - 0x5c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004736db
mov esp, ebp
pop ebp
ret 4