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

Disassembly:
mov ecx, dword [0x57cc44]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0x10]
cmp eax, dword [ecx + 8]
jbe 0x490324
sub esp, 0x90
mov eax, 0
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], eax
mov byte [esp + 0x23], 0
mov dword [esp + 0xac], 0
mov dword [esp + 0xb0], 0
mov dword [esp + 0xb4], 0
mov eax, dword [esp + 0x94]
cmp byte [eax + 0x130], 3
je 0x49015e
mov dword [esp], eax
call sym.internal_poll._fdMutex_.incref
movzx eax, byte [esp + 4]
test al, al
je 0x48ff90
mov eax, dword [esp + 0x94]
xor ecx, ecx
xor edx, edx
jmp 0x48ffbc
mov eax, dword [esp + 0x94]
movzx ecx, byte [eax + 0x12f]
test cl, cl
je 0x48ffb0
mov ecx, dword [0x554870]
mov edx, dword [0x554874]
jmp 0x48ffbc
lea ecx, [0x4de6a8]
lea edx, [0x57cb20]
test ecx, ecx
jne 0x49013e
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
lea ecx, [sym.internal_poll._FD_.Pwrite.func1]
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x80], eax
lea ecx, [esp + 0x7c]
mov dword [esp + 0x8c], ecx
mov byte [esp + 0x23], 1
lea ecx, [eax + 0xf8]
mov dword [esp + 0x70], ecx
mov dword [esp], ecx
call sym.sync._Mutex_.Lock
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
lea eax, [sym.internal_poll._FD_.Pwrite.func2]
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x70]
mov dword [esp + 0x78], eax
lea eax, [esp + 0x74]
mov dword [esp + 0x88], eax
mov byte [esp + 0x23], 3
mov eax, dword [esp + 0x94]
mov ecx, dword [eax + 0x10]
mov dword [esp], ecx
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp + 0xc], 1
call sym.syscall.Seek
mov eax, dword [esp + 0x18]
test eax, eax
jne 0x4900f6
mov ecx, dword [esp + 0x14]
mov ebx, dword [esp + 0x10]
mov ebp, dword [esp + 0x94]
mov esi, dword [ebp + 0x10]
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0
mov eax, ebp
lea ebp, [sym.internal_poll._FD_.Pwrite.func3]
mov dword [esp + 0x48], ebp
mov dword [esp + 0x4c], esi
mov dword [esp + 0x54], ecx
mov dword [esp + 0x50], ebx
lea ecx, [esp + 0x48]
mov dword [esp + 0x84], ecx
mov byte [esp + 0x23], 7
mov ecx, dword [esp + 0x9c]
mov edx, dword [esp + 0xa0]
mov ebx, dword [esp + 0x98]
mov ebp, dword [esp + 0xa8]
mov esi, dword [esp + 0xa4]
xor edi, edi
jmp 0x4901bb
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0xac], 0
mov dword [esp + 0xb0], eax
mov dword [esp + 0xb4], ecx
mov byte [esp + 0x23], 1
mov edx, dword [esp + 0x88]
mov eax, dword [edx]
call eax
mov byte [esp + 0x23], 0
mov edx, dword [esp + 0x8c]
mov eax, dword [edx]
call eax
add esp, 0x90
ret
mov dword [esp + 0xac], 0
mov dword [esp + 0xb0], ecx
mov dword [esp + 0xb4], edx
add esp, 0x90
ret
mov dword [esp + 0xac], 0
lea eax, [0x4de658]
mov dword [esp + 0xb0], eax
lea eax, [0x4de15c]
mov dword [esp + 0xb4], eax
add esp, 0x90
ret
mov ebx, dword [esp + 0x30]
sub ebx, eax
mov ebp, ebx
neg ebx
sar ebx, 0x1f
and ebx, eax
sub ecx, eax
mov esi, dword [esp + 0x6c]
add ebx, esi
mov esi, dword [esp + 0x38]
add esi, eax
mov eax, dword [esp + 0x34]
adc eax, 0
mov edi, edx
mov edx, ebp
mov ebp, eax
mov eax, dword [esp + 0x94]
test ecx, ecx
je 0x4902be
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x24], edi
cmp ecx, 0x40000000
jle 0x4901e6
mov dword [esp + 0x40], eax
mov eax, 0x40000000
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x40]
jmp 0x4901ea
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x38], esi
mov dword [esp + 0x34], ebp
mov dword [esp + 0x30], edx
mov dword [esp + 0x28], 0
lea edi, [esp + 0x58]
xor eax, eax
call fcn.0045ef2b
mov dword [esp + 0x64], ebp
mov dword [esp + 0x60], esi
mov ecx, dword [esp + 0x94]
mov eax, dword [ecx + 0x10]
mov dword [esp], eax
mov dword [esp + 4], ebx
mov ecx, dword [esp + 0x3c]
mov dword [esp + 8], ecx
mov dword [esp + 0xc], edx
lea ecx, [esp + 0x28]
mov dword [esp + 0x10], ecx
lea ecx, [esp + 0x58]
mov dword [esp + 0x14], ecx
call sym.syscall.writeFile
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x24]
add edx, eax
test ecx, ecx
jne 0x49026a
mov ecx, dword [esp + 0x2c]
cmp ecx, eax
jae 0x49018a
jmp 0x490312
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0xac], edx
mov dword [esp + 0xb0], eax
mov dword [esp + 0xb4], ecx
mov byte [esp + 0x23], 3
mov edx, dword [esp + 0x84]
mov eax, dword [edx]
call eax
mov byte [esp + 0x23], 1
mov edx, dword [esp + 0x88]
mov eax, dword [edx]
call eax
mov byte [esp + 0x23], 0
mov edx, dword [esp + 0x8c]
mov eax, dword [edx]
call eax
add esp, 0x90
ret
mov dword [esp + 0xac], edi
mov dword [esp + 0xb0], 0
mov dword [esp + 0xb4], 0
mov byte [esp + 0x23], 3
mov edx, dword [esp + 0x84]
mov eax, dword [edx]
call eax
mov byte [esp + 0x23], 1
mov edx, dword [esp + 0x88]
mov eax, dword [edx]
call eax
mov byte [esp + 0x23], 0
mov edx, dword [esp + 0x8c]
mov eax, dword [edx]
call eax
add esp, 0x90
ret
call sym.runtime.panicSliceBU
nop
call sym.runtime.deferreturn
add esp, 0x90
ret
call sym.runtime.morestack_noctxt
jmp sym.internal_poll._FD_.Pwrite