Function at 0x46730f
Capabilities:
Create http request

Disassembly:
mov eax, 0x47d0cf
call fcn.0047c7d4
sub esp, 0x434
lea edx, [ebp - 0x14]
push ebx
push esi
mov ebx, ecx
lea ecx, [ebp - 0x10]
push edi
call fcn.004663a7
test eax, eax
je 0x4676ae
lea ecx, [ebp - 0x2c]
call dword [sym.imp.mfc140u.dll_Ordinal_296]
and dword [ebp - 4], 0
lea ecx, [ebp - 0x28]
call dword [sym.imp.mfc140u.dll_Ordinal_296]
mov byte [ebp - 4], 1
lea eax, [ebp - 0x2c]
push dword [ebp - 0x10]
mov esi, dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__17]
mov edi, 0x4a3d74
push edi
push eax
call esi
push dword [ebp - 0x14]
lea eax, [ebp - 0x28]
push edi
push eax
call esi
mov edx, dword [ebp + 8]
lea ecx, [ebp - 0x1c]
push 0x4a5f94
call fcn.0045f219
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 2
push ecx
mov edx, eax
lea ecx, [ebp - 0x20]
call fcn.0045ed13
push 0x4a3e08
mov edx, eax
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x24]
call fcn.0045f219
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 4
push ecx
mov edx, eax
lea ecx, [ebp - 0x30]
call fcn.0045ed13
add esp, 0x28
lea ecx, [ebp - 0x24]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
lea ecx, [ebp - 0x20]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 8
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
push 0x4e81bc
mov edx, 0x4e81c0
lea ecx, [ebp - 0x34]
call fcn.0045ed13
pop ecx
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
mov ecx, eax
call dword [sym.imp.mfc140u.dll_Ordinal_1663]
push eax
call dword [sym.imp.WININET.dll_InternetOpenW]
mov esi, eax
lea ecx, [ebp - 0x34]
mov dword [ebp - 0x3c], esi
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
push 0
push 0x84000101
push 0xffffffffffffffff
push 0
lea ecx, [ebp - 0x30]
call dword [sym.imp.mfc140u.dll_Ordinal_1663]
push eax
push esi
call dword [sym.imp.WININET.dll_InternetOpenUrlW]
mov dword [ebp - 0x40], eax
test eax, eax
je 0x46767f
lea ecx, [ebp - 0x18]
push ecx
push ecx
lea edx, [ebp - 0x440]
mov ecx, eax
call fcn.0046648e
pop ecx
pop ecx
test al, al
je 0x467674
call fcn.0045f51d
mov ecx, dword [ebp - 0x18]
mov dword [ebp + 8], eax
test ecx, ecx
je 0x467667
mov byte [ebp + ecx - 0x440], 0
lea edi, [ecx - 1]
xor esi, esi
lea eax, [ebp - 0x440]
add eax, esi
push eax
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atol]
pop ecx
test eax, eax
jne 0x46748b
inc esi
cmp esi, edi
jbe 0x467472
lea ecx, [ebp - 0x24]
call dword [sym.imp.mfc140u.dll_Ordinal_296]
lea ecx, [ebp - 0x20]
call dword [sym.imp.mfc140u.dll_Ordinal_296]
lea ecx, [ebp - 0x1c]
call dword [sym.imp.mfc140u.dll_Ordinal_296]
lea ecx, [ebp - 0x18]
call dword [sym.imp.mfc140u.dll_Ordinal_296]
lea edi, [ebp - 0x440]
mov byte [ebp - 4], 0xc
add edi, esi
je 0x4674d6
mov ecx, edi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4674c2
sub ecx, edx
lea esi, [ecx + 1]
cmp esi, 0x3fffffff
jle 0x4674da
xor eax, eax
jmp 0x4674ef
lea eax, [esi + esi]
call fcn.0047c520
mov ecx, esp
mov edx, edi
push dword [ebp + 8]
push esi
call fcn.0045f1e6
mov edi, dword [sym.imp.mfc140u.dll_AfxExtractSubString]
push 0x7c
push 0
push eax
lea eax, [ebp - 0x24]
push eax
call edi
lea ecx, [ebp - 0x440]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x467509
sub ecx, edx
lea esi, [ecx + 1]
cmp esi, 0x3fffffff
jle 0x467521
xor eax, eax
jmp 0x46753a
lea eax, [esi + esi]
call fcn.0047c520
mov ecx, esp
lea edx, [ebp - 0x440]
push dword [ebp + 8]
push esi
call fcn.0045f1e6
push 0x7c
push 1
push eax
lea eax, [ebp - 0x20]
push eax
call edi
lea ecx, [ebp - 0x24]
call dword [sym.imp.mfc140u.dll_Ordinal_1663]
mov esi, dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll__wtol]
push eax
call esi
pop ecx
movzx edi, ax
lea ecx, [ebp - 0x20]
shl edi, 0x10
call dword [sym.imp.mfc140u.dll_Ordinal_1663]
push eax
call esi
movzx eax, ax
or eax, edi
pop ecx
mov dword [ebp - 0x38], eax
cmp eax, dword [ebp - 0x10]
jbe 0x467631
lea ecx, [ebp - 0x440]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x467585
sub ecx, edx
lea esi, [ecx + 1]
cmp esi, 0x3fffffff
jle 0x46759d
xor eax, eax
jmp 0x4675b6
lea eax, [esi + esi]
call fcn.0047c520
mov ecx, esp
lea edx, [ebp - 0x440]
push dword [ebp + 8]
push esi
call fcn.0045f1e6
mov edi, dword [sym.imp.mfc140u.dll_AfxExtractSubString]
push 0x7c
push 2
push eax
lea eax, [ebp - 0x1c]
push eax
call edi
lea ecx, [ebp - 0x440]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4675d0
sub ecx, edx
lea esi, [ecx + 1]
cmp esi, 0x3fffffff
jle 0x4675e8
xor eax, eax
jmp 0x467601
lea eax, [esi + esi]
call fcn.0047c520
mov ecx, esp
lea edx, [ebp - 0x440]
push dword [ebp + 8]
push esi
call fcn.0045f1e6
push 0x7c
push 3
push eax
lea eax, [ebp - 0x18]
push eax
call edi
push ecx
lea eax, [ebp - 0x18]
mov ecx, esp
push eax
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__10]
mov eax, dword [ebx]
lea ecx, [ebp - 0x1c]
push ecx
push 0
push dword [ebp - 0x38]
mov ecx, ebx
push dword [ebp - 0x14]
push dword [ebp - 0x10]
call dword [eax + 0xc]
jmp 0x46763e
push dword [ebp - 0x14]
mov eax, dword [ebx]
mov ecx, ebx
push dword [ebp - 0x10]
call dword [eax + 0x10]
lea ecx, [ebp - 0x18]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
lea ecx, [ebp - 0x1c]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
lea ecx, [ebp - 0x20]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
lea ecx, [ebp - 0x24]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
mov esi, dword [ebp - 0x3c]
jmp 0x467674
push dword [ebp - 0x14]
mov eax, dword [ebx]
mov ecx, ebx
push dword [ebp - 0x10]
call dword [eax + 0x14]
push dword [ebp - 0x40]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
jmp 0x46768c
push dword [ebp - 0x14]
mov eax, dword [ebx]
mov ecx, ebx
push dword [ebp - 0x10]
call dword [eax + 0x14]
push esi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
lea ecx, [ebp - 0x30]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
lea ecx, [ebp - 0x28]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
lea ecx, [ebp - 0x2c]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
lea esp, [ebp - 0x44c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
leave
ret 4