Function at 0x4daea0
Capabilities:
Check http status code
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x559778
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x51c
push ebx
mov ebx, ecx
push esi
push edi
mov eax, dword [ebx + 0x2e9c]
mov dword [ebp - 0x10], esp
push eax
mov dword [ebp - 0x24], ebx
mov dword [ebp - 4], 0
call fcn.004dc0b0
mov esi, eax
mov eax, dword [ebx + 0x2e9c]
mov ecx, esi
push 0xf
add ecx, eax
push str.content_length:
push ecx
call fcn.0051e650
add esp, 0xc
test eax, eax
jne 0x4dafdb
mov al, byte [ebp + 8]
test al, al
je 0x4dafa9
mov edx, dword [ebx + 0x2e9c]
lea edi, [ebx + 0x2eb8]
push edi
push str._I64d
lea eax, [esi + edx + 0xf]
push eax
call fcn.0051de3d
mov eax, dword [edi]
add esp, 0xc
test eax, eax
jne 0x4db5e4
mov eax, dword [edi + 4]
test eax, eax
jne 0x4db5e4
mov eax, dword [ebx + 0x1c]
test eax, eax
jl 0x4db5e4
jg 0x4daf57
mov eax, dword [ebx + 0x18]
test eax, eax
jbe 0x4db5e4
mov ecx, dword [ebx + 0x24]
mov eax, dword [ebx + 0x20]
test ecx, ecx
jl 0x4db5e4
jg 0x4daf6f
test eax, eax
jbe 0x4db5e4
cmp eax, dword [ebx + 0x30]
jne 0x4db5e4
cmp ecx, dword [ebx + 0x34]
jne 0x4db5e4
mov ebx, dword [ebx + 0x2e7c]
test ebx, ebx
je 0x4db5e4
mov byte [ebx + 0x298], 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov edx, dword [ebx + 0x2e9c]
lea ecx, [ebx + 0x2ec0]
push ecx
push str._I64d
lea eax, [esi + edx + 0xf]
push eax
call fcn.0051de3d
add esp, 0xc
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov eax, dword [ebx + 0x2e70]
test eax, eax
jne 0x4db08a
mov al, byte [ebp + 8]
test al, al
je 0x4db08a
mov eax, dword [ebx + 0x2e9c]
mov ecx, esi
push 0xe
add ecx, eax
push str.accept_ranges:
push ecx
call fcn.0051e650
add esp, 0xc
test eax, eax
jne 0x4db08a
mov eax, dword [ebx + 0x78]
test eax, eax
jne 0x4db08a
mov edx, dword [ebx + 0x2e9c]
mov ecx, ebx
lea esi, [esi + edx + 0xe]
push esi
call fcn.004dc0b0
add esi, eax
push str.none
push esi
call fcn.0051cb70
add esp, 8
test eax, eax
je 0x4db06d
mov ecx, dword [ebx + 0x2e7c]
test ecx, ecx
je 0x4db050
mov eax, dword [ecx]
push 2
call dword [eax + 0xc]
mov dword [ebx + 0x2e70], 2
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov dword [ebx + 0x2e70], 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov eax, dword [ebx + 0x2e9c]
mov ecx, esi
push 0xe
add ecx, eax
push str.Content_Range:
push ecx
call fcn.0051e650
add esp, 0xc
test eax, eax
jne 0x4db140
mov al, byte [ebp + 8]
test al, al
je 0x4db140
mov edx, dword [ebx + 0x2e9c]
push 0x2f
lea eax, [esi + edx + 0xe]
push eax
call fcn.0051c7f0
add esp, 8
test eax, eax
je 0x4db0f3
mov cl, byte [eax + 1]
inc eax
cmp cl, 0xd
je 0x4db0f3
cmp cl, 0xa
je 0x4db0f3
lea ecx, [ebx + 0x2ec8]
push ecx
push str._I64d
push eax
call fcn.0051de3d
add esp, 0xc
mov edx, dword [ebx + 0x2e9c]
push 0x2d
lea eax, [esi + edx + 0xe]
push eax
call fcn.0051c7f0
add esp, 8
test eax, eax
je 0x4db140
mov cl, byte [eax + 1]
inc eax
cmp cl, 0xd
je 0x4db140
cmp cl, 0xa
je 0x4db140
lea edi, [ebx + 0x2ed0]
push edi
push str._I64d
push eax
call fcn.0051de3d
add esp, 0xc
test eax, eax
jg 0x4db140
mov dword [edi], 0
mov dword [edi + 4], 0
mov eax, dword [ebx + 0x2e9c]
mov ecx, esi
push 0x12
add ecx, eax
push str.Transfer_Encoding:
push ecx
call fcn.0051e650
add esp, 0xc
test eax, eax
jne 0x4db192
mov al, byte [ebp + 8]
test al, al
je 0x4db192
mov edx, dword [ebx + 0x2e9c]
lea eax, [esi + edx + 0x12]
cmp byte [eax], 0x20
jne 0x4db177
inc eax
jmp 0x4db16f
push 7
push str.chunked
push eax
call fcn.0051e650
add esp, 0xc
test eax, eax
jne 0x4db192
mov byte [ebx + 0x8b], 1
mov ecx, dword [ebx + 0x2e9c]
mov eax, esi
push 0x15
add eax, ecx
push str.Server:_BestHop_2.4.4
push eax
call fcn.0051e650
add esp, 0xc
test eax, eax
jne 0x4db1c8
mov al, byte [ebp + 8]
test al, al
je 0x4db1c8
mov eax, dword [ebx + 0x2e7c]
test eax, eax
je 0x4db1c8
mov byte [eax + 0x298], 1
mov eax, dword [ebx + 0x2e9c]
mov ecx, esi
push 0x11
add ecx, eax
push str.Content_Encoding:
push ecx
call fcn.0051e650
add esp, 0xc
test eax, eax
jne 0x4db21d
mov al, byte [ebp + 8]
test al, al
je 0x4db21d
mov edx, dword [ebx + 0x2e9c]
lea eax, [esi + edx + 0x11]
cmp byte [eax], 0x20
jne 0x4db1ff
inc eax
jmp 0x4db1f7
push 4
push str.gzip
push eax
call fcn.0051e650
add esp, 0xc
test eax, eax
jne 0x4db21d
mov eax, dword [ebx + 0x7c]
mov byte [eax + 0x326], 1
mov eax, dword [ebx + 0x2e9c]
mov ecx, esi
push 0x11
add ecx, eax
push str.WWW_Authenticate:
push ecx
call fcn.0051e650
add esp, 0xc
test eax, eax
jne 0x4db4e8
mov edx, dword [ebx + 0x2e9c]
lea edi, [esi + edx + 0x11]
mov al, byte [edi]
mov dword [ebp + 8], edi
cmp al, 0x20
je 0x4db4e2
cmp al, 9
je 0x4db4e2
mov esi, edi
push 5
push str.realm
push esi
call fcn.0051e650
add esp, 0xc
test eax, eax
jne 0x4db3a6
add esi, 5
mov al, byte [esi]
test al, al
je 0x4db288
cmp al, 0x3d
je 0x4db288
inc esi
jmp 0x4db27b
cmp byte [esi], 0
je 0x4db30b
mov al, byte [esi + 1]
inc esi
test al, al
je 0x4db30b
push esi
mov ecx, ebx
call fcn.004dc0b0
add esi, eax
cmp byte [esi], 0
je 0x4db30b
cmp byte [esi], 0x22
jne 0x4db2bb
mov al, byte [esi + 1]
inc esi
test al, al
je 0x4db30b
push 0x22
push esi
call fcn.0051c7f0
jmp 0x4db2d8
push 0x59890c
push esi
call fcn.0051cb70
add esp, 8
test eax, eax
jne 0x4db2df
push 0x59bbd8
push esi
call fcn.0051cb70
add esp, 8
test eax, eax
je 0x4db308
sub eax, esi
mov edi, eax
test edi, edi
jle 0x4db308
mov ecx, dword [ebx + 0x7c]
push edi
add ecx, 0x1ec
call fcn.00537fab
mov ecx, edi
mov edi, eax
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [ebp + 8]
push 5
push str.Basic
push edi
call fcn.0051e650
add esp, 0xc
test eax, eax
je 0x4db5e4
mov ecx, dword [ebx + 0x7c]
mov byte [ecx + 0x1eb], 0
mov eax, dword [ebx + 0x2f00]
test eax, eax
jne 0x4db3db
mov eax, dword [ebx + 0x2f04]
test eax, eax
jne 0x4db3db
push 0x59890c
push edi
mov dword [ebp - 0x14], 0
call fcn.0051cb70
add esp, 8
test eax, eax
jne 0x4db374
push 0x59bbd8
push edi
call fcn.0051cb70
add esp, 8
test eax, eax
je 0x4db379
sub eax, edi
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov edx, dword [ebx + 0x7c]
mov esi, dword [ebp + 8]
mov ecx, eax
mov edi, dword [edx + 0x314]
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebx + 0x7c]
mov edx, dword [ecx + 0x314]
jmp 0x4db5e0
push 0x20
push esi
call fcn.0051c7f0
add esp, 8
test eax, eax
jne 0x4db3c8
push 9
push esi
call fcn.0051c7f0
add esp, 8
test eax, eax
je 0x4db30b
mov cl, byte [eax + 1]
inc eax
test cl, cl
je 0x4db30b
mov esi, eax
jmp 0x4db260
push 0x20
push edi
call fcn.0051c7f0
mov esi, eax
add esp, 8
xor edi, edi
mov dword [ebp - 0x14], esi
test esi, esi
mov dword [ebp + 8], edi
je 0x4db423
inc esi
push 0x59890c
push esi
mov dword [ebp - 0x14], esi
call fcn.0051cb70
add esp, 8
test eax, eax
jne 0x4db41c
push 0x59bbd8
push esi
call fcn.0051cb70
add esp, 8
test eax, eax
je 0x4db423
sub eax, esi
mov edi, eax
mov dword [ebp + 8], edi
mov eax, dword [ebx + 0x2ef8]
test eax, eax
je 0x4db456
push eax
mov byte [ebp - 4], 1
call fcn.005380ca
add esp, 4
jmp 0x4db448
mov edi, dword [ebp + 8]
xor eax, eax
mov dword [ebp - 4], eax
mov dword [ebx + 0x2ef8], eax
test edi, edi
jne 0x4db4a0
mov eax, dword [ebx + 0x58]
test eax, eax
je 0x4db4a0
mov eax, dword [ebx + 0x2f00]
test eax, eax
je 0x4db47f
lea eax, [ebx + 0x2f40]
mov ecx, ebx
push eax
call fcn.004ded90
mov dword [ebx + 0x2f00], edi
xor eax, eax
mov dword [ebx + 0x2f00], eax
mov dword [ebx + 0x2f04], eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
inc edi
push edi
call fcn.005380a1
mov edx, dword [ebp + 8]
mov dword [ebx + 0x2ef8], eax
mov ecx, edx
mov edi, eax
mov eax, ecx
add esp, 4
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebx + 0x2ef8]
mov byte [ecx + edx], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
inc edi
jmp 0x4db249
mov eax, dword [ebx + 0x2e9c]
mov edx, esi
push 0x13
add edx, eax
push str.Proxy_Authenticate:
push edx
call fcn.0051e650
add esp, 0xc
test eax, eax
jne 0x4db704
mov eax, dword [ebx + 0x2e9c]
lea esi, [esi + eax + 0x13]
mov al, byte [esi]
cmp al, 0x20
je 0x4db6fe
cmp al, 9
je 0x4db6fe
push 5
push str.Basic
push esi
call fcn.0051e650
add esp, 0xc
test eax, eax
je 0x4db5e4
mov ecx, dword [ebx + 0x9c]
mov dword [ecx + 4], 2
mov eax, dword [ebx + 0x2f0c]
test eax, eax
jne 0x4db5f7
mov eax, dword [ebx + 0x2f10]
test eax, eax
jne 0x4db5f7
mov edx, dword [ebx + 0x9c]
push str.NTLM
mov eax, dword [edx + 0x108]
push eax
call fcn.00524fd0
add esp, 8
test eax, eax
je 0x4db5e4
push 0x59890c
push esi
mov dword [ebp + 8], 0
call fcn.0051cb70
add esp, 8
test eax, eax
jne 0x4db5b0
push 0x59bbd8
push esi
call fcn.0051cb70
add esp, 8
test eax, eax
je 0x4db5b5
sub eax, esi
mov dword [ebp + 8], eax
mov eax, dword [ebp + 8]
mov edx, dword [ebx + 0x9c]
mov ecx, eax
mov edi, dword [edx + 0x108]
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebx + 0x9c]
mov edx, dword [ecx + 0x108]
mov byte [edx + eax], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push 0x20
push esi
call fcn.0051c7f0
mov esi, eax
add esp, 8
xor edi, edi
mov dword [ebp - 0x14], esi
test esi, esi
mov dword [ebp + 8], edi
je 0x4db63f
inc esi
push 0x59890c
push esi
mov dword [ebp - 0x14], esi
call fcn.0051cb70
add esp, 8
test eax, eax
jne 0x4db638
push 0x59bbd8
push esi
call fcn.0051cb70
add esp, 8
test eax, eax
je 0x4db63f
sub eax, esi
mov edi, eax
mov dword [ebp + 8], edi
mov eax, dword [ebx + 0x2f14]
test eax, eax
je 0x4db672
push eax
mov byte [ebp - 4], 3
call fcn.005380ca
add esp, 4
jmp 0x4db664
mov edi, dword [ebp + 8]
xor eax, eax
mov dword [ebp - 4], eax
mov dword [ebx + 0x2f14], eax
test edi, edi
jne 0x4db6bc
mov eax, dword [ebx + 0x58]
test eax, eax
je 0x4db6bc
mov eax, dword [ebx + 0x2f0c]
test eax, eax
je 0x4db69b
lea eax, [ebx + 0x2f1c]
mov ecx, ebx
push eax
call fcn.004ded90
mov dword [ebx + 0x2f0c], edi
xor eax, eax
mov dword [ebx + 0x2f0c], eax
mov dword [ebx + 0x2f10], eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
inc edi
push edi
call fcn.005380a1
mov edx, dword [ebp + 8]
mov dword [ebx + 0x2f14], eax
mov ecx, edx
mov edi, eax
mov eax, ecx
add esp, 4
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebx + 0x2f14]
mov byte [ecx + edx], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
inc esi
jmp 0x4db514
mov eax, dword [ebx + 0x2e9c]
mov edx, esi
push 9
add edx, eax
push str.Location:
push edx
call fcn.0051e650
add esp, 0xc
test eax, eax
jne 0x4db7ca
mov al, byte [ebp + 8]
test al, al
je 0x4db7ca
mov eax, dword [ebx + 0x2eb0]
test eax, eax
je 0x4db744
push eax
call fcn.005380ca
add esp, 4
mov eax, dword [ebx + 0x2e9c]
mov ecx, ebx
lea esi, [esi + eax + 9]
push esi
call fcn.004dc0b0
add esi, eax
xor edi, edi
push 0x59890c
push esi
mov dword [ebp + 8], edi
call fcn.0051cb70
add esp, 8
test eax, eax
jne 0x4db781
push 0x59bbd8
push esi
call fcn.0051cb70
add esp, 8
test eax, eax
je 0x4db788
sub eax, esi
mov edi, eax
mov dword [ebp + 8], edi
inc edi
push edi
call fcn.005380a1
mov edx, dword [ebp + 8]
mov dword [ebx + 0x2eb0], eax
mov ecx, edx
mov edi, eax
mov eax, ecx
add esp, 4
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebx + 0x2eb0]
mov byte [edx + ecx], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov eax, dword [ebx + 0x2e9c]
mov edx, esi
push 0x14
add edx, eax
push str.Content_Disposition:
push edx
call fcn.0051e650
add esp, 0xc
test eax, eax
jne 0x4dbd20
mov al, byte [ebp + 8]
test al, al
je 0x4dbd20
mov eax, dword [ebx + 0x2ee0]
cmp eax, 0xc8
je 0x4db80f
cmp eax, 0xce
jne 0x4db5e4
mov eax, dword [ebx + 0x2e9c]
push str.attachment
mov byte [ebp + 0xb], 0
lea ecx, [esi + eax + 0x14]
push ecx
call fcn.0051cb70
add esp, 8
test eax, eax
je 0x4db833
mov byte [ebp + 0xb], 1
mov edx, dword [ebx + 0x2e9c]
push str.filename
lea eax, [esi + edx + 0x14]
push eax
call fcn.0051cb70
add esp, 8
test eax, eax
jne 0x4db874
mov al, byte [ebp + 0xb]
test al, al
je 0x4db5e4
mov ecx, ebx
call fcn.004dadf0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push 0x3d
push eax
call fcn.0051c7f0
mov esi, eax
add esp, 8
test esi, esi
je 0x4db5e4
mov al, byte [esi + 1]
inc esi
cmp al, 0xd
je 0x4db5e4
cmp al, 0xa
je 0x4db5e4
push esi
mov ecx, ebx
call fcn.004dc0b0
add esi, eax
cmp byte [esi], 0
je 0x4db5e4
mov al, byte [esi]
mov byte [ebp + 0xb], 1
cmp al, 0x22
jne 0x4db8cc
inc esi
push 0x22
push esi
call fcn.0051c7f0
add esp, 8
mov byte [ebp + 0xb], 0
jmp 0x4db8ec
push 0x59890c
push esi
call fcn.0051cb70
add esp, 8
test eax, eax
jne 0x4db8f4
push 0x59bbd8
push esi
call fcn.0051cb70
add esp, 8
test eax, eax
je 0x4db5e4
mov ecx, dword [0x5b5ecc]
sub eax, esi
mov edi, eax
mov dword [ebp - 0x18], ecx
push edi
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 5
call fcn.00537fab
mov ecx, edi
mov edi, eax
mov edx, ecx
mov dword [ebp - 0x14], eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov al, byte [ebp + 0xb]
mov ecx, edx
and ecx, 3
test al, al
rep movsb byte es:[edi], byte [esi]
je 0x4db93f
mov eax, dword [ebp - 0x18]
push 0x3b
push eax
call fcn.0051c7f0
add esp, 8
test eax, eax
je 0x4db93f
mov byte [eax], 0
lea ecx, [ebp - 0x18]
push ecx
mov ecx, dword [ebx + 0x7c]
add ecx, 0x1b8
call fcn.00537c3d
mov eax, dword [ebx + 0x78]
test eax, eax
jne 0x4dba27
mov edx, dword [ebx + 0x2e7c]
mov eax, dword [edx + 0x18]
test eax, eax
je 0x4db98f
mov ecx, dword [ebx + 0x7c]
mov edx, dword [ecx + 0x34]
test edx, edx
jne 0x4db98f
mov edx, dword [ebp - 0x14]
mov eax, dword [eax]
push edx
push 0x13bc
push 0x111
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
jmp 0x4dba27
mov eax, dword [ebx + 0x7c]
mov ecx, dword [eax + 0x34]
test ecx, ecx
je 0x4dba27
mov eax, dword [eax + 0x34]
lea ecx, [ebp - 0x324]
lea edx, [ebp - 0x224]
push ecx
push edx
lea ecx, [ebp - 0x424]
lea edx, [ebp + 8]
push ecx
push edx
push eax
call fcn.0051d13a
mov ecx, dword [ebp - 0x18]
add esp, 0x14
lea edx, [ebp - 0x424]
lea eax, [ebp + 8]
push ecx
push edx
push eax
lea ecx, [ebp - 0x528]
push 0x59879c
push ecx
call fcn.0051d0e8
add esp, 0x14
lea edx, [ebp - 0x224]
lea ecx, [ebp - 0x1c]
push edx
call fcn.00537b72
lea eax, [ebp - 0x324]
lea ecx, [ebp - 0x1c]
push eax
mov byte [ebp - 4], 6
call fcn.00537ee0
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x1c]
push ecx
push edx
call fcn.0051d3f7
add esp, 8
test eax, eax
jne 0x4dba46
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 5
call fcn.00537b04
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0
call fcn.00537b04
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov eax, dword [ebp - 0x1c]
push 0x5f
push eax
call fcn.0051c7b0
mov esi, eax
add esp, 8
test esi, esi
je 0x4dbad8
mov edi, dword [ebp - 0x1c]
mov ecx, esi
sub ecx, edi
lea edx, [ebp - 0x20]
push ecx
push edx
lea ecx, [ebp - 0x1c]
call fcn.005304fa
mov byte [ebp - 4], 7
inc esi
mov edi, 1
mov al, byte [esi]
test al, al
je 0x4dba95
cmp al, 0x2e
je 0x4dba95
movsx eax, al
push eax
call fcn.0051cc4d
add esp, 4
test eax, eax
je 0x4dbacc
inc esi
jmp 0x4dba78
test edi, edi
je 0x4dbacc
cmp byte [esi], 0x2e
jne 0x4dbacc
push esi
lea ecx, [ebp - 0x20]
call fcn.00537ee0
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x20]
push ecx
push edx
call fcn.0051d3f7
add esp, 8
test eax, eax
jne 0x4dbacc
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 6
call fcn.00537b04
jmp 0x4dba1b
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 6
call fcn.00537b04
mov eax, dword [ebx + 0x2e7c]
mov ecx, dword [eax + 0x1d0]
test ecx, ecx
je 0x4dbb30
lea ecx, [ebp - 0x124]
lea edx, [ebp - 0x224]
push ecx
lea eax, [ebp - 0x424]
push edx
lea ecx, [ebp + 8]
push eax
lea edx, [ebp - 0x528]
push ecx
push edx
call fcn.0051d13a
lea eax, [ebp - 0x124]
lea ecx, [ebp - 0x324]
push eax
push ecx
call fcn.00524fd0
add esp, 0x1c
test eax, eax
jne 0x4dbc28
jmp 0x4dba1b
mov esi, dword [ebp - 0x1c]
mov edi, str.manuallogin.html
mov dl, byte [esi]
mov cl, byte [edi]
mov al, dl
cmp dl, cl
jne 0x4dbb60
test al, al
je 0x4dbb5c
mov cl, byte [esi + 1]
mov dl, byte [edi + 1]
mov al, cl
cmp cl, dl
jne 0x4dbb60
add esi, 2
add edi, 2
test al, al
jne 0x4dbb38
xor eax, eax
jmp 0x4dbb65
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x4dbbc6
lea edx, [ebp - 0x124]
lea eax, [ebp - 0x224]
push edx
lea ecx, [ebp - 0x424]
push eax
lea edx, [ebp + 8]
push ecx
lea eax, [ebp - 0x528]
push edx
push eax
call fcn.0051d13a
lea ecx, [ebp - 0x124]
push str..htm
push ecx
call fcn.00524fd0
add esp, 0x1c
test eax, eax
je 0x4dba1b
lea edx, [ebp - 0x124]
push str..html
push edx
call fcn.00524fd0
add esp, 8
test eax, eax
je 0x4dba1b
mov eax, dword [0x5b5ecc]
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x18]
lea edx, [ebp - 0x324]
push ecx
mov ecx, dword [0x5bb48c]
lea eax, [ebp - 0x224]
push edx
push eax
lea edx, [ebp - 0x20]
push ecx
push edx
mov byte [ebp - 4], 8
call fcn.0053091a
mov eax, dword [ebp - 0x20]
add esp, 0x14
push 0x50024
push 0x597f08
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
cmp eax, 7
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x20]
jne 0x4dbc23
call fcn.00537b04
jmp 0x4dba1b
call fcn.00537b04
lea ecx, [ebp - 0x528]
push ecx
mov ecx, dword [ebx + 0x7c]
call fcn.004ff850
mov edx, dword [ebx + 0x2e7c]
mov eax, dword [edx + 0x64]
test eax, eax
je 0x4dbcf3
mov ecx, dword [ebx + 0x7c]
mov edx, dword [ecx + 0x3a8]
test edx, edx
jne 0x4dbc5b
push eax
call fcn.004ffed0
mov esi, dword [ebx + 0x7c]
mov eax, dword [esi + 0x3a8]
test eax, eax
je 0x4dbcf3
mov edx, dword [esi + 0x34]
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
push ecx
push edx
push 1
push eax
mov eax, dword [esi + 0x3a8]
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push str.LocalNameForSave
push eax
call esi
mov ecx, dword [0x5b5ecc]
mov dword [ebp - 0x14], ecx
mov edx, dword [ebx + 0x7c]
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 9
mov eax, dword [edx + 0x34]
push eax
push 0x597ddc
push ecx
call fcn.0053091a
mov edx, dword [ebp - 0x14]
add esp, 0xc
push edx
call fcn.004fd720
mov edx, dword [ebp - 0x14]
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
add esp, 4
repne scasb al, byte es:[edi]
not ecx
push ecx
push edx
push eax
push eax
mov eax, dword [ebx + 0x7c]
push str.EncLNFS
mov ecx, dword [eax + 0x3a8]
push ecx
call esi
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 6
call fcn.00537b04
mov ebx, dword [ebx + 0x2e7c]
mov eax, dword [ebx + 0x14]
test eax, eax
je 0x4dba1b
mov edx, dword [ebx + 0x64]
mov eax, dword [eax]
push edx
push 0x13c9
push 0x111
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
jmp 0x4dba1b
mov eax, dword [ebx + 0x2e9c]
mov ecx, esi
push 0xd
add ecx, eax
push str.Content_Type:
push ecx
call fcn.0051e650
add esp, 0xc
test eax, eax
jne 0x4dbf1e
mov al, byte [ebp + 8]
test al, al
je 0x4dbf1e
mov eax, dword [ebx + 0x2ee0]
cmp eax, 0xc8
je 0x4dbd6c
cmp eax, 0xce
je 0x4dbd6c
cmp eax, 0x130
jne 0x4db5e4
mov edx, dword [ebx + 0x7c]
mov eax, dword [edx + 0x1b0]
test eax, eax
je 0x4dbd82
push eax
call fcn.005380ca
add esp, 4
mov eax, dword [ebx + 0x2e9c]
mov ecx, ebx
lea esi, [esi + eax + 0xd]
push esi
call fcn.004dc0b0
add esi, eax
push 0x59890c
push esi
mov dword [ebp + 8], 0
call fcn.0051cb70
push 0x3b
push esi
mov edi, eax
call fcn.0051c7f0
add esp, 0x10
cmp eax, edi
mov dword [ebp - 0x14], eax
jae 0x4dbdc0
test eax, eax
jne 0x4dbdc4
test edi, edi
jne 0x4dbdca
test eax, eax
mov edi, eax
je 0x4dbdd1
sub edi, esi
mov dword [ebp + 8], edi
jmp 0x4dbde8
push 0x59bbd8
push esi
call fcn.0051cb70
add esp, 8
test eax, eax
je 0x4dbde8
sub eax, esi
mov dword [ebp + 8], eax
mov ecx, dword [ebp + 8]
inc ecx
push ecx
call fcn.005380a1
mov edx, dword [ebx + 0x7c]
add esp, 4
mov dword [edx + 0x1b0], eax
mov eax, dword [ebp + 8]
mov edx, dword [ebx + 0x7c]
mov ecx, eax
push 0x14
push str.multipart_byteranges
mov edi, dword [edx + 0x1b0]
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebx + 0x7c]
mov edx, dword [ecx + 0x1b0]
mov byte [edx + eax], 0
mov eax, dword [ebx + 0x7c]
mov ecx, dword [eax + 0x1b0]
push ecx
call fcn.0051e650
add esp, 0xc
test eax, eax
je 0x4dbe65
mov edx, dword [ebx + 0x7c]
push 0x16
push str.multipart_x_byteranges
mov eax, dword [edx + 0x1b0]
push eax
call fcn.0051e650
add esp, 0xc
test eax, eax
jne 0x4db5e4
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x4db5e4
push str.boundary
push eax
call fcn.0051cb70
add esp, 8
test eax, eax
je 0x4db5e4
push 0x3d
push eax
call fcn.0051c7f0
mov esi, eax
add esp, 8
test esi, esi
je 0x4db5e4
inc esi
mov ecx, ebx
push esi
call fcn.004dc0b0
add esi, eax
push 0x59890c
push esi
xor edi, edi
call fcn.0051cb70
add esp, 8
test eax, eax
jne 0x4dbecc
push 0x59bbd8
push esi
call fcn.0051cb70
add esp, 8
test eax, eax
je 0x4dbed0
sub eax, esi
mov edi, eax
lea ecx, [ebx + 0x2eec]
push edi
call fcn.00537fab
mov ecx, edi
mov edi, eax
mov edx, ecx
xor eax, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [ebx + 0x2eec]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x4db5e4
mov byte [ebx + 0x2ef0], 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebx + 0x2e9c]
mov eax, esi
push 0xb
add eax, ecx
push str.Set_Cookie:
push eax
call fcn.0051e650
add esp, 0xc
test eax, eax
jne 0x4dbf68
mov al, byte [ebp + 8]
test al, al
je 0x4dbf68
mov ecx, dword [ebx + 0x2e9c]
lea edx, [esi + ecx + 0xb]
mov ecx, ebx
push edx
call fcn.004dd940
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebx + 0x2e9c]
mov eax, esi
push 0xe
add eax, ecx
push str.Last_Modified:
push eax
call fcn.0051e650
add esp, 0xc
test eax, eax
jne 0x4db5e4
mov eax, dword [ebx + 0x78]
test eax, eax
jne 0x4db5e4
mov al, byte [ebp + 8]
test al, al
je 0x4db5e4
mov ecx, dword [ebx + 0x2e9c]
lea esi, [esi + ecx + 0xe]
mov ecx, ebx
push esi
call fcn.004dc0b0
add esi, eax
xor edi, edi
push 0x59890c
push esi
mov dword [ebp + 8], edi
call fcn.0051cb70
add esp, 8
test eax, eax
jne 0x4dbfdd
push 0x59bbd8
push esi
call fcn.0051cb70
add esp, 8
test eax, eax
je 0x4dbfe4
sub eax, esi
mov edi, eax
mov dword [ebp + 8], edi
inc edi
push edi
call fcn.005380a1
mov ecx, dword [ebp + 8]
mov edi, eax
mov edx, ecx
mov dword [ebp - 0x14], eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
add esp, 4
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, edx
mov byte [eax + ecx], 0
mov ecx, dword [ebx + 0x7c]
mov eax, dword [ecx + 0x20]
test eax, eax
jne 0x4dc046
mov edx, dword [ebx + 0x2e7c]
mov eax, dword [edx + 0x64]
mov edx, dword [ebp - 0x14]
push eax
push edx
call fcn.004fed60
mov esi, dword [ebp - 0x14]
push esi
call fcn.005380ca
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp + 8]
mov esi, dword [ebp - 0x14]
push ecx
push eax
push esi
call fcn.0051e650
add esp, 0xc
test eax, eax
je 0x4dc073
mov edx, dword [ebx + 0x2e7c]
mov eax, dword [edx + 0x1cc]
test eax, eax
jne 0x4dc073
push esi
mov ecx, ebx
call fcn.004dd820
push esi
call fcn.005380ca
mov ecx, dword [ebp - 0xc]
add esp, 4
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4