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

Disassembly:
mov ecx, dword [0x647d6c]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0x3c]
cmp eax, dword [ecx + 8]
jbe 0x50686e
sub esp, 0xbc
mov eax, 0
mov dword [esp + 0xb8], eax
mov byte [esp + 0x36], 0
mov dword [esp + 0xcc], 0
mov dword [esp + 0xd0], 0
lea eax, [0x524f60]
mov dword [esp], eax
call sym.runtime.newobject
mov eax, dword [esp + 4]
mov dword [esp + 0x74], eax
mov dword [eax + 4], 0
movzx ecx, byte [esp + 0xc8]
test cl, cl
je 0x505ef8
mov edx, dword [0x622d40]
xor ebx, ebx
jmp 0x505f66
nop
mov eax, dword [esp + 0xc0]
mov dword [esp], eax
mov ecx, dword [esp + 0xc4]
mov dword [esp + 4], ecx
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
call sym.os.OpenFile
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x50620f
mov edx, dword [esp + 0x10]
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
lea eax, [sym.main.processFile.func1]
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], edx
lea eax, [esp + 0x78]
mov dword [esp + 0xb8], eax
mov byte [esp + 0x36], 1
mov ebx, 1
mov dword [esp + 0x64], edx
mov byte [esp + 0x37], bl
lea eax, [0x569e1c]
mov dword [esp], eax
mov dword [esp + 4], edx
call sym.io.ReadAll
mov eax, dword [esp + 0x14]
test eax, eax
je 0x505fc1
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0xcc], eax
mov dword [esp + 0xd0], ecx
movzx eax, byte [esp + 0x37]
test al, 1
je 0x505fba
and eax, 0xfffffffe
mov byte [esp + 0x36], al
mov edx, dword [esp + 0xb8]
mov eax, dword [edx]
call eax
add esp, 0xbc
ret
mov eax, dword [esp + 0xc]
mov dword [esp + 0x3c], eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x40], ecx
mov edx, dword [esp + 8]
mov dword [esp + 0x54], edx
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
call sym.runtime.convTslice
mov eax, dword [0x61ea64]
mov ecx, dword [esp + 0xc]
mov dword [esp], eax
mov eax, dword [esp + 0xc0]
mov dword [esp + 4], eax
mov edx, dword [esp + 0xc4]
mov dword [esp + 8], edx
lea ebx, [0x51ac40]
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], 4
call sym.go_parser.ParseFile
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x506068
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov dword [esp + 0xcc], eax
mov dword [esp + 0xd0], ecx
movzx eax, byte [esp + 0x37]
test al, 1
je 0x506061
and eax, 0xfffffffe
mov byte [esp + 0x36], al
mov edx, dword [esp + 0xb8]
mov eax, dword [edx]
call eax
add esp, 0xbc
ret
mov eax, dword [esp + 0x18]
mov dword [esp + 0x60], eax
mov dword [esp], eax
call sym.main.gofmtFile
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
test eax, eax
jne 0x5061d6
mov ebx, dword [esp + 8]
mov ebp, dword [esp + 4]
mov eax, ebp
mov ebp, dword [esp + 0x3c]
cmp ebx, ebp
je 0x50609e
xor edx, edx
jmp 0x5060d1
mov dword [esp + 0x48], ecx
mov dword [esp + 0x70], eax
mov dword [esp + 0x44], ebx
mov dword [esp], eax
mov ecx, dword [esp + 0x54]
mov dword [esp + 4], ecx
call sym.runtime.memequal
movzx eax, byte [esp + 0xc]
mov ecx, dword [esp + 0x48]
mov ebx, dword [esp + 0x44]
mov ebp, dword [esp + 0x3c]
mov edx, eax
mov eax, dword [esp + 0x70]
test dl, dl
je 0x5060de
mov eax, dword [esp + 0x60]
jmp 0x506184
mov dword [esp], eax
mov dword [esp + 4], ebx
mov dword [esp + 8], ecx
call sym.runtime.convTslice
mov eax, dword [0x61ea64]
mov ecx, dword [esp + 0xc]
mov dword [esp], eax
mov eax, dword [esp + 0xc0]
mov dword [esp + 4], eax
mov edx, dword [esp + 0xc4]
mov dword [esp + 8], edx
lea ebx, [0x51ac40]
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], 4
call sym.go_parser.ParseFile
mov eax, dword [esp + 0x1c]
test eax, eax
jne 0x50619d
mov eax, dword [esp + 0x18]
mov dword [esp + 0x60], eax
lea ecx, [0x569e08]
mov dword [esp], ecx
mov edx, dword [esp + 0x74]
mov dword [esp + 4], edx
lea ebx, [0x53992a]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], 4
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
call sym.fmt.Fprintf
mov ebp, dword [esp + 0x3c]
mov eax, dword [esp + 0x60]
mov ebx, dword [0x622f10]
mov ecx, dword [0x622f14]
mov dword [esp + 0x50], ecx
xor edx, edx
xor esi, esi
jmp 0x50623a
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov dword [esp + 0xcc], eax
mov dword [esp + 0xd0], ecx
movzx eax, byte [esp + 0x37]
test al, 1
je 0x5061cf
and eax, 0xfffffffe
mov byte [esp + 0x36], al
mov edx, dword [esp + 0xb8]
mov eax, dword [edx]
call eax
add esp, 0xbc
ret
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0xcc], eax
mov dword [esp + 0xd0], ecx
movzx eax, byte [esp + 0x37]
test al, 1
je 0x506208
and eax, 0xfffffffe
mov byte [esp + 0x36], al
mov edx, dword [esp + 0xb8]
mov eax, dword [edx]
call eax
add esp, 0xbc
ret
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0xcc], eax
mov dword [esp + 0xd0], ecx
add esp, 0xbc
ret
add ebx, 0x20
inc edx
mov esi, dword [esp + 0x50]
mov esi, ecx
mov ecx, dword [esp + 0x50]
mov dword [esp + 0x5c], eax
cmp edx, ecx
jge 0x5064e0
mov dword [esp + 0x4c], edx
xchg esi, eax
mov byte [esp + 0x35], al
xchg esi, eax
mov dword [esp + 0x6c], ebx
lea edi, [esp + 0x98]
mov esi, ebx
call fcn.00465f10
mov ecx, dword [0x622d08]
test ecx, ecx
jne 0x506270
xor ecx, ecx
jmp 0x5062b4
mov eax, dword [esp + 0x98]
mov edx, dword [esp + 0x9c]
lea ebx, [0x51f840]
mov dword [esp], ebx
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
mov dword [esp + 0xc], edx
call sym.runtime.mapaccess1_faststr
mov eax, dword [esp + 0x10]
movzx eax, byte [eax]
xor eax, 1
mov edx, dword [esp + 0x4c]
mov ebx, dword [esp + 0x6c]
mov ebp, dword [esp + 0x3c]
mov ecx, eax
mov eax, dword [esp + 0x5c]
test cl, cl
je 0x5062c2
movzx ecx, byte [esp + 0x35]
jmp 0x50622c
movzx ecx, byte [esp + 0xb4]
test cl, cl
jne 0x5062d2
xor ecx, ecx
jmp 0x50631c
mov eax, dword [0x622d0c]
mov ecx, dword [esp + 0x98]
mov edx, dword [esp + 0x9c]
lea ebx, [0x51f840]
mov dword [esp], ebx
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
mov dword [esp + 0xc], edx
call sym.runtime.mapaccess1_faststr
mov eax, dword [esp + 0x10]
movzx eax, byte [eax]
xor eax, 1
mov edx, dword [esp + 0x4c]
mov ebx, dword [esp + 0x6c]
mov ebp, dword [esp + 0x3c]
mov ecx, eax
mov eax, dword [esp + 0x5c]
test cl, cl
je 0x50632a
movzx ecx, byte [esp + 0x35]
jmp 0x50622c
mov edx, dword [esp + 0xa8]
mov ecx, dword [edx]
mov dword [esp], eax
call ecx
movzx eax, byte [esp + 4]
test al, al
jne 0x50634f
movzx ecx, byte [esp + 0x35]
mov eax, dword [esp + 0x5c]
jmp 0x50645d
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
mov eax, dword [esp + 0x98]
mov ecx, dword [esp + 0x9c]
mov dword [esp], eax
mov dword [esp + 4], ecx
call sym.runtime.convTstring
mov eax, dword [esp + 8]
lea ecx, [0x51e740]
mov dword [esp + 0x80], ecx
mov dword [esp + 0x84], eax
lea eax, [0x569e08]
mov dword [esp], eax
mov edx, dword [esp + 0x74]
mov dword [esp + 4], edx
lea ebx, [0x5397ae]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], 3
lea ebp, [esp + 0x80]
mov dword [esp + 0x10], ebp
mov dword [esp + 0x14], 1
mov dword [esp + 0x18], 1
call sym.fmt.Fprintf
mov eax, dword [esp + 0x5c]
mov dword [esp], eax
call sym.main.gofmtFile
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x5064a7
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0xc]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
call sym.runtime.convTslice
mov eax, dword [0x61ea64]
mov ecx, dword [esp + 0xc]
mov dword [esp], eax
mov eax, dword [esp + 0xc0]
mov dword [esp + 4], eax
mov edx, dword [esp + 0xc4]
mov dword [esp + 8], edx
lea ebx, [0x51ac40]
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], 4
call sym.go_parser.ParseFile
mov eax, dword [esp + 0x1c]
test eax, eax
jne 0x50646e
mov eax, dword [esp + 0x18]
mov ecx, 1
mov edx, dword [esp + 0x4c]
mov ebx, dword [esp + 0x6c]
mov ebp, dword [esp + 0x3c]
jmp 0x50622c
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov dword [esp + 0xcc], eax
mov dword [esp + 0xd0], ecx
movzx eax, byte [esp + 0x37]
test al, 1
je 0x5064a0
and eax, 0xfffffffe
mov byte [esp + 0x36], al
mov edx, dword [esp + 0xb8]
mov eax, dword [edx]
call eax
add esp, 0xbc
ret
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0xcc], eax
mov dword [esp + 0xd0], ecx
movzx eax, byte [esp + 0x37]
test al, 1
je 0x5064d9
and eax, 0xfffffffe
mov byte [esp + 0x36], al
mov edx, dword [esp + 0xb8]
mov eax, dword [edx]
call eax
add esp, 0xbc
ret
xchg esi, eax
test al, al
xchg esi, eax
je 0x50680e
mov edx, dword [esp + 0x74]
mov ebx, dword [edx + 4]
mov esi, ebx
neg ebx
mov edx, dword [edx + 8]
cmp edx, ebx
ja 0x506853
cmp edx, 1
jb 0x506847
mov dword [esp + 0x38], edx
mov dword [esp + 0x68], esi
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0
mov dword [esp + 0x90], 0
mov dword [esp + 0x94], 0
mov eax, dword [esp + 0xc0]
mov dword [esp], eax
mov ecx, dword [esp + 0xc4]
mov dword [esp + 4], ecx
call sym.runtime.convTstring
mov eax, dword [esp + 8]
lea ecx, [0x51e740]
mov dword [esp + 0x88], ecx
mov dword [esp + 0x8c], eax
mov eax, dword [esp + 0x38]
dec eax
mov edx, eax
neg eax
sar eax, 0x1f
and eax, 1
mov ebx, dword [esp + 0x68]
add eax, ebx
mov dword [esp], eax
mov dword [esp + 4], edx
call sym.runtime.convTstring
mov eax, dword [esp + 8]
lea ecx, [0x51e740]
mov dword [esp + 0x90], ecx
mov dword [esp + 0x94], eax
mov eax, dword [0x622d48]
lea ecx, [0x569df4]
mov dword [esp], ecx
mov dword [esp + 4], eax
lea eax, [0x53b364]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 0xd
lea eax, [esp + 0x88]
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], 2
mov dword [esp + 0x18], 2
call sym.fmt.Fprintf
mov eax, dword [esp + 0x5c]
mov dword [esp], eax
call sym.main.gofmtFile
mov eax, dword [esp + 0x10]
test eax, eax
je 0x50663a
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0xcc], eax
mov dword [esp + 0xd0], ecx
movzx eax, byte [esp + 0x37]
test al, 1
je 0x506633
and eax, 0xfffffffe
mov byte [esp + 0x36], al
mov edx, dword [esp + 0xb8]
mov eax, dword [edx]
call eax
add esp, 0xbc
ret
mov eax, dword [0x622d10]
movzx eax, byte [eax]
mov ecx, dword [esp + 4]
mov edx, dword [esp + 8]
mov ebx, dword [esp + 0xc]
test al, al
jne 0x506715
movzx eax, byte [esp + 0xc8]
test al, al
je 0x5066aa
mov eax, dword [0x622d44]
mov dword [esp], eax
call sym.os._File_.Write
mov dword [esp + 0xcc], 0
mov dword [esp + 0xd0], 0
movzx eax, byte [esp + 0x37]
test al, 1
je 0x5066a3
and eax, 0xfffffffe
mov byte [esp + 0x36], al
mov edx, dword [esp + 0xb8]
mov eax, dword [edx]
call eax
add esp, 0xbc
ret
mov eax, dword [esp + 0x64]
mov eax, dword [eax]
mov ebp, dword [eax + 0x134]
mov eax, dword [eax + 0x138]
mov dword [esp], ebp
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], 0
call sym.os.WriteFile
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0xcc], eax
mov dword [esp + 0xd0], ecx
movzx eax, byte [esp + 0x37]
test al, 1
je 0x50670e
and eax, 0xfffffffe
mov byte [esp + 0x36], al
mov edx, dword [esp + 0xb8]
mov eax, dword [edx]
call eax
add esp, 0xbc
ret
mov dword [esp + 0x48], ebx
mov dword [esp + 0x44], edx
mov dword [esp + 0x58], ecx
mov dword [esp], 0
lea eax, [0x539c82]
mov dword [esp + 4], eax
mov dword [esp + 8], 6
mov eax, dword [esp + 0xc0]
mov dword [esp + 0xc], eax
mov ecx, dword [esp + 0xc4]
mov dword [esp + 0x10], ecx
call sym.runtime.concatstring2
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0xc0]
mov dword [esp], edx
mov edx, dword [esp + 0xc4]
mov dword [esp + 4], edx
mov edx, dword [esp + 0x54]
mov dword [esp + 8], edx
mov edx, dword [esp + 0x3c]
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0x40]
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], ecx
mov eax, dword [esp + 0x58]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0x24], eax
call sym.internal_diff.Diff
mov eax, dword [0x622d44]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
mov ebx, dword [esp + 0x30]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebx
call sym.os._File_.Write
mov dword [esp + 0xcc], 0
mov dword [esp + 0xd0], 0
movzx eax, byte [esp + 0x37]
test al, 1
je 0x506807
and eax, 0xfffffffe
mov byte [esp + 0x36], al
mov edx, dword [esp + 0xb8]
mov eax, dword [edx]
call eax
add esp, 0xbc
ret
mov dword [esp + 0xcc], 0
mov dword [esp + 0xd0], 0
movzx eax, byte [esp + 0x37]
test al, 1
je 0x506840
and eax, 0xfffffffe
mov byte [esp + 0x36], al
mov edx, dword [esp + 0xb8]
mov eax, dword [edx]
call eax
add esp, 0xbc
ret
mov eax, 1
xor ecx, ecx
call sym.runtime.panicSliceB
test esi, esi
je 0x50685c
call sym.runtime.panicunsafestringlen
call sym.runtime.panicunsafestringnilptr
nop
call sym.runtime.deferreturn
add esp, 0xbc
ret
call sym.runtime.morestack_noctxt
jmp sym.main.processFile