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

Disassembly:
jmp 0x1001d580
push 0xffffffffffffffff
push 0x1007e36c
mov eax, dword fs:[0]
push eax
mov eax, 0x210c
call fcn.10056be0
mov eax, dword [0x100a0000]
xor eax, esp
mov dword [esp + 0x2108], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x100a0000]
xor eax, esp
push eax
lea eax, [esp + 0x2120]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [esp + 0x2140]
mov ebp, dword [esp + 0x213c]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x34], ebp
mov dword [esp + 0x14], eax
mov dword [esp + 0x50], 0
call fcn.100022d4
lea ecx, [esp + 0x54]
mov dword [esp + 0x2128], 0
call fcn.100022d4
mov ecx, dword [edi + 0x1c]
push 2
mov eax, dword [ecx]
mov byte [esp + 0x212c], 1
call dword [eax + 0x18]
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x14]
call eax
cmp dword [edi + 0xc0], 1
mov dword [esp + 0x6c], eax
mov dword [esp + 0x18], edx
jne 0x1001d64c
cmp dword [edi + 0xcc], 0
jl 0x1001d64c
jg 0x1001d63c
cmp dword [edi + 0xc8], 0
jbe 0x1001d64c
mov eax, dword [edi]
cmp eax, 3
je 0x1001d64c
cmp eax, 4
jne 0x1001de2d
mov ecx, dword [edi + 0x1c]
push 0
mov eax, dword [ecx]
call dword [eax + 0x18]
mov ebx, eax
test ebx, ebx
je 0x1001d6d0
lea ecx, [esp + 0x1c]
call fcn.1000259f
mov edx, dword [ebx]
push 0
mov edx, dword [edx + 0x14]
mov ecx, ebx
call edx
push eax
push 0
lea ecx, [esp + 0x28]
call fcn.100019dd
lea ecx, [esp + 0x1c]
call fcn.10003670
test eax, eax
je 0x1001d6d0
mov eax, dword [ebx]
push 0
push 0
push 0
mov ecx, ebx
call dword [eax + 8]
mov esi, dword [ebx]
lea ecx, [esp + 0x1c]
call fcn.1000277f
push eax
lea ecx, [esp + 0x20]
call fcn.10003670
push eax
mov ecx, ebx
call dword [esi + 0xc]
push 1
lea ecx, [esp + 0x20]
call fcn.1000277f
push eax
lea ecx, [esp + 0x24]
call fcn.10003670
push eax
lea ecx, [esp + 0x60]
call fcn.100019dd
mov ecx, dword [edi + 0x1c]
push 1
mov eax, dword [ecx]
call dword [eax + 0x18]
mov ebx, eax
test ebx, ebx
je 0x1001db8e
lea ecx, [esp + 0x1c]
call fcn.1000259f
mov edx, dword [ebx]
push 0
mov edx, dword [edx + 0x14]
mov ecx, ebx
call edx
push eax
push 0
lea ecx, [esp + 0x28]
call fcn.100019dd
lea ecx, [esp + 0x1c]
call fcn.10003670
test eax, eax
je 0x1001db8e
lea ecx, [esp + 0x3c]
call fcn.100027ac
mov eax, dword [ebx]
push 0
push 0
push 0
mov ecx, ebx
mov byte [esp + 0x2134], 2
call dword [eax + 8]
mov esi, dword [ebx]
lea ecx, [esp + 0x1c]
call fcn.1000277f
push eax
lea ecx, [esp + 0x20]
call fcn.10003670
push eax
mov ecx, ebx
call dword [esi + 0xc]
lea ecx, [esp + 0x1c]
call fcn.1000277f
push eax
lea ecx, [esp + 0x20]
call fcn.10003670
push eax
lea ecx, [esp + 0x44]
call fcn.100038b4
test al, al
je 0x1001db21
mov ebx, 1
push 0x10087410
lea ecx, [esp + 0x74]
mov dword [esp + 0x3c], ebx
call fcn.10002743
lea eax, [esp + 0x70]
push eax
lea ecx, [esp + 0x40]
mov byte [esp + 0x212c], 3
call fcn.100017a8
cmp dword [esp + 0x84], 0x10
mov esi, eax
mov byte [esp + 0x2128], 2
jb 0x1001d7c0
push dword [esp + 0x70]
call fcn.10052462
add esp, 4
mov dword [esp + 0x84], 0xf
mov dword [esp + 0x80], 0
mov byte [esp + 0x70], 0
test esi, esi
je 0x1001d826
lea eax, [esi + 0x18]
push eax
lea eax, [esp + 0x8c]
push eax
call fcn.100038cd
add esp, 8
mov ecx, eax
push 0
push str.head
call fcn.10001b45
test eax, eax
lea ecx, [esp + 0x88]
sete bl
call fcn.10002068
mov eax, dword [esp + 0x38]
movzx eax, al
xor ecx, ecx
test bl, bl
cmovne eax, ecx
mov dword [esp + 0x38], eax
mov ebx, eax
push str.X_EXHDR_REQUEST
lea ecx, [esp + 0x74]
call fcn.10002743
push 1
lea eax, [esp + 0x74]
push eax
lea ecx, [esp + 0x44]
mov byte [esp + 0x2130], 4
call fcn.1000220c
cmp dword [esp + 0x84], 0x10
mov byte [esp + 0x2128], 2
jb 0x1001d86a
push dword [esp + 0x70]
call fcn.10052462
add esp, 4
push str.X_EXHDR_REQUEST_HOST
lea ecx, [esp + 0x74]
call fcn.10002743
push 1
lea eax, [esp + 0x74]
push eax
lea ecx, [esp + 0x44]
mov byte [esp + 0x2130], 5
call fcn.1000220c
cmp dword [esp + 0x84], 0x10
mov byte [esp + 0x2128], 2
jb 0x1001d8ae
push dword [esp + 0x70]
call fcn.10052462
add esp, 4
cmp dword [edi + 0xa4], 1
jne 0x1001d91b
push str.chunked
lea ecx, [esp + 0x8c]
call fcn.10002743
push str.Transfer_Encoding
lea ecx, [esp + 0x74]
mov byte [esp + 0x212c], 6
call fcn.10002743
push 0
lea eax, [esp + 0x8c]
push eax
lea eax, [esp + 0x78]
push eax
lea ecx, [esp + 0x48]
mov byte [esp + 0x2134], 7
call fcn.100037ce
lea ecx, [esp + 0x70]
call fcn.10002068
lea ecx, [esp + 0x88]
mov byte [esp + 0x2128], 2
call fcn.10002068
test bl, bl
je 0x1001d96d
push 0x1008746c
lea ecx, [esp + 0x8c]
call fcn.10002743
lea eax, [esp + 0x88]
push eax
lea ecx, [esp + 0x40]
mov byte [esp + 0x212c], 8
mov dword [esp + 0x54], 1
call fcn.100017a8
test eax, eax
je 0x1001d96d
cmp dword [edi + 0xcc], 0
jl 0x1001d96d
jg 0x1001d969
cmp dword [edi + 0xc8], 0
jbe 0x1001d96d
mov bl, 1
jmp 0x1001d96f
xor bl, bl
test byte [esp + 0x50], 1
mov dword [esp + 0x2128], 2
je 0x1001d98d
lea ecx, [esp + 0x88]
call fcn.10002068
test bl, bl
je 0x1001da77
mov ecx, dword [edi + 0xc8]
sub ecx, dword [esp + 0x2130]
mov eax, dword [edi + 0xcc]
sbb eax, dword [esp + 0x2134]
add ecx, dword [esp + 0x6c]
adc eax, dword [esp + 0x18]
push eax
push ecx
push str._llu
lea eax, [esp + 0xc4]
push 0x64
push eax
call fcn.1005699b
add esp, 0x14
lea ecx, [esp + 0x88]
push 0x10087484
call fcn.10002743
push 1
lea eax, [esp + 0x8c]
push eax
lea ecx, [esp + 0x44]
mov byte [esp + 0x2130], 9
call fcn.1000220c
lea ecx, [esp + 0x88]
mov byte [esp + 0x2128], 2
call fcn.10002068
lea eax, [esp + 0xb8]
push eax
lea ecx, [esp + 0x74]
call fcn.10002743
push str.Content_Length
lea ecx, [esp + 0x8c]
mov byte [esp + 0x212c], 0xa
call fcn.10002743
push 0
lea eax, [esp + 0x74]
push eax
lea eax, [esp + 0x90]
push eax
lea ecx, [esp + 0x48]
mov byte [esp + 0x2134], 0xb
call fcn.100037ce
lea ecx, [esp + 0x88]
call fcn.10002068
lea ecx, [esp + 0x70]
mov byte [esp + 0x2128], 2
call fcn.10002068
lea eax, [esp + 0x70]
push eax
lea ecx, [esp + 0x40]
call fcn.10001b68
push 0x100874a4
push eax
lea eax, [esp + 0xa8]
push eax
mov byte [esp + 0x2134], 0xc
call fcn.10002509
add esp, 0xc
cmp dword [esp + 0x84], 0x10
mov byte [esp + 0x2128], 0xe
jb 0x1001dac1
push dword [esp + 0x70]
call fcn.10052462
add esp, 4
cmp dword [esp + 0xb4], 0x10
push 1
push dword [esp + 0xb4]
lea eax, [esp + 0xa8]
cmovae eax, dword [esp + 0xa8]
push eax
lea ecx, [esp + 0x60]
mov dword [esp + 0x90], 0xf
mov dword [esp + 0x8c], 0
mov byte [esp + 0x7c], 0
call fcn.100019dd
cmp dword [esp + 0xb4], 0x10
jb 0x1001db40
push dword [esp + 0xa0]
call fcn.10052462
add esp, 4
jmp 0x1001db40
push 1
lea ecx, [esp + 0x20]
call fcn.1000277f
push eax
lea ecx, [esp + 0x24]
call fcn.10003670
push eax
lea ecx, [esp + 0x60]
call fcn.100019dd
mov dword [esp + 0x3c], vtable.ProtocolFilters::PFHeader.0
mov eax, dword [esp + 0x48]
push eax
push dword [eax]
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x54]
mov byte [esp + 0x2134], 0xf
call fcn.10001cad
push dword [esp + 0x48]
call fcn.10052462
add esp, 4
lea ecx, [esp + 0x40]
mov byte [esp + 0x2128], 1
call fcn.100034b3
push dword [esp + 0x40]
call fcn.10052462
add esp, 4
mov ecx, dword [edi + 0x1c]
push 2
mov eax, dword [ecx]
call dword [eax + 0x18]
mov esi, eax
test esi, esi
jne 0x1001dbcb
lea ecx, [esp + 0x54]
call fcn.1000277f
push eax
lea ecx, [esp + 0x58]
call fcn.10003670
push eax
push dword [esp + 0x2140]
mov ecx, ebp
push 1
push dword [esp + 0x24]
call fcn.10003878
jmp 0x1001de2d
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0x14]
call eax
mov dword [esp + 0x18], eax
test edx, edx
jne 0x1001dc30
test eax, eax
jne 0x1001dc30
lea ecx, [esp + 0x54]
call fcn.1000277f
push eax
lea ecx, [esp + 0x58]
call fcn.10003670
mov ebx, dword [esp + 0x213c]
push eax
push ebx
push 1
push dword [esp + 0x24]
mov ecx, ebp
call fcn.10003878
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0x14]
call eax
test edx, edx
jne 0x1001dc1e
test eax, eax
je 0x1001de23
push esi
push ebx
push dword [esp + 0x1c]
mov ecx, ebp
call fcn.100031d9
jmp 0x1001de23
mov eax, dword [esi]
push 0
push 0
push 0
mov ecx, esi
call dword [eax + 8]
mov eax, dword [esi]
push 0x2000
lea ecx, [esp + 0x120]
push ecx
mov ecx, esi
call dword [eax + 0xc]
mov ebx, eax
test ebx, ebx
je 0x1001dcce
cmp dword [edi + 0xa4], 1
jne 0x1001dc9f
push ebx
push 0x100874a8
lea eax, [esp + 0xc0]
push 0x64
push eax
call fcn.1005699b
lea ecx, [esp + 0xc8]
add esp, 0x10
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1001dc82
sub ecx, edx
push 1
push ecx
lea eax, [esp + 0xc0]
push eax
lea ecx, [esp + 0x60]
call fcn.100019dd
push 1
push ebx
lea eax, [esp + 0x124]
push eax
lea ecx, [esp + 0x60]
call fcn.100019dd
cmp dword [edi + 0xa4], 1
jne 0x1001dcce
push 1
push 2
push 0x100874b0
lea ecx, [esp + 0x60]
call fcn.100019dd
lea ecx, [esp + 0x54]
call fcn.1000277f
push eax
lea ecx, [esp + 0x58]
call fcn.10003670
mov ebp, dword [esp + 0x213c]
mov ecx, dword [esp + 0x38]
push eax
push ebp
push 1
push dword [esp + 0x24]
call fcn.10003878
lea ecx, [esp + 0x54]
call fcn.1000259f
lea ecx, [esp + 0x1c]
call fcn.1000259f
mov eax, dword [esi]
push 0x2000
lea ecx, [esp + 0x120]
push ecx
mov ecx, esi
call dword [eax + 0xc]
mov ebx, eax
test ebx, ebx
je 0x1001ddf7
lea esp, [esp]
cmp dword [edi + 0xa4], 1
jne 0x1001dd7d
push ebx
push 0x100874b4
lea eax, [esp + 0xc0]
push 0x64
push eax
call fcn.1005699b
lea ecx, [esp + 0xc8]
add esp, 0x10
lea edx, [ecx + 1]
jmp 0x1001dd60
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1001dd60
sub ecx, edx
push 1
push ecx
lea eax, [esp + 0xc0]
push eax
lea ecx, [esp + 0x28]
call fcn.100019dd
push 1
push ebx
lea eax, [esp + 0x124]
push eax
lea ecx, [esp + 0x28]
call fcn.100019dd
cmp dword [edi + 0xa4], 1
jne 0x1001ddac
push 1
push 2
push 0x100874bc
lea ecx, [esp + 0x28]
call fcn.100019dd
lea ecx, [esp + 0x1c]
call fcn.1000277f
push eax
lea ecx, [esp + 0x20]
call fcn.10003670
mov ecx, dword [esp + 0x38]
push eax
push ebp
push 1
push dword [esp + 0x24]
call fcn.10003878
lea ecx, [esp + 0x1c]
call fcn.1000259f
mov eax, dword [esi]
push 0x2000
lea ecx, [esp + 0x120]
push ecx
mov ecx, esi
call dword [eax + 0xc]
mov ebx, eax
test ebx, ebx
jne 0x1001dd30
cmp dword [edi + 0xa4], 1
jne 0x1001de23
mov eax, dword [edi]
cmp eax, 3
je 0x1001de0c
cmp eax, 4
jne 0x1001de23
mov ecx, dword [esp + 0x34]
push 5
push 0x100874c0
push ebp
push 1
push dword [esp + 0x24]
call fcn.10003878
mov eax, dword [esp + 0x18]
mov dword [edi + 0xe0], eax
lea ecx, [esp + 0x54]
mov byte [esp + 0x2128], 0
call fcn.100034ef
lea ecx, [esp + 0x1c]
mov dword [esp + 0x2128], 0xffffffff
call fcn.100034ef
mov ecx, dword [esp + 0x2120]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x2108]
xor ecx, esp
call fcn.10052ab4
add esp, 0x2118
ret 0x14