Function at 0x1004c420
Capabilities:
Hide graphical window

Disassembly:
push 0xffffffffffffffff
push 0x10204750
mov eax, dword fs:[0]
push eax
sub esp, 0x7c
mov eax, dword [0x10293044]
xor eax, esp
mov dword [esp + 0x78], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x10293044]
xor eax, esp
push eax
lea eax, [esp + 0x90]
mov dword fs:[0], eax
mov edi, dword [esp + 0xa4]
cmp edi, 0x404
mov esi, dword [esp + 0xa8]
mov ebp, ecx
mov dword [esp + 0x14], 1
jne 0x1004c746
xor ebx, ebx
cmp esi, ebx
je 0x1004c51f
push esi
lea ecx, [esp + 0x20]
call fcn.1000e090
mov dword [esp + 0x98], ebx
push esi
lea ecx, [esp + 0x58]
call fcn.1000df80
mov byte [esp + 0x98], 1
mov eax, dword [esp + 0x30]
push str.Button
lea edi, [ebx + 6]
lea ecx, [esp + 0x20]
call fcn.1000fad0
test eax, eax
jne 0x1004c6e5
push esi
lea ecx, [esp + 0x3c]
call fcn.1000df80
mov byte [esp + 0x98], 2
mov eax, dword [esi]
mov edx, dword [eax + 0x64]
lea ecx, [esp + 0x18]
push ecx
push esi
call edx
mov eax, dword [esp + 0x18]
cmp eax, ebx
jne 0x1004c526
mov byte [esp + 0x98], 1
lea ecx, [esp + 0x38]
call fcn.10001dd0
mov byte [esp + 0x98], bl
lea ecx, [esp + 0x54]
call fcn.10001dd0
mov dword [esp + 0x98], 0xffffffff
lea ecx, [esp + 0x1c]
call fcn.10001dd0
xor eax, eax
jmp 0x1004c92d
push eax
lea ecx, [esp + 0x74]
call fcn.1000df80
mov byte [esp + 0x98], 3
lea ecx, [esp + 0x70]
call fcn.10048dc0
mov esi, str.Download_Item_Btn_Retry
lea ecx, [esp + 0x38]
mov edi, eax
call fcn.1000faa0
test al, al
je 0x1004c568
push edi
add ebp, 0xffffffcc
push ebp
call fcn.1004d970
mov dword [esp + 0x14], eax
jmp 0x1004c6c3
mov esi, str.Download_Item_Btn_Delete_File_Link
lea ecx, [esp + 0x38]
call fcn.1000faa0
test al, al
je 0x1004c58d
push edi
add ebp, 0xffffffcc
push ebp
call fcn.1004e710
mov dword [esp + 0x14], eax
jmp 0x1004c6c3
mov esi, str.Download_Item_Btn_Delete_Icon
lea ecx, [esp + 0x38]
call fcn.1000faa0
test al, al
je 0x1004c5b2
push edi
add ebp, 0xffffffcc
push ebp
call fcn.1004e710
mov dword [esp + 0x14], eax
jmp 0x1004c6c3
mov esi, str.Download_Item_Btn_Start
lea ecx, [esp + 0x38]
call fcn.1000faa0
test al, al
je 0x1004c5d7
push edi
add ebp, 0xffffffcc
push ebp
call fcn.1004d970
mov dword [esp + 0x14], eax
jmp 0x1004c6c3
mov esi, str.Download_Item_Btn_Stop
lea ecx, [esp + 0x38]
call fcn.1000faa0
test al, al
je 0x1004c5fb
push edi
lea edi, [ebp - 0x34]
call fcn.1004d9f0
mov dword [esp + 0x14], eax
jmp 0x1004c6c3
mov esi, str.Download_Manager_Clear
lea ecx, [esp + 0x38]
call fcn.1000faa0
test al, al
je 0x1004c61e
lea edi, [ebp - 0x34]
call fcn.1004eb30
mov dword [esp + 0x14], eax
jmp 0x1004c6c3
mov esi, str.Download_Item_Btn_Open
lea ecx, [esp + 0x38]
call fcn.1000faa0
test al, al
je 0x1004c642
push edi
lea edi, [ebp - 0x34]
call fcn.1004ed20
mov dword [esp + 0x14], eax
jmp 0x1004c6c3
mov esi, str.Download_Item_Btn_Open_Floder
lea ecx, [esp + 0x38]
call fcn.1000faa0
test al, al
je 0x1004c664
push edi
add ebp, 0xffffffcc
push ebp
call fcn.1004eee0
mov dword [esp + 0x14], eax
jmp 0x1004c6c3
mov esi, str.Download_Item_Btn_More
lea ecx, [esp + 0x38]
call fcn.1000faa0
test al, al
je 0x1004c68a
push 0xffffffffffffffff
push 0xffffffffffffffff
push edi
push ebx
lea ecx, [ebp - 0x34]
call fcn.1004c960
mov dword [esp + 0x14], eax
jmp 0x1004c6c3
mov esi, str.Download_Manager_SearchBar_DelBtn
lea ecx, [esp + 0x38]
call fcn.1000faa0
test al, al
je 0x1004c6c3
mov edi, dword [ebp + 0x80]
cmp edi, ebx
jne 0x1004c6b0
mov dword [esp + 0x14], 1
jmp 0x1004c6c3
call fcn.10052510
mov eax, dword [ebp - 0x30]
push eax
call dword [sym.imp.USER32.dll_SetFocus]
mov dword [esp + 0x14], ebx
mov byte [esp + 0x98], 2
lea ecx, [esp + 0x70]
call fcn.10001dd0
mov byte [esp + 0x98], 1
lea ecx, [esp + 0x38]
call fcn.10001dd0
mov byte [esp + 0x98], bl
mov edi, 8
cmp dword [esp + 0x6c], edi
jb 0x1004c704
mov ecx, dword [esp + 0x58]
push ecx
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
mov esi, 7
mov dword [esp + 0x6c], esi
mov dword [esp + 0x68], ebx
mov word [esp + 0x58], bx
mov dword [esp + 0x98], 0xffffffff
cmp dword [esp + 0x34], edi
jb 0x1004c734
mov edx, dword [esp + 0x20]
push edx
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
mov dword [esp + 0x34], esi
mov dword [esp + 0x30], ebx
mov word [esp + 0x20], bx
jmp 0x1004c929
cmp edi, 0x746
jne 0x1004c8b3
xor edi, edi
cmp esi, edi
je 0x1004c51f
push esi
lea ecx, [esp + 0x3c]
call fcn.1000e090
mov dword [esp + 0x98], 4
push esi
lea ecx, [esp + 0x58]
call fcn.1000df80
mov byte [esp + 0x98], 5
mov dword [esp + 0x34], 7
mov dword [esp + 0x30], edi
mov word [esp + 0x20], di
mov byte [esp + 0x98], 6
push str.Download_Manager_Item_
lea ebx, [edi + 0x16]
xor eax, eax
lea edx, [esp + 0x58]
call fcn.10016200
or edi, 0xffffffff
cmp eax, edi
jne 0x1004c858
mov eax, dword [esi]
mov edx, dword [eax + 0x64]
lea ecx, [esp + 0x18]
push ecx
push esi
call edx
mov ebx, dword [esp + 0x18]
test ebx, ebx
jne 0x1004c808
mov byte [esp + 0x98], 5
lea ecx, [esp + 0x1c]
call fcn.10001dd0
mov byte [esp + 0x98], 4
lea ecx, [esp + 0x54]
call fcn.10001dd0
mov dword [esp + 0x98], edi
lea ecx, [esp + 0x38]
call fcn.10001dd0
xor eax, eax
jmp 0x1004c92d
lea ecx, [esp + 0x54]
mov esi, str.Download_Item_StateIcon
call fcn.1000faa0
test al, al
je 0x1004c827
mov eax, ebx
call fcn.10044380
mov ebx, eax
test ebx, ebx
je 0x1004c7cf
push ebx
lea ecx, [esp + 0x74]
call fcn.1000df80
mov byte [esp + 0x98], 7
push edi
push 0
lea ecx, [esp + 0x24]
call fcn.10007880
mov byte [esp + 0x98], 6
lea ecx, [esp + 0x70]
call fcn.10001dd0
jmp 0x1004c868
push edi
push 0
lea eax, [esp + 0x5c]
lea ecx, [esp + 0x24]
call fcn.10007880
lea ecx, [esp + 0x1c]
call fcn.10048dc0
test eax, eax
je 0x1004c87f
lea ecx, [ebp - 0x34]
mov ebx, eax
call fcn.1004f4d0
mov byte [esp + 0x98], 5
lea ecx, [esp + 0x1c]
call fcn.10001dd0
mov byte [esp + 0x98], 4
lea ecx, [esp + 0x54]
call fcn.10001dd0
mov dword [esp + 0x98], edi
lea ecx, [esp + 0x38]
call fcn.10001dd0
jmp 0x1004c929
cmp edi, 0xd04
je 0x1004c8c3
cmp edi, 0xd0b
jne 0x1004c915
cmp esi, 0x2b67
jne 0x1004c8d5
lea ebx, [ebp - 0x34]
call fcn.1004f190
jmp 0x1004c915
cmp esi, 0x2b68
jne 0x1004c915
cmp dword [ebp + 0x20], 0
mov byte [ebp + 0x104], 1
je 0x1004c915
mov eax, dword [ebp - 0x30]
mov ebx, dword [sym.imp.USER32.dll_ShowWindow]
push 0
push eax
call ebx
mov ecx, dword [ebp + 0x20]
mov edx, dword [ecx]
mov eax, dword [edx + 0xa0]
call eax
mov ecx, dword [ebp - 0x30]
push 5
push ecx
call ebx
mov eax, dword [ebp - 0x30]
call fcn.101c6810
cmp edi, 0xc80
jne 0x1004c929
test esi, esi
je 0x1004c929
lea edi, [ebp - 0x34]
call fcn.1004f8a0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x90]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x78]
xor ecx, esp
call fcn.101d19cc
add esp, 0x88
ret 0x10