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

Disassembly:
mov ecx, dword [0x625168]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4a1398
sub esp, 0x70
mov ecx, dword [esp + 0x88]
test ecx, ecx
je 0x4a10c0
mov edx, dword [ecx + 0x20]
test edx, edx
jne 0x4a10c0
mov edx, dword [ecx + 4]
test edx, edx
je 0x4a10c0
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 0x4a106f
mov ecx, dword [esp + 0x88]
jmp 0x4a10c0
lea ecx, [0x53c934]
cmp eax, ecx
jne 0x4a137b
mov eax, dword [esp + 0x14]
mov dword [eax + 4], 5
mov edx, dword [0x625238]
test edx, edx
je 0x4a109b
mov edx, dword [eax]
call sym.runtime.gcWriteBarrier1
mov dword [edi], edx
lea edx, [0x5101f9]
mov dword [eax], edx
mov dword [esp + 0x8c], 0
mov dword [esp + 0x90], ecx
mov dword [esp + 0x94], eax
add esp, 0x70
ret
lea edi, [esp + 0x4c]
xor eax, eax
call fcn.0046a327
mov ecx, dword [esp + 0x88]
mov edx, dword [ecx]
mov ebx, dword [ecx + 4]
mov dword [esp + 0x50], ebx
mov dword [esp + 0x4c], edx
mov edx, dword [ecx + 8]
mov ebx, dword [ecx + 0xc]
mov ebp, dword [ecx + 0x10]
mov dword [esp + 0x58], ebx
mov dword [esp + 0x5c], ebp
mov dword [esp + 0x54], edx
mov ebx, dword [ecx + 0x20]
mov dword [esp + 0x6c], ebx
test edx, edx
jne 0x4a1132
mov dword [esp], ebx
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 + 0x58], edx
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x54], ecx
test eax, eax
jne 0x4a1184
mov ecx, dword [esp + 0x88]
mov eax, dword [ecx + 0x18]
mov dword [esp + 0x3c], eax
lea edx, [0x4f4860]
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 + 0x64], 0
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x68], ecx
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x88]
mov ecx, dword [eax + 0x14]
mov dword [esp + 0x48], ecx
mov edx, dword [eax + 0x18]
mov dword [esp + 0x3c], edx
xor ebx, ebx
jmp 0x4a11b1
mov dword [esp + 0x8c], 0
mov dword [esp + 0x90], eax
mov dword [esp + 0x94], ebp
add esp, 0x70
ret
mov dword [esp + 0x64], edi
mov dword [eax + edi*4 - 4], ebp
inc ebx
mov eax, dword [esp + 0x88]
cmp ebx, edx
jge 0x4a122d
mov ebp, dword [ecx + ebx*4]
test ebp, ebp
je 0x4a11c4
mov ebp, dword [ebp]
mov ebp, dword [ebp + 0x10]
jmp 0x4a11c9
mov ebp, 0xffffffff
mov esi, dword [esp + 0x68]
mov edi, dword [esp + 0x64]
inc edi
mov eax, dword [esp + 0x60]
cmp esi, edi
jae 0x4a11a1
mov dword [esp + 0x38], 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, [0x4f4860]
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 + 0x68], ecx
mov dword [esp + 0x60], eax
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x3c]
mov ebx, dword [esp + 0x38]
mov ebp, dword [esp + 0x28]
jmp 0x4a11a1
mov eax, dword [esp + 0x74]
mov dword [esp], eax
mov ecx, dword [esp + 0x78]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x7c]
mov dword [esp + 8], edx
mov edx, dword [esp + 0x80]
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0x84]
mov dword [esp + 0x10], edx
lea edx, [esp + 0x4c]
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 0x4a1305
mov dword [esp + 0x44], ebx
mov dword [esp + 0x34], eax
lea eax, [0x4fe300]
mov dword [esp], eax
call sym.runtime.newobject
mov eax, dword [esp + 4]
mov dword [eax + 4], 9
lea ecx, [0x510973]
mov dword [eax], ecx
mov ecx, dword [esp + 0x78]
mov dword [eax + 0xc], ecx
mov ecx, dword [0x625238]
test ecx, ecx
jne 0x4a12c3
mov ecx, dword [esp + 0x74]
mov edx, dword [esp + 0x44]
jmp 0x4a12d5
call sym.runtime.gcWriteBarrier2
mov ecx, dword [esp + 0x74]
mov dword [edi], ecx
mov edx, dword [esp + 0x44]
mov dword [edi + 4], edx
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x34]
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], edx
mov dword [esp + 0x8c], 0
lea ecx, [0x53c934]
mov dword [esp + 0x90], ecx
mov dword [esp + 0x94], eax
add esp, 0x70
ret
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], edx
lea eax, [0x5001e0]
mov dword [esp], eax
call sym.runtime.newobject
mov eax, dword [esp + 4]
mov dword [esp + 0x40], eax
mov ecx, dword [esp + 0x2c]
mov dword [eax], ecx
mov ecx, dword [esp + 0x30]
mov dword [eax + 4], ecx
lea ecx, [0x507320]
mov dword [esp], ecx
mov dword [esp + 4], eax
lea ecx, [0x4f30a0]
mov dword [esp + 8], ecx
lea ecx, [0x51bbec]
mov dword [esp + 0xc], ecx
call sym.runtime.SetFinalizer
mov eax, dword [esp + 0x40]
mov dword [esp + 0x8c], eax
mov dword [esp + 0x90], 0
mov dword [esp + 0x94], 0
add esp, 0x70
ret
mov ecx, dword [0x53c938]
mov dword [esp], eax
mov dword [esp + 4], ecx
lea eax, [0x4f8080]
mov dword [esp + 8], eax
call sym.runtime.panicdottypeI
nop
call sym.runtime.morestack_noctxt
jmp sym.os.startProcess