Function at 0x430530
Capabilities:
Check http status code
Delete file
Parse url

Disassembly:
push ebp
lea ebp, [esp - 0x70]
sub esp, 0x70
push 0xffffffffffffffff
push 0x4c60ae
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x50a074]
xor eax, ebp
mov dword [ebp + 0x6c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov eax, dword [ebp + 0x78]
mov ecx, dword [ebp + 0x7c]
mov dword [ebp], ecx
lea ecx, [ebx + 0x20]
push eax
mov dword [ebp + 0x30], eax
mov dword [ebp + 0x28], 0
call fcn.00409100
mov dword [ebx + 0x78], 0
mov dword [ebp - 4], 0
mov edx, 0x4e99a0
push 0
push 0x4e9998
lea ecx, [ebp + 0x54]
call fcn.00406a80
add esp, 8
mov dword [ebp + 0x28], 1
lea eax, [ebp + 0x3c]
lea ecx, [ebp + 0x54]
push eax
call fcn.00421c50
mov edx, eax
mov byte [ebp - 4], 1
cmp dword [edx + 0x14], 8
jb 0x4305c4
mov edx, dword [edx]
lea edi, [ebx + 0x18]
mov dword [ebp + 0x38], edi
test edx, edx
jne 0x4305d2
xor ecx, ecx
jmp 0x4305e6
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4305d7
sub ecx, esi
sar ecx, 1
push ecx
push edx
mov ecx, edi
call fcn.004035e0
mov byte [ebp - 4], 0
lea ecx, [ebp + 0x3c]
call fcn.00403e10
mov eax, 1
mov dword [ebp + 0x28], eax
and eax, 0xfffffffe
mov dword [ebp + 0x28], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x54]
call fcn.00403e10
push edi
lea ecx, [ebx + 0x1c]
call fcn.00409490
push 5
push str..part
lea ecx, [ebx + 0x1c]
call fcn.00402420
lea eax, [ebp - 0x58]
mov dword [ebp + 0x24], 0
push eax
mov eax, dword [ebp + 0x30]
xorps xmm0, xmm0
push 0
push 0
movlpd qword [ebp - 0x54], xmm0
push dword [eax]
movlpd qword [ebp - 0x4c], xmm0
movlpd qword [ebp - 0x44], xmm0
movlpd qword [ebp - 0x3c], xmm0
movlpd qword [ebp - 0x34], xmm0
movlpd qword [ebp - 0x2c], xmm0
movlpd qword [ebp - 0x24], xmm0
mov dword [ebp - 0x58], 0x3c
call dword [sym.imp.WININET.dll_InternetCrackUrlW]
test eax, eax
jne 0x430788
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, esi
je 0x430783
call fcn.00429890
cmp byte [eax + 0x1c], 0
je 0x430762
call fcn.00429890
test byte [eax + 0x20], 8
je 0x430762
call fcn.00429890
mov edi, eax
call fcn.004043d0
test eax, eax
je 0x430b90
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp + 0x34], eax
mov dword [ebp - 4], 6
lea ecx, [ebp + 0x34]
push 0x11
push str.CheckURL___failed
call fcn.00402420
call fcn.004043d0
test eax, eax
je 0x430b90
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp + 0x38], eax
mov byte [ebp - 4], 9
lea ecx, [ebp + 0x38]
push 0
push 0x4e6df8
call fcn.00402420
push ecx
lea eax, [ebp + 0x34]
push eax
push ecx
lea eax, [ebp + 0x38]
mov ecx, edi
push eax
call fcn.00429bd0
mov byte [ebp - 4], 6
or edi, 0xffffffff
mov edx, dword [ebp + 0x38]
mov eax, edi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x430743
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp + 0x34]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], edi
dec edi
test edi, edi
jg 0x430762
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
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 + 0x6c]
xor ecx, ebp
call fcn.00497376
lea esp, [ebp + 0x70]
pop ebp
ret 8
mov eax, dword [ebp + 0x2c]
jmp 0x43078b
mov eax, dword [ebp - 0x4c]
cmp eax, 3
je 0x43079c
cmp eax, 4
je 0x43079c
mov eax, 0x2ee6
jmp 0x430764
lea eax, [ebp + 0x24]
mov ecx, ebx
push eax
call fcn.00432420
mov esi, eax
test esi, esi
je 0x43086c
call fcn.00429890
cmp byte [eax + 0x1c], 0
je 0x430762
call fcn.00429890
test byte [eax + 0x20], 8
je 0x430762
call fcn.00429890
mov edi, eax
call fcn.004043d0
test eax, eax
je 0x430b90
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp + 0x38], eax
mov dword [ebp - 4], 0x10
lea ecx, [ebp + 0x38]
push 0x1b
push str.InitInetConnection___failed
call fcn.00402420
call fcn.004043d0
test eax, eax
je 0x430b90
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp + 0x34], eax
mov byte [ebp - 4], 0x13
lea ecx, [ebp + 0x34]
push 0
push 0x4e6df8
call fcn.00402420
push ecx
lea eax, [ebp + 0x38]
push eax
push ecx
lea eax, [ebp + 0x34]
mov ecx, edi
push eax
call fcn.00429bd0
mov byte [ebp - 4], 0x10
or edi, 0xffffffff
mov edx, dword [ebp + 0x34]
mov eax, edi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x43085d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp + 0x38]
jmp 0x43074d
mov edi, dword [ebp + 0x24]
mov dword [ebp - 0x1c], 0x4e9dac
mov dword [ebp - 0x18], edi
mov dword [ebp - 4], 0x18
lea eax, [ebx + 0x7c]
cmp dword [eax], 0
jbe 0x430894
push 4
push eax
push 2
push edi
call dword [sym.imp.WININET.dll_InternetSetOptionW]
lea eax, [ebp + 8]
mov dword [ebp + 0xc], 0
mov dword [ebp + 0x10], 0
mov dword [ebp + 0x2c], eax
call fcn.004043d0
test eax, eax
je 0x430b90
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp + 8], eax
mov byte [ebp - 4], 0x1b
lea eax, [ebp + 4]
push eax
lea eax, [ebp + 0xc]
mov ecx, ebx
push eax
lea eax, [ebp + 0x10]
push eax
push str.POST
push dword [ebp + 0x30]
push edi
call fcn.00432a80
mov esi, eax
test esi, esi
je 0x430a27
call fcn.00429890
or edi, 0xffffffff
cmp byte [eax + 0x1c], 0
je 0x4309bd
call fcn.00429890
test byte [eax + 0x20], 8
je 0x4309bd
call fcn.00429890
mov dword [ebp + 0x30], eax
call fcn.004043d0
test eax, eax
je 0x430b90
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp + 0x38], eax
mov byte [ebp - 4], 0x1e
lea ecx, [ebp + 0x38]
push 0x10
push str.Connect___failed
call fcn.00402420
call fcn.004043d0
test eax, eax
je 0x430b90
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp + 0x34], eax
mov byte [ebp - 4], 0x21
lea ecx, [ebp + 0x34]
push 0
push 0x4e6df8
call fcn.00402420
push ecx
lea eax, [ebp + 0x38]
push eax
push ecx
mov ecx, dword [ebp + 0x30]
lea eax, [ebp + 0x34]
push eax
call fcn.00429bd0
mov byte [ebp - 4], 0x1e
mov eax, edi
mov edx, dword [ebp + 0x34]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x43099f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x1b
mov eax, edi
mov edx, dword [ebp + 0x38]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4309bd
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp esi, 0xe0000013
je 0x4309d2
push 0
push esi
lea ecx, [ebx + 0xc]
push 0
call fcn.00435340
mov ebx, dword [sym.imp.WININET.dll_InternetCloseHandle]
mov byte [ebp - 4], 0x18
lea eax, [ebp + 8]
mov dword [ebp + 0x2c], eax
mov byte [ebp - 4], 0x18
mov edx, dword [ebp + 8]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], edi
dec edi
test edi, edi
jg 0x4309fe
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov edi, dword [ebp + 0x24]
push 0
push edi
mov dword [ebp - 0x1c], 0x4e9dac
call dword [sym.imp.WININET.dll_InternetSetStatusCallbackW]
push edi
call ebx
mov dword [ebp - 0x18], 0
jmp 0x430762
mov esi, dword [ebx + 8]
mov dword [ebp + 0x2c], esi
mov dword [ebp - 0x14], 0x4e9dac
mov dword [ebp - 0x10], esi
mov byte [ebp - 4], 0x28
mov eax, dword [ebx + 4]
mov edx, dword [ebx + 0x70]
mov ecx, dword [ebx + 0x68]
mov dword [ebp + 0x14], 0x4e9da4
mov dword [ebp + 0x18], eax
mov byte [ebp - 4], 0x29
mov dword [ebp + 0x14], 0x4e9e0c
mov dword [ebp + 0x1c], ecx
mov dword [ebp + 0x20], edx
mov byte [ebp - 4], 0x2a
lea eax, [ebp + 0x14]
push dword [ebp + 0x10]
mov ecx, ebx
push dword [ebp + 0xc]
push eax
push edi
call fcn.00431700
or edi, 0xffffffff
mov dword [ebp + 0x30], eax
test eax, eax
jne 0x430aef
cmp dword [ebx + 0xa0], 0xc8
jne 0x430ae7
call fcn.004043d0
mov ecx, eax
test ecx, ecx
je 0x430b90
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp + 0x34], eax
mov byte [ebp - 4], 0x2c
lea ecx, [ebp + 0x34]
mov eax, dword [ebx]
push ecx
mov ecx, ebx
call dword [eax + 0x44]
push dword [ebp]
mov ebx, dword [ebp + 0x38]
lea eax, [ebp + 0x34]
push eax
push ebx
call fcn.004320d0
mov dword [ebp + 0x30], eax
mov byte [ebp - 4], 0x2a
mov eax, edi
mov edx, dword [ebp + 0x34]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x430af2
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x430af2
mov eax, 0xe000002b
mov dword [ebp + 0x30], eax
mov ebx, dword [ebp + 0x38]
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov byte [ebp - 4], 0x28
mov dword [ebp + 0x14], 0x4e9e0c
mov byte [ebp - 4], 0x2e
cmp dword [ebp + 0x18], 0
je 0x430b48
push dword [ebp + 0x20]
call dword [sym.imp.KERNEL32.dll_ResetEvent]
mov eax, dword [ebp + 0x18]
mov ebx, dword [sym.imp.WININET.dll_InternetCloseHandle]
test eax, eax
je 0x430b2f
push eax
call ebx
mov dword [ebp + 0x18], 0
mov esi, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0xffffffffffffffff
push dword [ebp + 0x1c]
call esi
push 0xffffffffffffffff
push dword [ebp + 0x20]
call esi
mov esi, dword [ebp + 0x2c]
jmp 0x430b4e
mov ebx, dword [sym.imp.WININET.dll_InternetCloseHandle]
mov byte [ebp - 4], 0x28
mov eax, dword [ebp + 0x18]
mov dword [ebp + 0x14], 0x4e9da4
test eax, eax
je 0x430b6a
push eax
call ebx
mov dword [ebp + 0x18], 0
mov byte [ebp - 4], 0x1b
push 0
push esi
mov dword [ebp - 0x14], 0x4e9dac
call dword [sym.imp.WININET.dll_InternetSetStatusCallbackW]
push esi
call ebx
mov esi, dword [ebp + 0x30]
mov dword [ebp - 0x10], 0
jmp 0x4309d8
push 0x80004005
call fcn.00402570
int3