Function at 0x40ffa0
Capabilities:
Contain obfuscated stackstrings
Encode data using base64
Encode data using xor
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x506a97
mov eax, dword fs:[0]
push eax
sub esp, 0x9ac
mov eax, dword [0x564690]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0x10]
mov edi, dword [ebp + 0x14]
mov ebx, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x920], eax
mov eax, dword [ebp + 0x18]
push edi
mov dword [ebp - 0x968], ebx
mov dword [ebp - 0x9b8], ebx
mov dword [ebp - 0x988], esi
mov dword [ebp - 0x94c], edi
mov dword [ebp - 0x964], eax
mov dword [ebp - 0x984], 0
call fcn.00412800
add esp, 4
test al, al
je 0x4100c2
mov eax, dword [0x5641c0]
mov ecx, 0x5641c0
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x92c], eax
mov eax, str.this_module_doesnt_support_file_request
mov dword [ebp - 4], 1
test eax, 0xffff0000
jne 0x410066
movzx esi, ax
push 0
push esi
call fcn.00402e50
add esp, 8
test eax, eax
je 0x410076
push esi
push eax
lea ecx, [ebp - 0x92c]
call fcn.00407600
jmp 0x410076
push str.this_module_doesnt_support_file_request
lea ecx, [ebp - 0x92c]
call fcn.004026b0
lea eax, [ebp - 0x92c]
push eax
push ebx
mov dword [ebp - 4], 2
call fcn.0040f4b0
add esp, 8
mov esi, dword [ebp - 0x92c]
add esi, 0xfffffff0
mov dword [ebp - 0x984], 1
mov byte [ebp - 4], 0
lea eax, [esi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4100bb
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, ebx
jmp 0x412206
test esi, esi
jne 0x41011c
push str.InternetOpen_Failed
lea ecx, [ebp - 0x920]
call fcn.00401ae0
push eax
push ebx
mov dword [ebp - 4], 3
call fcn.0040f4b0
mov edx, dword [ebp - 0x920]
add edx, 0xfffffff0
add esp, 8
mov dword [ebp - 0x984], 1
mov byte [ebp - 4], 0
lea eax, [edx + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4100bb
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, ebx
jmp 0x412206
mov eax, dword [0x5641c0]
mov ecx, 0x5641c0
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x938], eax
mov eax, dword [0x5641c0]
mov ecx, 0x5641c0
mov dword [ebp - 4], 4
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x948], eax
push 0x5191b4
mov ecx, edi
mov byte [ebp - 4], 5
mov dword [ebp - 0x91c], 0
call fcn.0046a670
mov ecx, eax
call fcn.0041c3f0
sub esp, 0x18
mov ecx, esp
push eax
call fcn.00401000
lea eax, [ebp - 0x940]
push eax
call fcn.0048c4c0
lea eax, [ebp - 0x91c]
push eax
lea eax, [ebp - 0x948]
push eax
lea eax, [ebp - 0x938]
push eax
lea eax, [ebp - 0x940]
push eax
mov byte [ebp - 4], 6
call fcn.0040f320
movzx eax, al
add esp, 0x2c
test eax, eax
jne 0x41026a
push str.InternetCrackUrl_Failed
lea ecx, [ebp - 0x920]
call fcn.00401ae0
push eax
push ebx
mov byte [ebp - 4], 7
call fcn.0040f4b0
mov edx, dword [ebp - 0x920]
add edx, 0xfffffff0
or esi, 0xffffffff
add esp, 8
mov dword [ebp - 0x984], 1
mov byte [ebp - 4], 6
lea ecx, [edx + 0xc]
mov eax, esi
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x410208
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x940]
add edx, 0xfffffff0
mov byte [ebp - 4], 5
lea eax, [edx + 0xc]
mov ecx, esi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x41022b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x948]
add edx, 0xfffffff0
mov byte [ebp - 4], 4
lea eax, [edx + 0xc]
mov ecx, esi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x41024e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x938]
add edx, 0xfffffff0
mov byte [ebp - 4], 0
lea eax, [edx + 0xc]
lock xadd dword [eax], esi
dec esi
test esi, esi
jmp 0x41010b
push str.redirectCheck
mov ecx, edi
mov byte [ebp - 0x925], 0
call fcn.0046b590
test al, al
je 0x4102b1
push str.redirectCheck
mov ecx, edi
call fcn.0046a670
mov ecx, eax
call fcn.0046b570
test al, al
je 0x4102b1
push str.redirectCheck
mov ecx, edi
call fcn.0046a670
mov ecx, eax
call fcn.0046aba0
mov byte [ebp - 0x925], al
lea eax, [ebp - 0x92c]
push eax
lea eax, [ebp - 0x915]
push eax
mov eax, dword [ebp - 0x940]
push ecx
add eax, 0xfffffff0
mov esi, esp
push eax
mov byte [ebp - 0x915], 0
mov dword [ebp - 0x92c], 0x50
call fcn.00405870
add eax, 0x10
add esp, 4
mov dword [esi], eax
call fcn.0040f230
add esp, 0xc
mov ecx, edi
push str.port
call fcn.0046a670
mov ecx, eax
call fcn.0046b580
test al, al
je 0x410320
push str.port
mov ecx, edi
call fcn.0046a670
mov ecx, eax
call fcn.0046acd0
mov esi, eax
jmp 0x41032f
mov esi, dword [ebp - 0x91c]
test esi, esi
cmove esi, dword [ebp - 0x92c]
push esi
lea eax, [ebp - 0x938]
push eax
push dword [ebp - 0x920]
mov dword [ebp - 0x91c], esi
mov byte [ebp - 0x916], 0
call fcn.0040f180
add esp, 0xc
mov dword [ebp - 0x93c], eax
test eax, eax
jne 0x410490
mov eax, dword [0x566254]
test eax, eax
jne 0x4103f4
push str.Wininet.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [ebp - 0x920], eax
call fcn.00413200
test al, al
jne 0x4103ce
mov esi, dword [0x565ae0]
mov eax, 0x51eb851f
imul esi
sar edx, 5
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
imul ecx, ecx, 0x64
sub esi, ecx
xor ecx, ecx
lea eax, [esi + 0x2f4]
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004e3b54
push eax
call fcn.004e5c83
mov esi, dword [ebp - 0x91c]
add esp, 8
mov eax, dword [ebp - 0x920]
test eax, eax
je 0x4103eb
push str.InternetConnectW
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x566254], eax
jmp 0x4103f0
mov eax, dword [0x566254]
test eax, eax
je 0x410417
push 0
push 0
push 3
push 0
push 0
push esi
push dword [ebp - 0x938]
push dword [ebp - 0x988]
call eax
mov dword [ebp - 0x93c], eax
test eax, eax
jne 0x410468
push str.InternetConnect_Failed
lea ecx, [ebp - 0x920]
call fcn.00401ae0
push eax
push ebx
mov byte [ebp - 4], 8
call fcn.0040f4b0
add esp, 8
lea ecx, [ebp - 0x920]
call fcn.00401fa0
lea ecx, [ebp - 0x940]
call fcn.00401fa0
lea ecx, [ebp - 0x948]
call fcn.00401fa0
lea ecx, [ebp - 0x938]
call fcn.00401fa0
mov eax, ebx
jmp 0x412206
mov ecx, dword [ebp - 0x964]
test ecx, ecx
jne 0x41047b
mov byte [ebp - 0x916], 1
jmp 0x410490
push eax
push esi
lea eax, [ebp - 0x938]
push eax
push dword [ebp + 0x1c]
push ecx
call fcn.00412ad0
add esp, 0x14
cmp byte [ebp - 0x925], 0
mov eax, 0x80400200
mov ecx, 0x80600200
cmovne eax, ecx
or eax, 0xc000
cmp byte [ebp - 0x915], 0
mov dword [ebp - 0x92c], eax
je 0x4104c3
or eax, 0x803080
mov dword [ebp - 0x92c], eax
mov eax, dword [0x5641c0]
mov ecx, 0x5641c0
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x91c], eax
mov dword [ebp - 0x95c], eax
push str.method
mov ecx, edi
mov byte [ebp - 4], 9
call fcn.0046a670
mov ecx, eax
call fcn.0046b5e0
test al, al
je 0x410552
push str.method
mov ecx, edi
call fcn.0046a670
mov ecx, eax
call fcn.0041c3f0
sub esp, 0x18
mov ecx, esp
push eax
call fcn.00401000
lea eax, [ebp - 0x920]
push eax
call fcn.0048c4c0
add esp, 0x1c
push eax
lea ecx, [ebp - 0x95c]
mov byte [ebp - 4], 0xa
call fcn.004025b0
lea ecx, [ebp - 0x920]
mov byte [ebp - 4], 9
call fcn.00401fa0
mov eax, dword [ebp - 0x95c]
mov dword [ebp - 0x91c], eax
mov eax, dword [0x5641c0]
mov ecx, 0x5641c0
call dword [eax + 0xc]
lea ebx, [eax + 0x10]
mov dword [ebp - 0x960], ebx
push 0x519384
mov ecx, edi
mov byte [ebp - 4], 0xb
call fcn.0046a670
mov ecx, eax
call fcn.0046b5e0
test al, al
je 0x4105d5
push 0x519384
mov ecx, edi
call fcn.0046a670
mov ecx, eax
call fcn.0041c3f0
sub esp, 0x18
mov ecx, esp
push eax
call fcn.00401000
lea eax, [ebp - 0x920]
push eax
call fcn.0048c4c0
add esp, 0x1c
push eax
lea ecx, [ebp - 0x960]
mov byte [ebp - 4], 0xc
call fcn.004025b0
lea ecx, [ebp - 0x920]
mov byte [ebp - 4], 0xb
call fcn.00401fa0
mov ebx, dword [ebp - 0x960]
mov eax, dword [0x5641c0]
mov ecx, 0x5641c0
call dword [eax + 0xc]
lea edi, [eax + 0x10]
mov dword [ebp - 0x958], edi
mov esi, dword [ebp - 0x94c]
push str.referer
mov ecx, esi
mov byte [ebp - 4], 0xd
call fcn.0046a670
mov ecx, eax
call fcn.0046b5e0
test al, al
je 0x41065e
push str.referer
mov ecx, esi
call fcn.0046a670
mov ecx, eax
call fcn.0041c3f0
sub esp, 0x18
mov ecx, esp
push eax
call fcn.00401000
lea eax, [ebp - 0x920]
push eax
call fcn.0048c4c0
add esp, 0x1c
push eax
lea ecx, [ebp - 0x958]
mov byte [ebp - 4], 0xe
call fcn.004025b0
lea ecx, [ebp - 0x920]
mov byte [ebp - 4], 0xd
call fcn.00401fa0
mov edi, dword [ebp - 0x958]
mov eax, dword [0x5641c0]
mov ecx, 0x5641c0
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x954], esi
mov ecx, dword [ebp - 0x94c]
push str.acceptTypes
mov byte [ebp - 4], 0xf
call fcn.0046a670
mov ecx, eax
call fcn.0046b5e0
test al, al
je 0x4106e9
mov ecx, dword [ebp - 0x94c]
push str.acceptTypes
call fcn.0046a670
mov ecx, eax
call fcn.0041c3f0
sub esp, 0x18
mov ecx, esp
push eax
call fcn.00401000
lea eax, [ebp - 0x920]
push eax
call fcn.0048c4c0
add esp, 0x1c
push eax
lea ecx, [ebp - 0x954]
mov byte [ebp - 4], 0x10
call fcn.004025b0
lea ecx, [ebp - 0x920]
mov byte [ebp - 4], 0xf
call fcn.00401fa0
mov esi, dword [ebp - 0x954]
xor eax, eax
cmp dword [esi - 0xc], eax
mov dword [ebp - 0x9b0], eax
cmove esi, eax
mov dword [ebp - 0x9b4], esi
cmp dword [edi - 0xc], eax
push 1
push dword [ebp - 0x92c]
cmove edi, eax
cmp dword [ebx - 0xc], eax
cmove ebx, eax
mov eax, dword [ebp - 0x91c]
xor ecx, ecx
cmp dword [eax - 0xc], ecx
cmove eax, ecx
lea ecx, [ebp - 0x9b4]
push ecx
push edi
push ebx
push dword [ebp - 0x948]
push eax
push dword [ebp - 0x93c]
call dword [sym.imp.WININET.dll_HttpOpenRequestW]
mov dword [ebp - 0x92c], eax
test eax, eax
jne 0x410774
push str.HttpOpenRequest_Failed
lea ecx, [ebp - 0x920]
call fcn.00401ae0
mov esi, dword [ebp - 0x968]
push eax
push esi
mov byte [ebp - 4], 0x11
call fcn.0040f4b0
add esp, 8
lea ecx, [ebp - 0x920]
jmp 0x4121b2
mov eax, dword [0x5641c0]
mov ecx, 0x5641c0
call dword [eax + 0xc]
lea edi, [eax + 0x10]
mov dword [ebp - 0x950], edi
mov ebx, dword [ebp - 0x94c]
push str.contentType
mov ecx, ebx
mov byte [ebp - 4], 0x12
call fcn.0046a670
mov ecx, eax
call fcn.0046b5e0
test al, al
je 0x410887
push 0x5193ac
lea ecx, [ebp - 0x91c]
call fcn.00401b70
lea eax, [ebp - 0x91c]
push eax
push str.contentType
mov ecx, ebx
mov byte [ebp - 4], 0x13
call fcn.0046a670
mov ecx, eax
call fcn.0041c3f0
sub esp, 0x18
mov ecx, esp
push eax
call fcn.00401000
lea eax, [ebp - 0x944]
push eax
call fcn.0048c4c0
add esp, 0x1c
mov esi, eax
push str.Content_Type:
lea ecx, [ebp - 0x964]
mov byte [ebp - 4], 0x14
call fcn.00401ae0
push esi
push eax
lea eax, [ebp - 0x988]
push eax
mov byte [ebp - 4], 0x15
call fcn.00465fd0
add esp, 0xc
push eax
lea eax, [ebp - 0x920]
push eax
mov byte [ebp - 4], 0x16
call fcn.00465fd0
add esp, 0xc
push eax
lea ecx, [ebp - 0x950]
mov byte [ebp - 4], 0x17
call fcn.004025b0
lea ecx, [ebp - 0x920]
call fcn.00401fa0
lea ecx, [ebp - 0x988]
call fcn.00401fa0
lea ecx, [ebp - 0x964]
call fcn.00401fa0
lea ecx, [ebp - 0x944]
call fcn.00401fa0
lea ecx, [ebp - 0x91c]
mov byte [ebp - 4], 0x12
call fcn.00401fa0
mov edi, dword [ebp - 0x950]
push str.additionalRequestHeaders
mov ecx, ebx
call fcn.0046a670
mov ecx, eax
call fcn.0046b5e0
test al, al
je 0x41092c
push str.additionalRequestHeaders
mov ecx, ebx
call fcn.0046a670
mov ecx, eax
call fcn.0041c3f0
sub esp, 0x18
mov ecx, esp
push eax
call fcn.00401000
lea eax, [ebp - 0x920]
push eax
call fcn.0048c4c0
add esp, 0x1c
mov eax, dword [eax]
lea ecx, [ebp - 0x950]
push dword [eax - 0xc]
mov byte [ebp - 4], 0x18
push eax
call fcn.00402ce0
lea ecx, [ebp - 0x920]
mov byte [ebp - 4], 0x12
call fcn.00401fa0
mov edi, dword [ebp - 0x950]
lea eax, [edi - 0x10]
push eax
call fcn.00405870
add eax, 0x10
add esp, 4
mov dword [ebp - 0x91c], eax
lea ecx, [ebp - 0x91c]
mov byte [ebp - 4], 0x19
call fcn.00412c20
lea ecx, [ebp - 0x91c]
mov byte [ebp - 4], 0x12
call fcn.00401fa0
mov eax, dword [0x5641c0]
mov ecx, 0x5641c0
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x934], eax
push str.postData
mov ecx, ebx
mov byte [ebp - 4], 0x1a
mov dword [ebp - 0x91c], 0
call fcn.0046a670
mov ecx, eax
call fcn.0046b5e0
test al, al
je 0x410a38
push str.postData
mov ecx, ebx
call fcn.0046a670
mov ecx, eax
call fcn.0041c3f0
sub esp, 0x18
mov ecx, esp
push eax
call fcn.00401000
lea eax, [ebp - 0x920]
push eax
call fcn.0048c4c0
add esp, 0x1c
push eax
lea ecx, [ebp - 0x934]
mov byte [ebp - 4], 0x1b
call fcn.004025b0
lea ecx, [ebp - 0x920]
mov byte [ebp - 4], 0x1a
call fcn.00401fa0
push str.datatype
mov ecx, ebx
call fcn.0046b590
test al, al
je 0x4109f7
push str.datatype
mov ecx, ebx
call fcn.0046a670
mov ecx, eax
call fcn.0046b580
test al, al
je 0x4109f7
push str.datatype
mov ecx, ebx
call fcn.0046a670
mov ecx, eax
call fcn.0046acd0
mov dword [ebp - 0x91c], eax
mov ecx, dword [0x565ae0]
mov eax, ecx
imul eax, ecx
cdq
mov esi, 0x13
idiv esi
cmp edx, 0xa
jne 0x410a38
mov eax, ecx
sub eax, 0
je 0x410a2e
dec eax
je 0x410a22
inc ecx
mov dword [0x565ae0], ecx
jmp 0x410a38
mov dword [0x565ae0], 0
jmp 0x410a38
mov dword [0x565ae0], 2
mov eax, dword [0x5641c0]
mov ecx, 0x5641c0
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x944], esi
cmp dword [ebp - 0x91c], 0
mov byte [ebp - 4], 0x1c
jne 0x410aba
lea eax, [ebp - 0x934]
push eax
lea eax, [ebp - 0x830]
push eax
call fcn.0048c590
add esp, 8
cmp dword [eax + 0x14], 0x10
mov byte [ebp - 4], 0x1d
jb 0x410a7d
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x944]
call fcn.0040f060
lea ecx, [ebp - 0x830]
mov byte [ebp - 4], 0x1c
call fcn.0041da80
mov esi, dword [ebp - 0x944]
lea ecx, [ebp - 0x934]
mov eax, dword [esi - 0xc]
mov dword [ebp - 0x964], eax
call fcn.004059c0
mov eax, dword [ebp - 0x934]
jmp 0x410acb
mov eax, dword [ebp - 0x934]
mov ecx, dword [eax - 0xc]
add ecx, ecx
mov dword [ebp - 0x964], ecx
cmp byte [ebp - 0x925], 0
je 0x410b16
mov ebx, dword [sym.imp.WININET.dll_InternetSetOptionW]
push 4
lea eax, [ebp - 0x91c]
push eax
push 6
push dword [ebp - 0x92c]
mov dword [ebp - 0x91c], 0x2710
call ebx
push 4
lea eax, [ebp - 0x91c]
push eax
push 5
push dword [ebp - 0x92c]
call ebx
mov eax, dword [ebp - 0x934]
mov ebx, dword [ebp - 0x94c]
cmp dword [eax - 0xc], 0
jne 0x410b38
cmp dword [esi - 4], 1
jle 0x410b54
push dword [esi - 0xc]
lea ecx, [ebp - 0x944]
call fcn.00405a60
mov esi, dword [ebp - 0x944]
jmp 0x410b54
cmp dword [eax - 4], 1
jle 0x410b52
push dword [eax - 0xc]
lea ecx, [ebp - 0x934]
call fcn.00405ae0
mov eax, dword [ebp - 0x934]
mov esi, eax
push dword [ebp - 0x964]
mov eax, dword [edi - 0xc]
xor ecx, ecx
push esi
mov esi, dword [ebp - 0x92c]
test eax, eax
push eax
cmove edi, ecx
push edi
push esi
call fcn.0040ea10
push eax
call fcn.0041e140
test eax, eax
jne 0x410c55
lea eax, [ebp - 0x964]
push eax
call fcn.0048cf50
add esp, 4
mov edi, dword [sym.imp.WININET.dll_InternetCloseHandle]
push esi
mov byte [ebp - 4], 0x1e
call edi
call fcn.00413330
test al, al
jne 0x410be7
mov esi, dword [0x565ae0]
mov eax, 0x51eb851f
imul esi
sar edx, 5
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
imul ecx, ecx, 0x64
sub esi, ecx
xor ecx, ecx
lea eax, [esi + 0x2f4]
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004e3b54
push eax
call fcn.004e5c83
add esp, 8
cmp byte [ebp - 0x916], 0
je 0x410bf8
push dword [ebp - 0x93c]
call edi
push str.HttpSendRequest_Failed_with:
lea ecx, [ebp - 0x988]
call fcn.00401ae0
lea ecx, [ebp - 0x964]
push ecx
push eax
lea eax, [ebp - 0x920]
push eax
mov byte [ebp - 4], 0x1f
call fcn.00465fd0
mov esi, dword [ebp - 0x968]
push eax
push esi
mov byte [ebp - 4], 0x20
call fcn.0040f4b0
add esp, 0x14
lea ecx, [ebp - 0x920]
call fcn.00401fa0
lea ecx, [ebp - 0x988]
call fcn.00401fa0
lea ecx, [ebp - 0x964]
jmp 0x412191
push ebx
call fcn.00412a80
add esp, 4
test al, al
jne 0x410dc7
call fcn.00413390
test al, al
jne 0x410c79
call fcn.004e5b54
mov dword [0x565ae0], eax
push esi
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
call esi
cmp byte [ebp - 0x916], 0
je 0x410c93
push dword [ebp - 0x93c]
call esi
push 0
lea ecx, [ebp - 0x828]
call fcn.0046a060
push 1
lea ecx, [ebp - 0x97c]
mov byte [ebp - 4], 0x21
call fcn.0046a160
lea eax, [ebp - 0x97c]
push eax
push str.result
lea ecx, [ebp - 0x828]
mov byte [ebp - 4], 0x22
call fcn.0046a590
mov ecx, eax
call fcn.0046a3a0
lea ecx, [ebp - 0x97c]
mov byte [ebp - 4], 0x21
call fcn.0046a300
push str.no_response_needed
lea ecx, [ebp - 0x97c]
call fcn.0046a020
lea eax, [ebp - 0x97c]
push eax
push str.content
lea ecx, [ebp - 0x828]
mov byte [ebp - 4], 0x23
call fcn.0046a590
mov ecx, eax
call fcn.0046a3a0
lea ecx, [ebp - 0x97c]
mov byte [ebp - 4], 0x21
call fcn.0046a300
mov ecx, dword [ebp - 0x968]
lea eax, [ebp - 0x828]
push eax
call fcn.00469e20
lea ecx, [ebp - 0x828]
mov dword [ebp - 0x984], 1
mov byte [ebp - 4], 0x1c
call fcn.0046a300
lea ecx, [ebp - 0x944]
call fcn.00401fa0
lea ecx, [ebp - 0x934]
call fcn.00401fa0
lea ecx, [ebp - 0x950]
call fcn.00401fa0
lea ecx, [ebp - 0x954]
call fcn.00401fa0
lea ecx, [ebp - 0x958]
call fcn.00401fa0
lea ecx, [ebp - 0x960]
call fcn.00401fa0
lea ecx, [ebp - 0x95c]
call fcn.00401fa0
lea ecx, [ebp - 0x940]
call fcn.00401fa0
lea ecx, [ebp - 0x948]
call fcn.00401fa0
lea ecx, [ebp - 0x938]
call fcn.00401fa0
mov eax, dword [ebp - 0x968]
jmp 0x412206
push 0x400
lea eax, [ebp - 0x817]
push 0
push eax
mov byte [ebp - 0x818], 0
call fcn.004e6690
add esp, 0xc
mov dword [ebp - 0x9a8], 0x400
push str.Wininet.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
test eax, eax
jne 0x410e46
push esi
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
call esi
cmp byte [ebp - 0x916], 0
je 0x410e17
push dword [ebp - 0x93c]
call esi
push str.HttpQueryInfo_Failed
lea ecx, [ebp - 0x920]
call fcn.00401ae0
mov byte [ebp - 4], 0x24
mov esi, dword [ebp - 0x968]
push eax
push esi
call fcn.0040f4b0
add esp, 8
lea ecx, [ebp - 0x920]
jmp 0x412191
push str.HttpQueryInfoA
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
jne 0x410e86
push esi
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
call esi
cmp byte [ebp - 0x916], 0
je 0x410e70
push dword [ebp - 0x93c]
call esi
push str.HttpQueryInfo_Failed
lea ecx, [ebp - 0x920]
call fcn.00401ae0
mov byte [ebp - 4], 0x25
jmp 0x410e2b
push 0
lea ecx, [ebp - 0x9a8]
push ecx
lea ecx, [ebp - 0x818]
push ecx
push 0x13
push esi
call eax
test eax, eax
jne 0x410ed2
push esi
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
call esi
cmp byte [ebp - 0x916], 0
je 0x410eb9
push dword [ebp - 0x93c]
call esi
push str.HttpQueryInfo_Failed
lea ecx, [ebp - 0x920]
call fcn.00401ae0
mov byte [ebp - 4], 0x26
jmp 0x410e2b
lea eax, [ebp - 0x818]
push eax
lea ecx, [ebp - 0x930]
call fcn.0040d370
push str.acceptedStatusCodes
mov ecx, ebx
mov byte [ebp - 4], 0x27
mov byte [ebp - 0x915], 0
call fcn.0046a670
mov edi, eax
mov ecx, edi
call fcn.0046b550
test al, al
je 0x411035
call fcn.00413330
test al, al
jne 0x410f27
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_PeekNamedPipe]
mov ecx, edi
xor esi, esi
call fcn.0046b940
test eax, eax
jle 0x411253
push esi
mov ecx, edi
call fcn.0046a5d0
mov ecx, eax
call fcn.0046b5e0
push esi
mov ecx, edi
test al, al
je 0x410f89
call fcn.0046a5d0
mov ecx, eax
call fcn.0041c3f0
sub esp, 0x18
mov ecx, esp
push eax
call fcn.00401000
lea eax, [ebp - 0x920]
push eax
call fcn.0048c4c0
push eax
lea eax, [ebp - 0x930]
push eax
call fcn.00402800
add esp, 0x24
lea ecx, [ebp - 0x920]
jmp 0x411008
call fcn.0046a5d0
mov ecx, eax
call fcn.0046b580
test al, al
je 0x411020
mov eax, dword [0x5641c0]
mov ecx, 0x5641c0
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x964], eax
push esi
mov ecx, edi
mov byte [ebp - 4], 0x28
call fcn.0046a5d0
mov ecx, eax
call fcn.0046acd0
push eax
lea eax, [ebp - 0x964]
push eax
lea eax, [ebp - 0x91c]
push eax
call fcn.00466120
add esp, 0xc
lea ecx, [ebp - 0x964]
mov byte [ebp - 4], 0x27
call fcn.00401fa0
lea eax, [ebp - 0x91c]
push eax
lea eax, [ebp - 0x930]
push eax
call fcn.00402800
add esp, 8
lea ecx, [ebp - 0x91c]
mov byte [ebp - 0x915], al
call fcn.00401fa0
cmp byte [ebp - 0x915], 0
jne 0x4112eb
mov ecx, edi
inc esi
call fcn.0046b940
cmp esi, eax
jl 0x410f38
jmp 0x411253
mov ecx, edi
call fcn.0046b5c0
test al, al
je 0x4112d2
xor esi, esi
mov ecx, edi
mov dword [ebp - 0x920], esi
call fcn.0046b940
test eax, eax
jle 0x4111ad
jmp 0x411060
mov eax, dword [0x5641c0]
mov ecx, 0x5641c0
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x91c], eax
push esi
lea eax, [ebp - 0x91c]
push 0x516624
push eax
mov byte [ebp - 4], 0x29
call fcn.0040f790
mov esi, dword [ebp - 0x91c]
add esp, 0xc
mov ecx, edi
push esi
call fcn.0046a670
mov ecx, eax
call fcn.0046b5e0
push esi
mov ecx, edi
test al, al
je 0x4110e6
call fcn.0046a670
mov ecx, eax
call fcn.0041c3f0
sub esp, 0x18
mov ecx, esp
push eax
call fcn.00401000
lea eax, [ebp - 0x924]
push eax
call fcn.0048c4c0
push eax
lea eax, [ebp - 0x930]
push eax
call fcn.00402800
add esp, 0x24
lea ecx, [ebp - 0x924]
jmp 0x41115d
call fcn.0046a670
mov ecx, eax
call fcn.0046b580
test al, al
je 0x411171
mov eax, dword [0x5641c0]
mov ecx, 0x5641c0
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x964], eax
push esi
mov ecx, edi
mov byte [ebp - 4], 0x2a
call fcn.0046a670
mov ecx, eax
call fcn.0046acd0
push eax
lea eax, [ebp - 0x964]
push eax
lea eax, [ebp - 0x988]
push eax
call fcn.00466120
add esp, 0xc
lea ecx, [ebp - 0x964]
call fcn.00401fa0
lea eax, [ebp - 0x988]
push eax
lea eax, [ebp - 0x930]
push eax
call fcn.00402800
add esp, 8
lea ecx, [ebp - 0x988]
mov byte [ebp - 0x915], al
call fcn.00401fa0
cmp byte [ebp - 0x915], 0
jne 0x41119e
lea ecx, [ebp - 0x91c]
mov byte [ebp - 4], 0x27
call fcn.00401fa0
mov esi, dword [ebp - 0x920]
inc esi
mov ecx, edi
mov dword [ebp - 0x920], esi
call fcn.0046b940
cmp esi, eax
jl 0x411060
jmp 0x4111ad
lea ecx, [ebp - 0x91c]
mov byte [ebp - 4], 0x27
call fcn.00401fa0
call fcn.004132e0
test al, al
jne 0x411245
mov edx, dword [0x565ae0]
xor esi, esi
mov ecx, esi
and ecx, 1
dec ecx
not ecx
and ecx, edx
mov eax, esi
sar eax, 1
xor ecx, eax
mov eax, ecx
and eax, 1
dec eax
not eax
and eax, edx
sar ecx, 1
xor eax, ecx
mov ecx, eax
and ecx, 1
dec ecx
sar eax, 1
not ecx
and ecx, edx
xor ecx, eax
mov eax, ecx
and eax, 1
dec eax
not eax
and eax, edx
sar ecx, 1
xor eax, ecx
mov ecx, eax
and ecx, 1
dec ecx
sar eax, 1
not ecx
and ecx, edx
xor ecx, eax
mov eax, ecx
and eax, 1
dec eax
not eax
and eax, edx
sar ecx, 1
xor eax, ecx
mov ecx, eax
and ecx, 1
dec ecx
sar eax, 1
not ecx
and ecx, edx
xor ecx, eax
mov eax, ecx
and eax, 1
dec eax
not eax
and eax, edx
sar ecx, 1
xor eax, ecx
inc esi
add edx, eax
cmp esi, 0x100
jl 0x4111c2
mov dword [0x565ae0], edx
mov al, byte [ebp - 0x915]
test al, al
jne 0x4112eb
push dword [ebp - 0x92c]
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
call esi
cmp byte [ebp - 0x916], 0
je 0x411272
push dword [ebp - 0x93c]
call esi
push 3
push dword [ebp - 0x930]
lea eax, [ebp - 0x910]
lea ecx, [ebp - 0x914]
mov dword [ebp - 0x914], eax
call fcn.004073f0
push dword [ebp - 0x914]
mov byte [ebp - 4], 0x2b
call fcn.004e67e2
mov esi, dword [ebp - 0x968]
push eax
push esi
call fcn.0040f5c0
mov eax, dword [ebp - 0x914]
lea ecx, [ebp - 0x910]
add esp, 0xc
cmp eax, ecx
je 0x41218b
push eax
call fcn.004e5bc5
add esp, 4
jmp 0x41218b
lea eax, [ebp - 0x930]
push 0x519420
push eax
call fcn.00402860
add esp, 8
jmp 0x41124b
mov edi, dword [ebp - 0x92c]
push 0
lea eax, [ebp - 0x98c]
push eax
push 0
push 0x16
push edi
mov dword [ebp - 0x98c], 0
call fcn.00413550
mov eax, dword [0x5641c0]
add esp, 0x14
mov ecx, 0x5641c0
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x96c], eax
cmp dword [ebp - 0x98c], 0
mov byte [ebp - 4], 0x2c
je 0x4113ee
mov ecx, dword [0x565ae0]
mov eax, ecx
imul eax, ecx
imul eax, ecx
cdq
mov ecx, 0xd
idiv ecx
cmp edx, 7
jne 0x411378
lea eax, [ecx + 0x4d]
mov esi, 0xf7
jmp 0x411360
test esi, esi
je 0x411371
cdq
idiv esi
mov ecx, esi
mov eax, ecx
mov esi, edx
test ecx, ecx
jne 0x411360
add eax, esi
mov dword [0x565ae0], eax
push dword [ebp - 0x98c]
call fcn.004e3b54
mov esi, eax
add esp, 4
test esi, esi
je 0x4113ee
push str.Wininet.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
test eax, eax
je 0x4113ba
push str.HttpQueryInfoA
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4113ba
push 0
lea ecx, [ebp - 0x98c]
push ecx
push esi
push 0x16
push edi
call eax
push esi
lea ecx, [ebp - 0x924]
call fcn.0040d370
push eax
lea ecx, [ebp - 0x96c]
mov byte [ebp - 4], 0x2d
call fcn.004025b0
lea ecx, [ebp - 0x924]
mov byte [ebp - 4], 0x2c
call fcn.00401fa0
push esi
call fcn.004e5c83
add esp, 4
cmp byte [ebp - 0x925], 0
je 0x4117fc
push 0
lea ecx, [ebp - 0x828]
call fcn.0046a060
lea eax, [ebp - 0x930]
push 0x519428
push eax
mov byte [ebp - 4], 0x2e
call fcn.004028c0
add esp, 8
test al, al
je 0x4114b6
lea eax, [ebp - 0x930]
push 0x519430
push eax
call fcn.004028c0
add esp, 8
test al, al
je 0x4114b6
lea eax, [ebp - 0x930]
push 0x519438
push eax
call fcn.004028c0
add esp, 8
test al, al
je 0x4114b6
lea eax, [ebp - 0x930]
push 0x519440
push eax
call fcn.004028c0
add esp, 8
test al, al
je 0x4114b6
mov ecx, dword [ebp - 0x968]
lea eax, [ebp - 0x828]
push eax
call fcn.00469e20
lea ecx, [ebp - 0x828]
mov dword [ebp - 0x984], 1
mov byte [ebp - 4], 0x2c
call fcn.0046a300
lea ecx, [ebp - 0x96c]
call fcn.00401fa0
lea ecx, [ebp - 0x930]
call fcn.00401fa0
jmp 0x410d4e
mov eax, dword [0x5641c0]
mov ecx, 0x5641c0
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x93c], eax
mov eax, dword [ebp - 0x96c]
add eax, 0xfffffff0
push eax
mov byte [ebp - 4], 0x2f
call fcn.00405870
add eax, 0x10
add esp, 4
mov dword [ebp - 0x94c], eax
lea ecx, [ebp - 0x94c]
mov byte [ebp - 4], 0x30
call fcn.0040d160
mov esi, dword [ebp - 0x94c]
cmp dword [esi - 0xc], 0
jl 0x4117a0
push str.location:
push esi
call fcn.004e5d72
mov edi, eax
add esp, 8
test edi, edi
je 0x4117a0
sub edi, esi
sar edi, 1
cmp edi, 0xffffffff
je 0x4117a0
push edi
push 0x5193ac
lea ecx, [ebp - 0x94c]
call fcn.00405a20
sub eax, edi
push eax
push edi
lea eax, [ebp - 0x924]
push eax
lea ecx, [ebp - 0x94c]
call fcn.004076d0
push eax
lea ecx, [ebp - 0x93c]
mov byte [ebp - 4], 0x31
call fcn.004025b0
lea ecx, [ebp - 0x924]
mov byte [ebp - 4], 0x30
call fcn.00401fa0
mov eax, dword [ebp - 0x93c]
cmp dword [eax - 0xc], 0
jl 0x4117a0
push str.http
push eax
call fcn.004e5d72
mov edx, eax
add esp, 8
test edx, edx
je 0x4117a0
mov ecx, dword [ebp - 0x93c]
sub edx, ecx
sar edx, 1
cmp edx, 0xffffffff
je 0x4117a0
mov eax, dword [ecx - 0xc]
sub eax, edx
push eax
lea eax, [ebp - 0x924]
push eax
lea ecx, [ebp - 0x93c]
call fcn.00408340
push eax
lea ecx, [ebp - 0x93c]
mov byte [ebp - 4], 0x32
call fcn.004025b0
lea ecx, [ebp - 0x924]
mov byte [ebp - 4], 0x30
call fcn.00401fa0
push 1
lea ecx, [ebp - 0x97c]
call fcn.0046a160
lea eax, [ebp - 0x97c]
push eax
push str.urlRedirected
lea ecx, [ebp - 0x828]
mov byte [ebp - 4], 0x33
call fcn.0046a590
mov ecx, eax
call fcn.0046a3a0
lea ecx, [ebp - 0x97c]
mov byte [ebp - 4], 0x30
call fcn.0046a300
lea eax, [ebp - 0x940]
push eax
lea eax, [ebp - 0x848]
push eax
call fcn.0048c590
add esp, 8
push eax
lea ecx, [ebp - 0x97c]
mov byte [ebp - 4], 0x34
call fcn.00469f80
lea eax, [ebp - 0x97c]
push eax
push str.requestUrl
lea ecx, [ebp - 0x828]
mov byte [ebp - 4], 0x35
call fcn.0046a590
mov ecx, eax
call fcn.0046a3a0
lea ecx, [ebp - 0x97c]
mov byte [ebp - 4], 0x34
call fcn.0046a300
lea ecx, [ebp - 0x848]
mov byte [ebp - 4], 0x30
call fcn.0041da80
lea eax, [ebp - 0x93c]
push eax
lea eax, [ebp - 0x890]
push eax
call fcn.0048c590
add esp, 8
push eax
lea ecx, [ebp - 0x97c]
mov byte [ebp - 4], 0x36
call fcn.00469f80
lea eax, [ebp - 0x97c]
push eax
push str.redirectUrl
lea ecx, [ebp - 0x828]
mov byte [ebp - 4], 0x37
call fcn.0046a590
mov ecx, eax
call fcn.0046a3a0
lea ecx, [ebp - 0x97c]
mov byte [ebp - 4], 0x36
call fcn.0046a300
mov byte [ebp - 4], 0x30
lea ecx, [ebp - 0x890]
call fcn.0041da80
mov eax, dword [ebp - 0x930]
mov edx, 1
sub edx, dword [eax - 4]
mov ecx, dword [eax - 8]
or ecx, edx
jge 0x411719
push 0
lea ecx, [ebp - 0x930]
call fcn.004077f0
mov eax, dword [ebp - 0x930]
push eax
call fcn.004e5c66
add esp, 4
lea ecx, [ebp - 0x97c]
push eax
call fcn.00469fc0
lea eax, [ebp - 0x97c]
push eax
push str.statusCode
lea ecx, [ebp - 0x828]
mov byte [ebp - 4], 0x38
call fcn.0046a590
mov ecx, eax
call fcn.0046a3a0
lea ecx, [ebp - 0x97c]
mov byte [ebp - 4], 0x30
call fcn.0046a300
mov edx, dword [0x565ae0]
lea ecx, [edx + 1]
lea eax, [edx + 2]
imul eax, ecx
imul eax, edx
cdq
mov ecx, 0xc
idiv ecx
cmp edx, 4
jne 0x4117a0
mov esi, 1
mov eax, esi
mov edx, 0x36
lea ebx, [ebx]
dec edx
lea ecx, [eax + esi]
lea esi, [eax]
mov eax, ecx
jns 0x411790
mov dword [0x565ae0], ecx
mov ecx, dword [ebp - 0x968]
lea eax, [ebp - 0x828]
push eax
call fcn.00469e20
lea ecx, [ebp - 0x94c]
mov dword [ebp - 0x984], 1
call fcn.00401fa0
lea ecx, [ebp - 0x93c]
call fcn.00401fa0
lea ecx, [ebp - 0x828]
mov byte [ebp - 4], 0x2c
call fcn.0046a300
lea ecx, [ebp - 0x96c]
call fcn.00401fa0
lea ecx, [ebp - 0x930]
call fcn.00401fa0
jmp 0x410d4e
xor eax, eax
xor esi, esi
mov dword [ebp - 0x978], eax
mov dword [ebp - 0x974], esi
mov dword [ebp - 0x970], eax
mov byte [ebp - 4], 0x39
mov dword [ebp - 0x990], esi
lea esp, [esp]
sub esi, eax
lea ecx, [ebp - 0x978]
lea eax, [esi + 0x400]
push eax
call fcn.004134d0
mov dword [ebp - 0x990], 0
call fcn.00413410
test al, al
jne 0x41184d
inc dword [0x565ae0]
mov eax, dword [ebp - 0x978]
lea ecx, [ebp - 0x990]
push ecx
add eax, esi
push 0x400
push eax
push edi
call fcn.0040ea10
push eax
call fcn.0041e240
mov dword [ebp - 0x924], eax
call fcn.004133f0
test al, al
jne 0x411894
push 0xe8
push 0xe7
push str._d__d_n
call fcn.004e65a9
add esp, 0xc
cmp dword [ebp - 0x924], 0
je 0x41212c
mov eax, dword [ebp - 0x990]
add eax, esi
push eax
lea ecx, [ebp - 0x978]
call fcn.004134d0
cmp dword [ebp - 0x990], 0
je 0x4118cf
mov esi, dword [ebp - 0x974]
mov eax, dword [ebp - 0x978]
jmp 0x411820
push 0x400
lea eax, [ebp - 0x413]
push 0
push eax
mov byte [ebp - 0x414], 0
call fcn.004e6690
add esp, 0xc
mov dword [ebp - 0x9ac], 0x400
push str.Wininet.dll
xor esi, esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [ebp - 0x924], eax
test eax, eax
je 0x4119b3
call fcn.00413200
test al, al
jne 0x4119a0
mov dword [ebp - 0x920], esi
mov esi, dword [0x565ae0]
mov eax, 0x88888889
imul esi
add edx, esi
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
mov ecx, eax
shl ecx, 4
sub ecx, eax
shl ecx, 3
mov eax, esi
sub eax, ecx
cmp eax, 0x1d
je 0x411995
xor ebx, ebx
mov eax, esi
or eax, 0xffffffc1
add esi, eax
mov eax, esi
imul eax, esi
inc ebx
cmp ebx, eax
jg 0x411989
mov eax, 0x88888889
imul esi
add edx, esi
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
mov ecx, eax
shl ecx, 4
sub ecx, eax
shl ecx, 3
mov eax, esi
sub eax, ecx
cmp eax, 0x1d
jne 0x411952
mov dword [ebp - 0x920], ebx
mov ebx, dword [ebp - 0x94c]
mov eax, dword [ebp - 0x920]
mov dword [0x565ae0], eax
push str.HttpQueryInfoA
push dword [ebp - 0x924]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
push 0
lea eax, [ebp - 0x9ac]
push eax
lea eax, [ebp - 0x414]
push eax
push 0x1d
push edi
call esi
mov esi, 1
test eax, eax
je 0x411aeb
call fcn.004131d0
test al, al
jne 0x4119ed
mov eax, dword [0x565ae0]
test eax, eax
cmove eax, esi
mov dword [0x565ae0], eax
lea eax, [ebp - 0x414]
push eax
lea ecx, [ebp - 0x91c]
call fcn.0040d370
lea eax, [ebp - 0x91c]
push str.gzip
push eax
call fcn.00402860
add esp, 8
test al, al
je 0x411adc
mov dword [ebp - 0x824], 0
mov dword [ebp - 0x820], 0
mov dword [ebp - 0x81c], 0
mov eax, dword [ebp - 0x978]
mov ecx, dword [ebp - 0x974]
lea edx, [ebp - 0x824]
push edx
sub ecx, eax
push ecx
push eax
mov byte [ebp - 4], 0x3c
call fcn.00413060
add esp, 0xc
test eax, eax
jne 0x411abf
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
push edi
call esi
cmp byte [ebp - 0x916], 0
je 0x411a7a
push dword [ebp - 0x93c]
call esi
push str.gzip_decompressing_error
lea ecx, [ebp - 0x924]
call fcn.00401ae0
mov esi, dword [ebp - 0x968]
push eax
push esi
mov byte [ebp - 4], 0x3d
call fcn.0040f4b0
add esp, 8
lea ecx, [ebp - 0x924]
call fcn.00401fa0
lea ecx, [ebp - 0x824]
call fcn.00487c70
lea ecx, [ebp - 0x91c]
jmp 0x412170
lea eax, [ebp - 0x824]
push eax
lea ecx, [ebp - 0x978]
call fcn.0040f0a0
lea ecx, [ebp - 0x824]
call fcn.00487c70
lea ecx, [ebp - 0x91c]
mov byte [ebp - 4], 0x39
call fcn.00401fa0
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
push edi
call esi
cmp byte [ebp - 0x916], 0
je 0x411b05
push dword [ebp - 0x93c]
call esi
push str.responseType
mov ecx, ebx
mov byte [ebp - 0x925], 0
mov byte [ebp - 0x91c], 0
call fcn.0046a670
mov ecx, eax
call fcn.0046b5e0
test al, al
je 0x411bb1
push str.responseType
mov ecx, ebx
call fcn.0046a670
mov ecx, eax
call fcn.0041c3f0
sub esp, 0x18
mov ecx, esp
push eax
call fcn.00401000
lea eax, [ebp - 0x92c]
push eax
call fcn.0048c4c0
lea eax, [ebp - 0x92c]
push str.base64
push eax
call fcn.00402860
add esp, 0x24
test al, al
je 0x411b79
mov byte [ebp - 0x925], 1
jmp 0x411ba6
lea eax, [ebp - 0x92c]
push str.binary
push eax
call fcn.00402860
mov ecx, dword [ebp - 0x91c]
add esp, 8
movzx ecx, cl
test al, al
mov eax, 1
cmovne ecx, eax
mov dword [ebp - 0x91c], ecx
lea ecx, [ebp - 0x92c]
call fcn.00401fa0
mov eax, dword [0x5641c0]
mov ecx, 0x5641c0
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x980], eax
cmp byte [ebp - 0x925], 0
mov esi, dword [ebp - 0x978]
mov byte [ebp - 4], 0x3e
je 0x411c90
mov eax, dword [ebp - 0x974]
sub eax, esi
push eax
lea eax, [ebp - 0x924]
push esi
push eax
call fcn.0040ca50
add esp, 0xc
push eax
lea ecx, [ebp - 0x980]
mov byte [ebp - 4], 0x3f
call fcn.004025b0
lea ecx, [ebp - 0x924]
mov byte [ebp - 4], 0x3e
call fcn.00401fa0
call fcn.004132e0
test al, al
jne 0x411c25
dec dword [0x565ae0]
lea eax, [ebp - 0x924]
push eax
call fcn.0040d2b0
push eax
lea eax, [ebp - 0x980]
push eax
call fcn.00402800
add esp, 0xc
lea ecx, [ebp - 0x924]
mov bl, al
call fcn.00401fa0
test bl, bl
je 0x411d2d
push str.Base64_encdng_error
lea ecx, [ebp - 0x924]
call fcn.00401ae0
mov esi, dword [ebp - 0x968]
push eax
push esi
mov byte [ebp - 4], 0x40
call fcn.0040f4b0
add esp, 8
lea ecx, [ebp - 0x924]
call fcn.00401fa0
lea ecx, [ebp - 0x980]
jmp 0x412170
cmp byte [ebp - 0x91c], 0
jne 0x411d33
mov edi, dword [ebp - 0x974]
sub edi, esi
cmp byte [edi + esi - 1], 0
je 0x411cc5
lea eax, [edi + 1]
push eax
lea ecx, [ebp - 0x978]
call fcn.004134d0
mov esi, dword [ebp - 0x978]
mov byte [edi + esi], 0
mov eax, dword [ebp - 0x974]
sub eax, esi
cmp eax, 3
jbe 0x411d00
cmp byte [esi], 0xef
jne 0x411d00
cmp byte [esi + 1], 0xbb
jne 0x411d00
cmp byte [esi + 2], 0xbf
jne 0x411d00
lea eax, [esi + 3]
push eax
push esi
lea eax, [ebp - 0x994]
push eax
lea ecx, [ebp - 0x978]
call fcn.0040e8a0
mov esi, dword [ebp - 0x978]
push esi
lea ecx, [ebp - 0x924]
call fcn.00401ae0
push eax
lea ecx, [ebp - 0x980]
mov byte [ebp - 4], 0x41
call fcn.004025b0
lea ecx, [ebp - 0x924]
mov byte [ebp - 4], 0x3e
call fcn.00401fa0
jmp 0x411d33
mov ebx, dword [ebp - 0x94c]
push str.outputFile
mov ecx, ebx
mov byte [ebp - 0x92c], 0
call fcn.0046a670
mov ecx, eax
call fcn.0046b5e0
test al, al
je 0x411e44
push str.outputFile
mov ecx, ebx
call fcn.0046a670
mov ecx, eax
call fcn.0041c3f0
sub esp, 0x18
mov ecx, esp
push eax
call fcn.00401000
lea eax, [ebp - 0x94c]
push eax
call fcn.0048c4c0
add esp, 0x1c
mov eax, dword [ebp - 0x94c]
mov byte [ebp - 4], 0x42
cmp dword [eax - 0xc], 0
je 0x411e35
cmp byte [ebp - 0x91c], 0
je 0x411df5
push 0x5194f0
push eax
lea eax, [ebp - 0x91c]
push eax
mov dword [ebp - 0x91c], 0
call fcn.004e76e2
add esp, 0xc
test eax, eax
jne 0x411e35
mov eax, dword [ebp - 0x91c]
test eax, eax
je 0x411e35
push eax
mov eax, dword [ebp - 0x974]
sub eax, esi
push eax
push 1
push esi
call fcn.004e7a2b
push dword [ebp - 0x91c]
call fcn.004e785d
add esp, 0x14
mov byte [ebp - 0x92c], 1
jmp 0x411e35
mov eax, dword [ebp - 0x980]
push ecx
add eax, 0xfffffff0
mov esi, esp
push eax
call fcn.00405870
add eax, 0x10
mov dword [esi], eax
add esp, 4
lea eax, [ebp - 0x94c]
push eax
call fcn.0040e7a0
movzx ecx, byte [ebp - 0x92c]
add esp, 8
test al, al
mov eax, 1
cmovne ecx, eax
mov byte [ebp - 0x92c], cl
lea ecx, [ebp - 0x94c]
mov byte [ebp - 4], 0x3e
call fcn.00401fa0
push 0
lea ecx, [ebp - 0x9a4]
call fcn.0046a060
push 1
lea ecx, [ebp - 0x828]
mov byte [ebp - 4], 0x43
call fcn.0046a160
lea eax, [ebp - 0x828]
push eax
push str.result
lea ecx, [ebp - 0x9a4]
mov byte [ebp - 4], 0x44
call fcn.0046a590
mov ecx, eax
call fcn.0046a3a0
lea ecx, [ebp - 0x828]
mov byte [ebp - 4], 0x43
call fcn.0046a300
lea eax, [ebp - 0x980]
push eax
push eax
call fcn.0048d600
lea eax, [ebp - 0x980]
push eax
lea eax, [ebp - 0x890]
push eax
call fcn.0048c590
add esp, 0x10
push eax
lea ecx, [ebp - 0x828]
mov byte [ebp - 4], 0x45
call fcn.00469f80
lea eax, [ebp - 0x828]
push eax
push str.content
lea ecx, [ebp - 0x9a4]
mov byte [ebp - 4], 0x46
call fcn.0046a590
mov ecx, eax
call fcn.0046a3a0
lea ecx, [ebp - 0x828]
mov byte [ebp - 4], 0x45
call fcn.0046a300
lea ecx, [ebp - 0x890]
mov byte [ebp - 4], 0x43
call fcn.0041da80
lea eax, [ebp - 0x96c]
push eax
lea eax, [ebp - 0x848]
push eax
call fcn.0048c590
add esp, 8
push eax
lea ecx, [ebp - 0x828]
mov byte [ebp - 4], 0x47
call fcn.00469f80
lea eax, [ebp - 0x828]
push eax
push str.headers
push str.additionalInfo
lea ecx, [ebp - 0x9a4]
mov byte [ebp - 4], 0x48
call fcn.0046a590
mov ecx, eax
call fcn.0046a590
mov ecx, eax
call fcn.0046a3a0
lea ecx, [ebp - 0x828]
mov byte [ebp - 4], 0x47
call fcn.0046a300
lea ecx, [ebp - 0x848]
mov byte [ebp - 4], 0x43
call fcn.0041da80
lea eax, [ebp - 0x930]
push eax
lea eax, [ebp - 0x860]
push eax
call fcn.0048c590
add esp, 8
push eax
lea ecx, [ebp - 0x828]
mov byte [ebp - 4], 0x49
call fcn.00469f80
lea eax, [ebp - 0x828]
push eax
push str.httpCode
push str.additionalInfo
lea ecx, [ebp - 0x9a4]
mov byte [ebp - 4], 0x4a
call fcn.0046a590
mov ecx, eax
call fcn.0046a590
mov ecx, eax
call fcn.0046a3a0
lea ecx, [ebp - 0x828]
mov byte [ebp - 4], 0x49
call fcn.0046a300
lea ecx, [ebp - 0x860]
mov byte [ebp - 4], 0x43
call fcn.0041da80
push str.empty
lea ecx, [ebp - 0x878]
call fcn.00401000
push eax
lea ecx, [ebp - 0x828]
mov byte [ebp - 4], 0x4b
call fcn.00469f80
lea eax, [ebp - 0x828]
push eax
push str.noData
lea ecx, [ebp - 0x9a4]
mov byte [ebp - 4], 0x4c
call fcn.0046a590
mov ecx, eax
call fcn.0046a3a0
lea ecx, [ebp - 0x828]
mov byte [ebp - 4], 0x4b
call fcn.0046a300
lea ecx, [ebp - 0x878]
mov byte [ebp - 4], 0x43
call fcn.0041da80
push str.outputFile
mov ecx, ebx
call fcn.0046a670
mov ecx, eax
call fcn.0046b5e0
test al, al
je 0x4120e6
push dword [ebp - 0x92c]
lea ecx, [ebp - 0x828]
call fcn.0046a160
push str.outputFi
lea ecx, [ebp - 0x860]
mov byte [ebp - 4], 0x4d
call fcn.00401000
push str.leResult
push eax
lea eax, [ebp - 0x878]
push eax
mov byte [ebp - 4], 0x4e
call fcn.0040ecc0
add esp, 0xc
lea ecx, [ebp - 0x828]
push ecx
push eax
lea ecx, [ebp - 0x9a4]
mov byte [ebp - 4], 0x4f
call fcn.0046a430
mov ecx, eax
call fcn.0046a3a0
lea ecx, [ebp - 0x878]
call fcn.0041da80
lea ecx, [ebp - 0x860]
call fcn.0041da80
lea ecx, [ebp - 0x828]
mov byte [ebp - 4], 0x43
call fcn.0046a300
mov ecx, dword [ebp - 0x968]
lea eax, [ebp - 0x9a4]
push eax
call fcn.00469e20
lea ecx, [ebp - 0x9a4]
mov dword [ebp - 0x984], 1
mov byte [ebp - 4], 0x3e
call fcn.0046a300
lea ecx, [ebp - 0x980]
call fcn.00401fa0
lea ecx, [ebp - 0x978]
call fcn.00487c70
jmp 0x41149b
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
push edi
call esi
cmp byte [ebp - 0x916], 0
je 0x412146
push dword [ebp - 0x93c]
call esi
push str.InternetReadFile_Failed
lea ecx, [ebp - 0x924]
call fcn.00401ae0
mov esi, dword [ebp - 0x968]
push eax
push esi
mov byte [ebp - 4], 0x3a
call fcn.0040f4b0
add esp, 8
lea ecx, [ebp - 0x924]
call fcn.00401fa0
lea ecx, [ebp - 0x978]
call fcn.00487c70
lea ecx, [ebp - 0x96c]
call fcn.00401fa0
lea ecx, [ebp - 0x930]
call fcn.00401fa0
lea ecx, [ebp - 0x944]
call fcn.00401fa0
lea ecx, [ebp - 0x934]
call fcn.00401fa0
lea ecx, [ebp - 0x950]
call fcn.00401fa0
lea ecx, [ebp - 0x954]
call fcn.00401fa0
lea ecx, [ebp - 0x958]
call fcn.00401fa0
lea ecx, [ebp - 0x960]
call fcn.00401fa0
lea ecx, [ebp - 0x95c]
call fcn.00401fa0
lea ecx, [ebp - 0x940]
call fcn.00401fa0
lea ecx, [ebp - 0x948]
call fcn.00401fa0
lea ecx, [ebp - 0x938]
call fcn.00401fa0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004e50b4
mov esp, ebp
pop ebp
ret