Function at 0x4755c0
Capabilities:
Delete file
Download url
Get common file path
Receive data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6e30af
mov eax, dword fs:[0]
push eax
sub esp, 0x324
mov eax, dword [0x831704]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
lea ebx, [esi + 0x854]
xor eax, eax
mov dword [ebx + 0x14], 7
mov dword [ebx + 0x10], 0
mov word [ebx], ax
mov dword [ebp - 0x330], esi
mov dword [ebx + 0x18], eax
mov dword [ebp - 4], eax
mov dword [esi + 0x50], eax
mov byte [esi + 0x874], al
call fcn.00475510
mov dword [esi + 0x14], 4
lea eax, [esi + 0x14]
mov dword [esi + 0x20], 5
mov dword [esi + 0x2c], 1
mov dword [esi + 0x38], 3
mov dword [esi + 0x44], 2
mov dword [esi + 0x10], eax
lea eax, [ebp - 0x2f8]
push eax
push esi
push 0x4b
push 0
mov dword [ebp - 0x2f8], 0x14
mov dword [esi], 0x14
mov dword [esi + 4], 0
mov dword [esi + 8], 5
mov dword [esi + 0xc], 0
call dword [sym.imp.WININET.dll_InternetQueryOptionW]
test eax, eax
je 0x475c8c
mov eax, dword [esi + 0x30]
test al, 2
je 0x4756e7
mov ecx, dword [esi + 0x48]
test ecx, ecx
je 0x4756e7
push ecx
push 0x7ce71c
call dword [sym.imp.MSVCR120.dll_printf]
add esp, 8
lea ecx, [ebp - 0x2a0]
push dword [esi + 0x48]
call fcn.00418140
lea eax, [ebp - 0x2a0]
mov byte [ebp - 4], 1
cmp ebx, eax
je 0x4756d0
push 0xffffffffffffffff
push 0
push eax
mov ecx, ebx
call fcn.00419170
lea ecx, [ebp - 0x2a0]
mov dword [esi + 0x50], 1
call fcn.00418210
jmp 0x475c8c
test al, 8
je 0x475719
mov ebx, dword [sym.imp.WININET.dll_DetectAutoProxyUrl]
lea edi, [esi + 0x454]
push 2
push 0x400
push edi
call ebx
test eax, eax
jne 0x475739
push 1
push 0x400
push edi
call ebx
test eax, eax
je 0x475c8c
jmp 0x475739
test al, 4
je 0x475c8c
push 0x400
push dword [esi + 0x18]
lea edi, [esi + 0x454]
push edi
call dword [sym.imp.MSVCR120.dll_wcstombs]
add esp, 0xc
lea eax, [ebp - 0x220]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea eax, [ebp - 0x118]
push eax
push 0
push 0
lea eax, [ebp - 0x220]
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
push 0
push 0
lea eax, [ebp - 0x118]
push eax
push edi
push 0
call dword [sym.imp.urlmon.dll_URLDownloadToFileA]
push dword [0x87c864]
lea eax, [ebp - 0x118]
push eax
lea ecx, [ebp - 0x280]
call fcn.00449bd0
lea eax, [ebp - 0x280]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x2f0]
call fcn.005dc950
mov dword [ebp - method.wxConvAuto.virtual_0], vtable.wxConvAuto.0
mov dword [ebp - 0x230], 0
mov dword [ebp - 0x228], 0xffffffff
mov word [ebp - 0x224], 0
mov dword [ebp - 0x22c], 0
lea eax, [ebp - 0x234]
mov byte [ebp - 4], 4
push eax
lea ecx, [ebp - 0x2f0]
call fcn.005dc670
mov bl, al
mov dword [ebp - method.wxConvAuto.virtual_0], vtable.wxConvAuto.0
mov byte [ebp - 4], 5
cmp byte [ebp - 0x224], 0
je 0x475816
mov ecx, dword [ebp - 0x230]
test ecx, ecx
je 0x475816
mov eax, dword [ecx]
push 1
call dword [eax + 0x18]
lea ecx, [ebp - 0x234]
mov byte [ebp - 4], 3
call fcn.005c0030
mov edi, dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
test bl, bl
mov ebx, dword [sym.imp.MSVCR120.dll_free]
je 0x475c42
mov eax, dword [ebp - 0x2bc]
xor ecx, ecx
mov dword [ebp - 0x304], eax
mov dword [ebp - 0x300], ecx
test eax, eax
jle 0x475c37
mov dword [ebp - 0x2fc], ecx
jmp 0x475860
cmp dword [0x82e960], 0
je 0x47589f
cmp ecx, eax
jb 0x47589f
push str.wxArrayString:_index_out_of_bounds
push str.nIndex___m_nCount
push str.wxArrayString::Item
push 0xb2
push str.C:DevelopmentJPDebug_toolswinincludewx_3.0wx_arrstr.h
call fcn.005c7220
add esp, 0x14
cmp byte [0x87c8e0], 0
je 0x47589f
mov byte [0x87c8e0], 0
int3
mov eax, dword [ebp - 0x2b8]
xor ecx, ecx
add eax, dword [ebp - 0x2fc]
push 0xffffffffffffffff
push ecx
mov word [ebp - 0x260], cx
lea ecx, [ebp - 0x260]
push eax
mov dword [ebp - 0x24c], 7
mov dword [ebp - 0x250], 0
call fcn.00419170
mov dword [ebp - 0x248], 0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x240]
push 6
xor eax, eax
mov dword [ebp - 0x22c], 7
push str.PROXY
mov dword [ebp - 0x230], 0
mov word [ebp - 0x240], ax
call fcn.00419290
push dword [ebp - 0x230]
cmp dword [ebp - 0x22c], 8
lea eax, [ebp - 0x240]
push 0
cmovae eax, dword [ebp - 0x240]
lea ecx, [ebp - 0x260]
push eax
mov dword [ebp - 0x228], 0
call fcn.0041d850
cmp eax, dword [0x77db98]
mov ecx, 0xffffffff
push 0
cmove eax, ecx
cmp eax, ecx
setne byte [ebp - 0x2f1]
call ebx
add esp, 4
cmp dword [ebp - 0x22c], 8
jb 0x475978
push dword [ebp - 0x240]
call edi
add esp, 4
cmp byte [ebp - 0x2f1], 0
je 0x475bed
push dword [0x77db98]
lea eax, [ebp - 0x32c]
push 0x7ce6fc
push eax
call fcn.0045e630
add esp, 0xc
lea ecx, [ebp - 0x260]
push dword [ebp - 0x328]
push 0
push dword [ebp - 0x32c]
call fcn.0041d850
mov ecx, eax
mov edx, 0xffffffff
mov eax, dword [0x77db98]
cmp ecx, eax
push eax
cmove ecx, edx
lea eax, [ecx + 6]
push eax
lea eax, [ebp - 0x240]
push eax
lea ecx, [ebp - 0x260]
call fcn.005c9820
lea ecx, [ebp - 0x260]
mov byte [ebp - 4], 7
cmp ecx, eax
je 0x4759f8
push 0xffffffffffffffff
push 0
push eax
call fcn.00419170
mov byte [ebp - 4], 6
push dword [ebp - 0x228]
call ebx
add esp, 4
cmp dword [ebp - 0x22c], 8
jb 0x475a1b
push dword [ebp - 0x240]
call edi
add esp, 4
push dword [0x77db98]
lea eax, [ebp - 0x324]
push 0x7ce79c
push eax
call fcn.0045e630
add esp, 0xc
lea ecx, [ebp - 0x260]
push dword [ebp - 0x320]
push 0
push dword [ebp - 0x324]
call fcn.0041d850
mov ecx, dword [0x77db98]
mov edx, 0xffffffff
cmp eax, ecx
cmove eax, edx
cmp eax, edx
je 0x475af8
push ecx
lea eax, [ebp - 0x30c]
push 0x7ce798
push eax
call fcn.0045e630
add esp, 0xc
lea ecx, [ebp - 0x260]
push dword [ebp - 0x308]
push 0
push dword [ebp - 0x30c]
call fcn.0041d850
cmp eax, dword [0x77db98]
mov ecx, 0xffffffff
cmove eax, ecx
lea ecx, [ebp - 0x260]
push eax
push 0
lea eax, [ebp - 0x240]
push eax
call fcn.005c9820
lea ecx, [ebp - 0x260]
mov byte [ebp - 4], 8
cmp ecx, eax
je 0x475acf
push 0xffffffffffffffff
push 0
push eax
call fcn.00419170
mov byte [ebp - 4], 6
push dword [ebp - 0x228]
call ebx
add esp, 4
cmp dword [ebp - 0x22c], 8
jb 0x475af2
push dword [ebp - 0x240]
call edi
add esp, 4
mov ecx, dword [0x77db98]
push ecx
lea eax, [ebp - 0x31c]
push 0x7ce794
push eax
call fcn.0045e630
add esp, 0xc
lea ecx, [ebp - 0x260]
push dword [ebp - 0x318]
push 0
push dword [ebp - 0x31c]
call fcn.0041d850
mov ecx, dword [0x77db98]
mov edx, 0xffffffff
cmp eax, ecx
cmove eax, edx
cmp eax, edx
je 0x475bca
push ecx
lea eax, [ebp - 0x314]
push str.____
push eax
call fcn.0045e630
add esp, 0xc
lea ecx, [ebp - 0x260]
push dword [ebp - 0x310]
push 0
push dword [ebp - 0x314]
call fcn.0041d850
cmp eax, dword [0x77db98]
mov ecx, 0xffffffff
cmove eax, ecx
lea ecx, [ebp - 0x260]
push eax
push 0
lea eax, [ebp - 0x240]
push eax
call fcn.005c9820
lea ecx, [ebp - 0x260]
mov byte [ebp - 4], 9
cmp ecx, eax
je 0x475ba7
push 0xffffffffffffffff
push 0
push eax
call fcn.00419170
mov byte [ebp - 4], 6
push dword [ebp - 0x228]
call ebx
add esp, 4
cmp dword [ebp - 0x22c], 8
jb 0x475bca
push dword [ebp - 0x240]
call edi
add esp, 4
lea ecx, [ebp - 0x260]
lea eax, [esi + 0x854]
cmp eax, ecx
je 0x475be6
push 0xffffffffffffffff
push 0
push ecx
mov ecx, eax
call fcn.00419170
mov dword [esi + 0x50], 1
mov byte [ebp - 4], 3
push dword [ebp - 0x248]
call ebx
add esp, 4
cmp dword [ebp - 0x24c], 8
jb 0x475c10
push dword [ebp - 0x260]
call edi
add esp, 4
mov ecx, dword [ebp - 0x300]
add dword [ebp - 0x2fc], 0x20
inc ecx
mov dword [ebp - 0x300], ecx
cmp ecx, dword [ebp - 0x304]
jge 0x475c37
mov eax, dword [ebp - 0x2bc]
jmp 0x475860
lea ecx, [ebp - 0x2f0]
call fcn.005dc550
lea eax, [ebp - 0x118]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ecx, [ebp - 0x2a8]
mov byte [ebp - 4], 0xa
call fcn.005d9f80
lea ecx, [ebp - 0x2f0]
mov byte [ebp - 4], 2
call fcn.005dc4c0
push dword [ebp - 0x268]
call ebx
add esp, 4
cmp dword [ebp - 0x26c], 8
jb 0x475c8c
push dword [ebp - 0x280]
call edi
add esp, 4
lea eax, [ebp - 0x2f8]
mov dword [ebp - 0x2f8], 0x200
push eax
lea edi, [esi + 0x54]
push edi
push 0x1c
push 0
call dword [sym.imp.WININET.dll_InternetQueryOptionW]
mov ebx, dword [sym.imp.MSVCR120.dll_printf]
test eax, eax
je 0x475cc2
push edi
push 0x7ce78c
call ebx
add esp, 8
jmp 0x475cc5
mov byte [edi], 0
lea eax, [ebp - 0x2f8]
push eax
lea edi, [esi + 0x254]
push edi
push 0x1d
push 0
call dword [sym.imp.WININET.dll_InternetQueryOptionW]
test eax, eax
je 0x475cee
push edi
push 0x7ce788
call ebx
add esp, 8
jmp 0x475cf1
mov byte [edi], 0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.006d1ba7
mov esp, ebp
pop ebp
ret