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

Disassembly:
mov ecx, dword [0x646590]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0x24]
cmp eax, dword [ecx + 8]
jbe 0x4f8441
sub esp, 0xa4
mov eax, dword [esp + 0xa8]
mov ecx, dword [eax]
mov dword [esp], ecx
mov dword [esp + 4], 2
call sym.debug_elf._File_.getSymbols
mov eax, dword [esp + 0x20]
test eax, eax
jne 0x4f8216
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0xc]
mov ebx, dword [esp + 0xa8]
xor eax, eax
xor ebp, ebp
xor esi, esi
jmp 0x4f8271
mov ecx, dword [esp + 0x24]
mov dword [esp + 0xac], 0
mov dword [esp + 0xb0], 0
mov dword [esp + 0xb4], 0
mov dword [esp + 0xb8], eax
mov dword [esp + 0xbc], ecx
add esp, 0xa4
ret
lea esi, [esp + 0x3c]
call fcn.00464208
mov ecx, dword [esp + 0xa0]
add ecx, 0x30
dec edx
mov esi, dword [esp + 0x28]
mov eax, ebx
mov ebx, dword [esp + 0xa8]
test edx, edx
jle 0x4f840f
mov dword [esp + 0x2c], eax
mov dword [esp + 0x28], esi
mov dword [esp + 0xa0], ecx
lea edi, [esp + 0x6c]
mov esi, ecx
call fcn.00464208
lea edi, [esp + 0x3c]
xor eax, eax
call fcn.00463d64
mov ecx, dword [esp + 0x7c]
mov eax, dword [esp + 0x80]
mov dword [esp + 0x44], ecx
mov dword [esp + 0x48], eax
mov ecx, dword [esp + 0x6c]
mov eax, dword [esp + 0x70]
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x40], eax
mov ecx, dword [esp + 0x84]
mov eax, dword [esp + 0x88]
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], 0x3f
mov ecx, dword [esp + 0x78]
test ecx, ecx
jne 0x4f82f1
mov dword [esp + 0x54], 0x55
jmp 0x4f8345
cmp ecx, 0xfff2
jne 0x4f8303
mov dword [esp + 0x54], 0x42
jmp 0x4f8345
test ecx, ecx
jl 0x4f8345
mov eax, dword [ebx]
cmp dword [eax + 0x20], ecx
jle 0x4f8345
mov eax, dword [eax + 0x1c]
mov ecx, dword [eax + ecx*4]
mov ecx, dword [ecx + 0xc]
and ecx, 7
cmp ecx, 2
jne 0x4f8329
mov dword [esp + 0x54], 0x52
jmp 0x4f8345
cmp ecx, 3
jne 0x4f8338
mov dword [esp + 0x54], 0x44
jmp 0x4f8345
cmp ecx, 6
jne 0x4f8345
mov dword [esp + 0x54], 0x54
movzx ecx, byte [esp + 0x74]
shr cl, 4
movzx ecx, cl
test ecx, ecx
jne 0x4f8359
add dword [esp + 0x54], 0x20
mov dword [esp + 0x34], edx
mov ecx, dword [esp + 0x28]
inc ecx
mov eax, ebx
mov ebx, dword [esp + 0x2c]
cmp ebx, ecx
jae 0x4f83a7
mov dword [esp], ebp
mov dword [esp + 4], ecx
mov dword [esp + 8], ebx
mov dword [esp + 0xc], 1
lea eax, [0x51cf80]
mov dword [esp + 0x10], eax
call sym.runtime.growslice
mov ebp, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x34]
mov ebx, eax
mov eax, dword [esp + 0xa8]
mov dword [esp + 0x28], ecx
mov esi, dword [0x646638]
lea edi, [ecx + ecx*2]
shl edi, 4
lea edi, [edi + ebp - 0x30]
test esi, esi
je 0x4f8250
mov dword [esp + 0x38], ebp
mov dword [esp + 0x30], ebx
mov dword [esp + 0x9c], edi
lea eax, [0x51cf80]
mov dword [esp], eax
mov dword [esp + 4], edi
lea eax, [esp + 0x3c]
mov dword [esp + 8], eax
call sym.runtime.wbMove
mov eax, dword [esp + 0xa8]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x34]
mov ebx, dword [esp + 0x30]
mov ebp, dword [esp + 0x38]
mov edi, dword [esp + 0x9c]
jmp 0x4f8250
mov dword [esp + 0xac], ebp
mov dword [esp + 0xb0], esi
mov dword [esp + 0xb4], eax
mov dword [esp + 0xb8], 0
mov dword [esp + 0xbc], 0
add esp, 0xa4
ret
call sym.runtime.morestack_noctxt
jmp sym.cmd_internal_objfile._elfFile_.symbols