Function at 0x454b30
Capabilities:
Send data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4db556
mov eax, dword fs:[0]
push eax
sub esp, 0xf4
push ebx
push esi
push edi
mov eax, dword [0x50e018]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov edx, dword [esi + 0x10]
xor ebx, ebx
xor eax, eax
push ebx
push ebx
push ebx
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
mov eax, dword [esi + 0x1e0]
push ecx
push edx
mov dword [ebp - 0x48], 0x28
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x2c], eax
call dword [sym.imp.WININET.dll_HttpSendRequestExW]
mov dword [ebp - 0x10], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
lea eax, [edi - 0x2f04]
cmp eax, 0x15
ja 0x454c41
mov bl, byte [0x5130bf]
lea ecx, [ebp - 0x100]
push ecx
call fcn.00404920
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0x100]
mov ecx, dword [edx + 4]
push 0
push 0
lea ecx, [ebp + ecx - 0x100]
call dword [sym.imp.MSVCP100.dll_public:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::clear_int__bool_]
mov byte [ebp - 0x57], bl
mov dword [ebp - 0x50], 3
mov byte [ebp - 0x58], 0
mov dword [ebp - 0x54], 0
lea eax, [ebp - 0xf0]
push str._if_ssl
push eax
mov dword [ebp - 4], 1
call fcn.00405c70
add esp, 8
push edi
lea ecx, [ebp - 0xf0]
call dword [sym.imp.MSVCP100.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_long_int_]
lea ecx, [ebp - 0x100]
mov dword [ebp - 4], 0xffffffff
call fcn.00458570
xor ebx, ebx
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp dword [ebp - 0x10], ebx
je 0x454d22
mov eax, dword [esi + 0x1e0]
mov dword [ebp - 0x10], eax
cmp eax, ebx
je 0x454d49
lea ecx, [esi + 0x1d0]
xor edx, edx
xor edi, edi
cmp dword [ecx + 0x14], 0x10
mov dword [ebp - 0x14], ebx
jb 0x454c76
mov ecx, dword [ecx]
mov dword [ebp - 0x20], ecx
cmp edx, ebx
jl 0x454d49
jg 0x454c95
cmp eax, ebx
jbe 0x454d49
jmp 0x454c95
mov eax, dword [ebp - 0x10]
xor ebx, ebx
mov ecx, dword [esi + 0x118]
sub eax, edi
mov dword [ebp - 0x1c], ebx
cmp eax, ecx
jb 0x454ca6
mov eax, ecx
lea edx, [ebp - 0x1c]
push edx
mov edx, dword [esi + 0x10]
push eax
mov eax, dword [ebp - 0x20]
lea ecx, [edi + eax]
push ecx
push edx
call dword [sym.imp.WININET.dll_InternetWriteFile]
test eax, eax
je 0x454d49
add edi, dword [ebp - 0x1c]
adc dword [ebp - 0x14], ebx
lea ebx, [esi + 0x2c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [ebp - 0x14]
push ebx
mov dword [esi + 0x438], edi
mov dword [esi + 0x43c], eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call fcn.00454a80
test al, al
jne 0x454d1b
mov ecx, dword [ebp - 0x10]
cmp edi, ecx
jne 0x454d01
xor eax, eax
cmp dword [ebp - 0x14], eax
je 0x454d36
sub ecx, edi
mov eax, 0
sbb eax, dword [ebp - 0x14]
test eax, eax
jg 0x454c90
jl 0x454d47
test ecx, ecx
jne 0x454c90
jmp 0x454d47
mov dword [esi + 0x18], 4
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [esi + 0x260], 1
mov dword [esi + 0x18], 5
xor ebx, ebx
mov ecx, dword [esi + 0x10]
push ebx
push ebx
push ebx
push ecx
call dword [sym.imp.WININET.dll_HttpEndRequestW]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret