Function at 0x10046ee7
Capabilities:
Delete file
Download url
Get graphical window text
Receive data

Disassembly:
push ebp
lea ebp, [esp - 0x1050]
mov eax, 0x1050
call fcn.10102790
push 0xffffffffffffffff
push 0x1013b4d2
mov eax, dword fs:[0]
push eax
sub esp, 0x70
mov eax, dword [0x1019c8c8]
xor eax, ebp
mov dword [ebp + 0x104c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
mov esi, ecx
push 0xe4
push dword [esi + 4]
call edi
xor ebx, ebx
push 0x1048
mov dword [ebp - 0x24], eax
lea eax, [ebp + 2]
push ebx
push eax
mov word [ebp], bx
call fcn.101027c0
mov eax, dword [0x1019a028]
add esp, 0xc
mov dword [ebp - 0x18], eax
push 0x98
lea ecx, [ebp - 0x18]
mov dword [ebp - 4], ebx
call fcn.1000201d
mov eax, dword [0x1019a028]
mov dword [ebp - 0x10], eax
push 0x99
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 1
call fcn.1000201d
push dword [ebp - 0x24]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
test eax, eax
jne 0x10046fcc
push 0x40
push ebx
lea ecx, [ebp - 0x18]
call fcn.10001a82
push ecx
mov ecx, esp
mov dword [ebp - 0x14], esp
push ecx
mov dword [ecx], eax
mov dword [ebp - 0x14], esp
mov edi, esp
push ebx
lea ecx, [ebp - 0x10]
call fcn.10001a82
mov dword [edi], eax
push dword [esi + 4]
call fcn.10018835
add esp, 0x10
push dword [ebp - 0x24]
call dword [sym.imp.USER32.dll_SetFocus]
jmp 0x10047284
push 0x825
lea eax, [ebp]
push eax
push dword [ebp - 0x24]
call dword [sym.imp.USER32.dll_GetWindowTextW]
lea ecx, [ebp - 0x7c]
call fcn.100d7b79
push 0x9a
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 2
call fcn.1000201d
lea eax, [ebp]
push eax
lea ecx, [ebp - 0x1c]
call fcn.1000587e
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x7c]
mov byte [ebp - 4], 3
call fcn.100d7cdb
mov bl, al
neg bl
sbb bl, bl
lea ecx, [ebp - 0x1c]
inc bl
mov byte [ebp - 4], 2
call fcn.100015d9
test bl, bl
je 0x1004706a
push 0x40
push 0
lea ecx, [ebp - 0x18]
call fcn.10001a82
push ecx
mov ecx, esp
mov dword [ebp - 0x14], esp
mov dword [ecx], eax
push 0
lea ecx, [ebp - 0x10]
call fcn.10001a82
push ecx
mov ecx, esp
mov dword [ecx], eax
mov dword [ebp - 0x14], esp
push dword [esi + 4]
call fcn.10018835
add esp, 0x10
push dword [ebp - 0x24]
call dword [sym.imp.USER32.dll_SetFocus]
jmp 0x10047278
push 0x9b
lea ecx, [ebp - 0x10]
call fcn.1000201d
cmp dword [ebp - 0x48], 3
jne 0x1004702b
lea eax, [ebp - 0x74]
push eax
lea ecx, [ebp - 0x1c]
call fcn.1000584b
push 0x101558e8
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 4
call fcn.1001c185
lea eax, [ebp - 0x70]
push eax
lea ecx, [ebp - 0x1c]
call fcn.1000be54
push str._favicon.ico
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.100058db
push 0x10159a38
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 5
call fcn.1003d283
mov ebx, dword [sym.imp.USER32.dll_EnableWindow]
push 0
push dword [esi + 4]
call ebx
push 1
push 0x7f02
push 1
lea ecx, [ebp - 0x3c]
call fcn.10045c1f
xor eax, eax
push eax
push eax
push dword [ebp - 0x20]
mov byte [ebp - 4], 7
push dword [ebp - 0x1c]
push eax
call sub.urlmon.dll_URLDownloadToFileW
xor ecx, ecx
push ecx
push ecx
mov dword [ebp - 0x14], eax
mov eax, dword [esi + 0xe4]
push eax
push dword [ebp - 0x28]
push ecx
call sub.urlmon.dll_URLDownloadToFileW
lea ecx, [ebp - 0x3c]
call fcn.100459f6
push 1
push dword [esi + 4]
call ebx
push 0x9c
lea ecx, [ebp - 0x10]
call fcn.1000201d
cmp dword [ebp - 0x14], 0
je 0x10047173
push 0x40
push 0
lea ecx, [ebp - 0x18]
call fcn.10001a82
push ecx
mov ecx, esp
mov dword [ebp - 0x14], esp
mov dword [ecx], eax
push 0
lea ecx, [ebp - 0x10]
call fcn.10001a82
push ecx
mov ecx, esp
mov dword [ecx], eax
mov dword [ebp - 0x14], esp
push dword [esi + 4]
call fcn.10018835
add esp, 0x10
push dword [ebp - 0x24]
call dword [sym.imp.USER32.dll_SetFocus]
jmp 0x1004724f
lea ecx, [ebp - 0x30]
call fcn.100dae54
push dword [ebp - 0x20]
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 8
call fcn.100db0e1
lea ecx, [esi + 0xe0]
cmp dword [ecx], 0
je 0x1004719a
call fcn.10045a9d
mov eax, dword [esi + 0xe4]
push 0x2010
push 0x10
push 0x10
push 1
push eax
push 0
call dword [sym.imp.USER32.dll_LoadImageW]
push eax
lea ecx, [esi + 0xe0]
call fcn.1003bc20
push 0x101
push dword [esi + 4]
call edi
mov ecx, dword [esi + 0xe0]
push 0
push ecx
push 0x170
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
push 0xff
push dword [esi + 4]
call edi
push dword [ebp - 0x30]
mov dword [ebp - 0x14], eax
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
push 1
push dword [ebp - 0x14]
call ebx
push 0x9d
lea ecx, [ebp - 0x10]
call fcn.1000201d
push 1
push dword [esi + 4]
call edi
push dword [ebp - 0x10]
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
push 0xe5
push dword [esi + 4]
call edi
push 1
push eax
call ebx
push 0xe4
push dword [esi + 4]
call edi
push 0
push eax
call ebx
lea ecx, [ebp - 0x30]
mov dword [esi + 0xf0], 2
mov byte [ebp - 4], 7
call fcn.100dae41
lea ecx, [ebp - 0x3c]
call fcn.100459f6
push dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp - 0x20]
call fcn.100015d9
lea ecx, [ebp - 0x28]
call fcn.100015d9
lea ecx, [ebp - 0x1c]
call fcn.100015d9
lea ecx, [ebp - 0x7c]
mov byte [ebp - 4], 1
call fcn.100d7bde
lea ecx, [ebp - 0x10]
call fcn.100015d9
lea ecx, [ebp - 0x18]
call fcn.100015d9
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x104c]
xor ecx, ebp
call fcn.101018a3
add ebp, 0x1050
leave
ret