Function at 0x40a8f0
Capabilities:
Contain obfuscated stackstrings
Write file on windows

Disassembly:
push 0x9d8
mov eax, 0x4dc652
call fcn.004bb813
mov eax, dword [ebp + 0x10]
mov esi, dword [ebp + 0x14]
mov ebx, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
and dword [ebp - 0x9b0], 0
mov dword [ebp - 0x960], eax
mov eax, dword [ebp + 0x18]
push esi
mov dword [ebp - 0x938], ebx
mov dword [ebp - 0x9e4], ebx
mov dword [ebp - 0x9b8], edi
mov dword [ebp - 0x980], esi
mov dword [ebp - 0x934], eax
call fcn.0040cc1a
pop ecx
test al, al
je 0x40a979
push str.this_module_doesnt_support_file_request
lea ecx, [ebp - 0x928]
call fcn.00401814
push eax
push ebx
mov dword [ebp - 4], 1
call fcn.0040a289
pop ecx
pop ecx
mov ecx, dword [ebp - 0x928]
add ecx, 0xfffffff0
call fcn.00404c8b
mov eax, ebx
jmp 0x40c7c6
test edi, edi
jne 0x40a9a8
push str.InternetOpen_Failed
lea ecx, [ebp - 0x960]
call fcn.00401814
push eax
push ebx
mov dword [ebp - 4], 2
call fcn.0040a289
pop ecx
pop ecx
mov ecx, dword [ebp - 0x960]
lea ecx, [ecx - 0x10]
jmp 0x40a96d
mov edi, 0x5311f0
push edi
lea ecx, [ebp - 0x9ac]
call fcn.00401749
push edi
lea ecx, [ebp - 0x954]
mov dword [ebp - 4], 3
call fcn.00401749
xor edx, edx
push 0x4e7f00
mov ecx, esi
mov byte [ebp - 4], 4
mov dword [ebp - 0x9b4], edx
call fcn.0044f9ba
mov ecx, eax
call fcn.004500f9
sub esp, 0x18
mov ecx, esp
push eax
call fcn.00401027
lea eax, [ebp - 0x950]
push eax
call fcn.00465080
lea eax, [ebp - 0x9b4]
push eax
lea eax, [ebp - 0x954]
push eax
lea eax, [ebp - 0x9ac]
push eax
lea eax, [ebp - 0x950]
push eax
mov byte [ebp - 4], 5
call fcn.0040a189
movzx eax, al
add esp, 0x2c
test eax, eax
jne 0x40aa83
push str.InternetCrackUrl_Failed
lea ecx, [ebp - 0x928]
call fcn.00401814
push eax
push ebx
mov byte [ebp - 4], 6
call fcn.0040a289
pop ecx
pop ecx
mov ecx, dword [ebp - 0x928]
lea ecx, [ecx - 0x10]
call fcn.00404c8b
mov ecx, dword [ebp - 0x950]
lea ecx, [ecx - 0x10]
call fcn.00404c8b
mov ecx, dword [ebp - 0x954]
lea ecx, [ecx - 0x10]
call fcn.00404c8b
mov ecx, dword [ebp - 0x9ac]
jmp 0x40a9a3
xor eax, eax
mov edi, str.redirectCheck
push edi
mov ecx, esi
mov byte [ebp - 0x955], al
call fcn.004505e5
test al, al
je 0x40aac4
push edi
mov ecx, esi
call fcn.0044f9ba
mov ecx, eax
call fcn.00450590
test al, al
je 0x40aac4
push edi
mov ecx, esi
call fcn.0044f9ba
mov ecx, eax
call fcn.0044fd3c
mov byte [ebp - 0x955], al
xor eax, eax
mov byte [ebp - 0x941], al
lea eax, [ebp - 0x930]
push eax
lea eax, [ebp - 0x941]
push eax
mov eax, dword [ebp - 0x950]
push ecx
add eax, 0xfffffff0
mov esi, esp
push eax
mov dword [ebp - 0x930], 0x50
call fcn.0040356e
add eax, 0x10
pop ecx
mov dword [esi], eax
call fcn.0040a13e
mov esi, dword [ebp - 0x980]
add esp, 0xc
mov edi, str.port
push edi
mov ecx, esi
call fcn.0044f9ba
mov ecx, eax
call fcn.004505c5
test al, al
je 0x40ab33
push edi
mov ecx, esi
call fcn.0044f9ba
mov ecx, eax
call fcn.0044fe58
jmp 0x40ab42
mov eax, dword [ebp - 0x9b4]
test eax, eax
cmove eax, dword [ebp - 0x930]
push eax
mov dword [ebp - 0x93c], eax
lea eax, [ebp - 0x9ac]
push eax
push dword [ebp - 0x960]
xor edx, edx
mov byte [ebp - 0x929], dl
call fcn.0040a0cf
mov edi, dword [ebp - 0x9ac]
add esp, 0xc
mov dword [ebp - 0x948], eax
test eax, eax
jne 0x40ac4b
mov eax, dword [0x532f88]
test eax, eax
jne 0x40abae
push str.Wininet.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
test eax, eax
je 0x40aba5
push str.InternetConnectW
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x532f88], eax
jmp 0x40abaa
mov eax, dword [0x532f88]
test eax, eax
je 0x40abc5
xor ecx, ecx
push ecx
push ecx
push 3
push ecx
push ecx
push dword [ebp - 0x93c]
push edi
push dword [ebp - 0x9b8]
call eax
mov dword [ebp - 0x948], eax
test eax, eax
jne 0x40ac1e
push str.InternetConnect_Failed
lea ecx, [ebp - 0x928]
call fcn.00401814
push eax
push ebx
mov byte [ebp - 4], 7
call fcn.0040a289
pop ecx
pop ecx
mov ecx, dword [ebp - 0x928]
lea ecx, [ecx - 0x10]
call fcn.00404c8b
mov ecx, dword [ebp - 0x950]
lea ecx, [ecx - 0x10]
call fcn.00404c8b
mov ecx, dword [ebp - 0x954]
lea ecx, [ecx - 0x10]
call fcn.00404c8b
lea ecx, [edi - 0x10]
jmp 0x40a96d
mov ecx, dword [ebp - 0x934]
test ecx, ecx
jne 0x40ac31
mov byte [ebp - 0x929], 1
jmp 0x40ac4b
push eax
push dword [ebp - 0x93c]
lea eax, [ebp - 0x9ac]
push eax
push dword [ebp + 0x1c]
push ecx
call fcn.0040ccff
add esp, 0x14
cmp byte [ebp - 0x955], 0
mov eax, 0x80400200
mov ecx, 0x80600200
cmovne eax, ecx
or eax, 0xc000
cmp byte [ebp - 0x941], 0
mov dword [ebp - 0x930], eax
je 0x40ac7e
or eax, 0x803080
mov dword [ebp - 0x930], eax
mov ebx, 0x5311f0
push ebx
lea ecx, [ebp - 0x968]
call fcn.00401749
push str.method
mov ecx, esi
mov byte [ebp - 4], 8
call fcn.0044f9ba
mov ecx, eax
call fcn.00450642
test al, al
je 0x40acf9
push str.method
mov ecx, esi
call fcn.0044f9ba
mov ecx, eax
call fcn.004500f9
sub esp, 0x18
mov ecx, esp
push eax
call fcn.00401027
lea eax, [ebp - 0x928]
push eax
call fcn.00465080
add esp, 0x1c
push eax
lea ecx, [ebp - 0x968]
mov byte [ebp - 4], 9
call fcn.00401cd3
mov ecx, dword [ebp - 0x928]
mov byte [ebp - 4], 8
lea ecx, [ecx - 0x10]
call fcn.00404c8b
push ebx
lea ecx, [ebp - 0x96c]
call fcn.00401749
push 0xa
pop eax
push str.version
mov ecx, esi
mov byte [ebp - 4], al
call fcn.0044f9ba
mov ecx, eax
call fcn.00450642
test al, al
je 0x40ad73
push str.version
mov ecx, esi
call fcn.0044f9ba
mov ecx, eax
call fcn.004500f9
sub esp, 0x18
mov ecx, esp
push eax
call fcn.00401027
lea eax, [ebp - 0x928]
push eax
call fcn.00465080
add esp, 0x1c
push eax
lea ecx, [ebp - 0x96c]
mov byte [ebp - 4], 0xb
call fcn.00401cd3
mov ecx, dword [ebp - 0x928]
push 0xa
pop eax
lea ecx, [ecx - 0x10]
mov byte [ebp - 4], al
call fcn.00404c8b
push ebx
lea ecx, [ebp - 0x970]
call fcn.00401749
push str.referer
mov ecx, esi
mov byte [ebp - 4], 0xc
call fcn.0044f9ba
mov ecx, eax
call fcn.00450642
test al, al
je 0x40ade9
push str.referer
mov ecx, esi
call fcn.0044f9ba
mov ecx, eax
call fcn.004500f9
sub esp, 0x18
mov ecx, esp
push eax
call fcn.00401027
lea eax, [ebp - 0x928]
push eax
call fcn.00465080
add esp, 0x1c
push eax
lea ecx, [ebp - 0x970]
mov byte [ebp - 4], 0xd
call fcn.00401cd3
mov ecx, dword [ebp - 0x928]
mov byte [ebp - 4], 0xc
lea ecx, [ecx - 0x10]
call fcn.00404c8b
push ebx
lea ecx, [ebp - 0x9b4]
call fcn.00401749
mov ebx, str.acceptTypes
push ebx
mov ecx, esi
mov byte [ebp - 4], 0xe
call fcn.0044f9ba
mov ecx, eax
call fcn.00450642
test al, al
je 0x40ae5c
push ebx
mov ecx, esi
call fcn.0044f9ba
mov ecx, eax
call fcn.004500f9
sub esp, 0x18
mov ecx, esp
push eax
call fcn.00401027
lea eax, [ebp - 0x928]
push eax
call fcn.00465080
add esp, 0x1c
push eax
lea ecx, [ebp - 0x9b4]
mov byte [ebp - 4], 0xf
call fcn.00401cd3
mov ecx, dword [ebp - 0x928]
mov byte [ebp - 4], 0xe
lea ecx, [ecx - 0x10]
call fcn.00404c8b
mov ebx, dword [ebp - 0x9b4]
mov esi, dword [ebp - 0x970]
xor ecx, ecx
cmp dword [ebx - 0xc], ecx
mov eax, ebx
cmove eax, ecx
mov dword [ebp - 0x9e0], eax
xor eax, eax
mov dword [ebp - 0x9dc], eax
cmp dword [esi - 0xc], ecx
mov eax, esi
cmove eax, ecx
mov dword [ebp - 0x960], eax
mov eax, dword [ebp - 0x96c]
push 1
cmp dword [eax - 0xc], ecx
push dword [ebp - 0x930]
mov edx, eax
mov eax, dword [ebp - 0x968]
cmove edx, ecx
and dword [ebp - 0x928], 0
cmp dword [eax - 0xc], 0
mov ecx, eax
cmove ecx, dword [ebp - 0x928]
lea eax, [ebp - 0x9e0]
push eax
push dword [ebp - 0x960]
push edx
push dword [ebp - 0x954]
push ecx
push dword [ebp - 0x948]
call dword [sym.imp.WININET.dll_HttpOpenRequestW]
mov dword [ebp - 0x95c], eax
test eax, eax
jne 0x40af29
push str.HttpOpenRequest_Failed
lea ecx, [ebp - 0x928]
call fcn.00401814
push eax
push dword [ebp - 0x938]
mov byte [ebp - 4], 0x10
call fcn.0040a289
pop ecx
pop ecx
mov ecx, dword [ebp - 0x928]
lea ecx, [ecx - 0x10]
call fcn.00404c8b
lea ecx, [ebx - 0x10]
call fcn.00404c8b
lea ecx, [esi - 0x10]
jmp 0x40c77b
push 0x5311f0
lea ecx, [ebp - 0x9b8]
call fcn.00401749
mov esi, dword [ebp - 0x980]
push str.contentType
mov ecx, esi
mov byte [ebp - 4], 0x11
call fcn.0044f9ba
mov ecx, eax
call fcn.00450642
mov dword [ebp - 0x940], 0x14
test al, al
je 0x40b051
push 0x4e80e0
lea ecx, [ebp - 0x930]
call fcn.00401855
lea eax, [ebp - 0x930]
push eax
push str.contentType
mov ecx, esi
mov byte [ebp - 4], 0x12
call fcn.0044f9ba
mov ecx, eax
call fcn.004500f9
sub esp, 0x18
mov ecx, esp
push eax
call fcn.00401027
lea eax, [ebp - 0x934]
push eax
call fcn.00465080
add esp, 0x1c
mov esi, eax
push str.Content_Type:
lea ecx, [ebp - 0x93c]
mov byte [ebp - 4], 0x13
call fcn.00401814
push 0x14
pop ecx
push esi
push eax
lea eax, [ebp - 0x960]
push eax
mov byte [ebp - 4], cl
call fcn.0044ced3
add esp, 0xc
push eax
lea eax, [ebp - 0x928]
push eax
mov byte [ebp - 4], 0x15
call fcn.0044ced3
add esp, 0xc
push eax
lea ecx, [ebp - 0x9b8]
mov byte [ebp - 4], 0x16
call fcn.00401cd3
mov ecx, dword [ebp - 0x928]
lea ecx, [ecx - 0x10]
call fcn.00404c8b
mov ecx, dword [ebp - 0x960]
lea ecx, [ecx - 0x10]
call fcn.00404c8b
mov ecx, dword [ebp - 0x93c]
lea ecx, [ecx - 0x10]
call fcn.00404c8b
mov ecx, dword [ebp - 0x934]
lea ecx, [ecx - 0x10]
call fcn.00404c8b
mov ecx, dword [ebp - 0x930]
mov byte [ebp - 4], 0x11
lea ecx, [ecx - 0x10]
call fcn.00404c8b
mov esi, dword [ebp - 0x980]
push str.additionalRequestHeaders
mov ecx, esi
call fcn.0044f9ba
mov ecx, eax
call fcn.00450642
test al, al
je 0x40b0fe
push str.additionalRequestHeaders
mov ecx, esi
call fcn.0044f9ba
mov ecx, eax
call fcn.004500f9
sub esp, 0x18
mov ecx, esp
push eax
call fcn.00401027
lea eax, [ebp - 0x928]
push eax
call fcn.00465080
add esp, 0x1c
mov eax, dword [eax]
lea ecx, [ebp - 0x9b8]
push dword [eax - 0xc]
mov byte [ebp - 4], 0x17
push eax
call fcn.00401f5b
mov ecx, dword [ebp - 0x928]
mov byte [ebp - 4], 0x11
lea ecx, [ecx - 0x10]
call fcn.00404c8b
mov esi, dword [ebp - 0x9b8]
lea eax, [esi - 0x10]
push eax
call fcn.0040356e
add eax, 0x10
pop ecx
mov dword [ebp - 0x930], eax
push 0x18
pop eax
lea ecx, [ebp - 0x930]
mov byte [ebp - 4], al
call fcn.0040cd70
mov ecx, dword [ebp - 0x930]
mov byte [ebp - 4], 0x11
lea ecx, [ecx - 0x10]
call fcn.00404c8b
jmp 0x40b104
mov esi, dword [ebp - 0x9b8]
push 0x5311f0
lea ecx, [ebp - 0x964]
call fcn.00401749
mov ecx, dword [ebp - 0x980]
push str.postData
mov byte [ebp - 4], 0x19
call fcn.0044f9ba
mov ecx, eax
call fcn.00450642
test al, al
je 0x40b186
mov ecx, dword [ebp - 0x980]
push str.postData
call fcn.0044f9ba
mov ecx, eax
call fcn.004500f9
sub esp, 0x18
mov ecx, esp
push eax
call fcn.00401027
lea eax, [ebp - 0x928]
push eax
call fcn.00465080
add esp, 0x1c
push eax
lea ecx, [ebp - 0x964]
mov byte [ebp - 4], 0x1a
call fcn.00401cd3
mov ecx, dword [ebp - 0x928]
mov byte [ebp - 4], 0x19
lea ecx, [ecx - 0x10]
call fcn.00404c8b
push dword [ebp - 0x964]
lea ecx, [ebp - 0x974]
call fcn.004017d3
cmp byte [ebp - 0x955], 0
mov eax, dword [ebp - 0x964]
mov byte [ebp - 4], 0x1b
mov eax, dword [eax - 0xc]
mov dword [ebp - 0x928], eax
je 0x40b1eb
push 4
lea eax, [ebp - 0x930]
push eax
push 6
push dword [ebp - 0x95c]
mov dword [ebp - 0x930], 0x2710
call dword [sym.imp.WININET.dll_InternetSetOptionW]
push 4
lea eax, [ebp - 0x930]
push eax
push 5
push dword [ebp - 0x95c]
call dword [sym.imp.WININET.dll_InternetSetOptionW]
xor ecx, ecx
cmp dword [esi - 0xc], ecx
mov eax, esi
cmove eax, ecx
mov dword [ebp - 0x960], eax
xor eax, eax
push eax
lea ecx, [ebp - 0x974]
call fcn.00404bab
push dword [ebp - 0x928]
push eax
push dword [esi - 0xc]
push dword [ebp - 0x960]
push dword [ebp - 0x95c]
call fcn.004088f8
push eax
call fcn.0041223a
test eax, eax
jne 0x40b2c6
lea eax, [ebp - 0x930]
push eax
call fcn.00408d22
pop ecx
push dword [ebp - 0x95c]
mov byte [ebp - 4], 0x1c
call dword [sym.imp.WININET.dll_InternetCloseHandle]
cmp byte [ebp - 0x929], 0
je 0x40b264
push dword [ebp - 0x948]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
push str.HttpSendRequest_Failed_with:
lea ecx, [ebp - 0x960]
call fcn.00401814
lea ecx, [ebp - 0x930]
push ecx
push eax
lea eax, [ebp - 0x928]
push eax
mov byte [ebp - 4], 0x1d
call fcn.0044ced3
push eax
push dword [ebp - 0x938]
mov byte [ebp - 4], 0x1e
call fcn.0040a289
mov ecx, dword [ebp - 0x928]
add esp, 0x14
lea ecx, [ecx - 0x10]
call fcn.00404c8b
mov ecx, dword [ebp - 0x960]
lea ecx, [ecx - 0x10]
call fcn.00404c8b
mov ecx, dword [ebp - 0x930]
jmp 0x40c73e
push dword [ebp - 0x980]
call fcn.0040ccc4
pop ecx
test al, al
jne 0x40b3e6
push dword [ebp - 0x95c]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
cmp byte [ebp - 0x929], 0
je 0x40b2fb
push dword [ebp - 0x948]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
xor eax, eax
push eax
lea ecx, [ebp - 0x9a4]
call fcn.0044f5ec
push 1
lea ecx, [ebp - 0x994]
mov byte [ebp - 4], 0x1f
call fcn.0044f66f
lea eax, [ebp - 0x994]
push eax
push str.result
lea ecx, [ebp - 0x9a4]
mov byte [ebp - 4], 0x20
call fcn.0044f936
mov ecx, eax
call fcn.0044f7ef
lea ecx, [ebp - 0x994]
mov byte [ebp - 4], 0x1f
call fcn.0044f795
mov edx, dword [0x532ad4]
push 0x18
lea ecx, [edx + 1]
lea eax, [edx + 2]
imul eax, ecx
imul eax, edx
cdq
pop ecx
idiv ecx
cmp edx, 7
jne 0x40b375
lea eax, [ebp - 0x924]
push eax
call dword [sym.imp.KERNEL32.dll_GetTimeZoneInformation]
push str.no_response_needed
lea ecx, [ebp - 0x994]
call fcn.0044f5bd
lea eax, [ebp - 0x994]
push eax
push str.content
lea ecx, [ebp - 0x9a4]
mov byte [ebp - 4], 0x21
call fcn.0044f936
mov ecx, eax
call fcn.0044f7ef
lea ecx, [ebp - 0x994]
mov byte [ebp - 4], 0x1f
call fcn.0044f795
mov ecx, dword [ebp - 0x938]
lea eax, [ebp - 0x9a4]
push eax
call fcn.0044f418
lea ecx, [ebp - 0x9a4]
mov dword [ebp - 0x9b0], 1
mov byte [ebp - 4], 0x1b
call fcn.0044f795
jmp 0x40c746
xor eax, eax
push 0x400
push eax
mov byte [ebp - 0x414], al
lea eax, [ebp - 0x413]
push eax
call fcn.004bc640
add esp, 0xc
mov dword [ebp - 0x9d8], 0x400
push str.Wininet.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
test eax, eax
jne 0x40b46a
push dword [ebp - 0x95c]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
cmp byte [ebp - 0x929], 0
je 0x40b43d
push dword [ebp - 0x948]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
push str.HttpQueryInfo_Failed
lea ecx, [ebp - 0x928]
call fcn.00401814
mov byte [ebp - 4], 0x22
push eax
push dword [ebp - 0x938]
call fcn.0040a289
pop ecx
pop ecx
mov ecx, dword [ebp - 0x928]
jmp 0x40c73e
push str.HttpQueryInfoA
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
jne 0x40b4b1
push dword [ebp - 0x95c]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
cmp byte [ebp - 0x929], 0
je 0x40b49b
push dword [ebp - 0x948]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
push str.HttpQueryInfo_Failed
lea ecx, [ebp - 0x928]
call fcn.00401814
mov byte [ebp - 4], 0x23
jmp 0x40b451
xor edx, edx
push edx
lea ecx, [ebp - 0x9d8]
push ecx
lea ecx, [ebp - 0x414]
push ecx
push 0x13
push dword [ebp - 0x95c]
call eax
test eax, eax
jne 0x40b50a
push dword [ebp - 0x95c]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
cmp byte [ebp - 0x929], 0
je 0x40b4f1
push dword [ebp - 0x948]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
push str.HttpQueryInfo_Failed
lea ecx, [ebp - 0x928]
call fcn.00401814
mov byte [ebp - 4], 0x24
jmp 0x40b451
push 0x5311f0
lea ecx, [ebp - 0x94c]
call fcn.00401749
lea eax, [ebp - 0x414]
push eax
lea ecx, [ebp - 0x94c]
mov byte [ebp - 4], 0x25
call fcn.00401d76
mov ecx, dword [ebp - 0x980]
push str.acceptedStatusCodes
mov byte [ebp - 4], 0x26
call fcn.0044f9ba
mov ecx, eax
mov dword [ebp - 0x97c], eax
call fcn.0045057e
mov ecx, dword [ebp - 0x97c]
test al, al
je 0x40b6b7
xor eax, eax
mov dword [ebp - 0x934], eax
call fcn.00450a44
test eax, eax
jle 0x40b88c
mov ecx, dword [ebp - 0x934]
push ecx
mov ecx, dword [ebp - 0x97c]
call fcn.0044f95f
mov ecx, eax
call fcn.00450642
push dword [ebp - 0x934]
mov ecx, dword [ebp - 0x97c]
test al, al
je 0x40b5ee
call fcn.0044f95f
mov ecx, eax
call fcn.004500f9
sub esp, 0x18
mov ecx, esp
push eax
call fcn.00401027
lea eax, [ebp - 0x928]
push eax
call fcn.00465080
add esp, 0x1c
push dword [eax]
lea ecx, [ebp - 0x94c]
mov byte [ebp - 4], 0x27
call fcn.004035cd
mov ecx, dword [ebp - 0x928]
neg eax
sbb al, al
inc al
add ecx, 0xfffffff0
mov dword [ebp - 0x960], eax
jmp 0x40b67d
call fcn.0044f95f
mov ecx, eax
call fcn.004505c5
test al, al
je 0x40b693
push 0x5311f0
lea ecx, [ebp - 0x930]
call fcn.00401749
push dword [ebp - 0x934]
mov ecx, dword [ebp - 0x97c]
mov byte [ebp - 4], 0x28
call fcn.0044f95f
mov ecx, eax
call fcn.0044fe58
push eax
lea eax, [ebp - 0x930]
push eax
lea eax, [ebp - 0x93c]
push eax
call fcn.0044cf22
add esp, 0xc
mov ecx, dword [ebp - 0x930]
mov byte [ebp - 4], 0x2a
lea ecx, [ecx - 0x10]
call fcn.00404c8b
push dword [ebp - 0x93c]
lea ecx, [ebp - 0x94c]
call fcn.004035cd
mov ecx, dword [ebp - 0x93c]
neg eax
sbb al, al
inc al
mov byte [ebp - 0x960], al
lea ecx, [ecx - 0x10]
mov byte [ebp - 4], 0x26
call fcn.00404c8b
cmp byte [ebp - 0x960], 0
jne 0x40b90d
mov ecx, dword [ebp - 0x97c]
inc dword [ebp - 0x934]
call fcn.00450a44
mov ecx, dword [ebp - 0x934]
cmp ecx, eax
jl 0x40b57a
jmp 0x40b88c
call fcn.00450627
test al, al
je 0x40b86e
mov ecx, dword [ebp - 0x97c]
xor eax, eax
mov dword [ebp - 0x93c], eax
call fcn.00450a44
test eax, eax
jle 0x40b88c
push 0x5311f0
lea ecx, [ebp - 0x934]
call fcn.00401749
push dword [ebp - 0x93c]
lea eax, [ebp - 0x934]
push 0x4e7780
push eax
mov byte [ebp - 4], 0x2b
call fcn.0040a45c
mov ecx, dword [ebp - 0x97c]
add esp, 0xc
push dword [ebp - 0x934]
call fcn.0044f9ba
mov ecx, eax
call fcn.00450642
push dword [ebp - 0x934]
mov ecx, dword [ebp - 0x97c]
test al, al
je 0x40b786
call fcn.0044f9ba
mov ecx, eax
call fcn.004500f9
sub esp, 0x18
mov ecx, esp
push eax
call fcn.00401027
lea eax, [ebp - 0x978]
push eax
call fcn.00465080
add esp, 0x1c
push dword [eax]
lea ecx, [ebp - 0x94c]
mov byte [ebp - 4], 0x2c
call fcn.004035cd
mov ecx, dword [ebp - 0x978]
neg eax
sbb al, al
inc al
add ecx, 0xfffffff0
mov dword [ebp - 0x930], eax
jmp 0x40b815
call fcn.0044f9ba
mov ecx, eax
call fcn.004505c5
test al, al
je 0x40b823
push 0x5311f0
lea ecx, [ebp - 0x960]
call fcn.00401749
push dword [ebp - 0x934]
mov ecx, dword [ebp - 0x97c]
mov byte [ebp - 4], 0x2d
call fcn.0044f9ba
mov ecx, eax
call fcn.0044fe58
push eax
lea eax, [ebp - 0x960]
push eax
lea eax, [ebp - 0x928]
push eax
call fcn.0044cf22
add esp, 0xc
mov ecx, dword [ebp - 0x960]
mov byte [ebp - 4], 0x2f
lea ecx, [ecx - 0x10]
call fcn.00404c8b
push dword [ebp - 0x928]
lea ecx, [ebp - 0x94c]
call fcn.004035cd
mov ecx, dword [ebp - 0x928]
neg eax
sbb al, al
inc al
mov byte [ebp - 0x930], al
lea ecx, [ecx - 0x10]
call fcn.00404c8b
cmp byte [ebp - 0x930], 0
jne 0x40b854
mov ecx, dword [ebp - 0x934]
mov byte [ebp - 4], 0x26
lea ecx, [ecx - 0x10]
call fcn.00404c8b
mov ecx, dword [ebp - 0x97c]
inc dword [ebp - 0x93c]
call fcn.00450a44
cmp dword [ebp - 0x93c], eax
jl 0x40b6df
jmp 0x40b88c
mov ecx, dword [ebp - 0x934]
mov byte [ebp - 4], 0x26
lea ecx, [ecx - 0x10]
call fcn.00404c8b
mov eax, dword [ebp - 0x930]
jmp 0x40b884
push 0x4e8160
lea ecx, [ebp - 0x94c]
call fcn.004035cd
neg eax
sbb al, al
inc al
test al, al
jne 0x40b90d
push dword [ebp - 0x95c]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
cmp byte [ebp - 0x929], 0
je 0x40b8ad
push dword [ebp - 0x948]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
push 3
push dword [ebp - 0x94c]
lea eax, [ebp - 0x8f8]
lea ecx, [ebp - 0x8fc]
mov dword [ebp - 0x8fc], eax
call fcn.00404866
push dword [ebp - 0x8fc]
mov byte [ebp - 4], 0x30
call fcn.004bc792
push eax
push dword [ebp - 0x938]
call fcn.0040a33a
lea eax, [ebp - 0x8f8]
add esp, 0xc
cmp dword [ebp - 0x8fc], eax
je 0x40c738
push dword [ebp - 0x8fc]
call fcn.004bbd0c
pop ecx
jmp 0x40c738
xor ecx, ecx
push ecx
lea eax, [ebp - 0x9bc]
push eax
push ecx
push 0x16
pop eax
push eax
push dword [ebp - 0x95c]
mov dword [ebp - 0x9bc], ecx
call fcn.0040d0b8
add esp, 0x14
lea ecx, [ebp - 0x984]
push 0x5311f0
call fcn.00401749
cmp dword [ebp - 0x9bc], 0
mov byte [ebp - 4], 0x31
je 0x40b9df
push dword [ebp - 0x9bc]
call fcn.004b9bb1
pop ecx
mov dword [ebp - 0x930], eax
test eax, eax
je 0x40b9df
push str.Wininet.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
test eax, eax
je 0x40b9a0
push str.HttpQueryInfoA
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x40b9a0
xor edx, edx
push edx
lea ecx, [ebp - 0x9bc]
push ecx
push dword [ebp - 0x930]
push 0x16
push dword [ebp - 0x95c]
call eax
push dword [ebp - 0x930]
lea ecx, [ebp - 0x978]
call fcn.00407e53
push eax
lea ecx, [ebp - 0x984]
mov byte [ebp - 4], 0x32
call fcn.00401cd3
mov ecx, dword [ebp - 0x978]
mov byte [ebp - 4], 0x31
lea ecx, [ecx - 0x10]
call fcn.00404c8b
push dword [ebp - 0x930]
call fcn.004baa14
pop ecx
cmp byte [ebp - 0x955], 0
je 0x40bd76
xor eax, eax
push eax
lea ecx, [ebp - 0x9a4]
call fcn.0044f5ec
push 0x4e8168
lea ecx, [ebp - 0x94c]
mov byte [ebp - 4], 0x33
call fcn.004035cd
test eax, eax
je 0x40ba7e
push 0x4e8170
lea ecx, [ebp - 0x94c]
call fcn.004035cd
test eax, eax
je 0x40ba7e
push 0x4e8178
lea ecx, [ebp - 0x94c]
call fcn.004035cd
test eax, eax
je 0x40ba7e
push 0x4e8180
lea ecx, [ebp - 0x94c]
call fcn.004035cd
test eax, eax
je 0x40ba7e
mov ecx, dword [ebp - 0x938]
lea eax, [ebp - 0x9a4]
push eax
call fcn.0044f418
mov dword [ebp - 0x9b0], 1
lea ecx, [ebp - 0x9a4]
mov byte [ebp - 4], 0x31
call fcn.0044f795
jmp 0x40c72a
push 0x5311f0
lea ecx, [ebp - 0x948]
call fcn.00401749
mov eax, dword [ebp - 0x984]
add eax, 0xfffffff0
push eax
mov byte [ebp - 4], 0x34
call fcn.0040356e
add eax, 0x10
pop ecx
mov dword [ebp - 0x934], eax
lea ecx, [ebp - 0x934]
mov byte [ebp - 4], 0x35
call fcn.00407e0f
call fcn.0040d06e
test al, al
jne 0x40bae2
xor eax, eax
push eax
push eax
push eax
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov ecx, dword [0x532ad4]
push 7
pop edx
test eax, eax
cmove ecx, edx
mov dword [0x532ad4], ecx
xor eax, eax
push eax
push str.location:
lea ecx, [ebp - 0x934]
call fcn.00403740
mov dword [ebp - 0x978], eax
cmp eax, 0xffffffff
jne 0x40bb3d
mov ecx, dword [ebp - 0x938]
lea eax, [ebp - 0x9a4]
push eax
call fcn.0044f418
mov ecx, dword [ebp - 0x934]
mov dword [ebp - 0x9b0], 1
lea ecx, [ecx - 0x10]
call fcn.00404c8b
mov ecx, dword [ebp - 0x948]
lea ecx, [ecx - 0x10]
call fcn.00404c8b
jmp 0x40ba6a
push eax
push 0x4e80e0
lea ecx, [ebp - 0x934]
call fcn.00403740
mov ecx, dword [ebp - 0x978]
sub eax, ecx
push eax
push ecx
lea eax, [ebp - 0x928]
push eax
lea ecx, [ebp - 0x934]
call fcn.00404a7c
push eax
lea ecx, [ebp - 0x948]
mov byte [ebp - 4], 0x36
call fcn.00401cd3
mov ecx, dword [ebp - 0x928]
mov byte [ebp - 4], 0x35
lea ecx, [ecx - 0x10]
call fcn.00404c8b
xor eax, eax
push eax
push str.http
lea ecx, [ebp - 0x948]
call fcn.00403740
mov ecx, eax
cmp ecx, 0xffffffff
je 0x40bb00
mov eax, dword [ebp - 0x948]
mov eax, dword [eax - 0xc]
sub eax, ecx
push eax
lea eax, [ebp - 0x978]
push eax
lea ecx, [ebp - 0x948]
call fcn.0040540c
push eax
lea ecx, [ebp - 0x948]
mov byte [ebp - 4], 0x37
call fcn.00401cd3
mov ecx, dword [ebp - 0x978]
mov byte [ebp - 4], 0x35
lea ecx, [ecx - 0x10]
call fcn.00404c8b
mov edx, dword [0x532ad4]
push 0xa
lea ecx, [edx + 1]
lea eax, [edx + 2]
imul eax, ecx
imul eax, edx
cdq
pop ecx
idiv ecx
cmp edx, 5
jne 0x40bc17
push 4
call fcn.004ba88b
pop ecx
mov ecx, dword [0x532ad4]
mov dword [eax], ecx
push 1
lea ecx, [ebp - 0x994]
call fcn.0044f66f
lea eax, [ebp - 0x994]
push eax
push str.urlRedirected
lea ecx, [ebp - 0x9a4]
mov byte [ebp - 4], 0x38
call fcn.0044f936
mov ecx, eax
call fcn.0044f7ef
lea ecx, [ebp - 0x994]
mov byte [ebp - 4], 0x35
call fcn.0044f795
lea eax, [ebp - 0x950]
push eax
lea eax, [ebp - 0x878]
push eax
call fcn.004650cb
pop ecx
pop ecx
push eax
lea ecx, [ebp - 0x994]
mov byte [ebp - 4], 0x39
call fcn.0044f51c
lea eax, [ebp - 0x994]
push eax
push str.requestUrl
lea ecx, [ebp - 0x9a4]
mov byte [ebp - 4], 0x3a
call fcn.0044f936
mov ecx, eax
call fcn.0044f7ef
lea ecx, [ebp - 0x994]
mov byte [ebp - 4], 0x39
call fcn.0044f795
lea ecx, [ebp - 0x878]
mov byte [ebp - 4], 0x35
call fcn.00401056
lea eax, [ebp - 0x948]
push eax
lea eax, [ebp - 0x830]
push eax
call fcn.004650cb
pop ecx
pop ecx
push eax
lea ecx, [ebp - 0x994]
mov byte [ebp - 4], 0x3b
call fcn.0044f51c
lea eax, [ebp - 0x994]
push eax
push str.redirectUrl
lea ecx, [ebp - 0x9a4]
mov byte [ebp - 4], 0x3c
call fcn.0044f936
mov ecx, eax
call fcn.0044f7ef
lea ecx, [ebp - 0x994]
mov byte [ebp - 4], 0x3b
call fcn.0044f795
lea ecx, [ebp - 0x830]
mov byte [ebp - 4], 0x35
call fcn.00401056
xor eax, eax
push eax
lea ecx, [ebp - 0x94c]
call fcn.00404be3
push eax
call fcn.004bbdad
pop ecx
push eax
lea ecx, [ebp - 0x994]
call fcn.0044f577
mov byte [ebp - 4], 0x3d
lea eax, [ebp - 0x994]
push eax
push str.statusCode
lea ecx, [ebp - 0x9a4]
call fcn.0044f936
mov ecx, eax
call fcn.0044f7ef
lea ecx, [ebp - 0x994]
mov byte [ebp - 4], 0x35
call fcn.0044f795
jmp 0x40bb00
xor edx, edx
mov ecx, edx
mov eax, edx
mov dword [ebp - 0x990], ecx
mov dword [ebp - 0x98c], eax
mov dword [ebp - 0x988], edx
mov byte [ebp - 4], 0x3e
mov dword [ebp - 0x9c0], edx
sub eax, ecx
mov dword [ebp - 0x928], eax
add eax, 0x400
push eax
lea ecx, [ebp - 0x990]
call fcn.0040889f
xor eax, eax
mov dword [ebp - 0x9c0], eax
mov eax, dword [ebp - 0x990]
add eax, dword [ebp - 0x928]
lea ecx, [ebp - 0x9c0]
push ecx
push 0x400
push eax
push dword [ebp - 0x95c]
call fcn.004088f8
push eax
call fcn.004122b3
test eax, eax
je 0x40c6ce
mov eax, dword [ebp - 0x9c0]
add eax, dword [ebp - 0x928]
lea ecx, [ebp - 0x990]
push eax
call fcn.0040889f
cmp dword [ebp - 0x9c0], 0
je 0x40be1d
mov eax, dword [ebp - 0x98c]
mov ecx, dword [ebp - 0x990]
jmp 0x40bd98
xor eax, eax
push 0x400
push eax
mov byte [ebp - 0x818], al
lea eax, [ebp - 0x817]
push eax
call fcn.004bc640
add esp, 0xc
xor eax, eax
push str.Wininet.dll
mov dword [ebp - 0x9d4], 0x400
mov dword [ebp - 0x928], eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
test eax, eax
je 0x40bec3
push str.HttpQueryInfoA
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [0x532ad4]
mov dword [ebp - 0x928], eax
lea eax, [ecx + 1]
imul eax, ecx
push 0x16
cdq
pop ecx
idiv ecx
cmp edx, 0x11
jne 0x40bec3
push 0x28
call fcn.004b9bb1
mov ebx, eax
xor eax, eax
pop ecx
mov edi, eax
call fcn.004bbc9b
add eax, dword [0x532ad4]
push 0xa
mov dword [ebx + edi*4], eax
inc edi
pop eax
cmp edi, eax
jl 0x40be92
mov eax, dword [ebx + 0x24]
push ebx
mov dword [0x532ad4], eax
call fcn.004baa14
mov edi, dword [ebp - 0x9ac]
mov ebx, dword [ebp - 0x9b4]
pop ecx
xor eax, eax
push eax
lea eax, [ebp - 0x9d4]
push eax
lea eax, [ebp - 0x818]
push eax
push 0x1d
push dword [ebp - 0x95c]
call dword [ebp - 0x928]
test eax, eax
je 0x40c027
push 0x5311f0
lea ecx, [ebp - 0x93c]
call fcn.00401749
lea eax, [ebp - 0x818]
push eax
lea ecx, [ebp - 0x93c]
mov byte [ebp - 4], 0x40
call fcn.00401d76
mov edx, dword [0x532ad4]
push str.gzip
lea ecx, [edx + 1]
lea eax, [edx + 2]
imul eax, ecx
imul eax, edx
cdq
idiv dword [ebp - 0x940]
mov eax, dword [0x532ad4]
mov byte [ebp - 4], 0x41
cmp edx, 3
cmove eax, ecx
lea ecx, [ebp - 0x93c]
mov dword [0x532ad4], eax
call fcn.004035cd
test eax, eax
jne 0x40c015
mov dword [ebp - 0x9a0], eax
mov dword [ebp - 0x99c], eax
mov dword [ebp - 0x998], eax
mov eax, dword [ebp - 0x98c]
sub eax, dword [ebp - 0x990]
lea ecx, [ebp - 0x9a0]
push ecx
push eax
push dword [ebp - 0x990]
mov byte [ebp - 4], 0x42
call fcn.0040cf9f
add esp, 0xc
test eax, eax
jne 0x40bff8
push dword [ebp - 0x95c]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
cmp byte [ebp - 0x929], 0
je 0x40bfb2
push dword [ebp - 0x948]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
push str.gzip_decompressing_error
lea ecx, [ebp - 0x940]
call fcn.00401814
push eax
push dword [ebp - 0x938]
mov byte [ebp - 4], 0x43
call fcn.0040a289
pop ecx
pop ecx
mov ecx, dword [ebp - 0x940]
lea ecx, [ecx - 0x10]
call fcn.00404c8b
lea ecx, [ebp - 0x9a0]
call fcn.00460ac7
mov ecx, dword [ebp - 0x93c]
jmp 0x40c717
lea eax, [ebp - 0x9a0]
push eax
lea ecx, [ebp - 0x990]
call fcn.0040a01c
lea ecx, [ebp - 0x9a0]
call fcn.00460ac7
mov ecx, dword [ebp - 0x93c]
mov byte [ebp - 4], 0x3e
lea ecx, [ecx - 0x10]
call fcn.00404c8b
push dword [ebp - 0x95c]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
cmp byte [ebp - 0x929], 0
je 0x40c048
push dword [ebp - 0x948]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov ecx, dword [ebp - 0x980]
xor eax, eax
push str.responseType
mov byte [ebp - 0x941], al
mov byte [ebp - 0x93c], al
call fcn.0044f9ba
mov ecx, eax
call fcn.00450642
test al, al
je 0x40c100
mov ecx, dword [ebp - 0x980]
push str.responseType
call fcn.0044f9ba
mov ecx, eax
call fcn.004500f9
sub esp, 0x18
mov ecx, esp
push eax
call fcn.00401027
lea eax, [ebp - 0x930]
push eax
call fcn.00465080
add esp, 0x1c
push str.base64
lea ecx, [ebp - 0x930]
mov byte [ebp - 4], 0x44
call fcn.004035cd
test eax, eax
jne 0x40c0c7
mov byte [ebp - 0x941], 1
jmp 0x40c0ee
push str.binary
lea ecx, [ebp - 0x930]
call fcn.004035cd
mov ecx, dword [ebp - 0x93c]
movzx ecx, cl
test eax, eax
push 1
pop eax
cmove ecx, eax
mov dword [ebp - 0x93c], ecx
mov ecx, dword [ebp - 0x930]
mov byte [ebp - 4], 0x3e
lea ecx, [ecx - 0x10]
call fcn.00404c8b
push 0x5311f0
lea ecx, [ebp - 0x9a8]
call fcn.00401749
cmp byte [ebp - 0x941], 0
mov byte [ebp - 4], 0x45
je 0x40c1e6
mov ecx, dword [ebp - 0x990]
mov eax, dword [ebp - 0x98c]
sub eax, ecx
push eax
push ecx
lea eax, [ebp - 0x940]
push eax
call fcn.00407aba
add esp, 0xc
push eax
lea ecx, [ebp - 0x9a8]
mov byte [ebp - 4], 0x46
call fcn.00401cd3
mov ecx, dword [ebp - 0x940]
mov byte [ebp - 4], 0x45
lea ecx, [ecx - 0x10]
call fcn.00404c8b
lea eax, [ebp - 0x978]
push eax
call fcn.00409ceb
pop ecx
push dword [eax]
lea ecx, [ebp - 0x9a8]
mov byte [ebp - 4], 0x47
call fcn.004035cd
mov ecx, dword [ebp - 0x978]
neg eax
sbb al, al
inc al
add ecx, 0xfffffff0
mov byte [ebp - 4], 0x45
mov dword [ebp - 0x940], eax
call fcn.00404c8b
cmp byte [ebp - 0x940], 0
je 0x40c295
push str.Base64_encdng_error
lea ecx, [ebp - 0x940]
call fcn.00401814
push eax
push dword [ebp - 0x938]
mov byte [ebp - 4], 0x48
call fcn.0040a289
pop ecx
pop ecx
mov ecx, dword [ebp - 0x940]
lea ecx, [ecx - 0x10]
call fcn.00404c8b
mov ecx, dword [ebp - 0x9a8]
jmp 0x40c717
cmp byte [ebp - 0x93c], 0
jne 0x40c295
mov ecx, dword [ebp - 0x990]
mov eax, dword [ebp - 0x98c]
sub eax, ecx
mov dword [ebp - 0x940], eax
cmp byte [ecx + eax - 1], 0
je 0x40c22c
inc eax
push eax
lea ecx, [ebp - 0x990]
call fcn.0040889f
mov ecx, dword [ebp - 0x990]
mov eax, dword [ebp - 0x940]
xor edx, edx
mov byte [ecx + eax], dl
mov eax, dword [ebp - 0x98c]
sub eax, ecx
cmp eax, 3
jbe 0x40c267
cmp byte [ecx], 0xef
jne 0x40c267
cmp byte [ecx + 1], 0xbb
jne 0x40c267
cmp byte [ecx + 2], 0xbf
jne 0x40c267
lea eax, [ecx + 3]
push eax
push ecx
lea eax, [ebp - 0x940]
push eax
lea ecx, [ebp - 0x990]
call fcn.0040881c
mov ecx, dword [ebp - 0x990]
push ecx
lea ecx, [ebp - 0x940]
call fcn.00401814
push eax
lea ecx, [ebp - 0x9a8]
mov byte [ebp - 4], 0x49
call fcn.00401cd3
mov ecx, dword [ebp - 0x940]
mov byte [ebp - 4], 0x45
lea ecx, [ecx - 0x10]
call fcn.00404c8b
mov ecx, dword [ebp - 0x980]
xor eax, eax
push str.outputFile
mov byte [ebp - 0x934], al
call fcn.0044f9ba
mov ecx, eax
call fcn.00450642
test al, al
je 0x40c3f8
mov ecx, dword [ebp - 0x980]
push str.outputFile
call fcn.0044f9ba
mov ecx, eax
call fcn.004500f9
sub esp, 0x18
mov ecx, esp
push eax
call fcn.00401027
lea eax, [ebp - 0x930]
push eax
call fcn.00465080
add esp, 0x1c
mov eax, dword [ebp - 0x930]
mov byte [ebp - 4], 0x4a
cmp dword [eax - 0xc], 0
je 0x40c3b2
cmp byte [ebp - 0x93c], 0
je 0x40c36f
push 0x4e8230
push eax
lea eax, [ebp - 0x93c]
xor edx, edx
push eax
mov dword [ebp - 0x93c], edx
call fcn.004bdef3
add esp, 0xc
test eax, eax
jne 0x40c3b2
cmp dword [ebp - 0x93c], eax
je 0x40c3b2
push dword [ebp - 0x93c]
mov ecx, dword [ebp - 0x990]
mov eax, dword [ebp - 0x98c]
sub eax, ecx
push eax
xor eax, eax
inc eax
push eax
push ecx
call fcn.004be23c
push dword [ebp - 0x93c]
call fcn.004be06e
xor eax, eax
add esp, 0x14
inc eax
mov byte [ebp - 0x934], al
jmp 0x40c3b2
mov eax, dword [ebp - 0x9a8]
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x940], esp
push eax
call fcn.0040356e
pop ecx
mov ecx, dword [ebp - 0x940]
add eax, 0x10
mov dword [ecx], eax
lea eax, [ebp - 0x930]
push eax
call fcn.004086d5
pop ecx
pop ecx
xor edx, edx
movzx ecx, dl
test al, al
push 1
pop eax
cmovne ecx, eax
mov byte [ebp - 0x934], cl
mov edx, dword [0x532ad4]
push 0xa
lea ecx, [edx + 1]
lea eax, [edx + 2]
imul eax, ecx
imul eax, edx
cdq
pop ecx
idiv ecx
cmp edx, 3
jne 0x40c3e6
push 0xfc
push 0xfb
push str._d__d_n
call fcn.004bc7c4
add esp, 0xc
mov ecx, dword [ebp - 0x930]
mov byte [ebp - 4], 0x45
lea ecx, [ecx - 0x10]
call fcn.00404c8b
xor eax, eax
push eax
lea ecx, [ebp - 0x9d0]
call fcn.0044f5ec
xor eax, eax
inc eax
push eax
lea ecx, [ebp - 0x9a4]
mov byte [ebp - 4], 0x4b
call fcn.0044f66f
lea eax, [ebp - 0x9a4]
push eax
push str.result
lea ecx, [ebp - 0x9d0]
mov byte [ebp - 4], 0x4c
call fcn.0044f936
mov ecx, eax
call fcn.0044f7ef
lea ecx, [ebp - 0x9a4]
mov byte [ebp - 4], 0x4b
call fcn.0044f795
lea eax, [ebp - 0x9a8]
push eax
push eax
call fcn.0040904a
lea eax, [ebp - 0x9a8]
push eax
lea eax, [ebp - 0x830]
push eax
call fcn.004650cb
add esp, 0x10
push eax
lea ecx, [ebp - 0x9a4]
mov byte [ebp - 4], 0x4d
call fcn.0044f51c
lea eax, [ebp - 0x9a4]
push eax
push str.content
lea ecx, [ebp - 0x9d0]
mov byte [ebp - 4], 0x4e
call fcn.0044f936
mov ecx, eax
call fcn.0044f7ef
lea ecx, [ebp - 0x9a4]
mov byte [ebp - 4], 0x4d
call fcn.0044f795
lea ecx, [ebp - 0x830]
mov byte [ebp - 4], 0x4b
call fcn.00401056
lea eax, [ebp - 0x984]
push eax
lea eax, [ebp - 0x878]
push eax
call fcn.004650cb
pop ecx
pop ecx
push eax
lea ecx, [ebp - 0x9a4]
mov byte [ebp - 4], 0x4f
call fcn.0044f51c
lea eax, [ebp - 0x9a4]
push eax
push str.headers
push str.additionalInfo
lea ecx, [ebp - 0x9d0]
mov byte [ebp - 4], 0x50
call fcn.0044f936
mov ecx, eax
call fcn.0044f936
mov ecx, eax
call fcn.0044f7ef
lea ecx, [ebp - 0x9a4]
mov byte [ebp - 4], 0x4f
call fcn.0044f795
mov byte [ebp - 4], 0x4b
lea ecx, [ebp - 0x878]
call fcn.00401056
lea eax, [ebp - 0x94c]
push eax
lea eax, [ebp - 0x848]
push eax
call fcn.004650cb
pop ecx
pop ecx
push eax
lea ecx, [ebp - 0x9a4]
mov byte [ebp - 4], 0x51
call fcn.0044f51c
lea eax, [ebp - 0x9a4]
push eax
push str.httpCode
push str.additionalInfo
lea ecx, [ebp - 0x9d0]
mov byte [ebp - 4], 0x52
call fcn.0044f936
mov ecx, eax
call fcn.0044f936
mov ecx, eax
call fcn.0044f7ef
lea ecx, [ebp - 0x9a4]
mov byte [ebp - 4], 0x51
call fcn.0044f795
lea ecx, [ebp - 0x848]
mov byte [ebp - 4], 0x4b
call fcn.00401056
push str.empty
lea ecx, [ebp - 0x860]
call fcn.00401027
push eax
lea ecx, [ebp - 0x9a4]
mov byte [ebp - 4], 0x53
call fcn.0044f51c
lea eax, [ebp - 0x9a4]
push eax
push str.noData
lea ecx, [ebp - 0x9d0]
mov byte [ebp - 4], 0x54
call fcn.0044f936
mov ecx, eax
call fcn.0044f7ef
lea ecx, [ebp - 0x9a4]
mov byte [ebp - 4], 0x53
call fcn.0044f795
lea ecx, [ebp - 0x860]
mov byte [ebp - 4], 0x4b
call fcn.00401056
mov ecx, dword [ebp - 0x980]
push str.outputFile
call fcn.0044f9ba
mov ecx, eax
call fcn.00450642
test al, al
je 0x40c69f
push dword [ebp - 0x934]
lea ecx, [ebp - 0x9a4]
call fcn.0044f66f
push str.outputFi
lea ecx, [ebp - 0x848]
mov byte [ebp - 4], 0x55
call fcn.00401027
push str.leResult
push eax
lea eax, [ebp - 0x860]
push eax
mov byte [ebp - 4], 0x56
call fcn.00409ddd
add esp, 0xc
lea ecx, [ebp - 0x9a4]
push ecx
push eax
lea ecx, [ebp - 0x9d0]
mov byte [ebp - 4], 0x57
call fcn.0044f847
mov ecx, eax
call fcn.0044f7ef
lea ecx, [ebp - 0x860]
call fcn.00401056
lea ecx, [ebp - 0x848]
call fcn.00401056
lea ecx, [ebp - 0x9a4]
mov byte [ebp - 4], 0x4b
call fcn.0044f795
mov ecx, dword [ebp - 0x938]
lea eax, [ebp - 0x9d0]
push eax
call fcn.0044f418
xor eax, eax
inc eax
lea ecx, [ebp - 0x9d0]
mov dword [ebp - 0x9b0], eax
mov byte [ebp - 4], 0x45
call fcn.0044f795
jmp 0x40c1db
push dword [ebp - 0x95c]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
cmp byte [ebp - 0x929], 0
je 0x40c6ef
push dword [ebp - 0x948]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
push str.InternetReadFile_Failed
lea ecx, [ebp - 0x940]
call fcn.00401814
push eax
push dword [ebp - 0x938]
mov byte [ebp - 4], 0x3f
call fcn.0040a289
pop ecx
pop ecx
mov ecx, dword [ebp - 0x940]
lea ecx, [ecx - 0x10]
call fcn.00404c8b
lea ecx, [ebp - 0x990]
call fcn.00460ac7
mov ecx, dword [ebp - 0x984]
lea ecx, [ecx - 0x10]
call fcn.00404c8b
mov ecx, dword [ebp - 0x94c]
lea ecx, [ecx - 0x10]
call fcn.00404c8b
mov ecx, dword [ebp - 0x974]
lea ecx, [ecx - 0x10]
call fcn.00404c8b
mov ecx, dword [ebp - 0x964]
lea ecx, [ecx - 0x10]
call fcn.00404c8b
lea ecx, [esi - 0x10]
call fcn.00404c8b
lea ecx, [ebx - 0x10]
call fcn.00404c8b
mov ecx, dword [ebp - 0x970]
lea ecx, [ecx - 0x10]
call fcn.00404c8b
mov ecx, dword [ebp - 0x96c]
lea ecx, [ecx - 0x10]
call fcn.00404c8b
mov ecx, dword [ebp - 0x968]
lea ecx, [ecx - 0x10]
call fcn.00404c8b
mov ecx, dword [ebp - 0x950]
lea ecx, [ecx - 0x10]
call fcn.00404c8b
mov ecx, dword [ebp - 0x954]
lea ecx, [ecx - 0x10]
call fcn.00404c8b
lea ecx, [edi - 0x10]
call fcn.00404c8b
mov eax, dword [ebp - 0x938]
call fcn.004bb7c2
ret