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

Disassembly:
mov ecx, dword [0x71d934]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x51fbd1
sub esp, 0x70
mov eax, dword [esp + 0x78]
mov dword [esp], eax
mov ecx, dword [esp + 0x7c]
mov dword [esp + 4], ecx
call sym.os.ReadDir
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x51f857
mov eax, dword [esp + 8]
mov dword [esp + 0x4c], eax
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x2c], ecx
call sym.runtime.makemap_small
mov eax, dword [esp]
mov dword [esp + 0x5c], eax
xor ecx, ecx
xor edx, edx
xor ebx, ebx
jmp 0x51f885
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], eax
mov dword [esp + 0x90], ecx
add esp, 0x70
ret
mov ebp, dword [esp + 0x38]
lea ecx, [ebp + 1]
mov edx, eax
mov eax, dword [esp + 0x5c]
mov ebp, dword [esp + 0x2c]
cmp ecx, ebp
jge 0x51fbb2
mov dword [esp + 0x38], ecx
mov dword [esp + 0x34], edx
mov dword [esp + 0x58], ebx
mov eax, dword [esp + 0x4c]
lea edx, [eax + ecx*8]
mov ebx, dword [edx]
mov dword [esp + 0x30], ebx
mov edx, dword [edx + 4]
mov dword [esp + 0x50], edx
mov ebp, dword [ebx + 0x10]
mov dword [esp], edx
call ebp
movzx eax, byte [esp + 4]
test al, al
je 0x51f8c9
mov eax, 1
jmp 0x51f91c
mov eax, dword [esp + 0x30]
mov ecx, dword [eax + 0x14]
mov edx, dword [esp + 0x50]
mov dword [esp], edx
call ecx
mov ecx, dword [esp + 8]
nop
cmp ecx, 3
jge 0x51f8e7
xor eax, eax
jmp 0x51f919
lea eax, [ecx - 3]
cmp ecx, eax
jb 0x51fbcb
mov eax, dword [esp + 4]
lea eax, [ecx + eax - 3]
mov dword [esp], eax
lea eax, [0x5b8af2]
mov dword [esp + 4], eax
mov dword [esp + 8], 3
call sym.runtime.memequal
movzx eax, byte [esp + 0xc]
xor eax, 1
test al, al
je 0x51f92d
mov eax, dword [esp + 0x34]
mov ebx, dword [esp + 0x58]
jmp 0x51f878
mov eax, dword [esp + 0x80]
test eax, eax
je 0x51f984
mov eax, dword [esp + 0x30]
mov ecx, dword [eax + 0xc]
mov edx, dword [esp + 0x50]
mov dword [esp], edx
call ecx
mov eax, dword [esp + 0xc]
test eax, eax
jne 0x51fb91
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0x80]
mov ebx, dword [edx]
mov dword [esp], eax
mov dword [esp + 4], ecx
call ebx
movzx eax, byte [esp + 8]
test al, al
jne 0x51f984
mov eax, dword [esp + 0x34]
mov ebx, dword [esp + 0x58]
jmp 0x51f878
mov eax, dword [esp + 0x30]
mov eax, dword [eax + 0x14]
mov ecx, dword [esp + 0x50]
mov dword [esp], ecx
call eax
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0
mov edx, dword [esp + 0x7c]
mov dword [esp + 0x64], edx
mov ebx, dword [esp + 0x78]
mov dword [esp + 0x60], ebx
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x68], eax
lea eax, [esp + 0x60]
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 dword [esp + 0x3c], eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x24], ecx
mov edx, dword [esp + 0x74]
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 0
mov ebx, dword [esp + 0x84]
mov dword [esp + 0x14], ebx
call sym.go_parser.ParseFile
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x51fa53
mov ecx, dword [esp + 0x34]
test ecx, ecx
je 0x51fa4a
mov eax, ecx
mov ebx, dword [esp + 0x58]
jmp 0x51f878
mov ebx, dword [esp + 0x20]
jmp 0x51f878
mov eax, dword [esp + 0x18]
mov dword [esp + 0x40], eax
mov ecx, dword [eax + 8]
mov edx, dword [ecx + 4]
mov dword [esp + 0x48], edx
mov ecx, dword [ecx + 8]
mov dword [esp + 0x28], ecx
lea ebx, [0x593500]
mov dword [esp], ebx
mov ebp, dword [esp + 0x5c]
mov dword [esp + 4], ebp
mov dword [esp + 8], edx
mov dword [esp + 0xc], ecx
call sym.runtime.mapaccess2_faststr
movzx eax, byte [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov ecx, dword [ecx]
test al, al
jne 0x51fb37
call sym.runtime.makemap_small
mov eax, dword [esp]
mov dword [esp + 0x54], eax
lea ecx, [0x5a4dc0]
mov dword [esp], ecx
call sym.runtime.newobject
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x28]
mov dword [eax + 4], ecx
mov edx, dword [0x71da68]
test edx, edx
jne 0x51fad6
mov edx, dword [esp + 0x48]
mov ebx, dword [esp + 0x54]
jmp 0x51fae8
call sym.runtime.gcWriteBarrier2
mov edx, dword [esp + 0x48]
mov dword [edi], edx
mov ebx, dword [esp + 0x54]
mov dword [edi + 4], ebx
mov dword [esp + 0x44], eax
mov dword [eax], edx
mov dword [eax + 0x10], ebx
lea ebx, [0x593500]
mov dword [esp], ebx
mov ebp, dword [esp + 0x5c]
mov dword [esp + 4], ebp
mov dword [esp + 8], edx
mov dword [esp + 0xc], ecx
call sym.runtime.mapassign_faststr
mov eax, dword [esp + 0x10]
test byte [eax], al
mov ecx, dword [0x71da68]
test ecx, ecx
jne 0x51fb25
mov ecx, dword [esp + 0x44]
jmp 0x51fb35
call sym.runtime.gcWriteBarrier2
mov ecx, dword [esp + 0x44]
mov dword [edi], ecx
mov edx, dword [eax]
mov dword [edi + 4], edx
mov dword [eax], ecx
mov eax, dword [ecx + 0x10]
lea ecx, [0x5937c0]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0xc], eax
call sym.runtime.mapassign_faststr
mov eax, dword [esp + 0x10]
test byte [eax], al
mov ecx, dword [0x71da68]
test ecx, ecx
jne 0x51fb72
mov ecx, dword [esp + 0x40]
jmp 0x51fb82
call sym.runtime.gcWriteBarrier2
mov ecx, dword [esp + 0x40]
mov dword [edi], ecx
mov edx, dword [eax]
mov dword [edi + 4], edx
mov dword [eax], ecx
mov eax, dword [esp + 0x34]
mov ebx, dword [esp + 0x58]
jmp 0x51f878
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], eax
mov dword [esp + 0x90], ecx
add esp, 0x70
ret
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], edx
mov dword [esp + 0x90], ebx
add esp, 0x70
ret
call sym.runtime.panicSliceB
nop
call sym.runtime.morestack_noctxt
jmp sym.go_parser.ParseDir