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

Disassembly:
mov eax, 0x675692
call fcn.006313fc
sub esp, 0x94
push esi
mov esi, dword [esp + 0xac]
push edi
mov edi, ecx
test esi, esi
jne 0x510dff
mov esi, 0x20000
cmp esi, dword [edi + 4]
jbe 0x510e07
mov esi, dword [edi + 4]
mov eax, dword [0x741ec8]
cmp esi, eax
jbe 0x510e12
mov esi, eax
cmp esi, dword [edi + 0x7c]
ja 0x5110cf
push ebx
push ebp
lea ecx, [esp + 0x18]
call fcn.004c0f08
and dword [esp + 0xac], 0
lea ecx, [esp + 0x24]
push str.new_request
call fcn.00409ba7
mov ebx, 0x69fa6c
mov dword [esp + 0x14], esi
mov dword [esp + 0x10], ebx
lea eax, [esp + 0x10]
mov byte [esp + 0xac], 2
push eax
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x20]
call fcn.0050fe3c
xor ebp, ebp
mov dword [esp + 0x10], 0x69fa28
push 0
inc ebp
mov byte [esp + 0xb0], 0
push ebp
lea ecx, [esp + 0x2c]
call fcn.0040a0e9
mov esi, dword [edi + 0x7c]
lea ecx, [esp + 0x24]
push str.last_request
call fcn.00409ba7
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], esi
lea eax, [esp + 0x10]
mov byte [esp + 0xac], 4
push eax
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x20]
call fcn.0050fe3c
push 0
push ebp
lea ecx, [esp + 0x2c]
mov dword [esp + 0x18], 0x69fa28
mov byte [esp + 0xb4], 0
call fcn.0040a0e9
mov esi, dword [edi + 4]
lea ecx, [esp + 0x24]
push str.file_size
call fcn.00409ba7
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], esi
lea eax, [esp + 0x10]
mov byte [esp + 0xac], 6
push eax
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x20]
call fcn.0050fe3c
xor ebx, ebx
lea ecx, [esp + 0x24]
push ebx
mov esi, 0x69fa28
mov byte [esp + 0xb0], bl
push ebp
mov dword [esp + 0x18], esi
call fcn.0040a0e9
movzx eax, byte [edi + 0x5c]
lea ecx, [esp + 0x3c]
push dword [eax*4 + 0x742010]
call fcn.00409ba7
mov byte [esp + 0xac], 7
lea ecx, [esp + 0x24]
push str.container
call fcn.00409ba7
lea eax, [esp + 0x3c]
mov byte [esp + 0xac], 9
push eax
lea ecx, [esp + 0x5c]
mov dword [esp + 0x58], 0x69fa34
call fcn.0040a0c6
lea eax, [esp + 0x54]
mov byte [esp + 0xac], 0xa
push eax
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x20]
call fcn.0050fe3c
push ebx
push ebp
lea ecx, [esp + 0x60]
call fcn.0040a0e9
push ebx
push ebp
lea ecx, [esp + 0x2c]
mov dword [esp + 0x5c], esi
call fcn.0040a0e9
push ebx
push ebp
lea ecx, [esp + 0x44]
mov byte [esp + 0xb4], bl
call fcn.0040a0e9
lea eax, [esp + 0x54]
mov ecx, edi
push eax
call fcn.0050fdae
push eax
lea eax, [esp + 0x90]
mov byte [esp + 0xb0], 0xb
push eax
call fcn.0043d091
cmp dword [eax + 0x14], 0x10
mov byte [esp + 0xac], 0xc
jb 0x510fe5
mov eax, dword [eax]
push eax
lea ecx, [esp + 0x28]
call fcn.00409ba7
push 0x6add1c
lea ecx, [esp + 0x40]
mov byte [esp + 0xb0], 0xd
call fcn.00409ba7
lea eax, [esp + 0x24]
mov byte [esp + 0xac], 0xf
push eax
lea ecx, [esp + 0x78]
mov dword [esp + 0x74], 0x69fa34
call fcn.0040a0c6
lea eax, [esp + 0x70]
mov byte [esp + 0xac], 0x10
push eax
lea eax, [esp + 0x40]
push eax
lea ecx, [esp + 0x20]
call fcn.0050fe3c
push ebx
push ebp
lea ecx, [esp + 0x7c]
call fcn.0040a0e9
push ebx
push ebp
lea ecx, [esp + 0x44]
mov dword [esp + 0x78], esi
call fcn.0040a0e9
push ebx
push ebp
lea ecx, [esp + 0x2c]
call fcn.0040a0e9
push ebx
push ebp
lea ecx, [esp + 0x94]
call fcn.0040a0e9
push ebx
push ebp
lea ecx, [esp + 0x5c]
mov byte [esp + 0xb4], bl
call fcn.0042341c
push str.RequestedHeaderError
lea ecx, [esp + 0x40]
call fcn.00409ba7
push ebx
push ebx
push ebx
lea eax, [esp + 0x48]
mov byte [esp + 0xb8], 0x11
push eax
lea eax, [esp + 0x28]
push eax
push 0x2a
call fcn.00484741
push ebx
push ebp
lea ecx, [esp + 0x44]
call fcn.0040a0e9
or dword [esp + 0xac], 0xffffffff
lea ecx, [esp + 0x18]
call fcn.004c119c
pop ebp
xor al, al
pop ebx
jmp 0x5110d4
mov dword [edi + 0x7c], esi
mov al, 1
mov ecx, dword [esp + 0x9c]
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret 4