Function at 0x411760
Capabilities:
Print debug messages

Disassembly:
push 0xffffffffffffffff
push 0x4b140e
mov eax, dword fs:[0]
push eax
sub esp, 0x848
mov eax, dword [0x4f2888]
xor eax, esp
mov dword [esp + 0x844], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4f2888]
xor eax, esp
push eax
lea eax, [esp + 0x85c]
mov dword fs:[0], eax
push str._DOWN__down_window::DownloadNext__
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
cmp byte [esi + 0x1310], 0
je 0x4120c4
cmp byte [0x4f3ed0], 0
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
jne 0x411a05
cmp dword [esi + 0x380], 0
jne 0x411a05
mov eax, dword [esi + 0x21c]
xor ebx, ebx
push ebx
push ebx
push 0x1004
push eax
call ebp
test eax, eax
jle 0x411a05
nop
push ebx
lea ecx, [esi + 0x1fc]
call fcn.00432f59
mov edi, eax
test edi, edi
je 0x4119ea
mov eax, dword [edi]
cmp eax, 5
je 0x4119ea
cmp eax, 8
je 0x4119ea
test eax, eax
je 0x41182c
cmp eax, 1
je 0x41182c
cmp eax, 2
jne 0x4119ea
lea ecx, [esp + 0x28]
call fcn.0043074a
lea ecx, [edi + 0x2144]
push ecx
xor ebp, ebp
lea ecx, [esp + 0x18]
mov dword [esp + 0x868], ebp
call fcn.004021a0
mov edx, dword [esp + 0x14]
push ebp
push edx
lea ecx, [esp + 0x30]
mov byte [esp + 0x86c], 1
mov dword [edi + 0x30], ebp
mov dword [edi + 0x34], ebp
call fcn.004307df
test eax, eax
je 0x411d7f
lea ecx, [esp + 0x28]
call fcn.004303af
lea ecx, [esp + 0x28]
call fcn.004303eb
cmp edx, ebp
jl 0x411d7f
jg 0x411897
cmp eax, ebp
jbe 0x411d7f
cmp dword [edi + 0x435c], ebp
jle 0x4118ad
mov dword [edi + 0x30], ebp
mov dword [edi + 0x34], ebp
mov dword [edi + 0x38], ebp
mov dword [edi + 0x3c], ebp
jmp 0x4118b9
mov dword [edi + 0x30], eax
mov dword [edi + 0x34], edx
mov dword [edi + 0x38], eax
mov dword [edi + 0x3c], edx
mov ecx, dword [edi + 0x2c]
cmp ecx, edx
mov ebp, dword [edi + 0x28]
jg 0x411d7f
jl 0x4118d1
cmp ebp, eax
ja 0x411d7f
fldz
push ecx
push ebp
push ecx
push ebp
push ecx
mov dword [edi + 0x3c], ecx
fstp dword [esp]
mov dword [edi + 0x34], ecx
mov ecx, esi
mov dword [edi], 5
mov dword [edi + 0x38], ebp
mov dword [edi + 0x30], ebp
call fcn.004111e0
lea ecx, [esp + 0x18]
call fcn.00401a50
mov eax, dword [edi + 0x2c]
mov ecx, dword [edi + 0x28]
push eax
push ecx
lea edx, [esp + 0x28]
push edx
mov ecx, esi
mov byte [esp + 0x870], 2
call fcn.00410d60
mov ebp, eax
mov eax, dword [edi + 0x3c]
mov ecx, dword [edi + 0x38]
push eax
push ecx
lea edx, [esp + 0x24]
push edx
mov ecx, esi
mov byte [esp + 0x870], 3
call fcn.00410d60
mov ecx, dword [ebp]
mov edx, dword [eax]
push ecx
push edx
lea eax, [esp + 0x20]
push str._s__s
push eax
mov byte [esp + 0x874], 4
call fcn.00407880
add esp, 0x10
lea ecx, [esp + 0x1c]
call fcn.00401aa0
lea ecx, [esp + 0x20]
mov byte [esp + 0x864], 2
call fcn.00401aa0
mov ecx, dword [esp + 0x18]
push ecx
push 1
push ebx
lea ecx, [esi + 0x1fc]
call fcn.00432ee5
mov edx, dword [esi + 0x21c]
push 1
push 0
push edx
call dword [sym.imp.USER32.dll_InvalidateRect]
lea ecx, [esp + 0x28]
call fcn.004302c9
mov eax, dword [esi + 0x25c4]
test eax, eax
je 0x4119be
mov ecx, dword [esp + 0x14]
push ecx
push 0x4bed60
push 0
push eax
call fcn.0040f260
add esp, 0x10
lea ecx, [esp + 0x18]
call fcn.00401aa0
lea ecx, [esp + 0x14]
call fcn.00401aa0
lea ecx, [esp + 0x28]
mov dword [esp + 0x864], 0xffffffff
call fcn.00430770
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
mov edx, dword [esi + 0x21c]
push 0
push 0
push 0x1004
push edx
inc ebx
call ebp
cmp ebx, eax
jl 0x4117f0
mov eax, dword [esi + 0x21c]
push 0
push 0
push 0x1004
push eax
mov dword [esp + 0x24], 0
call ebp
test eax, eax
jle 0x411c9e
xor ebx, ebx
lea esp, [esp]
mov ecx, dword [esp + 0x14]
push ecx
lea ecx, [esi + 0x1fc]
call fcn.00432f59
mov edi, eax
cmp edi, ebx
je 0x411c7d
cmp dword [edi], 7
jne 0x411c7d
lea ecx, [esp + 0x40]
call fcn.0043074a
lea edx, [edi + 0x2144]
push edx
lea ecx, [esp + 0x1c]
mov dword [esp + 0x868], 5
call fcn.004021a0
mov eax, dword [esp + 0x18]
push ebx
push eax
lea ecx, [esp + 0x48]
mov byte [esp + 0x86c], 6
mov dword [edi + 0x30], ebx
mov dword [edi + 0x34], ebx
call fcn.004307df
test eax, eax
je 0x411e7f
lea ecx, [esp + 0x40]
call fcn.004303af
lea ecx, [esp + 0x40]
call fcn.004303eb
test edx, edx
jl 0x411e7f
jg 0x411ac0
test eax, eax
jbe 0x411e7f
mov ecx, dword [edi + 0x2c]
cmp ecx, edx
mov ebp, dword [edi + 0x28]
mov dword [edi + 0x30], eax
mov dword [edi + 0x34], edx
mov dword [edi + 0x38], eax
mov dword [edi + 0x3c], edx
jg 0x411e7f
jl 0x411ae4
cmp ebp, eax
ja 0x411e7f
mov dword [edi], 5
mov dword [edi + 0x38], ebp
mov dword [edi + 0x3c], ecx
mov dword [edi + 0x30], ebp
mov dword [edi + 0x34], ecx
call fcn.0042f8f6
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x411e75
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x1c], eax
mov ecx, dword [edi + 0x2c]
mov edx, dword [edi + 0x28]
push ecx
push edx
lea eax, [esp + 0x2c]
push eax
mov ecx, esi
mov byte [esp + 0x870], 7
call fcn.00410d60
mov ebp, eax
mov ecx, dword [edi + 0x3c]
mov edx, dword [edi + 0x38]
push ecx
push edx
lea eax, [esp + 0x28]
push eax
mov ecx, esi
mov byte [esp + 0x870], 8
call fcn.00410d60
mov ecx, dword [ebp]
mov edx, dword [eax]
push ecx
push edx
lea eax, [esp + 0x24]
push str._s__s
push eax
mov byte [esp + 0x874], 9
call fcn.00407880
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
add esp, 0x10
mov byte [esp + 0x864], 8
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x411b9d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
mov byte [esp + 0x864], 7
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x411bc5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edi, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
push edi
push 1
push ecx
lea ecx, [esi + 0x1fc]
call fcn.00432ee5
mov edx, dword [esi + 0x21c]
push 1
push 0
push edx
call dword [sym.imp.USER32.dll_InvalidateRect]
lea ecx, [esp + 0x40]
call fcn.004302c9
mov eax, dword [esi + 0x25c4]
test eax, eax
je 0x411c15
mov ecx, dword [esp + 0x18]
push ecx
push 0x4bed2c
push 0
push eax
call fcn.0040f260
add esp, 0x10
lea eax, [edi - 0x10]
mov byte [esp + 0x864], 6
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x411c39
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov byte [esp + 0x864], 5
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x411c61
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x40]
mov dword [esp + 0x864], 0xffffffff
call fcn.00430770
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
xor ebx, ebx
mov edi, dword [esp + 0x14]
mov ecx, dword [esi + 0x21c]
push ebx
push ebx
push 0x1004
inc edi
push ecx
mov dword [esp + 0x24], edi
call ebp
cmp edi, eax
jl 0x411a30
push 0
mov ecx, esi
call fcn.004120f0
push 0x4bc01c
mov ecx, esi
call fcn.00437013
mov ecx, dword [esi + 0x21c]
push 0
push 0
push 0x1004
push ecx
call ebp
test eax, eax
jle 0x4120c4
mov edx, dword [esi + 0x21c]
xor edi, edi
push edi
push edi
push 0x1004
push edx
call ebp
test eax, eax
jle 0x411d41
lea ebx, [esi + 0x1fc]
lea esp, [esp]
push edi
mov ecx, ebx
call fcn.00432f59
test eax, eax
je 0x411d2a
mov eax, dword [eax]
test eax, eax
je 0x4120c4
cmp eax, 1
je 0x4120c4
cmp eax, 2
je 0x4120c4
cmp eax, 7
je 0x4120c4
cmp eax, 8
je 0x4120c4
mov eax, dword [esi + 0x21c]
push 0
push 0
push 0x1004
push eax
inc edi
call ebp
cmp edi, eax
jl 0x411cf0
mov ecx, dword [esi + 0x21c]
xor edi, edi
push edi
push edi
push 0x1004
push ecx
mov dword [esp + 0x24], edi
xor ebx, ebx
call ebp
test eax, eax
jle 0x411fba
push edi
lea ecx, [esi + 0x1fc]
call fcn.00432f59
cmp dword [eax], 5
jne 0x411f9e
inc dword [esp + 0x14]
jmp 0x411f9f
lea ecx, [esp + 0x28]
call fcn.004302c9
mov eax, dword [esi + 0x21c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 2
push 0xffffffffffffffff
push 0x100c
push eax
call ebp
cmp eax, 0xffffffff
je 0x411dcc
push 0xffffffffffffffff
push 0
push eax
lea ecx, [esi + 0x1fc]
call fcn.00432eb8
mov ecx, dword [esi + 0x21c]
push 2
push 0xffffffffffffffff
push 0x100c
push ecx
call ebp
cmp eax, 0xffffffff
jne 0x411da5
push 3
push 3
push ebx
lea ecx, [esi + 0x1fc]
call fcn.00432eb8
mov edx, dword [esi + 0x21c]
push 1
push ebx
push 0x1013
push edx
call ebp
mov eax, dword [esi + 0x25c4]
test eax, eax
je 0x411e07
push 0x4becd8
push 2
push eax
call fcn.0040f260
add esp, 0xc
mov eax, dword [esi + 0x25c4]
test eax, eax
je 0x411e26
mov ecx, dword [esp + 0x14]
push ecx
push 0x4becb4
push 2
push eax
call fcn.0040f260
add esp, 0x10
push edi
lea ecx, [esi + 0xd0]
call fcn.0040c150
lea edx, [edi + 0x40]
push edx
lea ecx, [esi + 0x1128]
call fcn.00437013
add edi, 0x1144
push edi
lea ecx, [esi + 0x11e4]
call fcn.00437013
lea ecx, [esp + 0x14]
call fcn.00401aa0
lea ecx, [esp + 0x28]
mov dword [esp + 0x864], 0xffffffff
call fcn.00430770
jmp 0x4120c4
push 0x80004005
call fcn.00401040
lea ecx, [esp + 0x40]
call fcn.004302c9
mov edx, dword [esi + 0x21c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 2
push 0xffffffffffffffff
push 0x100c
push edx
call ebp
cmp eax, 0xffffffff
je 0x411ecc
push 0xffffffffffffffff
push 0
push eax
lea ecx, [esi + 0x1fc]
call fcn.00432eb8
mov eax, dword [esi + 0x21c]
push 2
push 0xffffffffffffffff
push 0x100c
push eax
call ebp
cmp eax, 0xffffffff
jne 0x411ea5
mov ebx, dword [esp + 0x14]
push 3
push 3
push ebx
lea ecx, [esi + 0x1fc]
call fcn.00432eb8
mov ecx, dword [esi + 0x21c]
push 1
push ebx
push 0x1013
push ecx
call ebp
mov eax, dword [esi + 0x25c4]
test eax, eax
je 0x411f0b
push 0x4becd8
push 2
push eax
call fcn.0040f260
add esp, 0xc
mov eax, dword [esi + 0x25c4]
test eax, eax
je 0x411f2a
mov edx, dword [esp + 0x18]
push edx
push 0x4bec8c
push 2
push eax
call fcn.0040f260
add esp, 0x10
push edi
lea ecx, [esi + 0xd0]
call fcn.0040c150
lea eax, [edi + 0x40]
push eax
lea ecx, [esi + 0x1128]
mov dword [edi], 7
call fcn.00437013
add edi, 0x1144
push edi
lea ecx, [esi + 0x11e4]
call fcn.00437013
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov byte [esp + 0x864], 5
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x411f85
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x40]
mov dword [esp + 0x864], 0xffffffff
call fcn.00430770
jmp 0x4120c4
inc ebx
mov edx, dword [esi + 0x21c]
push 0
push 0
push 0x1004
push edx
inc edi
call ebp
cmp edi, eax
jl 0x411d61
mov eax, dword [esi + 0x25c4]
mov edi, dword [esp + 0x14]
test eax, eax
je 0x411fda
push ebx
push edi
push 0x4bec54
push 1
push eax
call fcn.0040f260
add esp, 0x14
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push str.CHK_SYSTEM
call fcn.004021a0
mov ecx, esi
call fcn.00429990
cmp eax, 1
jne 0x412039
push ebx
push edi
lea eax, [esp + 0x60]
push 0x4bebf8
push eax
call fcn.004809ea
mov edx, dword [esi + 0x20]
add esp, 0x10
push 1
lea ecx, [esp + 0x5c]
push ecx
push 0x1388
push edx
call ebp
mov ecx, esi
call fcn.00413ab0
mov eax, dword [esi + 0x20]
push 0
push 0x64
push 0x2c
push eax
call dword [sym.imp.USER32.dll_SetTimer]
jmp 0x4120c4
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push str.CHK_PROGRAM
call fcn.004021a0
mov ecx, esi
call fcn.00429990
cmp eax, 1
jne 0x41208e
push ebx
push edi
lea ecx, [esp + 0x60]
push 0x4beb98
push ecx
call fcn.004809ea
mov eax, dword [esi + 0x20]
add esp, 0x10
push 1
lea edx, [esp + 0x5c]
push edx
push 0x1388
push eax
call ebp
mov ecx, dword [esi + 0x20]
push 0
push 0x64
push 0x2c
push ecx
call dword [sym.imp.USER32.dll_SetTimer]
jmp 0x4120c4
cmp dword [esi + 0x1350], 0
je 0x41209e
mov ecx, esi
call fcn.00413800
push ebx
push edi
lea edx, [esp + 0x60]
push 0x4beb60
push edx
call fcn.004809ea
mov ecx, dword [esi + 0x20]
add esp, 0x10
push 1
lea eax, [esp + 0x5c]
push eax
push 0x1388
push ecx
call ebp
mov ecx, dword [esp + 0x85c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x844]
xor ecx, esp
call fcn.0047f7c9
add esp, 0x854
ret