Function at 0x10029084
Capabilities:
Download url
Get common file path
Receive data
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1007c275
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x1bb4
call fcn.10061440
mov eax, dword [0x100a82b0]
xor eax, esp
mov dword [esp + 0x1bb0], eax
push ebx
push esi
push edi
mov eax, dword [0x100a82b0]
xor eax, esp
push eax
lea eax, [esp + 0x1bc8]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
xor ebx, ebx
push ebx
mov dword [esp + 0x64], eax
push 0x104
lea eax, [esp + 0x9bc]
push eax
lea eax, [esp + 0xa4]
push eax
mov edi, ecx
call dword [sym.imp.WININET.dll_InternetGetConnectedStateExW]
test eax, eax
je 0x1002951d
push 0x14
pop eax
mov dword [esp + 0x80], eax
push 5
mov dword [esp + 0x88], eax
pop ecx
lea eax, [esp + 0x20]
mov dword [esp + 0x94], eax
lea eax, [esp + 0x80]
push eax
lea eax, [esp + 0x88]
push eax
xor esi, esi
push 0x4b
inc esi
push ebx
mov dword [esp + 0x30], 4
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x48], esi
mov dword [esp + 0x54], 3
mov dword [esp + 0x60], 2
mov dword [esp + 0x98], ebx
mov dword [esp + 0x9c], ecx
mov dword [esp + 0xa0], ebx
call dword [sym.imp.WININET.dll_InternetQueryOptionW]
test eax, eax
je 0x1002951d
test byte [esp + 0x3c], 2
je 0x100292d2
mov dword [esp + 0x70], ebx
mov dword [esp + 0x74], ebx
mov dword [esp + 0x78], ebx
mov dword [esp + 0x7c], ebx
push ecx
mov dword [esp + 0x1bd4], ebx
mov eax, esp
mov dword [esp + 0x60], esp
push eax
mov edi, 0x10099b98
call fcn.100022a8
push ecx
mov eax, esp
mov byte [esp + 0x1bd8], 1
mov edi, dword [esp + 0x5c]
mov dword [esp + 0x68], esp
push eax
call fcn.100022a8
lea eax, [esp + 0x78]
push eax
mov byte [esp + 0x1bdc], bl
call fcn.1000782d
mov eax, dword [0x100aa3bc]
add esp, 0xc
mov ecx, 0x100aa3bc
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x14], eax
mov byte [esp + 0x1bd0], 2
mov eax, dword [esp + 0x74]
cmp eax, esi
jne 0x10029204
mov eax, dword [esp + 0x70]
lea edi, [esp + 0x14]
call fcn.100022f6
jmp 0x10029269
mov dword [esp + 0x18], ebx
cmp eax, ebx
jbe 0x10029269
mov ecx, dword [esp + 0x70]
mov dword [esp + 0x1c], ecx
cmp ebx, eax
jae 0x1002924b
mov eax, dword [esp + 0x1c]
lea edi, [esp + 0x14]
call fcn.100022f6
push 0x10099b9c
mov esi, edi
call fcn.100040ef
cmp eax, 0xffffffff
jne 0x10029255
inc dword [esp + 0x18]
mov eax, dword [esp + 0x74]
add dword [esp + 0x1c], 4
cmp dword [esp + 0x18], eax
jb 0x10029218
jmp 0x10029269
push 0x80070057
call fcn.10002a17
push 0x1009908c
push 0x10099b9c
lea eax, [esp + 0x1c]
push eax
call fcn.10008960
mov esi, dword [sym.imp.KERNEL32.dll_GlobalFree]
cmp dword [esp + 0x24], ebx
je 0x1002927b
push dword [esp + 0x24]
call esi
cmp dword [esp + 0x48], ebx
je 0x10029287
push dword [esp + 0x48]
call esi
cmp dword [esp + 0x54], ebx
je 0x10029293
push dword [esp + 0x54]
call esi
mov esi, dword [esp + 0x14]
push 0xfde9
push ecx
add esi, 0xfffffff0
mov eax, esi
mov dword [esp + 0x64], esp
mov edi, esp
call fcn.1000296d
add eax, 0x10
mov dword [edi], eax
call fcn.10006dfa
pop ecx
mov edi, eax
pop ecx
mov eax, esi
call fcn.100029ea
lea esi, [esp + 0x70]
call fcn.100025d5
mov eax, edi
jmp 0x1002951f
test byte [esp + 0x3c], 0xc
je 0x10029667
push str.jsproxy.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [esp + 0x14], eax
cmp eax, ebx
je 0x100294f3
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.InternetInitializeAutoProxyDll
push eax
call esi
push str.InternetDeInitializeAutoProxyDll
push dword [esp + 0x18]
mov dword [esp + 0x6c], eax
call esi
push str.InternetGetProxyInfo
push dword [esp + 0x18]
mov dword [esp + 0x20], eax
call esi
mov dword [esp + 0x68], eax
cmp dword [esp + 0x64], ebx
je 0x100294e9
cmp dword [esp + 0x18], ebx
je 0x100294e9
cmp eax, ebx
je 0x100294e9
test byte [esp + 0x3c], 8
jne 0x100294e9
lea eax, [edi + 0x20c]
push eax
mov dword [esp + 0x20], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp byte [edi], bl
jne 0x100293e6
lea eax, [esp + 0x1a4]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea esi, [edi + 2]
push esi
push ebx
push 0x10099c1c
lea eax, [esp + 0x1b0]
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
push ebx
push ebx
push esi
push dword [esp + 0x30]
push ebx
call sub.urlmon.dll_URLDownloadToFileW
test eax, eax
je 0x100293e3
push dword [esp + 0x14]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov edi, dword [sym.imp.KERNEL32.dll_GlobalFree]
cmp dword [esp + 0x24], ebx
je 0x100293bc
push dword [esp + 0x24]
call edi
cmp dword [esp + 0x48], ebx
je 0x100293c8
push dword [esp + 0x48]
call edi
cmp dword [esp + 0x54], ebx
je 0x100293d4
push dword [esp + 0x54]
call edi
push dword [esp + 0x1c]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp 0x1002951d
mov byte [edi], 1
push dword [esp + 0x1c]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea eax, [esp + 0x9c]
push eax
push 0x104
add edi, 2
push edi
call fcn.1002a5ca
add esp, 0xc
push ebx
push ebx
push ebx
lea eax, [esp + 0xa8]
push eax
push ebx
call dword [esp + 0x78]
test eax, eax
je 0x100294e9
push 0x400
lea eax, [esp + 0x5b0]
push ebx
push eax
mov dword [esp + 0x68], ebx
call fcn.1005c860
mov esi, dword [esp + 0x6c]
push 7
push str.http:__
push esi
mov edi, esi
call fcn.1005b05a
add esp, 0x18
test eax, eax
jne 0x10029455
lea edi, [esi + 7]
push 0x10099c2c
push edi
call fcn.1005b580
pop ecx
pop ecx
cmp eax, ebx
je 0x10029479
sub eax, edi
push eax
lea eax, [esp + 0x5b0]
push edi
push eax
call fcn.1005f4b0
jmp 0x1002949d
push 0x10099c30
push edi
call fcn.1005b580
pop ecx
pop ecx
cmp eax, ebx
jne 0x10029466
push edi
lea eax, [esp + 0x5b0]
push 0x400
push eax
call fcn.1005a1db
lea eax, [esp + 0x5b8]
add esp, 0xc
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x100294aa
sub eax, edx
mov edx, eax
mov eax, esi
lea edi, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x100294ba
lea ecx, [esp + 0x5c]
push ecx
lea ecx, [esp + 0x70]
push ecx
push edx
lea ecx, [esp + 0x5b8]
push ecx
sub eax, edi
push eax
push esi
call dword [esp + 0x80]
test eax, eax
jne 0x10029545
push ebx
push ebx
call dword [esp + 0x20]
push dword [esp + 0x14]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov esi, dword [sym.imp.KERNEL32.dll_GlobalFree]
cmp dword [esp + 0x24], ebx
je 0x10029505
push dword [esp + 0x24]
call esi
cmp dword [esp + 0x48], ebx
je 0x10029511
push dword [esp + 0x48]
call esi
cmp dword [esp + 0x54], ebx
je 0x1002951d
push dword [esp + 0x54]
call esi
xor eax, eax
mov ecx, dword [esp + 0x1bc8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x1bb0]
xor ecx, esp
call fcn.10059ccb
mov esp, ebp
pop ebp
ret 4
push dword [esp + 0x6c]
lea eax, [esp + 0xbc0]
push 0xfff
push eax
call fcn.1005a1db
mov edi, dword [sym.imp.KERNEL32.dll_GlobalFree]
add esp, 0xc
push dword [esp + 0x6c]
call edi
push 5
lea eax, [esp + 0xbc0]
push str.proxy
push eax
call fcn.1005b8fa
add esp, 0xc
test eax, eax
je 0x10029657
lea eax, [esp + 0xbbc]
push 0x10099c3c
push eax
call fcn.1005b580
pop ecx
pop ecx
cmp eax, ebx
jne 0x100295c0
lea eax, [esp + 0xbc1]
push eax
lea eax, [esp + 0x1a8]
push 0x400
push eax
call fcn.1005a1db
add esp, 0xc
jmp 0x100295ea
lea ecx, [esp + 0xbbc]
sub ecx, eax
sub ecx, 5
push ecx
lea eax, [esp + 0xbc5]
push eax
lea eax, [esp + 0x1ac]
push 0x400
push eax
call fcn.10062950
add esp, 0x10
push ebx
push ebx
call dword [esp + 0x20]
cmp dword [esp + 0x24], ebx
je 0x100295fc
push dword [esp + 0x24]
call edi
cmp dword [esp + 0x48], ebx
je 0x10029608
push dword [esp + 0x48]
call edi
cmp dword [esp + 0x54], ebx
je 0x10029614
push dword [esp + 0x54]
call edi
push dword [esp + 0x14]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [esp + 0x1a4]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x10029628
sub eax, edx
lea edi, [eax + 1]
push edi
call fcn.10059bd9
mov esi, eax
lea eax, [esp + 0x1a8]
push eax
push edi
push esi
mov byte [esi], bl
call fcn.1005a1db
add esp, 0x10
mov eax, esi
jmp 0x1002951f
push ebx
push ebx
call dword [esp + 0x20]
push dword [esp + 0x14]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
cmp dword [esp + 0x24], ebx
je 0x10029677
push dword [esp + 0x24]
call dword [sym.imp.KERNEL32.dll_GlobalFree]
cmp dword [esp + 0x48], ebx
je 0x10029687
push dword [esp + 0x48]
call dword [sym.imp.KERNEL32.dll_GlobalFree]
cmp dword [esp + 0x54], ebx
je 0x1002951d
push dword [esp + 0x54]
call dword [sym.imp.KERNEL32.dll_GlobalFree]
jmp 0x1002951d