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

Disassembly:
mov ecx, dword [0x7b1178]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0x10]
cmp eax, dword [ecx + 8]
jbe 0x4b8f15
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 + 0x128], 3
je 0x4b8d53
mov dword [esp], eax
call sym.internal_poll._fdMutex_.incref
movzx eax, byte [esp + 4]
test al, al
je 0x4b8bd0
mov eax, dword [esp + 0x94]
xor ecx, ecx
xor edx, edx
jmp 0x4b8bfc
mov eax, dword [esp + 0x94]
movzx ecx, byte [eax + 0x127]
test cl, cl
je 0x4b8bf0
mov ecx, dword [0x7862b0]
mov edx, dword [0x7862b4]
jmp 0x4b8bfc
lea ecx, [0x66e490]
lea edx, [0x7b1020]
test ecx, ecx
jne 0x4b8d33
lea ecx, [sym.internal_poll._FD_.Pwrite.deferwrap1]
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x80], eax
lea ecx, [esp + 0x7c]
mov dword [esp + 0x84], ecx
mov byte [esp + 0x23], 1
lea ecx, [eax + 0xf0]
mov dword [esp + 0x70], ecx
mov dword [esp], ecx
call sym.sync._Mutex_.Lock
lea eax, [sym.internal_poll._FD_.Pwrite.deferwrap2]
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 + 4], 0
mov dword [esp + 8], 0
mov dword [esp + 0xc], 1
call sym.syscall.Seek
mov eax, dword [esp + 0x18]
test eax, eax
jne 0x4b8cef
mov ecx, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
mov ebp, dword [esp + 0x94]
mov esi, dword [ebp + 0x10]
mov eax, ebp
lea ebp, [sym.internal_poll._FD_.Pwrite.deferwrap3]
mov dword [esp + 0x5c], ebp
mov dword [esp + 0x60], esi
mov dword [esp + 0x64], ecx
mov dword [esp + 0x68], ebx
lea ecx, [esp + 0x5c]
mov dword [esp + 0x8c], 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 0x4b8db0
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 + 0x84]
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, [0x66e230]
mov dword [esp + 0xb0], eax
lea eax, [0x66d5b0]
mov dword [esp + 0xb4], eax
add esp, 0x90
ret
mov ebx, dword [esp + 0x44]
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 + 0x54]
add esi, eax
mov eax, dword [esp + 0x50]
adc eax, 0
mov edi, edx
mov edx, ebp
mov ebp, eax
mov eax, dword [esp + 0x94]
test ecx, ecx
je 0x4b8eaf
mov dword [esp + 0x40], ecx
mov dword [esp + 0x38], edi
cmp ecx, 0x40000000
jle 0x4b8ddb
mov dword [esp + 0x48], eax
mov eax, 0x40000000
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x48]
jmp 0x4b8ddf
mov dword [esp + 0x58], ecx
mov dword [esp + 0x44], edx
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x54], esi
mov dword [esp + 0x50], ebp
mov dword [esp + 0x3c], 0
lea edi, [esp + 0x24]
xor eax, eax
call fcn.0046ffcb
mov dword [esp + 0x30], ebp
mov dword [esp + 0x2c], esi
mov ecx, dword [esp + 0x94]
mov eax, dword [ecx + 0x10]
mov dword [esp], eax
mov dword [esp + 4], ebx
mov ecx, dword [esp + 0x58]
mov dword [esp + 8], ecx
mov dword [esp + 0xc], edx
lea ecx, [esp + 0x3c]
mov dword [esp + 0x10], ecx
lea ecx, [esp + 0x24]
mov dword [esp + 0x14], ecx
call sym.syscall.writeFile
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x38]
add edx, eax
test ecx, ecx
jne 0x4b8e5f
mov ecx, dword [esp + 0x40]
cmp ecx, eax
jae 0x4b8d7f
jmp 0x4b8f03
mov eax, dword [esp + 0x1c]
mov dword [esp + 0xac], edx
mov dword [esp + 0xb0], ecx
mov dword [esp + 0xb4], eax
mov byte [esp + 0x23], 3
mov edx, dword [esp + 0x8c]
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 + 0x84]
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 + 0x8c]
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 + 0x84]
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