Function at 0x10004488
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x434
or dword [ebp - 0x14], 0xffffffff
push ebx
push esi
mov esi, dword [0x1000c018]
push edi
lea eax, [ebp - 0x18]
push eax
push dword [ebp + 0x10]
xor edi, edi
push dword [ebp + 8]
lea ebx, [ebp - 0xc]
push dword [esi + 4]
mov dword [ebp - 0x18], edi
push dword [esi + 0xc]
mov dword [ebp - 0xc], edi
mov dword [ebp - 8], edi
mov dword [ebp - 4], edi
call fcn.10003ccd
test al, al
jne 0x100044e6
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.__d_n
push 0x481
call fcn.10002038
add esp, 0xc
jmp 0x10004860
push 0x400
push 8
push dword [esi]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov dword [ebp + 8], eax
cmp eax, edi
jne 0x1000451a
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.__d_n
push 0x489
call fcn.10002038
add esp, 0xc
jmp 0x10004854
push 0x10
push dword [ebp + 0x14]
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.MSVCRT.dll_memcpy]
add esp, 0xc
lea eax, [ebp - 0x430]
push eax
lea eax, [ebp - 0x2c]
push eax
push dword [esi]
mov byte [ebp - 0x1c], 4
call fcn.10001733
add esp, 0xc
cmp eax, 0xffffffff
jne 0x10004560
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.__d_n
push 0x497
jmp 0x10004646
push dword [ebp + 0xc]
mov ebx, dword [sym.imp.MSVCRT.dll_wcslen]
call ebx
pop ecx
inc eax
push eax
push 8
push dword [esi]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov dword [ebp + 0x10], eax
cmp eax, edi
jne 0x10004595
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.__d_n
push 0x4a1
jmp 0x10004646
push dword [ebp + 0xc]
call ebx
pop ecx
inc eax
push eax
push dword [ebp + 0xc]
push dword [ebp + 0x10]
call dword [sym.imp.MSVCRT.dll_wcstombs]
mov ebx, dword [sym.imp.MSVCRT.dll_strlen]
add esp, 0xc
push dword [ebp + 0x10]
call ebx
pop ecx
push eax
push dword [ebp + 0x10]
push dword [ebp + 8]
call dword [sym.imp.MSVCRT.dll_memcpy]
lea eax, [ebp - 0x430]
add esp, 0xc
push eax
call ebx
pop ecx
push eax
lea eax, [ebp - 0x430]
push eax
push dword [ebp + 0x10]
call ebx
add eax, dword [ebp + 8]
pop ecx
push eax
call dword [sym.imp.MSVCRT.dll_memcpy]
add esp, 0xc
push dword [ebp + 0x10]
push edi
push dword [esi]
call dword [sym.imp.KERNEL32.dll_HeapFree]
push dword [ebp + 8]
push 0x1000a410
push 0x4a9
push str.LINE
call fcn.10001ead
add esp, 0x10
push edi
push 0x8468fb00
push edi
push edi
push str.HTTP_1.0
push dword [ebp + 8]
push str.POST
push dword [ebp - 0xc]
call dword [esi + 0x44]
mov dword [ebp + 0x10], eax
cmp eax, edi
jne 0x10004653
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.__d_n
push 0x4b4
call fcn.10002038
add esp, 0xc
jmp 0x10004848
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push edi
push edi
push eax
call dword [esi + 0x48]
test eax, eax
jne 0x1000467e
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str._Error_HttpSendRequestA_GetLastError___d_n
push 0x4cf
call fcn.10002038
jmp 0x1000483f
push 4
pop ebx
push edi
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
push 0x20000013
push dword [ebp + 0x10]
mov dword [ebp - 8], ebx
call dword [esi + 0x4c]
test eax, eax
jne 0x100046af
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.__d_n
push 0x4df
jmp 0x10004674
cmp dword [ebp - 4], 0x194
je 0x100046d0
cmp dword [ebp - 4], 0x1f6
je 0x100046d0
push dword [ebp - 4]
push str._Error_dwStatusCode___d_n
push 0x4e4
jmp 0x10004674
push edi
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x20000005
push dword [ebp + 0x10]
mov dword [ebp + 0xc], edi
mov dword [ebp - 0x10], edi
mov dword [ebp - 8], ebx
call dword [esi + 0x4c]
test eax, eax
jne 0x10004707
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.__d_n
push 0x4ee
jmp 0x10004674
cmp dword [ebp - 0x10], edi
jne 0x1000471c
push edi
push str._Error_uiContentLength___d_n
push 0x4f3
jmp 0x10004674
lea eax, [ebp + 0xc]
push eax
push dword [ebp + 0x10]
call fcn.10003fc7
mov dword [ebp + 0x14], eax
cmp eax, edi
jne 0x1000473f
push edi
push str._Error_dwBlockReceiveLength___d_n
push 0x4fa
jmp 0x10004674
push dword [ebp + 0x1c]
push eax
push dword [ebp - 0x10]
push dword [ebp - 4]
push str.__7d__7d__7d__12d_n
push 0x4fe
call fcn.10002038
add esp, 0x18
push 0x10
push 8
push dword [esi]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ebx, eax
cmp ebx, edi
jne 0x1000478f
cmp dword [ebp + 0xc], edi
je 0x10004783
push dword [ebp + 0xc]
push edi
push dword [esi]
call dword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x10004842
push str._HeapFree__NULL_n
push 0x505
jmp 0x100047ef
mov eax, dword [ebp + 0x14]
add eax, 0xfffffff0
push eax
push dword [ebp + 0xc]
call fcn.10006022
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp + 0x14]
push 0x10
lea eax, [eax + ecx - 0x10]
push ebx
push eax
call dword [sym.imp.MSVCRT.dll_memcmp]
add esp, 0x14
test eax, eax
je 0x100047f8
push str._Error_Bad_Hash_n
push 0x50b
call fcn.10002038
pop ecx
pop ecx
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_HeapFree]
push edi
push dword [esi]
call ebx
cmp dword [ebp + 0xc], edi
je 0x100047e5
push dword [ebp + 0xc]
push edi
push dword [esi]
call ebx
jmp 0x10004842
push str._HeapFree__NULL_n
push 0x50d
call fcn.10002038
pop ecx
pop ecx
jmp 0x10004842
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_HeapFree]
push edi
push dword [esi]
call ebx
cmp dword [ebp + 0xc], edi
je 0x10004813
push dword [ebp + 0xc]
push edi
push dword [esi]
call ebx
jmp 0x10004824
push str._HeapFree__NULL_n
push 0x517
call fcn.10002038
pop ecx
pop ecx
push 0x1000a57c
push str.__15s_t__SEND_RESULT_n
push 0x519
call fcn.10002038
mov dword [ebp - 0x14], 2
add esp, 0xc
push dword [ebp + 0x10]
call dword [esi + 0x24]
push dword [ebp + 8]
push edi
push dword [esi]
call dword [sym.imp.KERNEL32.dll_HeapFree]
push dword [ebp - 0x18]
call dword [esi + 0x24]
push dword [ebp - 0xc]
call dword [esi + 0x24]
mov eax, dword [ebp - 0x14]
pop edi
pop esi
pop ebx
leave
ret 0x18