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

Disassembly:
mov ecx, dword [0x75421c]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x49856b
sub esp, 0x64
mov ecx, dword [esp + 0x7c]
test ecx, ecx
je 0x4982ea
mov edx, dword [ecx + 0x20]
test edx, edx
jne 0x4982ea
mov edx, dword [ecx + 4]
test edx, edx
je 0x4982ea
mov eax, dword [ecx]
mov dword [esp], eax
mov dword [esp + 4], edx
call sym.os.Stat
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x498299
mov ecx, dword [esp + 0x7c]
jmp 0x4982ea
lea ecx, [0x6b5984]
cmp eax, ecx
jne 0x49854e
mov eax, dword [esp + 0x14]
mov dword [eax + 4], 5
mov edx, dword [0x754308]
test edx, edx
je 0x4982c5
mov edx, dword [eax]
call sym.runtime.gcWriteBarrier1
mov dword [edi], edx
lea edx, [0x4c153d]
mov dword [eax], edx
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], ecx
mov dword [esp + 0x88], eax
add esp, 0x64
ret
mov edx, dword [ecx + 0x20]
lea edi, [esp + 0x40]
xor eax, eax
call fcn.0046d397
mov ecx, dword [esp + 0x7c]
mov ebx, dword [ecx]
mov ebp, dword [ecx + 4]
mov dword [esp + 0x44], ebp
mov dword [esp + 0x40], ebx
mov ebx, dword [ecx + 8]
mov ebp, dword [ecx + 0xc]
mov esi, dword [ecx + 0x10]
mov dword [esp + 0x4c], ebp
mov dword [esp + 0x50], esi
mov dword [esp + 0x48], ebx
mov dword [esp + 0x60], edx
test ebx, ebx
jne 0x498356
mov dword [esp], edx
call sym.internal_syscall_execenv.Default
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 4]
mov edx, dword [esp + 8]
mov ebx, dword [esp + 0xc]
mov ebp, dword [esp + 0x14]
mov dword [esp + 0x4c], edx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x48], ecx
test eax, eax
jne 0x4983a5
mov ecx, dword [esp + 0x7c]
mov eax, dword [ecx + 0x18]
mov dword [esp + 0x34], eax
lea edx, [0x4b0460]
mov dword [esp], edx
mov dword [esp + 4], 0
mov dword [esp + 8], eax
call sym.runtime.makeslice
mov eax, dword [esp + 0xc]
mov dword [esp + 0x58], 0
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x7c]
mov ecx, dword [eax + 0x14]
mov dword [esp + 0x3c], ecx
mov edx, dword [eax + 0x18]
mov dword [esp + 0x34], edx
xor ebx, ebx
jmp 0x4983cf
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], ebp
add esp, 0x64
ret
mov dword [esp + 0x58], edi
mov dword [eax + edi*4 - 4], ebp
inc ebx
mov eax, dword [esp + 0x7c]
cmp ebx, edx
jge 0x49844b
mov ebp, dword [ecx + ebx*4]
test ebp, ebp
je 0x4983e2
mov ebp, dword [ebp]
mov ebp, dword [ebp + 0x10]
jmp 0x4983e7
mov ebp, 0xffffffff
mov esi, dword [esp + 0x5c]
mov edi, dword [esp + 0x58]
inc edi
mov eax, dword [esp + 0x54]
cmp esi, edi
jae 0x4983c2
mov dword [esp + 0x30], ebx
mov dword [esp + 0x28], ebp
mov dword [esp], eax
mov dword [esp + 4], edi
mov dword [esp + 8], esi
mov dword [esp + 0xc], 1
lea eax, [0x4b0460]
mov dword [esp + 0x10], eax
call sym.runtime.growslice
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x1c]
mov edi, dword [esp + 0x18]
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x54], eax
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x34]
mov ebx, dword [esp + 0x30]
mov ebp, dword [esp + 0x28]
jmp 0x4983c2
mov eax, dword [esp + 0x68]
mov dword [esp], eax
mov ecx, dword [esp + 0x6c]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x70]
mov dword [esp + 8], edx
mov edx, dword [esp + 0x74]
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0x78]
mov dword [esp + 0x10], edx
lea edx, [esp + 0x40]
mov dword [esp + 0x14], edx
call sym.syscall.StartProcess
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x24]
test eax, eax
je 0x49851d
mov dword [esp + 0x38], ebx
mov dword [esp + 0x2c], eax
lea eax, [0x4b62e0]
mov dword [esp], eax
call sym.runtime.newobject
mov eax, dword [esp + 4]
mov dword [eax + 4], 9
lea ecx, [0x4c1b8b]
mov dword [eax], ecx
mov ecx, dword [esp + 0x6c]
mov dword [eax + 0xc], ecx
mov ecx, dword [0x754308]
test ecx, ecx
jne 0x4984db
mov ecx, dword [esp + 0x68]
mov edx, dword [esp + 0x38]
jmp 0x4984ed
call sym.runtime.gcWriteBarrier2
mov ecx, dword [esp + 0x68]
mov dword [edi], ecx
mov edx, dword [esp + 0x38]
mov dword [edi + 4], edx
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x2c]
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], edx
mov dword [esp + 0x80], 0
lea ecx, [0x6b5984]
mov dword [esp + 0x84], ecx
mov dword [esp + 0x88], eax
add esp, 0x64
ret
mov dword [esp], ecx
mov dword [esp + 4], edx
call sym.os.newHandleProcess
mov eax, dword [esp + 8]
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0
add esp, 0x64
ret
mov ecx, dword [0x6b5988]
mov dword [esp], eax
mov dword [esp + 4], ecx
lea eax, [0x4b2560]
mov dword [esp + 8], eax
call sym.runtime.panicdottypeI
nop
call sym.runtime.morestack_noctxt
jmp sym.os.startProcess