Function at 0x4970b0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x4e2068
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x4c
push ebx
push ebp
push esi
push edi
mov ebx, ecx
mov al, byte [esp + 0x6c]
xor ebp, ebp
push ebp
lea ecx, [esp + 0x30]
mov dword [esp + 0x68], ebp
mov byte [esp + 0x30], al
call fcn.00490f40
mov cl, byte [esp + 0x6c]
push ebp
mov byte [esp + 0x20], cl
lea ecx, [esp + 0x20]
mov byte [esp + 0x68], 1
call fcn.00490f40
mov dl, byte [esp + 0x6c]
push ebp
lea ecx, [esp + 0x40]
mov byte [esp + 0x68], 2
mov byte [esp + 0x40], dl
call fcn.00490f40
or esi, 0xffffffff
mov edi, str.CONTENT_TRANSFER_ENCODING:
mov ecx, esi
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push str.CONTENT_TRANSFER_ENCODING:
lea ecx, [esp + 0x44]
call fcn.00499830
mov eax, dword [esp + 0x78]
mov byte [esp + 0x64], 3
cmp eax, ebp
jne 0x49717a
push 1
lea ecx, [esp + 0x40]
mov byte [esp + 0x68], 2
call fcn.00490f40
push 1
lea ecx, [esp + 0x20]
mov byte [esp + 0x68], 1
call fcn.00490f40
push 1
lea ecx, [esp + 0x30]
mov byte [esp + 0x68], 0
call fcn.00490f40
mov dword [esp + 0x64], esi
jmp 0x497395
mov eax, dword [esp + 0x6c]
cmp dword [eax + 8], ebp
jne 0x4971c7
push 1
lea ecx, [esp + 0x40]
mov byte [esp + 0x68], 2
call fcn.00490f40
push 1
lea ecx, [esp + 0x20]
mov byte [esp + 0x68], 1
call fcn.00490f40
push 1
lea ecx, [esp + 0x30]
mov byte [esp + 0x68], 0
call fcn.00490f40
push 1
lea ecx, [esp + 0x74]
mov dword [esp + 0x68], esi
call fcn.00490f40
jmp 0x497649
mov edi, 0x5f7038
mov ecx, esi
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push ebp
push 0x5f7038
lea ecx, [esp + 0x7c]
call fcn.004993e0
cmp eax, esi
je 0x497141
add eax, 2
lea ecx, [esp + 0x4c]
push eax
push ebp
push ecx
lea ecx, [esp + 0x7c]
call fcn.00498ea0
mov edx, dword [0x510954]
lea ecx, [esp + 0x2c]
push edx
push ebp
push eax
mov byte [esp + 0x70], 4
call fcn.00499100
push 1
lea ecx, [esp + 0x50]
mov byte [esp + 0x68], 3
call fcn.00490f40
lea eax, [esp + 0x2c]
lea ecx, [esp + 0x4c]
push eax
push ecx
call fcn.004935b0
add esp, 8
lea ecx, [esp + 0x4c]
push 1
call fcn.00490f40
mov eax, dword [esp + 0x40]
cmp eax, ebp
jne 0x497251
mov eax, 0x510950
mov edx, dword [esp + 0x44]
lea ecx, [esp + 0x2c]
push edx
push ebp
push eax
call fcn.004993e0
mov esi, eax
cmp esi, 0xffffffff
je 0x4972d0
mov edi, dword [esp + 0x44]
or ecx, 0xffffffff
add esi, edi
mov edi, 0x5f7034
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push esi
push 0x5f7034
lea ecx, [esp + 0x38]
call fcn.004993e0
cmp eax, 0xffffffff
je 0x49735d
sub eax, esi
lea ecx, [esp + 0x2c]
push eax
lea eax, [esp + 0x50]
push esi
push eax
call fcn.00498ea0
mov ecx, dword [0x510954]
mov byte [esp + 0x64], 5
push ecx
push 0
push eax
lea ecx, [esp + 0x28]
call fcn.00499100
mov byte [esp + 0x64], 3
push 1
lea ecx, [esp + 0x50]
jmp 0x497350
mov dl, byte [esp + 0x6c]
sub esp, 0x10
mov esi, esp
mov dword [esp + 0x28], esp
push 0
mov ecx, esi
mov byte [esi], dl
call fcn.00490f40
mov edi, 0x5f7148
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x5f7148
mov ecx, esi
call fcn.00499830
lea eax, [esp + 0x5c]
mov ecx, ebx
push eax
call fcn.00492fa0
mov ecx, dword [0x510954]
mov byte [esp + 0x64], 6
push ecx
push 0
push eax
lea ecx, [esp + 0x28]
call fcn.00499100
push 1
lea ecx, [esp + 0x50]
mov byte [esp + 0x68], 3
call fcn.00490f40
lea edx, [esp + 0x1c]
lea eax, [esp + 0x4c]
push edx
push eax
call fcn.004935b0
add esp, 8
lea ecx, [esp + 0x4c]
push 1
call fcn.00490f40
mov eax, dword [esp + 0x24]
test eax, eax
jne 0x4973a7
push 1
lea ecx, [esp + 0x40]
mov byte [esp + 0x68], 2
call fcn.00490f40
push 1
lea ecx, [esp + 0x20]
mov byte [esp + 0x68], 1
call fcn.00490f40
push 1
lea ecx, [esp + 0x30]
mov byte [esp + 0x68], 0
call fcn.00490f40
mov dword [esp + 0x64], 0xffffffff
push 1
lea ecx, [esp + 0x74]
call fcn.00490f40
xor al, al
jmp 0x49764b
lea ecx, [esp + 0x1c]
push 0x20
lea edx, [esp + 0x50]
push ecx
push edx
call fcn.00493730
add esp, 0xc
lea ecx, [esp + 0x4c]
push 1
call fcn.00490f40
mov esi, dword [esp + 0x6c]
mov eax, dword [esi + 8]
add eax, eax
push eax
call fcn.004c0237
mov dword [esp + 0x14], eax
mov edi, 0x5f7140
or ecx, 0xffffffff
xor eax, eax
add esp, 4
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
mov ecx, dword [esp + 0x28]
push 0x5f7140
push ecx
push eax
lea ecx, [esp + 0x2c]
call fcn.0049d500
test eax, eax
jne 0x4974a1
mov ecx, dword [esi + 4]
mov ebx, dword [esi + 8]
test ecx, ecx
jne 0x497417
mov ecx, 0x510950
mov esi, dword [esp + 0x10]
xor ebp, ebp
xor edi, edi
test ebx, ebx
jle 0x497498
mov al, byte [ecx]
cmp al, 0xd
je 0x497492
cmp al, 0xa
je 0x497492
movsx edx, al
movsx eax, byte [edx + 0x5108cc]
movsx edx, byte [ecx + 1]
shl eax, 0x12
inc ecx
movsx edx, byte [edx + 0x5108cc]
shl edx, 0xc
add eax, edx
inc ecx
mov edx, eax
sar edx, 0x10
mov byte [esi], dl
mov dl, byte [ecx]
inc esi
inc edi
cmp dl, 0x3d
je 0x49748d
movsx edx, dl
movsx edx, byte [edx + 0x5108cc]
shl edx, 6
add eax, edx
inc ecx
mov edx, eax
sar edx, 8
mov byte [esi], dl
mov dl, byte [ecx]
inc esi
inc edi
cmp dl, 0x3d
je 0x49748d
movsx edx, dl
movsx edx, byte [edx + 0x5108cc]
add eax, edx
inc ecx
mov byte [esi], al
inc esi
inc edi
add ebp, 4
jmp 0x497494
inc ecx
inc ebp
cmp ebp, ebx
jl 0x497423
mov byte [esi], 0
mov esi, dword [esp + 0x6c]
mov ebp, edi
mov edi, 0x5f712c
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov eax, dword [esp + 0x24]
not ecx
dec ecx
push ecx
push 0x5f712c
push eax
push 0
lea ecx, [esp + 0x2c]
call fcn.0049d500
test eax, eax
jne 0x497543
mov ebx, dword [esi + 8]
mov esi, dword [esi + 4]
test esi, esi
jne 0x4974d9
mov esi, 0x510950
mov edi, dword [esp + 0x10]
xor ebp, ebp
test ebx, ebx
mov dword [esp + 0x14], ebp
mov dword [esp + 0x18], esi
jle 0x49753c
push 3
push 0x5f7124
push esi
call fcn.004bedb0
add esp, 0xc
test eax, eax
jne 0x497507
add esi, 3
add ebp, 3
jmp 0x497538
mov al, byte [esi]
cmp al, 0x3d
jne 0x49752f
cmp byte [esi + 1], 0x3d
je 0x4975c1
push edi
push 0x5f711c
push esi
call fcn.004c0d0d
add esp, 0xc
inc edi
add esi, 3
add ebp, 3
jmp 0x497534
mov byte [edi], al
inc edi
inc esi
inc ebp
inc dword [esp + 0x14]
cmp ebp, ebx
jl 0x4974eb
mov ebp, dword [esp + 0x14]
mov byte [edi], 0
test ebp, ebp
jle 0x497588
mov edi, dword [esp + 0x10]
or ecx, 0xffffffff
xor eax, eax
mov ebx, dword [esp + 0x6c]
repne scasb al, byte es:[edi]
not ecx
dec ecx
push 1
mov ebp, ecx
mov ecx, ebx
push ebp
call fcn.00499560
test al, al
je 0x497588
mov edi, dword [ebx + 4]
mov esi, dword [esp + 0x10]
mov ecx, ebp
push ebp
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, ebx
call fcn.00490cb0
mov eax, dword [esp + 0x10]
push eax
call fcn.004c014e
add esp, 4
lea ecx, [esp + 0x3c]
mov byte [esp + 0x64], 2
push 1
call fcn.00490f40
mov ecx, dword [esp + 0x20]
xor esi, esi
cmp ecx, esi
je 0x4975e9
mov al, byte [ecx - 1]
test al, al
je 0x4975df
cmp al, 0xff
je 0x4975df
dec al
mov byte [ecx - 1], al
jmp 0x4975e9
mov ecx, dword [esp + 0x18]
mov esi, dword [esp + 0x10]
push ebx
push ecx
push esi
call fcn.004c0050
add esp, 0xc
mov byte [ebx + esi], 0
mov ebp, ebx
jmp 0x497543
dec ecx
push ecx
call fcn.004d080b
add esp, 4
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x20], esi
cmp ecx, esi
mov dword [esp + 0x24], esi
mov dword [esp + 0x28], esi
je 0x497619
mov al, byte [ecx - 1]
test al, al
je 0x49760f
cmp al, 0xff
je 0x49760f
dec al
mov byte [ecx - 1], al
jmp 0x497619
dec ecx
push ecx
call fcn.004d080b
add esp, 4
mov ecx, dword [esp + 0x74]
mov dword [esp + 0x30], esi
cmp ecx, esi
mov dword [esp + 0x34], esi
mov dword [esp + 0x38], esi
je 0x497649
mov al, byte [ecx - 1]
test al, al
je 0x49763f
cmp al, 0xff
je 0x49763f
dec al
mov byte [ecx - 1], al
jmp 0x497649
dec ecx
push ecx
call fcn.004d080b
add esp, 4
mov al, 1
mov ecx, dword [esp + 0x5c]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x58
ret 0x14