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

Disassembly:
mov ecx, dword [0x673268]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0xa8]
cmp eax, dword [ecx + 8]
jbe 0x5115af
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 0x5110bd
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x70], ecx
mov dword [esp + 0x28], edx
call sym.os.tempDir
lea eax, [0x545d68]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 0x11
call sym.os.MkdirTemp
mov eax, dword [esp + 0x18]
test eax, eax
jne 0x5110a4
mov eax, dword [esp + 0x10]
mov dword [esp + 0x90], eax
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x50], ecx
mov dword [esp + 0xcc], 0
mov dword [esp + 0xd0], 0
mov dword [esp + 0xd4], 0
lea edx, [sym.main.typecheck.func1.deferwrap1]
mov dword [esp + 0xcc], edx
mov dword [esp + 0xd4], ecx
mov dword [esp + 0xd0], eax
lea edx, [esp + 0xcc]
mov dword [esp + 0x124], edx
mov byte [esp + 0x27], 1
mov dword [esp + 0xbc], 0
mov dword [esp + 0xc0], 0
mov dword [esp + 0xc4], 0
mov dword [esp + 0xc8], 0
mov dword [esp + 0xc0], ecx
mov dword [esp + 0xbc], eax
mov dword [esp + 0xc8], 5
lea edx, [0x5433ad]
mov dword [esp + 0xc4], edx
lea ebx, [esp + 0xbc]
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 0x51107b
lea eax, [0x543569]
mov dword [esp], eax
mov dword [esp + 4], 6
call sym.runtime.gogetenv
mov eax, dword [esp + 0xc]
test eax, eax
je 0x510cea
mov ecx, dword [esp + 8]
jmp 0x510cf6
mov ecx, dword [0x634970]
mov eax, dword [0x634974]
test eax, eax
jne 0x510d07
mov edx, 2
lea ecx, [0x542fc9]
jmp 0x510d84
mov dword [esp + 0x68], ecx
lea edi, [esp + 0xa4]
mov edx, eax
xor eax, eax
call fcn.004695aa
mov dword [esp + 0xa8], edx
mov ecx, dword [esp + 0x68]
mov dword [esp + 0xa4], ecx
mov dword [esp + 0xb0], 3
lea ecx, [0x543076]
mov dword [esp + 0xac], ecx
mov dword [esp + 0xb8], 2
lea ecx, [0x542fc9]
mov dword [esp + 0xb4], ecx
lea ecx, [esp + 0xa4]
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 + 0xd8]
xor eax, eax
call fcn.004695a2
mov dword [esp + 0xdc], 4
lea ecx, [0x5431f9]
mov dword [esp + 0xd8], ecx
mov dword [esp + 0xe4], 3
lea ecx, [0x543079]
mov dword [esp + 0xe0], ecx
mov dword [esp + 0xec], 7
lea ecx, [0x54378a]
mov dword [esp + 0xe8], ecx
mov ecx, dword [esp + 0x50]
mov dword [esp + 0xf4], ecx
mov ebx, dword [esp + 0x90]
mov dword [esp + 0xf0], ebx
mov dword [esp + 0xfc], 7
lea ebp, [0x543791]
mov dword [esp + 0xf8], ebp
mov dword [esp + 0x104], ecx
mov dword [esp + 0x100], ebx
mov dword [esp + 0x10c], 5
lea ebp, [0x5433ad]
mov dword [esp + 0x108], ebp
mov ebp, dword [esp + 0x88]
mov dword [esp], ebp
mov dword [esp + 4], edx
lea edx, [esp + 0xd8]
mov dword [esp + 8], edx
mov dword [esp + 0xc], 7
mov dword [esp + 0x10], 7
call sym.os_exec.Command
mov ecx, dword [0x6347b8]
mov edx, dword [esp + 0x14]
test ecx, ecx
je 0x510e9d
mov eax, dword [0x6347e8]
lea ecx, [0x575700]
mov dword [edx + 0x38], ecx
mov ecx, dword [0x673320]
test ecx, ecx
je 0x510e9a
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 0x511052
mov dword [esp + 0x94], 0
mov dword [esp + 0x98], 0
mov dword [esp + 0x9c], 0
mov dword [esp + 0xa0], 0
mov eax, dword [esp + 0x50]
mov dword [esp + 0x98], eax
mov eax, dword [esp + 0x90]
mov dword [esp + 0x94], eax
mov dword [esp + 0xa0], 0xf
lea eax, [0x545586]
mov dword [esp + 0x9c], eax
lea eax, [esp + 0x94]
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 0x511029
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, [0x535240]
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, [0x54356f]
mov dword [esp + 4], ecx
mov dword [esp + 8], 6
lea ecx, [0x523180]
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 0x511000
mov ebx, dword [esp + 0x18]
mov ebp, dword [ebx + 0xc]
mov dword [esp + 0x120], ebp
mov ebx, dword [ebx + 0x10]
mov dword [esp + 0x64], ebx
xor eax, eax
jmp 0x5110d7
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 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 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 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 ecx, dword [esp + 0x1c]
mov dword [esp + 0x134], eax
mov dword [esp + 0x138], ecx
add esp, 0x128
ret
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 0x51118f
lea esi, [ebp + eax*8]
lea edi, [0x5760ec]
cmp dword [esi], edi
jne 0x5110f2
mov esi, dword [esi + 4]
jmp 0x5110f7
mov esi, 0
jne 0x5110d6
mov dword [esp + 0x60], eax
mov dword [esp + 0x8c], esi
mov ecx, dword [esi + 8]
cmp dword [ecx + 8], 7
jge 0x511111
xor ecx, ecx
jmp 0x511151
mov eax, dword [ecx + 4]
mov dword [esp], eax
lea eax, [0x543798]
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 + 0x120]
mov esi, dword [esp + 0x8c]
lea edi, [0x5760ec]
mov ecx, eax
mov eax, dword [esp + 0x60]
test cl, cl
je 0x5110d6
mov edx, dword [esi + 0xc]
mov edx, dword [edx + 8]
mov ecx, dword [edx + 4]
mov dword [esp + 0x11c], 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, [0x5760ec]
jmp 0x5111fd
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 + 0x11c]
mov esi, dword [esp + 0x8c]
lea edi, [0x5760ec]
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 + 0x120]
mov edi, dword [esp + 0x58]
cmp edi, edx
jge 0x511304
mov ebp, dword [ecx + edi*4]
mov ebx, dword [ebp + 0x10]
test ebx, ebx
je 0x511216
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 + 8]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x40]
inc edx
mov dword [esp + 0x54], edx
nop
mov dword [esp], eax
mov dword [esp + 4], ecx
lea eax, [0x54379f]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 7
lea ecx, [0x542fcf]
mov dword [esp + 0x10], ecx
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 0x51128c
mov ebp, dword [esp + 0x80]
jmp 0x5112d7
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, [0x526ec0]
mov dword [esp + 0x10], eax
call sym.runtime.growslice
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov ebx, edx
mov ebp, eax
mov edx, ecx
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x34]
lea esi, [ebp + ebx*8 - 4]
mov dword [esi], ecx
mov esi, dword [0x673320]
lea edi, [ebp + ebx*8 - 8]
test esi, esi
je 0x5111bc
mov ecx, edi
call sym.runtime.gcWriteBarrier2
mov dword [edi], eax
mov esi, dword [ecx]
mov dword [edi + 4], esi
mov edi, ecx
jmp 0x5111bc
mov edx, dword [esi + 0xc]
mov edx, dword [edx + 0xc]
mov edi, dword [edx + 4]
mov dword [esp + 0x118], 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 0x511369
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 + 0x118]
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 + 0x120]
cmp ecx, edx
jge 0x51146a
mov dword [esp + 0x58], ecx
mov ebp, dword [edi + ecx*4]
mov ebx, dword [ebp + 0x10]
test ebx, ebx
je 0x511382
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 + 8]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x38]
inc edx
mov dword [esp + 0x54], edx
nop
mov dword [esp], eax
mov dword [esp + 4], ecx
lea eax, [0x54379f]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 7
lea ecx, [0x542fcf]
mov dword [esp + 0x10], ecx
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 0x5113f5
mov ebp, dword [esp + 0x7c]
jmp 0x51143d
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, [0x526ec0]
mov dword [esp + 0x10], eax
call sym.runtime.growslice
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov ebx, edx
mov ebp, eax
mov edx, ecx
mov eax, dword [esp + 0x74]
mov ecx, dword [esp + 0x30]
lea esi, [ebp + ebx*8 - 4]
mov dword [esi], ecx
mov esi, dword [0x673320]
lea edi, [ebp + ebx*8 - 8]
test esi, esi
je 0x511333
mov ecx, edi
call sym.runtime.gcWriteBarrier2
mov dword [edi], eax
mov esi, dword [ecx]
mov dword [edi + 4], esi
mov edi, ecx
jmp 0x511333
mov edx, dword [esi + 8]
mov ecx, dword [edx + 8]
cmp ecx, 7
jb 0x511598
mov dword [esp + 0x5c], ecx
mov eax, dword [edx + 4]
mov dword [esp + 0x114], 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 + 0x110], ecx
mov edx, dword [esp + 0x5c]
add edx, 0xfffffff9
mov ebx, edx
neg edx
sar edx, 0x1f
and edx, 7
mov ebp, dword [esp + 0x114]
add edx, ebp
mov ebp, dword [esp + 0x1c]
mov dword [esp + 0x5c], ebp
mov esi, dword [esp + 0x18]
mov dword [esp + 0x114], esi
mov dword [esp], 0
lea edi, [0x542fcf]
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, [0x527e40]
mov dword [esp], edx
mov ebx, dword [esp + 0x110]
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 [0x673320]
test ecx, ecx
jne 0x511569
mov ebx, dword [esp + 0x114]
jmp 0x51157c
call sym.runtime.gcWriteBarrier2
mov ebx, dword [esp + 0x114]
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 + 0x120]
lea edi, [0x5760ec]
jmp 0x5110d6
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