Function at 0x435a90
Capabilities:
Get graphical window text
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47231d
mov eax, dword fs:[0]
push eax
sub esp, 0x93c
mov eax, dword [0x485c44]
xor eax, ebp
mov dword [ebp - 0x14], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x914], ecx
mov eax, dword [ebp - 0x914]
cmp dword [eax + 0x108], 0
je 0x435b14
mov ecx, dword [ebp - 0x914]
mov edx, dword [ecx - 0x34]
mov dword [ebp - 0x858], edx
push 0
push 0x3e8
push 0
push 0x3e8
mov eax, dword [ebp - 0x858]
push eax
mov ecx, dword [ebp - 0x914]
mov edx, dword [ecx + 0x108]
mov eax, dword [ebp - 0x914]
mov ecx, dword [eax + 0x108]
mov edx, dword [edx]
push ecx
mov eax, dword [edx + 0x24]
call eax
mov ecx, dword [ebp - 0x914]
mov byte [ecx - 3], 0
mov byte [ebp - 0xd], 1
mov ecx, dword [ebp - 0x914]
sub ecx, 0x3c
call fcn.00436580
movzx edx, al
test edx, edx
je 0x435c0f
mov eax, dword [ebp - 0x914]
mov ecx, dword [eax - 0x34]
mov dword [ebp - 0x85c], ecx
push 0x400
lea edx, [ebp - 0x814]
push edx
mov eax, dword [ebp - 0x85c]
push eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
push str.Cannot_download_file_from:_r_n
lea ecx, [ebp - 0x830]
call fcn.0040d830
mov dword [ebp - 4], 0
mov ecx, dword [0x4764d8]
push ecx
push 0
mov edx, dword [ebp - 0x914]
add edx, 0x10c
push edx
lea ecx, [ebp - 0x830]
call fcn.0040f260
cmp dword [ebp - 0x818], 8
jb 0x435bb2
mov eax, dword [ebp - 0x82c]
mov dword [ebp - 0x918], eax
jmp 0x435bbe
lea ecx, [ebp - 0x82c]
mov dword [ebp - 0x918], ecx
mov edx, dword [ebp - 0x914]
mov eax, dword [edx - 0x34]
mov dword [ebp - 0x86c], eax
push 0x10
push 0x7f01
push 0
push 2
mov ecx, dword [ebp - 0x918]
push ecx
lea edx, [ebp - 0x814]
mov ecx, dword [ebp - 0x86c]
call fcn.0042e7e0
cmp eax, 2
jne 0x435bf9
mov byte [ebp - 0xd], 0
mov dword [ebp - 4], 0xffffffff
push 0
push 1
lea ecx, [ebp - 0x830]
call fcn.0040d8a0
movzx edx, byte [ebp - 0xd]
test edx, edx
je 0x435d67
mov eax, dword [ebp - 0x914]
movzx ecx, byte [eax + 0x16a]
test ecx, ecx
jne 0x435d67
mov edx, dword [ebp - 0x914]
mov eax, dword [edx - 0x34]
mov dword [ebp - 0x870], eax
push 0
push 0x37
mov ecx, dword [ebp - 0x870]
push ecx
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov edx, dword [ebp - 0x914]
mov eax, dword [edx - 0x34]
mov dword [ebp - 0x874], eax
push 0
push 0x32
mov ecx, dword [ebp - 0x874]
push ecx
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov edx, dword [ebp - 0x914]
mov eax, dword [edx - 0x34]
mov dword [ebp - 0x878], eax
push 0
push 0x33
mov ecx, dword [ebp - 0x878]
push ecx
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov edx, dword [ebp - 0x914]
mov eax, dword [edx - 0x34]
mov dword [ebp - 0x87c], eax
push 5
push 0x9a
mov ecx, dword [ebp - 0x87c]
push ecx
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov edx, dword [ebp - 0x914]
mov eax, dword [edx - 0x34]
mov dword [ebp - 0x880], eax
push 5
push 0x99
mov ecx, dword [ebp - 0x880]
push ecx
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov edx, dword [ebp - 0x914]
mov eax, dword [edx - 0x34]
mov dword [ebp - 0x884], eax
push 9
mov ecx, dword [ebp - 0x884]
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov edx, dword [ebp - 0x914]
mov eax, dword [edx - 0x34]
mov dword [ebp - 0x888], eax
mov ecx, dword [ebp - 0x888]
push ecx
call dword [sym.imp.USER32.dll_UpdateWindow]
mov ecx, dword [ebp - 0x914]
sub ecx, 0x3c
call fcn.0041ee80
mov edx, dword [ebp - 0x914]
mov eax, dword [edx - 0x34]
mov dword [ebp - 0x88c], eax
push 0x1d20
mov ecx, dword [ebp - 0x88c]
push ecx
call dword [sym.imp.USER32.dll_KillTimer]
jmp 0x436150
movzx edx, byte [ebp - 0xd]
test edx, edx
je 0x436140
mov eax, dword [ebp - 0x914]
movzx ecx, byte [eax + 0x16a]
test ecx, ecx
je 0x436140
mov edx, dword [ebp - 0x914]
add edx, 0x188
mov dword [ebp - 0x894], edx
mov eax, dword [ebp - 0x894]
cmp dword [eax + 0x18], 8
jb 0x435db7
mov ecx, dword [ebp - 0x894]
mov edx, dword [ecx + 4]
mov dword [ebp - 0x91c], edx
jmp 0x435dc6
mov eax, dword [ebp - 0x894]
add eax, 4
mov dword [ebp - 0x91c], eax
mov ecx, dword [ebp - 0x894]
mov edx, dword [ecx + 0x14]
mov eax, dword [ebp - 0x91c]
lea ecx, [eax + edx*2]
mov dword [ebp - 0x890], ecx
mov edx, dword [ebp - 0x894]
push edx
mov eax, dword [ebp - 0x890]
push eax
lea ecx, [ebp - 0x83c]
call fcn.0040f1c0
mov ecx, dword [ebp - 0x914]
add ecx, 0x188
mov dword [ebp - 0x89c], ecx
mov edx, dword [ebp - 0x89c]
cmp dword [edx + 0x18], 8
jb 0x435e26
mov eax, dword [ebp - 0x89c]
mov ecx, dword [eax + 4]
mov dword [ebp - 0x898], ecx
jmp 0x435e35
mov edx, dword [ebp - 0x89c]
add edx, 4
mov dword [ebp - 0x898], edx
mov eax, dword [ebp - 0x89c]
push eax
mov ecx, dword [ebp - 0x898]
push ecx
lea ecx, [ebp - 0x844]
call fcn.0040f1c0
mov edx, dword [ebp - 0x914]
add edx, 0x188
mov dword [ebp - 0x8a4], edx
mov eax, dword [ebp - 0x8a4]
cmp dword [eax + 0x18], 8
jb 0x435e7d
mov ecx, dword [ebp - 0x8a4]
mov edx, dword [ecx + 4]
mov dword [ebp - 0x8a0], edx
jmp 0x435e8c
mov eax, dword [ebp - 0x8a4]
add eax, 4
mov dword [ebp - 0x8a0], eax
mov ecx, dword [ebp - 0x8a4]
push ecx
mov edx, dword [ebp - 0x8a0]
push edx
lea ecx, [ebp - 0x84c]
call fcn.0040f1c0
mov eax, dword [ebp - 0x838]
push eax
mov ecx, dword [ebp - 0x83c]
push ecx
mov edx, dword [ebp - 0x840]
push edx
mov eax, dword [ebp - 0x844]
push eax
mov ecx, dword [ebp - 0x848]
push ecx
mov edx, dword [ebp - 0x84c]
push edx
mov edx, fcn.0045b1fe
lea ecx, [ebp - 0x854]
call fcn.00438e60
mov eax, dword [ebp - 0x914]
add eax, 0x188
mov dword [ebp - 0x8e0], eax
mov dword [ebp - 0x920], str.openasfile
mov ecx, dword [ebp - 0x920]
add ecx, 2
mov dword [ebp - 0x924], ecx
mov edx, dword [ebp - 0x920]
mov ax, word [edx]
mov word [ebp - 0x926], ax
add dword [ebp - 0x920], 2
cmp word [ebp - 0x926], 0
jne 0x435f09
mov ecx, dword [ebp - 0x920]
sub ecx, dword [ebp - 0x924]
sar ecx, 1
mov dword [ebp - 0x92c], ecx
mov edx, dword [ebp - 0x92c]
push edx
push str.openasfile
mov eax, dword [ebp - 0x8e0]
mov ecx, dword [eax + 0x14]
push ecx
push 0
mov ecx, dword [ebp - 0x8e0]
call fcn.00438fe0
neg eax
sbb eax, eax
add eax, 1
movzx edx, al
test edx, edx
je 0x435ff3
mov dword [ebp - method.tinyxml2::XMLNode.virtual_48], 0x478a28
mov dword [ebp - 0x834], 0x478a20
mov eax, dword [ebp - 0x914]
add eax, 0x88
mov dword [ebp - 0x8e4], eax
mov ecx, dword [ebp - 0x8e4]
cmp dword [ecx + 0x18], 8
jb 0x435fb5
mov edx, dword [ebp - 0x8e4]
mov eax, dword [edx + 4]
mov dword [ebp - 0x930], eax
jmp 0x435fc4
mov ecx, dword [ebp - 0x8e4]
add ecx, 4
mov dword [ebp - 0x930], ecx
mov edx, dword [ebp - 0x914]
mov eax, dword [edx - 0x34]
mov dword [ebp - 0x8e8], eax
push 0
mov ecx, dword [ebp - 0x930]
push ecx
mov edx, dword [ebp - 0x8e8]
push edx
lea ecx, [ebp - 0x834]
call fcn.00412ec0
jmp 0x43612e
mov eax, dword [ebp - 0x914]
add eax, 0x188
mov dword [ebp - 0x904], eax
mov dword [ebp - 0x934], str.alwaysrunas
mov ecx, dword [ebp - 0x934]
add ecx, 2
mov dword [ebp - 0x938], ecx
mov edx, dword [ebp - 0x934]
mov ax, word [edx]
mov word [ebp - 0x93a], ax
add dword [ebp - 0x934], 2
cmp word [ebp - 0x93a], 0
jne 0x43601d
mov ecx, dword [ebp - 0x934]
sub ecx, dword [ebp - 0x938]
sar ecx, 1
mov dword [ebp - 0x940], ecx
mov edx, dword [ebp - 0x940]
push edx
push str.alwaysrunas
mov eax, dword [ebp - 0x904]
mov ecx, dword [eax + 0x14]
push ecx
push 0
mov ecx, dword [ebp - 0x904]
call fcn.00438fe0
neg eax
sbb eax, eax
add eax, 1
movzx edx, al
neg edx
sbb edx, edx
add edx, 1
mov byte [ebp - 0x905], dl
mov eax, dword [ebp - 0x914]
add eax, 0x16c
mov dword [ebp - 0x90c], eax
mov ecx, dword [ebp - 0x90c]
cmp dword [ecx + 0x18], 8
jb 0x4360ba
mov edx, dword [ebp - 0x90c]
mov eax, dword [edx + 4]
mov dword [ebp - 0x944], eax
jmp 0x4360c9
mov ecx, dword [ebp - 0x90c]
add ecx, 4
mov dword [ebp - 0x944], ecx
mov edx, dword [ebp - 0x914]
add edx, 0x88
mov dword [ebp - 0x910], edx
mov eax, dword [ebp - 0x910]
cmp dword [eax + 0x18], 8
jb 0x4360f8
mov ecx, dword [ebp - 0x910]
mov edx, dword [ecx + 4]
mov dword [ebp - 0x948], edx
jmp 0x436107
mov eax, dword [ebp - 0x910]
add eax, 4
mov dword [ebp - 0x948], eax
push 0
movzx ecx, byte [ebp - 0x905]
test ecx, ecx
setne dl
movzx eax, dl
push eax
push 0
push 0
mov edx, dword [ebp - 0x944]
mov ecx, dword [ebp - 0x948]
call fcn.00411440
push 1
mov ecx, dword [ebp - 0x914]
sub ecx, 0x3c
call fcn.0041ecb0
jmp 0x436150
push 0
mov ecx, dword [ebp - 0x914]
sub ecx, 0x3c
call fcn.0041ecb0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00458357
mov esp, ebp
pop ebp
ret 4