Function at 0x403a41
Capabilities:
Create http request

Disassembly:
mov eax, 0x41ad89
call fcn.0040f3e4
sub esp, 0x434
lea eax, [ebp - 0x14]
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov ebx, ecx
push eax
call fcn.00404798
pop ecx
pop ecx
test eax, eax
je 0x403de1
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]
push dword [ebp - 0x10]
mov esi, dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__8]
lea eax, [ebp - 0x2c]
mov edi, 0x41e97c
mov byte [ebp - 4], 1
push edi
push eax
call esi
push dword [ebp - 0x14]
lea eax, [ebp - 0x28]
push edi
push eax
call esi
push 0x41f94c
push dword [ebp + 8]
lea eax, [ebp - 0x1c]
push eax
call fcn.00401b32
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 2
push ecx
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.00401ab6
push 0x41ea10
push eax
lea eax, [ebp - 0x24]
mov byte [ebp - 4], 3
push eax
call fcn.00401b32
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 4
push ecx
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.00401ab6
add esp, 0x48
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 0x451c8c
lea eax, [ebp - 0x34]
push 0x451c90
push eax
call fcn.00401ab6
add esp, 0xc
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 0x403db2
lea ecx, [ebp - 0x18]
push ecx
push 0x400
lea ecx, [ebp - 0x440]
push ecx
push eax
call fcn.00404850
add esp, 0x10
test al, al
je 0x403da7
call fcn.00403759
mov ecx, dword [ebp - 0x18]
mov dword [ebp + 8], eax
test ecx, ecx
je 0x403d9a
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 0x403bca
inc esi
cmp esi, edi
jbe 0x403bb1
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 0x403c0e
push edi
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
pop ecx
lea esi, [eax + 1]
cmp esi, 0x3fffffff
jle 0x403c12
xor eax, eax
jmp 0x403c27
lea eax, [esi + esi]
call fcn.0040f410
mov eax, esp
push dword [ebp + 8]
push esi
push edi
push eax
call fcn.00401e1c
push 0x7c
push 0
push eax
lea eax, [ebp - 0x24]
push eax
call sub.mfc140u.dll_AfxExtractSubString
lea eax, [ebp - 0x440]
push eax
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
pop ecx
lea esi, [eax + 1]
cmp esi, 0x3fffffff
jle 0x403c51
xor eax, eax
jmp 0x403c6c
lea eax, [esi + esi]
call fcn.0040f410
mov eax, esp
lea ecx, [ebp - 0x440]
push dword [ebp + 8]
push esi
push ecx
push eax
call fcn.00401e1c
push 0x7c
push 1
push eax
lea eax, [ebp - 0x20]
push eax
call sub.mfc140u.dll_AfxExtractSubString
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 0x403d64
lea eax, [ebp - 0x440]
push eax
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
pop ecx
lea esi, [eax + 1]
cmp esi, 0x3fffffff
jle 0x403cd0
mov edi, dword [ebp + 8]
xor eax, eax
jmp 0x403cec
lea eax, [esi + esi]
call fcn.0040f410
mov edi, dword [ebp + 8]
lea ecx, [ebp - 0x440]
mov eax, esp
push edi
push esi
push ecx
push eax
call fcn.00401e1c
push 0x7c
push 2
push eax
lea eax, [ebp - 0x1c]
push eax
call sub.mfc140u.dll_AfxExtractSubString
lea eax, [ebp - 0x440]
push eax
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
pop ecx
lea esi, [eax + 1]
cmp esi, 0x3fffffff
jle 0x403d16
xor eax, eax
jmp 0x403d2f
lea eax, [esi + esi]
call fcn.0040f410
mov eax, esp
lea ecx, [ebp - 0x440]
push edi
push esi
push ecx
push eax
call fcn.00401e1c
push 0x7c
push 3
push eax
lea eax, [ebp - 0x18]
push eax
call sub.mfc140u.dll_AfxExtractSubString
mov eax, dword [ebx]
push ecx
mov ecx, esp
mov esi, dword [eax + 0xc]
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__3]
lea eax, [ebp - 0x1c]
mov ecx, ebx
push eax
push 0
push dword [ebp - 0x38]
push dword [ebp - 0x14]
push dword [ebp - 0x10]
call esi
jmp 0x403d71
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 0x403da7
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 0x403dbf
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