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

Disassembly:
mov ecx, dword [0x647d6c]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0xa8]
cmp eax, dword [ecx + 8]
jbe 0x508e93
sub esp, 0x128
mov eax, 0
mov dword [esp + 0x124], eax
mov byte [esp + 0x27], 0
mov dword [esp + 0x134], 0
mov dword [esp + 0x138], 0
mov eax, dword [esp + 0x12c]
mov dword [esp], eax
call sym.main.gofmtFile
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 4]
mov edx, dword [esp + 8]
mov ebx, dword [esp + 0xc]
test eax, eax
jne 0x5089a1
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x28], edx
mov dword [esp + 0x70], ecx
call sym.os.tempDir
lea eax, [0x53c343]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 0x11
call sym.os.MkdirTemp
mov eax, dword [esp + 0x18]
test eax, eax
jne 0x508984
mov eax, dword [esp + 0x10]
mov dword [esp + 0x90], eax
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x50], ecx
mov dword [esp + 0xa8], 0
mov dword [esp + 0xac], 0
mov dword [esp + 0xb0], 0
lea edx, [sym.main.typecheck.func1.1]
mov dword [esp + 0xa8], edx
mov dword [esp + 0xb0], ecx
mov dword [esp + 0xac], eax
lea edx, [esp + 0xa8]
mov dword [esp + 0x124], edx
mov byte [esp + 0x27], 1
mov dword [esp + 0xc4], 0
mov dword [esp + 0xc8], 0
mov dword [esp + 0xcc], 0
mov dword [esp + 0xd0], 0
mov dword [esp + 0xc8], ecx
mov dword [esp + 0xc4], eax
mov dword [esp + 0xd0], 5
lea edx, [0x539ae1]
mov dword [esp + 0xcc], edx
lea ebx, [esp + 0xc4]
mov dword [esp], ebx
mov dword [esp + 4], 2
mov dword [esp + 8], 2
call sym.path_filepath.join
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov eax, dword [esp + 0x70]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], 0x180
call sym.os.WriteFile
mov eax, dword [esp + 0x18]
test eax, eax
jne 0x508957
lea eax, [0x539c8e]
mov dword [esp], eax
mov dword [esp + 4], 6
call sym.runtime.gogetenv
mov eax, dword [esp + 0xc]
test eax, eax
je 0x5085ba
mov ecx, dword [esp + 8]
jmp 0x5085c6
mov ecx, dword [0x622ee8]
mov eax, dword [0x622eec]
test eax, eax
jne 0x5085d7
mov edx, 2
lea ecx, [0x53970a]
jmp 0x508654
mov dword [esp + 0x68], ecx
lea edi, [esp + 0xd4]
mov edx, eax
xor eax, eax
call fcn.00465a4a
mov dword [esp + 0xd8], edx
mov ecx, dword [esp + 0x68]
mov dword [esp + 0xd4], ecx
mov dword [esp + 0xe0], 3
lea ecx, [0x5397b7]
mov dword [esp + 0xdc], ecx
mov dword [esp + 0xe8], 2
lea ecx, [0x53970a]
mov dword [esp + 0xe4], ecx
lea ecx, [esp + 0xd4]
mov dword [esp], ecx
mov dword [esp + 4], 3
mov dword [esp + 8], 3
call sym.path_filepath.join
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
mov dword [esp + 0x88], ecx
lea edi, [esp + 0xec]
xor eax, eax
call fcn.00465a42
mov dword [esp + 0xf0], 4
lea ecx, [0x539936]
mov dword [esp + 0xec], ecx
mov dword [esp + 0xf8], 3
lea ecx, [0x5397ba]
mov dword [esp + 0xf4], ecx
mov dword [esp + 0x100], 7
lea ecx, [0x539ea9]
mov dword [esp + 0xfc], ecx
mov ecx, dword [esp + 0x50]
mov dword [esp + 0x108], ecx
mov ebx, dword [esp + 0x90]
mov dword [esp + 0x104], ebx
mov dword [esp + 0x110], 7
lea ebp, [0x539eb0]
mov dword [esp + 0x10c], ebp
mov dword [esp + 0x118], ecx
mov dword [esp + 0x114], ebx
mov dword [esp + 0x120], 5
lea ebp, [0x539ae1]
mov dword [esp + 0x11c], ebp
mov ebp, dword [esp + 0x88]
mov dword [esp], ebp
mov dword [esp + 4], edx
lea edx, [esp + 0xec]
mov dword [esp + 8], edx
mov dword [esp + 0xc], 7
mov dword [esp + 0x10], 7
call sym.os_exec.Command
mov ecx, dword [0x622d18]
mov edx, dword [esp + 0x14]
test ecx, ecx
je 0x50876d
mov eax, dword [0x622d48]
lea ecx, [0x569df4]
mov dword [edx + 0x38], ecx
mov ecx, dword [0x647e70]
test ecx, ecx
je 0x50876a
call sym.runtime.gcWriteBarrier2
mov dword [edi], eax
mov ecx, dword [edx + 0x3c]
mov dword [edi + 4], ecx
mov dword [edx + 0x3c], eax
mov dword [esp], edx
call sym.os_exec._Cmd_.Run
mov eax, dword [esp + 4]
test eax, eax
jne 0x50892a
mov dword [esp + 0xb4], 0
mov dword [esp + 0xb8], 0
mov dword [esp + 0xbc], 0
mov dword [esp + 0xc0], 0
mov eax, dword [esp + 0x50]
mov dword [esp + 0xb8], eax
mov eax, dword [esp + 0x90]
mov dword [esp + 0xb4], eax
mov dword [esp + 0xc0], 0xf
lea eax, [0x53bbbd]
mov dword [esp + 0xbc], eax
lea eax, [esp + 0xb4]
mov dword [esp], eax
mov dword [esp + 4], 2
mov dword [esp + 8], 2
call sym.path_filepath.join
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov dword [esp], eax
mov dword [esp + 4], ecx
call sym.os.ReadFile
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x5088fd
mov eax, dword [esp + 8]
mov dword [esp + 0x84], eax
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x48], ecx
mov edx, dword [esp + 0x10]
mov dword [esp + 0x4c], edx
lea ebx, [0x52c740]
mov dword [esp], ebx
call sym.runtime.newobject
mov eax, dword [esp + 4]
mov dword [esp + 0x6c], eax
mov dword [eax + 0x18], 1
mov ecx, dword [esp + 0x84]
mov dword [esp], ecx
mov ecx, dword [esp + 0x48]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x4c]
mov dword [esp + 8], ecx
call sym.runtime.convTslice
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x6c]
mov dword [esp], ecx
lea ecx, [0x539c94]
mov dword [esp + 4], ecx
mov dword [esp + 8], 6
lea ecx, [0x51ac40]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], 0
call sym.go_parser.ParseFile
mov eax, dword [esp + 0x1c]
test eax, eax
jne 0x5088d0
mov ebx, dword [esp + 0x18]
mov ebp, dword [ebx + 0xc]
mov dword [esp + 0xa4], ebp
mov ebx, dword [ebx + 0x10]
mov dword [esp + 0x64], ebx
xor eax, eax
jmp 0x5089bf
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x134], eax
mov dword [esp + 0x138], ecx
mov byte [esp + 0x27], 0
mov edx, dword [esp + 0x124]
mov eax, dword [edx]
call eax
add esp, 0x128
ret
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x134], eax
mov dword [esp + 0x138], ecx
mov byte [esp + 0x27], 0
mov edx, dword [esp + 0x124]
mov eax, dword [edx]
call eax
add esp, 0x128
ret
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov dword [esp + 0x134], eax
mov dword [esp + 0x138], ecx
mov byte [esp + 0x27], 0
mov edx, dword [esp + 0x124]
mov eax, dword [edx]
call eax
add esp, 0x128
ret
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x134], eax
mov dword [esp + 0x138], ecx
mov byte [esp + 0x27], 0
mov edx, dword [esp + 0x124]
mov eax, dword [edx]
call eax
add esp, 0x128
ret
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x134], eax
mov dword [esp + 0x138], ecx
add esp, 0x128
ret
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x134], eax
mov dword [esp + 0x138], ecx
add esp, 0x128
ret
inc eax
cmp eax, ebx
jge 0x508a77
lea esi, [ebp + eax*8]
lea edi, [0x56a7cc]
cmp dword [esi], edi
jne 0x5089da
mov esi, dword [esi + 4]
jmp 0x5089df
mov esi, 0
jne 0x5089be
mov dword [esp + 0x60], eax
mov dword [esp + 0x8c], esi
mov ecx, dword [esi + 8]
cmp dword [ecx + 8], 7
jge 0x5089f9
xor ecx, ecx
jmp 0x508a39
mov eax, dword [ecx + 4]
mov dword [esp], eax
lea eax, [0x539eb7]
mov dword [esp + 4], eax
mov dword [esp + 8], 7
call sym.runtime.memequal
movzx eax, byte [esp + 0xc]
mov ebx, dword [esp + 0x64]
mov ebp, dword [esp + 0xa4]
mov esi, dword [esp + 0x8c]
lea edi, [0x56a7cc]
mov ecx, eax
mov eax, dword [esp + 0x60]
test cl, cl
je 0x5089be
mov edx, dword [esi + 0xc]
mov edx, dword [edx + 8]
mov ecx, dword [edx + 4]
mov dword [esp + 0xa0], ecx
mov edx, dword [edx + 8]
mov dword [esp + 0x5c], edx
xor edi, edi
mov dword [esp + 0x58], edi
xor edi, edi
mov dword [esp + 0x44], edi
xor edi, edi
mov dword [esp + 0x80], edi
xor edi, edi
mov dword [esp + 0x40], edi
lea edi, [0x56a7cc]
jmp 0x508ae5
mov dword [esp + 0x134], 0
mov dword [esp + 0x138], 0
mov byte [esp + 0x27], 0
mov edx, dword [esp + 0x124]
mov eax, dword [edx]
call eax
add esp, 0x128
ret
mov dword [edi], eax
mov eax, dword [esp + 0x58]
inc eax
mov ecx, dword [esp + 0xa0]
mov esi, dword [esp + 0x8c]
lea edi, [0x56a7cc]
mov dword [esp + 0x58], eax
mov dword [esp + 0x44], edx
mov dword [esp + 0x80], ebp
mov dword [esp + 0x40], ebx
mov eax, dword [esp + 0x60]
mov edx, dword [esp + 0x5c]
mov ebx, dword [esp + 0x64]
mov ebp, dword [esp + 0xa4]
mov edi, dword [esp + 0x58]
cmp edi, edx
jge 0x508bea
mov ebp, dword [ecx + edi*4]
mov ebx, dword [ebp + 0x10]
test ebx, ebx
je 0x508afe
mov ebx, dword [ebx + 4]
mov eax, dword [ebp + 0x14]
mov dword [esp], ebx
mov dword [esp + 4], eax
call sym.main.gofmt
mov eax, dword [esp + 0x40]
inc eax
mov dword [esp + 0x54], eax
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0xc]
nop
mov dword [esp], ecx
mov dword [esp + 4], edx
lea ecx, [0x539ebe]
mov dword [esp + 8], ecx
mov dword [esp + 0xc], 7
lea edx, [0x53970e]
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], 2
mov dword [esp + 0x18], 0xffffffff
call sym.strings.Replace
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x44]
mov ebx, dword [esp + 0x54]
cmp edx, ebx
jb 0x508b74
mov ebp, dword [esp + 0x80]
jmp 0x508bbd
mov dword [esp + 0x34], ecx
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x80]
mov dword [esp], eax
mov dword [esp + 4], ebx
mov dword [esp + 8], edx
mov dword [esp + 0xc], 1
lea eax, [0x51e740]
mov dword [esp + 0x10], eax
call sym.runtime.growslice
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebx, ecx
mov ebp, eax
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x34]
lea esi, [ebp + ebx*8 - 4]
mov dword [esi], ecx
mov esi, dword [0x647e70]
lea edi, [ebp + ebx*8 - 8]
test esi, esi
je 0x508aa4
mov ecx, edi
call sym.runtime.gcWriteBarrier2
mov dword [edi], eax
mov esi, dword [ecx]
mov dword [edi + 4], esi
mov edi, ecx
jmp 0x508aa4
mov edx, dword [esi + 0xc]
mov edx, dword [edx + 0xc]
mov edi, dword [edx + 4]
mov dword [esp + 0x9c], edi
mov edx, dword [edx + 8]
mov dword [esp + 0x5c], edx
xor ecx, ecx
xor ecx, ecx
mov dword [esp + 0x3c], ecx
xor ecx, ecx
mov dword [esp + 0x7c], ecx
xor ecx, ecx
mov dword [esp + 0x38], ecx
xor ecx, ecx
jmp 0x508c4f
mov dword [edi], eax
mov eax, dword [esp + 0x58]
lea ecx, [eax + 1]
mov eax, dword [esp + 0x60]
mov esi, dword [esp + 0x8c]
mov edi, dword [esp + 0x9c]
mov dword [esp + 0x3c], edx
mov dword [esp + 0x7c], ebp
mov dword [esp + 0x38], ebx
mov edx, dword [esp + 0x5c]
mov ebx, dword [esp + 0x64]
mov ebp, dword [esp + 0xa4]
cmp ecx, edx
jge 0x508d4e
mov dword [esp + 0x58], ecx
mov ebp, dword [edi + ecx*4]
mov ebx, dword [ebp + 0x10]
test ebx, ebx
je 0x508c68
mov ebx, dword [ebx + 4]
mov eax, dword [ebp + 0x14]
mov dword [esp], ebx
mov dword [esp + 4], eax
call sym.main.gofmt
mov eax, dword [esp + 0x38]
inc eax
mov dword [esp + 0x54], eax
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0xc]
nop
mov dword [esp], ecx
mov dword [esp + 4], edx
lea ecx, [0x539ebe]
mov dword [esp + 8], ecx
mov dword [esp + 0xc], 7
lea edx, [0x53970e]
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], 2
mov dword [esp + 0x18], 0xffffffff
call sym.strings.Replace
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x3c]
mov ebx, dword [esp + 0x54]
cmp edx, ebx
jb 0x508cdb
mov ebp, dword [esp + 0x7c]
jmp 0x508d21
mov dword [esp + 0x30], ecx
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x7c]
mov dword [esp], eax
mov dword [esp + 4], ebx
mov dword [esp + 8], edx
mov dword [esp + 0xc], 1
lea eax, [0x51e740]
mov dword [esp + 0x10], eax
call sym.runtime.growslice
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebx, ecx
mov ebp, eax
mov eax, dword [esp + 0x74]
mov ecx, dword [esp + 0x30]
lea esi, [ebp + ebx*8 - 4]
mov dword [esi], ecx
mov esi, dword [0x647e70]
lea edi, [ebp + ebx*8 - 8]
test esi, esi
je 0x508c19
mov ecx, edi
call sym.runtime.gcWriteBarrier2
mov dword [edi], eax
mov esi, dword [ecx]
mov dword [edi + 4], esi
mov edi, ecx
jmp 0x508c19
mov edx, dword [esi + 8]
mov ecx, dword [edx + 8]
cmp ecx, 7
jb 0x508e7c
mov dword [esp + 0x5c], ecx
mov eax, dword [edx + 4]
mov dword [esp + 0x98], eax
mov ecx, dword [esp + 0x80]
mov dword [esp], ecx
mov ecx, dword [esp + 0x40]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x44]
mov dword [esp + 8], ecx
mov ecx, dword [esp + 0x7c]
mov dword [esp + 0xc], ecx
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x14], ecx
call sym.main.joinFunc
mov eax, dword [esp + 0x130]
mov ecx, dword [eax + 0xc]
mov dword [esp + 0x94], ecx
mov edx, dword [esp + 0x5c]
add edx, 0xfffffff9
mov ebx, edx
neg edx
sar edx, 0x1f
and edx, 7
mov ebp, dword [esp + 0x98]
add edx, ebp
mov ebp, dword [esp + 0x1c]
mov dword [esp + 0x5c], ebp
mov esi, dword [esp + 0x18]
mov dword [esp + 0x98], esi
mov dword [esp], 0
lea edi, [0x53970e]
mov dword [esp + 4], edi
mov dword [esp + 8], 2
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], ebx
call sym.runtime.concatstring2
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
lea edx, [0x51f6c0]
mov dword [esp], edx
mov ebx, dword [esp + 0x94]
mov dword [esp + 4], ebx
mov dword [esp + 8], eax
mov dword [esp + 0xc], ecx
call sym.runtime.mapassign_faststr
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x5c]
mov dword [eax + 4], ecx
mov ecx, dword [0x647e70]
test ecx, ecx
jne 0x508e4d
mov ebx, dword [esp + 0x98]
jmp 0x508e60
call sym.runtime.gcWriteBarrier2
mov ebx, dword [esp + 0x98]
mov dword [edi], ebx
mov ebp, dword [eax]
mov dword [edi + 4], ebp
mov dword [eax], ebx
mov eax, dword [esp + 0x60]
mov ebx, dword [esp + 0x64]
mov ebp, dword [esp + 0xa4]
lea edi, [0x56a7cc]
jmp 0x5089be
mov eax, 7
call sym.runtime.panicSliceB
nop
call sym.runtime.deferreturn
add esp, 0x128
ret
call sym.runtime.morestack_noctxt
jmp sym.main.typecheck.func1