Function at 0x407c50
Capabilities:
Connect to http server
Create http request
Parse url
Send data
Send http request

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4428c9
mov eax, dword fs:[0]
push eax
mov eax, 0x2564
call fcn.00425cd0
mov eax, dword [0x45a024]
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 eax, dword [ebp + 0x34]
mov dword [ebp - 0x2534], eax
push 4
push str..com
lea ecx, [ebp + 8]
xor ebx, ebx
push ecx
xor eax, eax
mov dword [ebp - 4], ebx
call fcn.004071d0
lea edx, [eax + 4]
lea ecx, [ebp - 0x24f8]
lea eax, [ebp + 8]
call fcn.00407ac0
push 0x44f581
lea edx, [ebp - 0x24cc]
push edx
mov byte [ebp - 4], 1
call fcn.00407690
push str.KCA9WE8RU47I132Z1S9K1FG
lea ecx, [ebp - 0x24cc]
mov byte [ebp - 4], 2
call fcn.004079c0
add esp, 4
push 0x1fe
lea ecx, [ebp - 0x40e]
xor eax, eax
push ebx
push ecx
mov word [ebp - 0x410], ax
call fcn.004212c0
add esp, 0xc
push 0xfe
lea eax, [ebp - 0x20e]
xor edx, edx
push ebx
push eax
mov word [ebp - 0x210], dx
call fcn.004212c0
add esp, 0xc
push 0xfe
lea edx, [ebp - 0x10e]
xor ecx, ecx
push ebx
push edx
mov word [ebp - 0x110], cx
call fcn.004212c0
add esp, 0xc
push 0x1046
lea ecx, [ebp - 0x1456]
xor eax, eax
push ebx
push ecx
mov word [ebp - 0x1458], ax
call fcn.004212c0
add esp, 0xc
push 0x38
lea edx, [ebp - 0x256c]
push ebx
push edx
call fcn.004212c0
lea eax, [ebp - 0x410]
mov dword [ebp - 0x2560], eax
mov eax, 0x80
mov dword [ebp - 0x2550], eax
mov dword [ebp - 0x2548], eax
lea ecx, [ebp - 0x210]
lea edx, [ebp - 0x110]
lea eax, [ebp - 0x1458]
mov edi, 8
add esp, 0xc
cmp dword [ebp + 0x1c], edi
mov dword [ebp - 0x2570], 0x3c
mov dword [ebp - 0x255c], pe_nt_image_headers32
mov dword [ebp - 0x2554], ecx
mov dword [ebp - 0x254c], edx
mov dword [ebp - 0x2544], eax
mov dword [ebp - 0x2540], 0x824
mov eax, dword [ebp + 8]
jae 0x407dd8
lea eax, [ebp + 8]
lea ecx, [ebp - 0x2570]
push ecx
push ebx
push ebx
push eax
call dword [sym.imp.WININET.dll_InternetCrackUrlW]
mov eax, dword [ebp - 0x24cc]
cmp dword [ebp - 0x24b8], edi
jae 0x407dfc
lea eax, [ebp - 0x24cc]
push ebx
push ebx
push ebx
push 1
push eax
call dword [sym.imp.WININET.dll_InternetOpenW]
mov esi, eax
cmp esi, ebx
jne 0x407eea
mov eax, dword [ebp - 0x24b0]
cmp eax, ebx
je 0x407e25
push eax
call fcn.0041afda
add esp, 4
mov dword [ebp - 0x24a8], ebx
mov dword [ebp - 0x24ac], ebx
mov dword [ebp - 0x24b0], ebx
cmp dword [ebp - 0x24b8], edi
jb 0x407e4e
mov edx, dword [ebp - 0x24cc]
push edx
call fcn.0041afda
add esp, 4
xor eax, eax
mov word [ebp - 0x24cc], ax
mov eax, dword [ebp - 0x24dc]
mov esi, 7
mov dword [ebp - 0x24bc], ebx
mov dword [ebp - 0x24b8], esi
cmp eax, ebx
je 0x407e7b
push eax
call fcn.0041afda
add esp, 4
mov dword [ebp - 0x24d4], ebx
mov dword [ebp - 0x24d8], ebx
mov dword [ebp - 0x24dc], ebx
cmp dword [ebp - 0x24e4], edi
jb 0x407ea4
mov ecx, dword [ebp - 0x24f8]
push ecx
call fcn.0041afda
add esp, 4
mov eax, dword [ebp + 0x24]
xor edx, edx
mov word [ebp - 0x24f8], dx
mov dword [ebp - 0x24e8], ebx
mov dword [ebp - 0x24e4], esi
cmp eax, ebx
je 0x407ec9
push eax
call fcn.0041afda
add esp, 4
mov dword [ebp + 0x24], ebx
mov dword [ebp + 0x28], ebx
mov dword [ebp + 0x2c], ebx
cmp dword [ebp + 0x1c], edi
jb 0x407ee3
mov eax, dword [ebp + 8]
push eax
call fcn.0041afda
add esp, 4
xor eax, eax
jmp 0x4080c2
mov eax, dword [ebp - 0x2558]
push ebx
push ebx
push 3
lea ecx, [ebp - 0x110]
push ecx
lea edx, [ebp - 0x210]
push edx
push eax
lea ecx, [ebp - 0x410]
push ecx
push esi
call dword [sym.imp.WININET.dll_InternetConnectW]
mov dword [ebp - 0x2528], eax
cmp eax, ebx
jne 0x407f27
push esi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
jmp 0x407e12
mov ecx, dword [ebp - 0x24f8]
cmp dword [ebp - 0x24e4], edi
jae 0x407f3b
lea ecx, [ebp - 0x24f8]
push ebx
push 0xe4200100
push ebx
push ebx
push ebx
push ecx
push ebx
push eax
call dword [sym.imp.WININET.dll_HttpOpenRequestW]
mov edi, eax
cmp edi, ebx
jne 0x407f8a
mov ecx, dword [ebp - 0x2528]
mov edi, dword [sym.imp.WININET.dll_InternetCloseHandle]
push ecx
call edi
push esi
call edi
lea esi, [ebp - 0x24cc]
call fcn.004013a0
lea esi, [ebp - 0x24f8]
call fcn.004013a0
lea esi, [ebp + 8]
call fcn.004013a0
xor eax, eax
jmp 0x4080c2
push str.Accept:___r_nContent_Type:_application_x_www_form_urlencoded
lea edx, [ebp - 0x2524]
push edx
call fcn.00407690
mov byte [ebp - 4], 3
cmp dword [ebp - 0x2510], 8
mov eax, dword [ebp - 0x2524]
jae 0x407fb4
lea eax, [ebp - 0x2524]
mov ecx, dword [ebp - 0x2514]
push 0x20000000
push ecx
push eax
push edi
call dword [sym.imp.WININET.dll_HttpAddRequestHeadersW]
test eax, eax
jne 0x407ff1
mov edx, dword [ebp - 0x2528]
mov ebx, dword [sym.imp.WININET.dll_InternetCloseHandle]
push edx
call ebx
push esi
call ebx
push edi
call ebx
lea esi, [ebp - 0x2524]
call fcn.004013a0
jmp 0x407f65
push 4
lea eax, [ebp - 0x252c]
push eax
push 6
push esi
mov dword [ebp - 0x252c], 0x3a98
call dword [sym.imp.WININET.dll_InternetSetOptionW]
push 4
lea ecx, [ebp - 0x252c]
push ecx
push 5
push esi
call dword [sym.imp.WININET.dll_InternetSetOptionW]
push ebx
push ebx
push ebx
push ebx
push edi
call dword [sym.imp.WININET.dll_HttpSendRequestW]
test eax, eax
je 0x40807f
push 0x1046
lea eax, [ebp - 0x249e]
xor edx, edx
push ebx
push eax
mov word [ebp - 0x24a0], dx
call fcn.004212c0
add esp, 0xc
push ebx
lea ecx, [ebp - 0x2530]
push ecx
lea edx, [ebp - 0x24a0]
push edx
push 0x21
push edi
mov dword [ebp - 0x2530], 0x1048
call dword [sym.imp.WININET.dll_HttpQueryInfoW]
mov ecx, dword [ebp - 0x2534]
lea eax, [ebp - 0x24a0]
call fcn.00407900
push edi
mov edi, dword [sym.imp.WININET.dll_InternetCloseHandle]
call edi
mov eax, dword [ebp - 0x2528]
push eax
call edi
push esi
call edi
lea esi, [ebp - 0x2524]
call fcn.004013a0
lea esi, [ebp - 0x24cc]
call fcn.004013a0
lea esi, [ebp - 0x24f8]
call fcn.004013a0
lea esi, [ebp + 8]
call fcn.004013a0
mov eax, 1
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.0041af7a
mov esp, ebp
pop ebp
ret