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

Disassembly:
mov ecx, dword [0x8c8664]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x6183b1
sub esp, 0x70
mov ecx, dword [esp + 0x74]
test ecx, ecx
je 0x61818c
lea edi, [esp + 0x40]
xor eax, eax
call fcn.0046c894
lea ecx, [0x69fc20]
mov dword [esp], ecx
mov edx, dword [esp + 0x74]
mov dword [esp + 4], edx
lea ebx, [esp + 0x40]
mov dword [esp + 8], ebx
call sym.runtime.mapiterinit
xor eax, eax
jmp 0x6181c3
xor eax, eax
test eax, eax
jne 0x61819a
call sym.runtime.makemap_small
mov eax, dword [esp]
mov dword [esp + 0x78], eax
add esp, 0x70
ret
mov eax, dword [esp + 0x44]
mov eax, dword [eax + 4]
mov dword [esp + 0x18], eax
lea ecx, [esp + 0x40]
mov dword [esp], ecx
call sym.runtime.mapiternext
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x24]
add eax, ecx
mov dword [esp + 0x24], eax
mov ecx, dword [esp + 0x40]
test ecx, ecx
jne 0x6181a2
lea ecx, [0x672480]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], eax
call sym.runtime.makeslice
mov eax, dword [esp + 0x74]
mov ecx, dword [eax]
mov edx, dword [esp + 0xc]
mov dword [esp + 0x3c], edx
lea ebx, [0x69fc20]
mov dword [esp], ebx
mov dword [esp + 4], ecx
mov dword [esp + 8], 0
call sym.runtime.makemap
mov eax, dword [esp + 0xc]
mov dword [esp + 0x38], eax
lea edi, [esp + 0x40]
xor eax, eax
call fcn.0046c894
lea eax, [0x69fc20]
mov dword [esp], eax
mov ecx, dword [esp + 0x74]
mov dword [esp + 4], ecx
lea ecx, [esp + 0x40]
mov dword [esp + 8], ecx
call sym.runtime.mapiterinit
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x3c]
jmp 0x618264
mov dword [esp + 0x1c], eax
mov dword [esp + 0x30], ecx
lea edx, [esp + 0x40]
mov dword [esp], edx
call sym.runtime.mapiternext
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x40]
test edx, edx
je 0x618399
mov dword [esp + 0x20], eax
mov dword [esp + 0x30], ecx
mov ebx, dword [esp + 0x44]
mov ebp, dword [ebx]
mov esi, dword [edx]
mov edx, dword [edx + 4]
test ebp, ebp
je 0x618343
mov dword [esp + 0x34], esi
mov dword [esp + 0x2c], edx
mov edx, dword [ebx + 4]
lea ebx, [0x672480]
mov dword [esp], ebx
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], edx
call sym.runtime.typedslicecopy
mov edx, dword [esp + 0x14]
mov ebx, dword [esp + 0x20]
cmp ebx, edx
jb 0x6183ab
mov dword [esp + 0x28], edx
lea eax, [0x69fc20]
mov dword [esp], eax
mov ecx, dword [esp + 0x38]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x34]
mov dword [esp + 8], edx
mov edx, dword [esp + 0x2c]
mov dword [esp + 0xc], edx
call sym.runtime.mapassign_faststr
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x28]
mov dword [eax + 4], ecx
mov dword [eax + 8], ecx
mov edx, dword [0x8c87a0]
test edx, edx
jne 0x618314
mov edx, dword [esp + 0x20]
cmp edx, ecx
mov ebx, edx
mov edx, dword [esp + 0x30]
jmp 0x61832a
call sym.runtime.gcWriteBarrier2
mov edx, dword [esp + 0x30]
mov dword [edi], edx
mov ebx, dword [eax]
mov dword [edi + 4], ebx
mov ebx, dword [esp + 0x20]
cmp ebx, ecx
mov dword [eax], edx
jb 0x6183a2
sub ebx, ecx
mov eax, ebx
neg ebx
shl ecx, 3
sar ebx, 0x1f
and ecx, ebx
add ecx, edx
jmp 0x618248
lea eax, [0x69fc20]
mov dword [esp], eax
mov ecx, dword [esp + 0x38]
mov dword [esp + 4], ecx
mov dword [esp + 8], esi
mov dword [esp + 0xc], edx
call sym.runtime.mapassign_faststr
mov eax, dword [esp + 0x10]
mov dword [eax + 4], 0
mov dword [eax + 8], 0
mov ecx, dword [0x8c87a0]
test ecx, ecx
je 0x618386
mov ecx, dword [eax]
call sym.runtime.gcWriteBarrier1
mov dword [edi], ecx
mov dword [eax], 0
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x30]
jmp 0x618248
mov eax, dword [esp + 0x38]
jmp 0x61818e
mov eax, ecx
mov ecx, ebx
call sym.runtime.panicSliceB
call sym.runtime.panicSlice3Acap
nop
call sym.runtime.morestack_noctxt
jmp sym.net_http.cloneOrMakeHeader