Function at 0x429100
Capabilities:
Get file size
Prepare http request
Read and send data from client to server
Read file via mapping
Receive http response
Send data
Send http request

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x525805
mov eax, dword fs:[0]
push eax
sub esp, 0x68
mov eax, dword [0x58e5a4]
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 ebx, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x64], ebx
mov dword [ebp - 0x74], eax
mov dword [ebp - 4], 0
mov eax, ebx
cmp dword [ebx + 0x14], 8
jb 0x429148
mov eax, dword [ebx]
push 0
push 0
push 3
push 0
push 1
push SysReAllocString
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
mov dword [ebp - 0x40], esi
mov byte [ebp - 4], 1
cmp esi, 0xffffffff
je 0x429920
test esi, esi
je 0x429920
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push 0
push 0
push 0
push 2
push 0
push esi
mov dword [ebp - 0x1c], eax
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov edi, eax
mov dword [ebp - 0x44], edi
mov byte [ebp - 4], 2
test edi, edi
je 0x429915
cmp edi, 0xffffffff
je 0x429915
push 0
push 0
push 0
push 4
push edi
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [ebp - 0x2c], eax
mov byte [ebp - 4], 3
test eax, eax
jne 0x4291d0
xor bl, bl
jmp 0x4298fa
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x14], 0
call fcn.0041a480
push 0x2a
push str._____________________________41184676334_r_n
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 4
call fcn.0041ac00
push 0x2f
push str.Content_Disposition:_form_data__name_apikey__r_n
lea ecx, [ebp - 0x14]
call fcn.0041ac00
push 0x44
push str._r_n4e3202fdbe953d628f650229af5b3eb49cd46b2d3bfe5546ae3c5fa48b554e0c_r_n
lea ecx, [ebp - 0x14]
call fcn.0041ac00
push 0x2a
push str._____________________________41184676334_r_n
lea ecx, [ebp - 0x14]
call fcn.0041ac00
push 0x3a
push str.Content_Disposition:_form_data__name_creation_datetime__r_n
lea ecx, [ebp - 0x14]
call fcn.0041ac00
lea edx, [ebx + 0x48]
lea ecx, [ebp - 0x18]
call fcn.00428f70
push eax
lea eax, [ebp - 0x68]
mov byte [ebp - 4], 5
push 0x565628
push eax
call fcn.00415af0
push 0x565628
push eax
lea eax, [ebp - 0x6c]
mov byte [ebp - 4], 6
push eax
call fcn.0040c040
add esp, 0x18
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x14]
mov eax, dword [eax]
push dword [eax - 0xc]
push eax
call fcn.0041ac00
mov edx, dword [ebp - 0x6c]
or ebx, 0xffffffff
add edx, 0xfffffff0
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x429291
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x68]
mov eax, ebx
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4292ab
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 4
mov eax, ebx
mov edx, dword [ebp - 0x18]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4292c9
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0x64]
cmp dword [ecx + 0x40], 0
je 0x42939b
push 0x2a
push str._____________________________41184676334_r_n
lea ecx, [ebp - 0x14]
call fcn.0041ac00
push 0x3b
push str.Content_Disposition:_form_data__name_autostart_location__r_n
lea ecx, [ebp - 0x14]
call fcn.0041ac00
mov eax, dword [ebp - 0x64]
add eax, 0x30
cmp dword [eax + 0x14], 8
jb 0x429302
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x18]
call fcn.0040c130
push eax
lea eax, [ebp - 0x68]
mov byte [ebp - 4], 8
push 0x565628
push eax
call fcn.00415af0
push 0x565628
push eax
lea eax, [ebp - 0x6c]
mov byte [ebp - 4], 9
push eax
call fcn.0040c040
add esp, 0x18
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x14]
mov eax, dword [eax]
push dword [eax - 0xc]
push eax
call fcn.0041ac00
mov edx, dword [ebp - 0x6c]
mov eax, ebx
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x429360
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x68]
mov eax, ebx
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x42937a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 4
mov eax, ebx
mov edx, dword [ebp - 0x18]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x429398
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0x64]
cmp dword [ecx + 0x28], 0
je 0x429467
push 0x2a
push str._____________________________41184676334_r_n
lea ecx, [ebp - 0x14]
call fcn.0041ac00
push 0x38
push str.Content_Disposition:_form_data__name_autostart_entry__r_n
lea ecx, [ebp - 0x14]
call fcn.0041ac00
mov eax, dword [ebp - 0x64]
add eax, 0x18
cmp dword [eax + 0x14], 8
jb 0x4293d1
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x18]
call fcn.0040c130
push eax
lea eax, [ebp - 0x68]
mov byte [ebp - 4], 0xb
push 0x565628
push eax
call fcn.00415af0
push 0x565628
push eax
lea eax, [ebp - 0x6c]
mov byte [ebp - 4], 0xc
push eax
call fcn.0040c040
add esp, 0x18
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x14]
mov eax, dword [eax]
push dword [eax - 0xc]
push eax
call fcn.0041ac00
mov edx, dword [ebp - 0x6c]
mov eax, ebx
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x42942f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x68]
mov eax, ebx
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x429449
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 4
mov eax, ebx
mov edx, dword [ebp - 0x18]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x429467
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 0x2a
push str._____________________________41184676334_r_n
lea ecx, [ebp - 0x14]
call fcn.0041ac00
mov eax, dword [ebp - 0x64]
mov ecx, eax
cmp dword [eax + 0x14], 8
jb 0x429483
mov ecx, dword [eax]
push ecx
lea ecx, [ebp - 0x24]
call fcn.0040c130
push eax
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 0xe
push 0x565720
push eax
call fcn.00415af0
push 0x56571c
push eax
lea eax, [ebp - 0x68]
mov byte [ebp - 4], 0xf
push eax
call fcn.0040c040
push 0x565628
push eax
lea eax, [ebp - 0x6c]
mov byte [ebp - 4], 0x10
push eax
call fcn.0040c040
add esp, 0x24
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x14]
mov eax, dword [eax]
push dword [eax - 0xc]
push eax
call fcn.0041ac00
mov edx, dword [ebp - 0x6c]
mov eax, ebx
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4294f4
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x68]
mov eax, ebx
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x42950e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x18]
mov eax, ebx
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x429528
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 4
mov eax, ebx
mov edx, dword [ebp - 0x24]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x429546
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 0x2a
push str.Content_Type:_application_octet_stream_r_n_r_n
lea ecx, [ebp - 0x14]
call fcn.0041ac00
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x24], 0
call fcn.0041a480
push 0x2e
push str._r_n_____________________________41184676334___r_n
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 0x12
call fcn.0041ac00
push 0x800000
push 0
push 0
push 0
push str.vtapi_v2_file_scan
push str.POST
push dword [0x598254]
call dword [sym.imp.WINHTTP.dll_WinHttpOpenRequest]
mov ecx, dword [ebp + 0x34]
mov ebx, eax
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x18], ebx
mov dword [eax], 4
test ecx, ecx
je 0x4295b6
mov edx, dword [ecx]
push eax
push dword [ebp - 0x64]
call dword [edx + 8]
lea eax, [ebp - 0x38]
mov dword [ebp - 0x5c], 1
push eax
lea eax, [ebp - 0x5c]
mov dword [ebp - 0x58], 3
push eax
push str.https:__www.virustotal.com
push dword [0x598258]
mov dword [ebp - 0x48], 1
call dword [sym.imp.WINHTTP.dll_WinHttpGetProxyForUrl]
test eax, eax
je 0x4295f7
push 0xc
lea eax, [ebp - 0x38]
push eax
push 0x26
push ebx
call dword [sym.imp.WINHTTP.dll_WinHttpSetOption]
push str.Content_Type:_multipart_form_data__boundary___________________________41184676334_r_n
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x28], 0
call fcn.0040c130
mov byte [ebp - 4], 0x13
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
mov dword [ebp - 0x6c], eax
push 0
mov ecx, dword [eax + 4]
mov eax, dword [ebp - 0x24]
add eax, 0xfffffff0
mov dword [ebp - 0x68], eax
mov eax, dword [eax + 4]
add eax, ecx
add eax, dword [ebp - 0x1c]
push eax
push 0
push 0
push 0
push dword [ebp - 0x28]
push ebx
call dword [sym.imp.WINHTTP.dll_WinHttpSendRequest]
test eax, eax
jne 0x429654
push ebx
call dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
xor al, al
mov byte [ebp - 0x5d], al
jmp 0x4298ab
mov ebx, dword [ebp - 0x6c]
lea ecx, [ebp - 0x20]
push dword [ebp - 0x14]
mov ebx, dword [ebx + 4]
call fcn.0042a730
lea ecx, [ebp - 0x3c]
push ecx
push ebx
push dword [eax]
mov ebx, dword [ebp - 0x18]
push ebx
call dword [sym.imp.WINHTTP.dll_WinHttpWriteData]
mov edx, dword [ebp - 0x20]
or eax, 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x429691
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x3c]
push eax
push dword [ebp - 0x1c]
push dword [ebp - 0x2c]
push ebx
call dword [sym.imp.WINHTTP.dll_WinHttpWriteData]
mov ebx, dword [ebp - 0x68]
lea ecx, [ebp - 0x1c]
push dword [ebp - 0x24]
mov ebx, dword [ebx + 4]
call fcn.0042a730
lea ecx, [ebp - 0x3c]
push ecx
push ebx
push dword [eax]
mov ebx, dword [ebp - 0x18]
push ebx
call dword [sym.imp.WINHTTP.dll_WinHttpWriteData]
mov edx, dword [ebp - 0x1c]
or eax, 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4296df
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 0
push ebx
call dword [sym.imp.WINHTTP.dll_WinHttpReceiveResponse]
test eax, eax
jne 0x4296f6
xor al, al
mov byte [ebp - 0x5d], al
jmp 0x4298ab
mov ecx, dword [ebp - 0x74]
mov edx, dword [ebp + 0x34]
mov dword [ecx], 3
test edx, edx
je 0x429712
mov eax, dword [edx]
push ecx
mov ecx, dword [ebp - 0x64]
push ecx
mov ecx, edx
call dword [eax + 8]
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x1c], 0
call fcn.0042a900
lea edx, [ebp - 0x1c]
mov byte [ebp - 4], 0x14
mov ecx, ebx
call fcn.00425e70
push dword [ebp - 0x18]
mov ebx, eax
call dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov eax, dword [ebp - 0x74]
mov dword [eax], 6
test ebx, ebx
jne 0x42989e
push dword [ebp - 0x1c]
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x20], ebx
call fcn.0042a570
mov byte [ebp - 4], 0x15
mov eax, dword [ebp - 0x20]
cmp dword [eax - 4], 1
jle 0x429774
push dword [eax - 0xc]
lea ecx, [ebp - 0x20]
call fcn.0040d4e0
mov eax, dword [ebp - 0x20]
xorps xmm0, xmm0
mov dword [ebp - 0x70], eax
lea ecx, [ebp - 0x34]
movlpd qword [ebp - 0x34], xmm0
call fcn.00429f90
lea eax, [ebp - 0x34]
mov byte [ebp - 4], 0x16
push eax
lea edx, [ebp - 0x70]
mov dword [ebp - 0x18], 0
lea ecx, [ebp - 0x18]
call fcn.004473a0
add esp, 4
mov byte [ebp - 4], 0x17
mov eax, dword [ebp - 0x18]
cmp dword [eax - 0xc], 0
je 0x429886
push str.permalink
lea edx, [ebp - 0x34]
lea ecx, [ebp - 0x70]
call fcn.00447840
add esp, 4
mov ebx, dword [ebp - 0x74]
mov byte [ebp - 4], 0x18
push dword [eax]
lea ecx, [ebx + 4]
mov dword [ebp - 0x74], ecx
call fcn.004082b0
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 0x17
call fcn.0040c110
cmp dword [ebx + 0x14], 0
lea edx, [ebp - 0x34]
jne 0x429839
push str.verbose_msg
lea ecx, [ebp - 0x64]
call fcn.00447840
push eax
lea eax, [ebp - 0x70]
mov byte [ebp - 4], 0x19
push str.Submission_error:
push eax
call fcn.00415af0
add esp, 0x10
mov ecx, dword [ebp - 0x74]
mov byte [ebp - 4], 0x1a
push dword [eax]
call fcn.004082b0
lea ecx, [ebp - 0x70]
call fcn.0040c110
lea ecx, [ebp - 0x64]
call fcn.0040c110
xor al, al
mov byte [ebp - 0x5d], al
jmp 0x42986c
push str.scan_id
lea ecx, [ebp - 0x70]
mov dword [ebx], 4
call fcn.00447840
add esp, 4
mov byte [ebp - 4], 0x1b
mov ecx, dword [ebp - 0x64]
push dword [eax]
lea ecx, [ecx + 0x50]
call fcn.004082b0
lea ecx, [ebp - 0x70]
call fcn.0040c110
mov byte [ebp - 0x5d], 1
lea ecx, [ebp - 0x18]
call fcn.0040c110
lea ecx, [ebp - 0x34]
call fcn.00428c10
lea ecx, [ebp - 0x20]
call fcn.0040c110
jmp 0x4298a3
lea ecx, [ebp - 0x18]
call fcn.0040c110
lea ecx, [ebp - 0x34]
call fcn.00428c10
lea ecx, [ebp - 0x20]
call fcn.0040c110
xor al, al
mov byte [ebp - 0x5d], al
lea ecx, [ebp - 0x1c]
call fcn.0042a710
mov edx, dword [ebp - 0x28]
or ebx, 0xffffffff
add edx, 0xfffffff0
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4298c8
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x68]
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4298df
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x6c]
lock xadd dword [edx + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x4298f4
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov bl, byte [ebp - 0x5d]
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x429905
push eax
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x429922
push esi
xor bl, bl
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x429922
xor bl, bl
mov ecx, dword [ebp + 0x34]
test ecx, ecx
je 0x42993a
mov esi, dword [ecx]
lea eax, [ebp + 0x10]
cmp ecx, eax
setne dl
movzx edx, dl
push edx
call dword [esi + 0x10]
mov al, bl
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.004d2a60
mov esp, ebp
pop ebp
ret 0x30