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

Disassembly:
mov ecx, dword [0x71d934]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0x10]
cmp eax, dword [ecx + 8]
jbe 0x4b7e85
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 0x4b7cc3
mov dword [esp], eax
call sym.internal_poll._fdMutex_.incref
movzx eax, byte [esp + 4]
test al, al
je 0x4b7b40
mov eax, dword [esp + 0x94]
xor ecx, ecx
xor edx, edx
jmp 0x4b7b6c
mov eax, dword [esp + 0x94]
movzx ecx, byte [eax + 0x127]
test cl, cl
je 0x4b7b60
mov ecx, dword [0x6f3c18]
mov edx, dword [0x6f3c1c]
jmp 0x4b7b6c
lea ecx, [0x5fb000]
lea edx, [0x71d7e0]
test ecx, ecx
jne 0x4b7ca3
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 0x4b7c5f
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 0x4b7d20
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, [0x5fadd0]
mov dword [esp + 0xb0], eax
lea eax, [0x5fa184]
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 0x4b7e1f
mov dword [esp + 0x40], ecx
mov dword [esp + 0x38], edi
cmp ecx, 0x40000000
jle 0x4b7d4b
mov dword [esp + 0x48], eax
mov eax, 0x40000000
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x48]
jmp 0x4b7d4f
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.0046f59b
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 0x4b7dcf
mov ecx, dword [esp + 0x40]
cmp ecx, eax
jae 0x4b7cef
jmp 0x4b7e73
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